mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-17 20:30:36 +08:00
Support new features of MiniCPM-V (#6626)
* fix template name * tiny fix * support minicpm-o-2.6
This commit is contained in:
@@ -1163,6 +1163,17 @@ register_model_group(
|
||||
)
|
||||
|
||||
|
||||
register_model_group(
|
||||
models={
|
||||
"MiniCPM-o-2_6-Chat": {
|
||||
DownloadSource.DEFAULT: "openbmb/MiniCPM-o-2_6",
|
||||
DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-o-2_6",
|
||||
},
|
||||
},
|
||||
template="minicpm_v",
|
||||
)
|
||||
|
||||
|
||||
register_model_group(
|
||||
models={
|
||||
"MiniCPM-V-2_6-Chat": {
|
||||
@@ -1170,7 +1181,7 @@ register_model_group(
|
||||
DownloadSource.MODELSCOPE: "OpenBMB/MiniCPM-V-2_6",
|
||||
},
|
||||
},
|
||||
template="cpm_v",
|
||||
template="minicpm_v",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user