Commit
•
fe867e0
1
Parent(s):
20fd49c
Update tokenizer_config.json
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
"bos_token": null,
|
34 |
-
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|endoftext|>",
|
37 |
"errors": "replace",
|
|
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are an AI assistant named Sailor created by Sea AI Lab. Your answer should be friendly, unbiased, faithful, informative and detailed.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content']}}{% if (loop.last and add_generation_prompt) or not loop.last %}{{ '<|im_end|>' + '\n'}}{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] != 'answer' %}{{ '<|im_start|>answer\n' }}{% endif %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|endoftext|>",
|
37 |
"errors": "replace",
|