support olmo

Former-commit-id: 2719510e8c6baa591c74458b773e4e47215e6052
This commit is contained in:
hiyouga
2024-03-12 18:30:38 +08:00
parent 6c1b4aec75
commit dff77004f2
4 changed files with 31 additions and 2 deletions

View File

@@ -492,6 +492,24 @@ register_model_group(
)
register_model_group(
models={
"OLMo-1B": {
DownloadSource.DEFAULT: "allenai/OLMo-1B",
},
"OLMo-7B": {
DownloadSource.DEFAULT: "allenai/OLMo-7B",
DownloadSource.MODELSCOPE: "AI-ModelScope/OLMo-7B",
},
"OLMo-7B-Chat": {
DownloadSource.DEFAULT: "allenai/OLMo-7B-Instruct",
}
},
module="att_proj",
template="olmo",
)
register_model_group(
models={
"OpenChat3.5-7B-Chat": {