fedyanin commited on
Commit
1bf6d65
1 Parent(s): 2d3dc10

Upload tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -1
tokenizer_config.json CHANGED
@@ -16230,7 +16230,8 @@
16230
  "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n' + message['content'] + eos_token + '\n' }}{% else %}{{ '<|assistant|>\n' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endfor %}",
16231
  "clean_up_tokenization_spaces": true,
16232
  "eos_token": "<|endoftext|>",
16233
- "model_max_length": 8192,
16234
  "pad_token": "<pad>",
16235
  "tokenizer_class": "PreTrainedTokenizerFast"
16236
  }
 
 
16230
  "chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n' + message['content'] + eos_token + '\n' }}{% else %}{{ '<|assistant|>\n' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endfor %}",
16231
  "clean_up_tokenization_spaces": true,
16232
  "eos_token": "<|endoftext|>",
16233
+ "model_max_length": 32768,
16234
  "pad_token": "<pad>",
16235
  "tokenizer_class": "PreTrainedTokenizerFast"
16236
  }
16237
+