mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
update constants
Former-commit-id: f28a034a9b74630a56314446bd0f103c086bda60
This commit is contained in:
parent
bf0faf129d
commit
d48478ef88
@ -57,6 +57,8 @@ SUPPORTED_MODELS = {
|
|||||||
"XVERSE-13B": "xverse/XVERSE-13B",
|
"XVERSE-13B": "xverse/XVERSE-13B",
|
||||||
"XVERSE-13B-Chat": "xverse/XVERSE-13B-Chat",
|
"XVERSE-13B-Chat": "xverse/XVERSE-13B-Chat",
|
||||||
"ChatGLM2-6B-Chat": "THUDM/chatglm2-6b",
|
"ChatGLM2-6B-Chat": "THUDM/chatglm2-6b",
|
||||||
|
"ChatGLM3-6B-Base": "THUDM/chatglm3-6b-base",
|
||||||
|
"ChatGLM3-6B-Chat": "THUDM/chatglm3-6b",
|
||||||
"Phi1.5-1.3B": "microsoft/phi-1_5"
|
"Phi1.5-1.3B": "microsoft/phi-1_5"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -73,6 +75,7 @@ DEFAULT_MODULE = {
|
|||||||
"Qwen": "c_attn",
|
"Qwen": "c_attn",
|
||||||
"XVERSE": "q_proj,v_proj",
|
"XVERSE": "q_proj,v_proj",
|
||||||
"ChatGLM2": "query_key_value",
|
"ChatGLM2": "query_key_value",
|
||||||
|
"ChatGLM3": "query_key_value",
|
||||||
"Phi1.5": "Wqkv"
|
"Phi1.5": "Wqkv"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,5 +87,6 @@ DEFAULT_TEMPLATE = {
|
|||||||
"InternLM": "intern",
|
"InternLM": "intern",
|
||||||
"Qwen": "chatml",
|
"Qwen": "chatml",
|
||||||
"XVERSE": "xverse",
|
"XVERSE": "xverse",
|
||||||
"ChatGLM2": "chatglm2"
|
"ChatGLM2": "chatglm2",
|
||||||
|
"ChatGLM3": "chatglm3"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user