mirror of https://github.com/hpcaitech/ColossalAI
9 lines
772 B
JSON
9 lines
772 B
JSON
![]() |
{
|
|||
|
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ bos_token }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User: ' + message['content'] + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + eos_token }}{% elif message['role'] == 'system' %}{{ message['content'] + '\n\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}",
|
|||
|
"system_message": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\n\n",
|
|||
|
"stop_ids": [
|
|||
|
100001
|
|||
|
],
|
|||
|
"end_of_assistant": "<|end▁of▁sentence|>"
|
|||
![]() |
}
|