Support Orion model (#2539)

Co-authored-by: zhangdacheng <zhangdacheng@ainirobot.com>
Co-authored-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
张大成
2024-02-26 19:17:06 -08:00
committed by GitHub
co-authored by zhangdacheng Woosuk Kwon
parent 4dd6416faf
commit 48a8f4a7fd
4 changed files with 327 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ _MODELS = {
"MPTForCausalLM": ("mpt", "MPTForCausalLM"),
"OLMoForCausalLM": ("olmo", "OLMoForCausalLM"),
"OPTForCausalLM": ("opt", "OPTForCausalLM"),
"OrionForCausalLM": ("orion", "OrionForCausalLM"),
"PhiForCausalLM": ("phi", "PhiForCausalLM"),
"QWenLMHeadModel": ("qwen", "QWenLMHeadModel"),
"Qwen2ForCausalLM": ("qwen2", "Qwen2ForCausalLM"),