mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
fix cohere system
Former-commit-id: 5d629b29e705c8ff8dd4521719d9c0e67a3fe0a2
This commit is contained in:
parent
a922e85a5c
commit
f90c4ca672
@ -544,8 +544,13 @@ _register_template(
|
|||||||
)
|
)
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
format_system=StringFormatter(slots=[{"bos_token"}, "{{content}}"]),
|
format_system=StringFormatter(
|
||||||
force_system=True,
|
slots=[{"bos_token"}, "<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>{{content}}<|END_OF_TURN_TOKEN|>"]
|
||||||
|
),
|
||||||
|
default_system=(
|
||||||
|
"You are Command-R, a brilliant, sophisticated, AI-assistant trained to assist human users "
|
||||||
|
"by providing thorough responses. You are trained by Cohere."
|
||||||
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user