euclaise commited on
Commit
46b1734
1 Parent(s): e8c1857

Upload tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -203,6 +203,7 @@
203
  }
204
  },
205
  "bos_token": "<|endoftext|>",
 
206
  "clean_up_tokenization_spaces": true,
207
  "eos_token": "<|endoftext|>",
208
  "model_max_length": 1000000000000000019884624838656,
 
203
  }
204
  },
205
  "bos_token": "<|endoftext|>",
206
+ "chat_template": "{{ '### User:\n' }}{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{% if message['role'] == 'user' %}{{ message['content'].strip() + '\n' }}{% if add_generation_prompt %}{{ '### Assistant:\n' }}{% endif %}{% elif message['role'] == 'assistant' %}{{ '### Assistant:\n' + message['content'].strip() + '\n### User:\n' }}{% endif %}{% endfor %}",
207
  "clean_up_tokenization_spaces": true,
208
  "eos_token": "<|endoftext|>",
209
  "model_max_length": 1000000000000000019884624838656,