[Model] add minicpm (#3893)

This commit is contained in:
ywfang
2024-04-08 18:28:36 +08:00
committed by GitHub
parent 0ce0539d47
commit b4543c8f6b
4 changed files with 543 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ _MODELS = {
# transformers's mpt class has lower case
"MptForCausalLM": ("mpt", "MPTForCausalLM"),
"MPTForCausalLM": ("mpt", "MPTForCausalLM"),
"MiniCPMForCausalLM": ("minicpm", "MiniCPMForCausalLM"),
"OLMoForCausalLM": ("olmo", "OLMoForCausalLM"),
"OPTForCausalLM": ("opt", "OPTForCausalLM"),
"OrionForCausalLM": ("orion", "OrionForCausalLM"),