Safetensors
llama
vananh0905 commited on
Commit
1521305
1 Parent(s): fb3163c

Upload 2 files

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +5 -1
tokenizer_config.json CHANGED
@@ -140,7 +140,11 @@
140
  }
141
  },
142
  "bos_token": "<|begin▁of▁sentence|>",
143
- "chat_template": "{% for message in messages %}\n{% if message['from'] == 'human' %}\n{{ '<|user|>\n' + message['value'] + eos_token }}\n{% elif message['from'] == 'system' %}\n{{ '<|system|>\n' + message['value'] + eos_token }}\n{% elif message['from'] == 'gpt' %}\n{{ '<|assistant|>\n' + message['value'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}", "clean_up_tokenization_spaces": false, "model_max_length": 4096,
 
 
 
 
144
  "pad_token": "!",
145
  "sp_model_kwargs": {},
146
  "tokenizer_class": "LlamaTokenizer",
 
140
  }
141
  },
142
  "bos_token": "<|begin▁of▁sentence|>",
143
+ "chat_template": "{{ bos_token }}{% for message in messages %}\n{% if message['from'] == 'human' %}\n{{ '<|user|>\n' + message['value']}}\n{% elif message['from'] == 'system' %}\n{{ '<|system|>\n' + message['value']}}\n{% elif message['from'] == 'gpt' %}\n{{ '<|assistant|>\n' + message['value'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
144
+ "clean_up_tokenization_spaces": false,
145
+ "eos_token": "<|EOT|>",
146
+ "legacy": true,
147
+ "model_max_length": 4096,
148
  "pad_token": "!",
149
  "sp_model_kwargs": {},
150
  "tokenizer_class": "LlamaTokenizer",