chrisociepa commited on
Commit
e1ced0f
1 Parent(s): 14f6256

Fix configs

Browse files
generation_config.json CHANGED
@@ -1,6 +1,8 @@
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
- "eos_token_id": 2,
5
- "transformers_version": "4.44.2"
 
 
6
  }
 
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
+ "eos_token_id": 32001,
5
+ "pad_token": 2,
6
+ "unk_token": 0,
7
+ "transformers_version": "4.39.3"
8
  }
special_tokens_map.json CHANGED
@@ -137,7 +137,7 @@
137
  "single_word": false
138
  },
139
  "eos_token": {
140
- "content": "</s>",
141
  "lstrip": false,
142
  "normalized": false,
143
  "rstrip": false,
 
137
  "single_word": false
138
  },
139
  "eos_token": {
140
+ "content": "<|im_end|>",
141
  "lstrip": false,
142
  "normalized": false,
143
  "rstrip": false,
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1185,7 +1185,7 @@
1185
  "bos_token": "<s>",
1186
  "chat_template": "{{bos_token}}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
1187
  "clean_up_tokenization_spaces": true,
1188
- "eos_token": "</s>",
1189
  "legacy": true,
1190
  "model_max_length": 1000000000000000019884624838656,
1191
  "pad_token": "</s>",
 
1185
  "bos_token": "<s>",
1186
  "chat_template": "{{bos_token}}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
1187
  "clean_up_tokenization_spaces": true,
1188
+ "eos_token": "<|im_end|>",
1189
  "legacy": true,
1190
  "model_max_length": 1000000000000000019884624838656,
1191
  "pad_token": "</s>",