File size: 518 Bytes
85ba2d2 29f2cbe 85ba2d2 1cfbbfd 85ba2d2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{
"name_or_path": "THUDM/chatglm3-6b",
"remove_space": false,
"do_lower_case": false,
"tokenizer_class": "ChatGLMTokenizer",
"chat_template": "{% for message in messages %}{% if loop.first %}[gMASK]sop<|{{ message['role'] }}|> \n {{ message['content'] }}{% else %}<|{{ message['role'] }}|> \n {{ message['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|>{% endif %}",
"auto_map": {
"AutoTokenizer": [
"tokenization_chatglm.ChatGLMTokenizer",
null
]
}
}
|