blenderbot-3B / tokenizer_config.json
Rocketknight1's picture
Add chat template to tokenizer
5d397dd verified
raw
history blame contribute delete
296 Bytes
{"add_prefix_space": true, "tokenizer_class_name": "BlenderbotTokenizer", "model_max_length": 128, "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not loop.last %}{{ ' ' }}{% endif %}{% endfor %}{{ eos_token }}"}