qgallouedec HF Staff commited on
Commit
7f6ac50
·
verified ·
1 Parent(s): e4962e1

Upload Qwen2ForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +30 -6
  2. generation_config.json +3 -1
  3. model.safetensors +2 -2
config.json CHANGED
@@ -3,28 +3,52 @@
3
  "Qwen2ForCausalLM"
4
  ],
5
  "attention_dropout": 0.0,
 
 
 
6
  "hidden_act": "silu",
7
  "hidden_size": 8,
8
  "initializer_range": 0.02,
9
  "intermediate_size": 32,
10
  "layer_types": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  "full_attention",
12
  "full_attention"
13
  ],
14
  "max_position_embeddings": 32768,
15
- "max_window_layers": 28,
16
  "model_type": "qwen2",
17
  "num_attention_heads": 4,
18
  "num_hidden_layers": 2,
19
  "num_key_value_heads": 2,
20
  "rms_norm_eps": 1e-06,
21
  "rope_scaling": null,
22
- "rope_theta": 10000.0,
23
  "sliding_window": null,
24
- "tie_word_embeddings": false,
25
- "torch_dtype": "float32",
26
- "transformers_version": "4.55.0.dev0",
27
  "use_cache": true,
28
  "use_sliding_window": false,
29
- "vocab_size": 151665
30
  }
 
3
  "Qwen2ForCausalLM"
4
  ],
5
  "attention_dropout": 0.0,
6
+ "bos_token_id": 151643,
7
+ "dtype": "float32",
8
+ "eos_token_id": 151643,
9
  "hidden_act": "silu",
10
  "hidden_size": 8,
11
  "initializer_range": 0.02,
12
  "intermediate_size": 32,
13
  "layer_types": [
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
  "full_attention",
37
  "full_attention"
38
  ],
39
  "max_position_embeddings": 32768,
40
+ "max_window_layers": 24,
41
  "model_type": "qwen2",
42
  "num_attention_heads": 4,
43
  "num_hidden_layers": 2,
44
  "num_key_value_heads": 2,
45
  "rms_norm_eps": 1e-06,
46
  "rope_scaling": null,
47
+ "rope_theta": 1000000.0,
48
  "sliding_window": null,
49
+ "tie_word_embeddings": true,
50
+ "transformers_version": "4.57.0.dev0",
 
51
  "use_cache": true,
52
  "use_sliding_window": false,
53
+ "vocab_size": 151936
54
  }
generation_config.json CHANGED
@@ -1,4 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "transformers_version": "4.55.0.dev0"
 
 
4
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": 151643,
5
+ "transformers_version": "4.57.0.dev0"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a20e700b1bbe021ca66abe6bec7200115d5747fb0c481e59050054e94d81dafb
3
- size 9717288
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a2bcf5d5abea6a92b0da5906b18b83b089784fd7ebfaf43b2a4fb1f6bd307b6
3
+ size 4872600