mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 04:32:50 +08:00
support Yi-34B-Chat models
Former-commit-id: ff1c289229ee382d3e76578bbb6a5e299b969ded
This commit is contained in:
parent
c4f6cf1270
commit
5f2943dc84
@ -682,6 +682,22 @@ register_template(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
register_template(
|
||||||
|
name="yi",
|
||||||
|
prefix=[
|
||||||
|
"{{system}}"
|
||||||
|
],
|
||||||
|
prompt=[
|
||||||
|
"<|im_start|>user\n{{query}}<|im_end|>\n<|im_start|>assistant\n"
|
||||||
|
],
|
||||||
|
system="",
|
||||||
|
sep=[
|
||||||
|
"<|im_end|>\n"
|
||||||
|
],
|
||||||
|
efficient_eos=True
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
register_template(
|
register_template(
|
||||||
name="zephyr",
|
name="zephyr",
|
||||||
prefix=[
|
prefix=[
|
||||||
|
@ -264,8 +264,12 @@ register_model_group(
|
|||||||
register_model_group(
|
register_model_group(
|
||||||
models={
|
models={
|
||||||
"Yi-6B": "01-ai/Yi-6B",
|
"Yi-6B": "01-ai/Yi-6B",
|
||||||
"Yi-34B": "01-ai/Yi-34B"
|
"Yi-34B": "01-ai/Yi-34B",
|
||||||
}
|
"Yi-34B-Chat": "01-ai/Yi-34B-Chat",
|
||||||
|
"Yi-34B-int8-Chat": "01-ai/Yi-34B-Chat-8bits",
|
||||||
|
"Yi-34B-int4-Chat": "01-ai/Yi-34B-Chat-4bits"
|
||||||
|
},
|
||||||
|
template="yi"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user