CreitinGameplays commited on
Commit
d419797
1 Parent(s): 8028516

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -65,6 +65,7 @@
65
  "<|assistant|>"
66
  ],
67
  "bos_token": "<s>",
 
68
  "clean_up_tokenization_spaces": false,
69
  "eos_token": "</s>",
70
  "model_max_length": 1000000000000000019884624838656,
 
65
  "<|assistant|>"
66
  ],
67
  "bos_token": "<s>",
68
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|prompter|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
69
  "clean_up_tokenization_spaces": false,
70
  "eos_token": "</s>",
71
  "model_max_length": 1000000000000000019884624838656,