lizhiyuan commited on
Commit
651de63
1 Parent(s): 79367a9

fix eos token

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -212,7 +212,7 @@
212
  },
213
  "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|role_start|>system<|role_end|>你是Megrez-3B-Instruct,将针对用户的问题给出详细的、积极的回答。<|turn_end|>' }}{% endif %}{{ '<|role_start|>' + message['role'] + '<|role_end|>' + message['content'] + '<|turn_end|>' }}{% endfor %}{% if add_generation_prompt %}{{ '<|role_start|>assistant<|role_end|>' }}{% endif %}",
214
  "clean_up_tokenization_spaces": true,
215
- "eos_token": "<|turn_end>",
216
  "model_max_length": 32768,
217
  "pad_token": "<|pad|>",
218
  "padding_side": "right",
 
212
  },
213
  "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|role_start|>system<|role_end|>你是Megrez-3B-Instruct,将针对用户的问题给出详细的、积极的回答。<|turn_end|>' }}{% endif %}{{ '<|role_start|>' + message['role'] + '<|role_end|>' + message['content'] + '<|turn_end|>' }}{% endfor %}{% if add_generation_prompt %}{{ '<|role_start|>assistant<|role_end|>' }}{% endif %}",
214
  "clean_up_tokenization_spaces": true,
215
+ "eos_token": "<|turn_end|>",
216
  "model_max_length": 32768,
217
  "pad_token": "<|pad|>",
218
  "padding_side": "right",