Update template.py

Former-commit-id: f1002b9f930758bb27794ab88a2adbe24417b076
This commit is contained in:
hoshi-hiyouga 2024-05-27 20:51:56 +08:00 committed by GitHub
parent b7b8223230
commit eceec1d7fd

View File

@ -761,7 +761,7 @@ _register_template(
format_user=StringFormatter( format_user=StringFormatter(
slots=[ slots=[
( (
"<|start_header_id|>GPT4 Correct User<|end_header_id|>\n\n{{content}}<|eot_id|>", "<|start_header_id|>GPT4 Correct User<|end_header_id|>\n\n{{content}}<|eot_id|>"
"<|start_header_id|>GPT4 Correct Assistant<|end_header_id|>\n\n" "<|start_header_id|>GPT4 Correct Assistant<|end_header_id|>\n\n"
) )
] ]