deepnet commited on
Commit
37c7039
1 Parent(s): b018448

Upload MistralForCausalLM

Browse files
config.json CHANGED
@@ -1,28 +1,26 @@
1
  {
2
  "_name_or_path": "/BestWeights",
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_bias": false,
7
  "attention_dropout": 0.0,
8
- "bos_token_id": 100257,
9
- "eos_token_id": 100257,
10
  "hidden_act": "silu",
11
  "hidden_size": 4096,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 11008,
14
- "max_position_embeddings": 2048,
15
- "model_type": "llama",
16
  "num_attention_heads": 32,
17
- "num_hidden_layers": 30,
18
- "num_key_value_heads": 32,
19
- "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
- "rope_scaling": null,
22
  "rope_theta": 10000.0,
 
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
25
  "transformers_version": "4.38.0",
26
  "use_cache": true,
27
- "vocab_size": 100288
28
  }
 
1
  {
2
  "_name_or_path": "/BestWeights",
3
  "architectures": [
4
+ "MistralForCausalLM"
5
  ],
 
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
  "hidden_act": "silu",
10
  "hidden_size": 4096,
11
  "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
  "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
 
18
  "rms_norm_eps": 1e-05,
 
19
  "rope_theta": 10000.0,
20
+ "sliding_window": 4096,
21
  "tie_word_embeddings": false,
22
  "torch_dtype": "bfloat16",
23
  "transformers_version": "4.38.0",
24
  "use_cache": true,
25
+ "vocab_size": 32000
26
  }
generation_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 100257,
4
- "eos_token_id": 100257,
5
  "transformers_version": "4.38.0"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
  "transformers_version": "4.38.0"
6
  }
model-00001-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f0f1f51e68cbf2fbe1a15ee3400a236772a30bb7b2c302ba3ed7b0174b4753e
3
- size 4969900704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50cf0f6bb3d2aa83a0c842f2dc863aa47230e7fd72e21bd81385a5774f3d72b7
3
+ size 4943162336
model-00002-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a212117d147b2330505474416096b2b3269416638acb88ad520ae886d0dd67b
3
- size 4980945440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6fbee1d760665b796f77d50cdeb99e4c63550f5d7a87441a3ec661b99ae2f9
3
+ size 4999819336
model-00003-of-00003.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0a56f68e9177626b8292f5fa9766c25e077df1be9b1557cee28fd7d5f112ebcc
3
- size 3835314016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfdc30fcb63246649bbbd33f11f2fbe3e32b0410aa1a7c8678f734a0b2b37415
3
+ size 4540516344
model.safetensors.index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "metadata": {
3
- "total_size": 13786128384
4
  },
5
  "weight_map": {
6
  "lm_head.weight": "model-00003-of-00003.safetensors",
@@ -25,11 +25,11 @@
25
  "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
26
  "model.layers.10.input_layernorm.weight": "model-00002-of-00003.safetensors",
27
  "model.layers.10.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
28
- "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
29
- "model.layers.10.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
30
  "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
31
  "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
32
- "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
33
  "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
34
  "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
35
  "model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
@@ -142,7 +142,7 @@
142
  "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
143
  "model.layers.22.input_layernorm.weight": "model-00003-of-00003.safetensors",
144
  "model.layers.22.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
145
- "model.layers.22.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
146
  "model.layers.22.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
147
  "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
148
  "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
@@ -221,6 +221,24 @@
221
  "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
222
  "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
223
  "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
224
  "model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
225
  "model.layers.4.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
226
  "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
 
1
  {
2
  "metadata": {
3
+ "total_size": 14483464192
4
  },
5
  "weight_map": {
6
  "lm_head.weight": "model-00003-of-00003.safetensors",
 
25
  "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
26
  "model.layers.10.input_layernorm.weight": "model-00002-of-00003.safetensors",
27
  "model.layers.10.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
28
+ "model.layers.10.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
29
+ "model.layers.10.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
30
  "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
31
  "model.layers.10.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
32
+ "model.layers.10.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
33
  "model.layers.10.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
34
  "model.layers.10.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
35
  "model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
 
142
  "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
143
  "model.layers.22.input_layernorm.weight": "model-00003-of-00003.safetensors",
144
  "model.layers.22.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
145
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
146
  "model.layers.22.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
147
  "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
148
  "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
 
221
  "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
222
  "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
223
  "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
224
+ "model.layers.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
225
+ "model.layers.30.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
226
+ "model.layers.30.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
227
+ "model.layers.30.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
228
+ "model.layers.30.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
229
+ "model.layers.30.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
230
+ "model.layers.30.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
231
+ "model.layers.30.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
232
+ "model.layers.30.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
233
+ "model.layers.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
234
+ "model.layers.31.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
235
+ "model.layers.31.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
236
+ "model.layers.31.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
237
+ "model.layers.31.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
238
+ "model.layers.31.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
239
+ "model.layers.31.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
240
+ "model.layers.31.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
241
+ "model.layers.31.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
242
  "model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
243
  "model.layers.4.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
244
  "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",