mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-17 20:30:36 +08:00
improve template, add phi4 model
This commit is contained in:
@@ -1413,6 +1413,14 @@ register_model_group(
|
||||
DownloadSource.DEFAULT: "microsoft/Phi-3-medium-128k-instruct",
|
||||
DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-medium-128k-instruct",
|
||||
},
|
||||
"Phi-3.5-4B-instruct": {
|
||||
DownloadSource.DEFAULT: "microsoft/Phi-3.5-mini-instruct",
|
||||
DownloadSource.MODELSCOPE: "LLM-Research/Phi-3.5-mini-instruct",
|
||||
},
|
||||
"Phi-3.5-MoE-42B-A6.6B-instruct": {
|
||||
DownloadSource.DEFAULT: "microsoft/Phi-3.5-MoE-instruct",
|
||||
DownloadSource.MODELSCOPE: "LLM-Research/Phi-3.5-MoE-instruct",
|
||||
},
|
||||
},
|
||||
template="phi",
|
||||
)
|
||||
@@ -1433,6 +1441,17 @@ register_model_group(
|
||||
)
|
||||
|
||||
|
||||
register_model_group(
|
||||
models={
|
||||
"Phi-4-14B-Instruct": {
|
||||
DownloadSource.DEFAULT: "microsoft/phi-4",
|
||||
DownloadSource.MODELSCOPE: "LLM-Research/phi-4",
|
||||
},
|
||||
},
|
||||
template="phi4",
|
||||
)
|
||||
|
||||
|
||||
register_model_group(
|
||||
models={
|
||||
"Pixtral-12B-Instruct": {
|
||||
|
||||
Reference in New Issue
Block a user