kamilmuratyilmaz commited on
Commit
2ec72ec
1 Parent(s): 8c79a96

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -32,6 +32,7 @@
32
  "clean_up_tokenization_spaces": false,
33
  "device_map": "cuda",
34
  "eos_token": "</s>",
 
35
  "model_max_length": 1000000000000000019884624838656,
36
  "pad_token": "</s>",
37
  "sp_model_kwargs": {},
 
32
  "clean_up_tokenization_spaces": false,
33
  "device_map": "cuda",
34
  "eos_token": "</s>",
35
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') != (loop.index0 % 2 == 0) %}{% endif %}{% if message['role'] == 'user' %}{{ '[INST] ' + message['content'] + ' [/INST]' }}{% elif message['role'] == 'assistant' %}{{ ' ' + message['content'] + ' ' + eos_token}}{% else %}{% endif %}{% endfor %}",
36
  "model_max_length": 1000000000000000019884624838656,
37
  "pad_token": "</s>",
38
  "sp_model_kwargs": {},