QomSSLab commited on
Commit
3fb3630
·
verified ·
1 Parent(s): 0262eda

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +1 -7
  2. tokenizer_config.json +1 -1
special_tokens_map.json CHANGED
@@ -10,13 +10,7 @@
10
  "rstrip": false,
11
  "single_word": false
12
  },
13
- "eos_token": {
14
- "content": "<eos>",
15
- "lstrip": false,
16
- "normalized": false,
17
- "rstrip": false,
18
- "single_word": false
19
- },
20
  "pad_token": "<eos>",
21
  "unk_token": {
22
  "content": "<unk>",
 
10
  "rstrip": false,
11
  "single_word": false
12
  },
13
+ "eos_token": "<end_of_turn>",
 
 
 
 
 
 
14
  "pad_token": "<eos>",
15
  "unk_token": {
16
  "content": "<unk>",
tokenizer_config.json CHANGED
@@ -2002,7 +2002,7 @@
2002
  "bos_token": "<bos>",
2003
  "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
2004
  "clean_up_tokenization_spaces": false,
2005
- "eos_token": "<eos>",
2006
  "model_max_length": 1000000000000000019884624838656,
2007
  "pad_token": "<eos>",
2008
  "sp_model_kwargs": {},
 
2002
  "bos_token": "<bos>",
2003
  "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'assistant') %}{% set role = 'model' %}{% else %}{% set role = message['role'] %}{% endif %}{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}{% endfor %}{% if add_generation_prompt %}{{'<start_of_turn>model\n'}}{% endif %}",
2004
  "clean_up_tokenization_spaces": false,
2005
+ "eos_token": "<end_of_turn>",
2006
  "model_max_length": 1000000000000000019884624838656,
2007
  "pad_token": "<eos>",
2008
  "sp_model_kwargs": {},