marcuscedricridia commited on
Commit
79be3b8
·
verified ·
1 Parent(s): bf0a86e

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -1
tokenizer_config.json CHANGED
@@ -213,7 +213,8 @@
213
  "clean_up_tokenization_spaces": false,
214
  "eos_token": "<|im_end|>",
215
  "extra_special_tokens": {},
216
- "model_max_length": 1000000000000000019884624838656,
 
217
  "pad_token": "<|endoftext|>",
218
  "tokenizer_class": "Qwen2Tokenizer",
219
  "unk_token": null
 
213
  "clean_up_tokenization_spaces": false,
214
  "eos_token": "<|im_end|>",
215
  "extra_special_tokens": {},
216
+ "model_max_length": 8192,
217
+ "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful AI assistant named Newstar Qwen3, trained by Newstar Research Asia.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
218
  "pad_token": "<|endoftext|>",
219
  "tokenizer_class": "Qwen2Tokenizer",
220
  "unk_token": null