JustinLin610 commited on
Commit
71393c9
1 Parent(s): 2ccc2bc

update tokenizer_config.json,config.json,generation_config.json

Browse files
Files changed (3) hide show
  1. config.json +3 -3
  2. generation_config.json +5 -3
  3. tokenizer_config.json +2 -2
config.json CHANGED
@@ -4,13 +4,13 @@
4
  ],
5
  "attention_dropout": 0.0,
6
  "bos_token_id": 151643,
7
- "eos_token_id": 151643,
8
  "hidden_act": "silu",
9
  "hidden_size": 1536,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 8960,
12
  "max_position_embeddings": 32768,
13
- "max_window_layers": 21,
14
  "model_type": "qwen2",
15
  "num_attention_heads": 12,
16
  "num_hidden_layers": 28,
@@ -44,7 +44,7 @@
44
  "sliding_window": 32768,
45
  "tie_word_embeddings": true,
46
  "torch_dtype": "float16",
47
- "transformers_version": "4.39.3",
48
  "use_cache": true,
49
  "use_sliding_window": false,
50
  "vocab_size": 151936
 
4
  ],
5
  "attention_dropout": 0.0,
6
  "bos_token_id": 151643,
7
+ "eos_token_id": 151645,
8
  "hidden_act": "silu",
9
  "hidden_size": 1536,
10
  "initializer_range": 0.02,
11
  "intermediate_size": 8960,
12
  "max_position_embeddings": 32768,
13
+ "max_window_layers": 28,
14
  "model_type": "qwen2",
15
  "num_attention_heads": 12,
16
  "num_hidden_layers": 28,
 
44
  "sliding_window": 32768,
45
  "tie_word_embeddings": true,
46
  "torch_dtype": "float16",
47
+ "transformers_version": "4.44.0",
48
  "use_cache": true,
49
  "use_sliding_window": false,
50
  "vocab_size": 151936
generation_config.json CHANGED
@@ -1,6 +1,8 @@
1
  {
2
  "bos_token_id": 151643,
3
- "eos_token_id": 151643,
4
- "max_new_tokens": 2048,
5
- "transformers_version": "4.39.3"
 
 
6
  }
 
1
  {
2
  "bos_token_id": 151643,
3
+ "eos_token_id": [
4
+ 151645,
5
+ 151643
6
+ ],
7
+ "transformers_version": "4.44.0"
8
  }
tokenizer_config.json CHANGED
@@ -199,9 +199,9 @@
199
  "clean_up_tokenization_spaces": false,
200
  "eos_token": "<|im_end|>",
201
  "errors": "replace",
202
- "model_max_length": 131072,
203
  "pad_token": "<|endoftext|>",
204
  "split_special_tokens": false,
205
  "tokenizer_class": "Qwen2Tokenizer",
206
  "unk_token": null
207
- }
 
199
  "clean_up_tokenization_spaces": false,
200
  "eos_token": "<|im_end|>",
201
  "errors": "replace",
202
+ "model_max_length": 32768,
203
  "pad_token": "<|endoftext|>",
204
  "split_special_tokens": false,
205
  "tokenizer_class": "Qwen2Tokenizer",
206
  "unk_token": null
207
+ }