Crystalcareai bigstorm commited on
Commit
0370161
1 Parent(s): 58771de

Token Configuration Correction (#2)

Browse files

- Token Config Fixes (361a3abd9c1e3de6ef14af724086d03bcbf098be)
- Revert generation_config changes (db67dc2802ce7702df403084a0795457b259fa95)


Co-authored-by: BenGitter <bigstorm@users.noreply.huggingface.co>

Files changed (2) hide show
  1. config.json +1 -0
  2. tokenizer_config.json +1 -1
config.json CHANGED
@@ -4,6 +4,7 @@
4
  "Qwen2ForCausalLM"
5
  ],
6
  "attention_dropout": 0.0,
 
7
  "eos_token_id": 151645,
8
  "hidden_act": "silu",
9
  "hidden_size": 8192,
 
4
  "Qwen2ForCausalLM"
5
  ],
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 151644,
8
  "eos_token_id": 151645,
9
  "hidden_act": "silu",
10
  "hidden_size": 8192,
tokenizer_config.json CHANGED
@@ -30,7 +30,7 @@
30
  "<|im_start|>",
31
  "<|im_end|>"
32
  ],
33
- "bos_token": null,
34
  "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
  "clean_up_tokenization_spaces": false,
36
  "eos_token": "<|im_end|>",
 
30
  "<|im_start|>",
31
  "<|im_end|>"
32
  ],
33
+ "bos_token": "<|im_start|>",
34
  "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
35
  "clean_up_tokenization_spaces": false,
36
  "eos_token": "<|im_end|>",