CreitinGameplays
commited on
Commit
•
56d3e3e
1
Parent(s):
0e434e6
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -65,7 +65,7 @@
|
|
65 |
"<|assistant|>"
|
66 |
],
|
67 |
"bos_token": "<s>",
|
68 |
-
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|prompter
|
69 |
"clean_up_tokenization_spaces": false,
|
70 |
"eos_token": "</s>",
|
71 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
65 |
"<|assistant|>"
|
66 |
],
|
67 |
"bos_token": "<s>",
|
68 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|prompter|>' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
69 |
"clean_up_tokenization_spaces": false,
|
70 |
"eos_token": "</s>",
|
71 |
"model_max_length": 1000000000000000019884624838656,
|