rhysjones commited on
Commit
b916a33
1 Parent(s): 1fd1d1b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -1
tokenizer_config.json CHANGED
@@ -344,5 +344,6 @@
344
  "model_max_length": 2048,
345
  "pad_token": "<|endoftext|>",
346
  "tokenizer_class": "CodeGenTokenizer",
347
- "unk_token": "<|endoftext|>"
 
348
  }
 
344
  "model_max_length": 2048,
345
  "pad_token": "<|endoftext|>",
346
  "tokenizer_class": "CodeGenTokenizer",
347
+ "unk_token": "<|endoftext|>",
348
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
349
  }