support llama3

Former-commit-id: c1eabb751a5fd73b710714451b146732e0ed4558
This commit is contained in:
hoshi-hiyouga
2024-04-19 01:13:50 +08:00
parent 9e1bd6420d
commit 8397808d1d
4 changed files with 45 additions and 6 deletions

View File

@@ -513,6 +513,25 @@ register_model_group(
)
register_model_group(
models={
"LLaMA3-8B": {
DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B",
},
"LLaMA3-70B": {
DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B",
},
"LLaMA3-8B-Chat": {
DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-8B-Instruct",
},
"LLaMA3-70B-Chat": {
DownloadSource.DEFAULT: "meta-llama/Meta-Llama-3-70B-Instruct",
},
},
template="llama3",
)
register_model_group(
models={
"Mistral-7B-v0.1": {