support solar 10.7B #1907

This commit is contained in:
hiyouga 2024-01-14 00:30:30 +08:00
parent 3c8e72f585
commit bf73224f33
2 changed files with 27 additions and 0 deletions

View File

@ -617,6 +617,19 @@ register_template(
) )
register_template(
name="solar",
prefix=[
"{{system}}"
],
prompt=[
"### User:\n{{query}}\n\n### Assistant:\n"
],
system="",
sep=[]
)
register_template( register_template(
name="starchat", name="starchat",
prefix=[ prefix=[

View File

@ -534,6 +534,20 @@ register_model_group(
) )
register_model_group(
models={
"SOLAR-10.7B": {
DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-v1.0"
},
"SOLAR-10.7B-Chat": {
DownloadSource.DEFAULT: "upstage/SOLAR-10.7B-Instruct-v1.0",
DownloadSource.MODELSCOPE: "AI-ModelScope/SOLAR-10.7B-Instruct-v1.0"
}
},
template="solar"
)
register_model_group( register_model_group(
models={ models={
"Skywork-13B-Base": { "Skywork-13B-Base": {