add Exaone3.0 template

Former-commit-id: 3a9569647f5dbb1dcd9ef6e5cfc39ec8f9b41e89
This commit is contained in:
shing100 2024-09-30 09:17:41 +09:00
parent 8d20d6c95c
commit 0a633f8098
2 changed files with 21 additions and 0 deletions

View File

@ -644,6 +644,18 @@ _register_template(
)
_register_template(
name="exaone",
format_user=StringFormatter(slots=["[|user|]{{content}}\n[|assistant|]"]),
format_system=StringFormatter(slots=["[|system|]{{content}}[|endofturn|]\n"]),
format_assistant=StringFormatter(slots=["{{content}}[|endofturn|]\n"]),
format_separator=EmptyFormatter(slots=["\n"]),
format_prefix=EmptyFormatter(slots=[""]),
stop_words=["[|endofturn|]"],
efficient_eos=True,
)
_register_template(
name="falcon",
format_user=StringFormatter(slots=["User: {{content}}\nFalcon:"]),

View File

@ -471,6 +471,15 @@ register_model_group(
template="deepseekcoder",
)
regiter_model_group(
models={
"EXAONE-3.0-7.8B-Instruct": {
DownloadSource.DEFAULT: "LGAI-EXAONE/EXAONE-3.0-7.8B-Instruct",
},
},
template="exaone",
)
register_model_group(
models={