/
githubmirror
/
ColossalAI
Обзор
Документация
Войти
/
githubmirror
/
ColossalAI
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
applications/ColossalChat/conversation_template/MiniCPM-2b.json
8 строк
586 B
YeAnbang
Add GRPO and Support RLVR for PPO (#6186)
18 фев 2025, 04:43
Не верифицирован
18 фев 2025, 04:43
d20c8ff
Код
Авторство
О чём код?
{ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% 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": [ 122753 ], "end_of_assistant": "<|im_end|>" }