add codegemma

Former-commit-id: 9324176525c2eda22962b0ca1895009b6237e6e3
This commit is contained in:
hiyouga
2024-04-16 00:11:15 +08:00
parent b638c65519
commit b5c5283dd6
4 changed files with 23 additions and 7 deletions

View File

@@ -385,6 +385,23 @@ register_model_group(
)
register_model_group(
models={
"CodeGemma-2B": {
DownloadSource.DEFAULT: "google/codegemma-2b",
},
"CodeGemma-7B": {
DownloadSource.DEFAULT: "google/codegemma-7b",
},
"CodeGemma-7B-Chat": {
DownloadSource.DEFAULT: "google/codegemma-7b-it",
DownloadSource.MODELSCOPE: "AI-ModelScope/codegemma-7b-it",
},
},
template="gemma",
)
register_model_group(
models={
"InternLM-7B": {