Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
}
|
21 |
},
|
22 |
"bos_token": "<|endoftext|>",
|
23 |
-
"chat_template": "{% for message in messages %}{% if message
|
24 |
"clean_up_tokenization_spaces": true,
|
25 |
"eos_token": "<|stop|>",
|
26 |
"errors": "replace",
|
|
|
20 |
}
|
21 |
},
|
22 |
"bos_token": "<|endoftext|>",
|
23 |
+
"chat_template": "{% for message in (messages[-4:] if messages[-4].role == 'user' else messages[-3:]) %}{% if message.role == 'user' %}### Kullanıcı:\n{{ message.content }}\n{% elif message.role == 'assistant' %}### Asistan:\n{{ message.content }}\n{% endif %}{% endfor %}",
|
24 |
"clean_up_tokenization_spaces": true,
|
25 |
"eos_token": "<|stop|>",
|
26 |
"errors": "replace",
|