{ | |
"add_prefix_space": false, | |
"bos_token": "<s>", | |
"chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}", | |
"clean_up_tokenization_spaces": true, | |
"eos_token": "<|endoftext|>", | |
"model_max_length": 2048, | |
"tokenizer_class": "CodeGenTokenizer", | |
"unk_token": "<|endoftext|>" | |
"use_default_system_prompt": false | |
} | |