Text Generation
Transformers
PyTorch
Japanese
English
qwen2
conversational
text-generation-inference
Inference Endpoints
Kendamarron commited on
Commit
1cc08d4
1 Parent(s): ca81818

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -32,7 +32,7 @@
32
  "<|im_end|>"
33
  ],
34
  "bos_token": null,
35
- "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
36
  "clean_up_tokenization_spaces": false,
37
  "eos_token": "<|endoftext|>",
38
  "errors": "replace",
 
32
  "<|im_end|>"
33
  ],
34
  "bos_token": null,
35
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nあなたは誠実で優秀な日本人のアシスタントです。<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
36
  "clean_up_tokenization_spaces": false,
37
  "eos_token": "<|endoftext|>",
38
  "errors": "replace",