qgallouedec HF staff commited on
Commit
817d77b
1 Parent(s): f7b09ec

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -1
tokenizer_config.json CHANGED
@@ -11,7 +11,7 @@
11
  }
12
  },
13
  "bos_token": "<|endoftext|>",
14
- "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not loop.last %}{{ ' ' }}{% endif %}{% endfor %}{{ eos_token }}",
15
  "clean_up_tokenization_spaces": true,
16
  "eos_token": "<|endoftext|>",
17
  "model_max_length": 1024,
 
11
  }
12
  },
13
  "bos_token": "<|endoftext|>",
14
+ "chat_template": "{% for message in messages %}{{message['role'].capitalize() + ': ' + message['content'] + '\n\n'}}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}",
15
  "clean_up_tokenization_spaces": true,
16
  "eos_token": "<|endoftext|>",
17
  "model_max_length": 1024,