rimon-dutta commited on
Commit
1dac79e
·
verified ·
1 Parent(s): ffbee6f

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +11 -3
tokenizer_config.json CHANGED
@@ -9,8 +9,16 @@
9
  "attention_mask"
10
  ],
11
  "model_max_length": 131072,
12
- "pad_token": "<|finetune_right_pad_id|>",
13
  "padding_side": "left",
14
  "tokenizer_class": "TokenizersBackend",
15
- "unk_token": null
16
- }
 
 
 
 
 
 
 
 
 
9
  "attention_mask"
10
  ],
11
  "model_max_length": 131072,
12
+ "pad_token": "<|end_of_text|>",
13
  "padding_side": "left",
14
  "tokenizer_class": "TokenizersBackend",
15
+ "unk_token": null,
16
+ "additional_special_tokens": [
17
+ "<|begin_of_text|>",
18
+ "<|end_of_text|>",
19
+ "<|start_header_id|>",
20
+ "<|end_header_id|>",
21
+ "<|eot_id|>"
22
+ ],
23
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|start_header_id|>system<|end_header_id|>\n\n' + message['content'] + '<|eot_id|>' }}{% elif message['role'] == 'user' %}{{ '<|start_header_id|>user<|end_header_id|>\n\n' + message['content'] + '<|eot_id|>' }}{% elif message['role'] == 'assistant' %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' + message['content'] + '<|eot_id|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}"
24
+ }