WillHeld commited on
Commit
aece482
·
verified ·
1 Parent(s): 14127e0

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +2 -2
tokenizer_config.json CHANGED
@@ -2052,7 +2052,7 @@
2052
  "bos_token": "<|begin_of_text|>",
2053
  "chat_template": "{{ bos_token }}\n{%- for message in messages -%}\n{%- if message['role'] == 'assistant' -%}\n <|start_header_id|>{{ message['role'] }}<|end_header_id|>\n{% generation %}{{- message['content'] | trim }}<|eot_id|>{% endgeneration %}\n\n{% else %}\n<|start_header_id|>{{ message['role'] }}<|end_header_id|>\n{{ message['content'] | trim }}<|eot_id|>\n{% endif %}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n<|start_header_id|>assistant<|end_header_id|>\n{% endif -%}",
2054
  "clean_up_tokenization_spaces": true,
2055
- "eos_token": "<|end_of_text|>",
2056
  "extra_special_tokens": {},
2057
  "model_input_names": [
2058
  "input_ids",
@@ -2060,4 +2060,4 @@
2060
  ],
2061
  "model_max_length": 131072,
2062
  "tokenizer_class": "PreTrainedTokenizer"
2063
- }
 
2052
  "bos_token": "<|begin_of_text|>",
2053
  "chat_template": "{{ bos_token }}\n{%- for message in messages -%}\n{%- if message['role'] == 'assistant' -%}\n <|start_header_id|>{{ message['role'] }}<|end_header_id|>\n{% generation %}{{- message['content'] | trim }}<|eot_id|>{% endgeneration %}\n\n{% else %}\n<|start_header_id|>{{ message['role'] }}<|end_header_id|>\n{{ message['content'] | trim }}<|eot_id|>\n{% endif %}\n{%- endfor -%}\n{%- if add_generation_prompt -%}\n<|start_header_id|>assistant<|end_header_id|>\n{% endif -%}",
2054
  "clean_up_tokenization_spaces": true,
2055
+ "eos_token": "<|eot_id|>",
2056
  "extra_special_tokens": {},
2057
  "model_input_names": [
2058
  "input_ids",
 
2060
  ],
2061
  "model_max_length": 131072,
2062
  "tokenizer_class": "PreTrainedTokenizer"
2063
+ }