pvduy commited on
Commit
d9520bd
1 Parent(s): d15e70e

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -382,7 +382,7 @@
382
  "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = 'You are a helpful assistant.' %}{% endif %}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{{'<|im_start|>system\n' + system_message + '<|im_end|>\n'}}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
383
  "clean_up_tokenization_spaces": true,
384
  "eos_token": "<|endoftext|>",
385
- "model_max_length": 2048,
386
  "pad_token": "<|endoftext|>",
387
  "tokenizer_class": "GPTNeoXTokenizer",
388
  "unk_token": "<|endoftext|>"
 
382
  "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% set system_message = 'You are a helpful assistant.' %}{% endif %}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in loop_messages %}{% if loop.index0 == 0 %}{{'<|im_start|>system\n' + system_message + '<|im_end|>\n'}}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
383
  "clean_up_tokenization_spaces": true,
384
  "eos_token": "<|endoftext|>",
385
+ "model_max_length": 4096,
386
  "pad_token": "<|endoftext|>",
387
  "tokenizer_class": "GPTNeoXTokenizer",
388
  "unk_token": "<|endoftext|>"