TouchNight commited on
Commit
6524c15
1 Parent(s): a70fa84

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +1 -0
  2. generation_config.json +1 -1
  3. 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": 3584,
 
4
  "Qwen2ForCausalLM"
5
  ],
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
  "eos_token_id": 151645,
9
  "hidden_act": "silu",
10
  "hidden_size": 3584,
generation_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "bos_token_id": 151643,
3
  "do_sample": true,
4
- "eos_token_id": 151643,
5
  "max_new_tokens": 2048,
6
  "transformers_version": "4.40.2"
7
  }
 
1
  {
2
  "bos_token_id": 151643,
3
  "do_sample": true,
4
+ "eos_token_id": 151645,
5
  "max_new_tokens": 2048,
6
  "transformers_version": "4.40.2"
7
  }
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": "<|endoftext|>",
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|>",