prince-canuma
commited on
Commit
•
bb61fab
1
Parent(s):
f01e2c5
Upload tokenizer
Browse files- tokenizer_config.json +1 -0
tokenizer_config.json
CHANGED
@@ -306,6 +306,7 @@
|
|
306 |
]
|
307 |
},
|
308 |
"bos_token": "<BOS_TOKEN>",
|
|
|
309 |
"clean_up_tokenization_spaces": false,
|
310 |
"eos_token": "<|END_OF_TURN_TOKEN|>",
|
311 |
"legacy": true,
|
|
|
306 |
]
|
307 |
},
|
308 |
"bos_token": "<BOS_TOKEN>",
|
309 |
+
"chat_template": "{% for item in messages %}{% if item.role == 'system' %}<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>{{ item.content }}<|END_OF_TURN_TOKEN|>\n{% elif item.role == 'user' %}<|START_OF_TURN_TOKEN|><|USER_TOKEN|>{{ item.content }}<|END_OF_TURN_TOKEN|>\n{% endif %}{% if loop.last %}{% if add_generation_prompt %}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>{% endif %}{% endif %}{% endfor %}",
|
310 |
"clean_up_tokenization_spaces": false,
|
311 |
"eos_token": "<|END_OF_TURN_TOKEN|>",
|
312 |
"legacy": true,
|