mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-20 12:42:51 +08:00
[misc] fix gemma template (#8970)
This commit is contained in:
parent
44beb76cdf
commit
ac0f50a09a
@ -757,10 +757,18 @@ register_model_group(
|
|||||||
DownloadSource.DEFAULT: "google/gemma-2-27b-it",
|
DownloadSource.DEFAULT: "google/gemma-2-27b-it",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-27b-it",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-2-27b-it",
|
||||||
},
|
},
|
||||||
|
"Gemma-3-270M": {
|
||||||
|
DownloadSource.DEFAULT: "google/gemma-3-270m",
|
||||||
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-270m",
|
||||||
|
},
|
||||||
"Gemma-3-1B": {
|
"Gemma-3-1B": {
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-1b-pt",
|
DownloadSource.DEFAULT: "google/gemma-3-1b-pt",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-pt",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-pt",
|
||||||
},
|
},
|
||||||
|
"Gemma-3-270M-Instruct": {
|
||||||
|
DownloadSource.DEFAULT: "google/gemma-3-270m-it",
|
||||||
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-270m-it",
|
||||||
|
},
|
||||||
"Gemma-3-1B-Instruct": {
|
"Gemma-3-1B-Instruct": {
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-1b-it",
|
DownloadSource.DEFAULT: "google/gemma-3-1b-it",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-it",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-1b-it",
|
||||||
@ -776,10 +784,6 @@ register_model_group(
|
|||||||
|
|
||||||
register_model_group(
|
register_model_group(
|
||||||
models={
|
models={
|
||||||
"Gemma-3-270M": {
|
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-270m",
|
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-270m",
|
|
||||||
},
|
|
||||||
"Gemma-3-4B": {
|
"Gemma-3-4B": {
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-4b-pt",
|
DownloadSource.DEFAULT: "google/gemma-3-4b-pt",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-pt",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-pt",
|
||||||
@ -792,10 +796,6 @@ register_model_group(
|
|||||||
DownloadSource.DEFAULT: "google/gemma-3-27b-pt",
|
DownloadSource.DEFAULT: "google/gemma-3-27b-pt",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-27b-pt",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-27b-pt",
|
||||||
},
|
},
|
||||||
"Gemma-3-270M-Instruct": {
|
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-270m-it",
|
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-270m-it",
|
|
||||||
},
|
|
||||||
"Gemma-3-4B-Instruct": {
|
"Gemma-3-4B-Instruct": {
|
||||||
DownloadSource.DEFAULT: "google/gemma-3-4b-it",
|
DownloadSource.DEFAULT: "google/gemma-3-4b-it",
|
||||||
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-it",
|
DownloadSource.MODELSCOPE: "LLM-Research/gemma-3-4b-it",
|
||||||
@ -816,6 +816,10 @@ register_model_group(
|
|||||||
DownloadSource.DEFAULT: "google/medgemma-4b-it",
|
DownloadSource.DEFAULT: "google/medgemma-4b-it",
|
||||||
DownloadSource.MODELSCOPE: "google/medgemma-4b-it",
|
DownloadSource.MODELSCOPE: "google/medgemma-4b-it",
|
||||||
},
|
},
|
||||||
|
"MedGemma-27B-Instruct": {
|
||||||
|
DownloadSource.DEFAULT: "google/medgemma-27b-text-it",
|
||||||
|
DownloadSource.MODELSCOPE: "google/medgemma-27b-text-it",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
template="gemma3",
|
template="gemma3",
|
||||||
multimodal=True,
|
multimodal=True,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user