Add Gemma model (#2964)

This commit is contained in:
Xiang Xu
2024-02-21 09:34:30 -08:00
committed by GitHub
parent 017d9f1515
commit 5253edaacb
2 changed files with 334 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ _MODELS = {
"DeciLMForCausalLM": ("decilm", "DeciLMForCausalLM"),
"DeepseekForCausalLM": ("deepseek", "DeepseekForCausalLM"),
"FalconForCausalLM": ("falcon", "FalconForCausalLM"),
"GemmaForCausalLM": ("gemma", "GemmaForCausalLM"),
"GPT2LMHeadModel": ("gpt2", "GPT2LMHeadModel"),
"GPTBigCodeForCausalLM": ("gpt_bigcode", "GPTBigCodeForCausalLM"),
"GPTJForCausalLM": ("gpt_j", "GPTJForCausalLM"),