rwitz2 commited on
Commit
58dbdcb
1 Parent(s): ce167f1

Upload MistralForCausalLM

Browse files
config.json CHANGED
@@ -7,14 +7,14 @@
7
  "bos_token_id": 1,
8
  "eos_token_id": 32000,
9
  "hidden_act": "silu",
10
- "hidden_size": 3072,
11
  "initializer_range": 0.02,
12
- "intermediate_size": 5632,
13
- "max_position_embeddings": 2048,
14
  "model_type": "mistral",
15
  "num_attention_heads": 32,
16
- "num_hidden_layers": 22,
17
- "num_key_value_heads": 4,
18
  "pad_token_id": 32000,
19
  "rms_norm_eps": 1e-05,
20
  "rope_theta": 10000.0,
 
7
  "bos_token_id": 1,
8
  "eos_token_id": 32000,
9
  "hidden_act": "silu",
10
+ "hidden_size": 2048,
11
  "initializer_range": 0.02,
12
+ "intermediate_size": 6144,
13
+ "max_position_embeddings": 3072,
14
  "model_type": "mistral",
15
  "num_attention_heads": 32,
16
+ "num_hidden_layers": 24,
17
+ "num_key_value_heads": 32,
18
  "pad_token_id": 32000,
19
  "rms_norm_eps": 1e-05,
20
  "rope_theta": 10000.0,
model-00001-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b643df1cf3416ea83b01ade92dab021839dd960f57202d9cc06f20c3b866368
3
- size 4936818448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eba319841c5777f885c39074fea560bad2ef4da703213d31f4308d0cc878f4f
3
+ size 4960655224
model-00002-of-00002.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aa4ec29a0ca9f34d5d1d53acfb0c7c6e5b2f582f0621bc279beb3a2effead2a9
3
- size 2287921872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d1985d0ebce3c69f343984962f725fa8a78138a5374f40d1dc0f29487f02028
3
+ size 799599248
model.safetensors.index.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "metadata": {
3
- "total_size": 7224717312
4
  },
5
  "weight_map": {
6
  "lm_head.weight": "model-00002-of-00002.safetensors",
@@ -68,51 +68,51 @@
68
  "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
69
  "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
70
  "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
71
- "model.layers.15.input_layernorm.weight": "model-00002-of-00002.safetensors",
72
- "model.layers.15.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
73
  "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
74
- "model.layers.15.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
75
- "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
76
  "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
77
  "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
78
  "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
79
  "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
80
- "model.layers.16.input_layernorm.weight": "model-00002-of-00002.safetensors",
81
- "model.layers.16.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
82
- "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
83
- "model.layers.16.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
84
- "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
85
- "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
86
- "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
87
- "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
88
- "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
89
- "model.layers.17.input_layernorm.weight": "model-00002-of-00002.safetensors",
90
- "model.layers.17.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
91
- "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
92
- "model.layers.17.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
93
- "model.layers.17.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
94
- "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
95
- "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
96
- "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
97
- "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
98
- "model.layers.18.input_layernorm.weight": "model-00002-of-00002.safetensors",
99
- "model.layers.18.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
100
- "model.layers.18.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
101
- "model.layers.18.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
102
- "model.layers.18.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
103
- "model.layers.18.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
104
- "model.layers.18.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
105
- "model.layers.18.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
106
- "model.layers.18.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
107
- "model.layers.19.input_layernorm.weight": "model-00002-of-00002.safetensors",
108
- "model.layers.19.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
109
- "model.layers.19.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
110
- "model.layers.19.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
111
- "model.layers.19.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
112
- "model.layers.19.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
113
- "model.layers.19.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
114
- "model.layers.19.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
115
- "model.layers.19.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
116
  "model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
  "model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
118
  "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
@@ -122,24 +122,42 @@
122
  "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
123
  "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
124
  "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
125
- "model.layers.20.input_layernorm.weight": "model-00002-of-00002.safetensors",
126
- "model.layers.20.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
127
- "model.layers.20.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
128
- "model.layers.20.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
129
- "model.layers.20.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
130
- "model.layers.20.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
131
- "model.layers.20.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
132
- "model.layers.20.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
133
- "model.layers.20.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
134
  "model.layers.21.input_layernorm.weight": "model-00002-of-00002.safetensors",
135
  "model.layers.21.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
136
- "model.layers.21.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
137
  "model.layers.21.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
138
  "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
139
- "model.layers.21.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
140
- "model.layers.21.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
141
- "model.layers.21.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
142
- "model.layers.21.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  "model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
144
  "model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
145
  "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
 
1
  {
2
  "metadata": {
3
+ "total_size": 5760229376
4
  },
5
  "weight_map": {
6
  "lm_head.weight": "model-00002-of-00002.safetensors",
 
68
  "model.layers.14.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
69
  "model.layers.14.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
70
  "model.layers.14.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
71
+ "model.layers.15.input_layernorm.weight": "model-00001-of-00002.safetensors",
72
+ "model.layers.15.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
73
  "model.layers.15.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
74
+ "model.layers.15.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
75
+ "model.layers.15.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
76
  "model.layers.15.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
77
  "model.layers.15.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
78
  "model.layers.15.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
79
  "model.layers.15.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
80
+ "model.layers.16.input_layernorm.weight": "model-00001-of-00002.safetensors",
81
+ "model.layers.16.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
82
+ "model.layers.16.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
83
+ "model.layers.16.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
84
+ "model.layers.16.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
85
+ "model.layers.16.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
86
+ "model.layers.16.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
87
+ "model.layers.16.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
88
+ "model.layers.16.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
89
+ "model.layers.17.input_layernorm.weight": "model-00001-of-00002.safetensors",
90
+ "model.layers.17.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
91
+ "model.layers.17.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
92
+ "model.layers.17.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
93
+ "model.layers.17.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
94
+ "model.layers.17.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
95
+ "model.layers.17.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
96
+ "model.layers.17.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
97
+ "model.layers.17.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
98
+ "model.layers.18.input_layernorm.weight": "model-00001-of-00002.safetensors",
99
+ "model.layers.18.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
100
+ "model.layers.18.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
101
+ "model.layers.18.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
102
+ "model.layers.18.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
103
+ "model.layers.18.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
104
+ "model.layers.18.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
105
+ "model.layers.18.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
106
+ "model.layers.18.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
107
+ "model.layers.19.input_layernorm.weight": "model-00001-of-00002.safetensors",
108
+ "model.layers.19.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
109
+ "model.layers.19.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
110
+ "model.layers.19.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
111
+ "model.layers.19.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
112
+ "model.layers.19.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
113
+ "model.layers.19.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
114
+ "model.layers.19.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
115
+ "model.layers.19.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
116
  "model.layers.2.input_layernorm.weight": "model-00001-of-00002.safetensors",
117
  "model.layers.2.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
118
  "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
 
122
  "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
123
  "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
124
  "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
125
+ "model.layers.20.input_layernorm.weight": "model-00001-of-00002.safetensors",
126
+ "model.layers.20.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
127
+ "model.layers.20.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
128
+ "model.layers.20.mlp.up_proj.weight": "model-00001-of-00002.safetensors",
129
+ "model.layers.20.post_attention_layernorm.weight": "model-00001-of-00002.safetensors",
130
+ "model.layers.20.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
131
+ "model.layers.20.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
132
+ "model.layers.20.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
133
+ "model.layers.20.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
134
  "model.layers.21.input_layernorm.weight": "model-00002-of-00002.safetensors",
135
  "model.layers.21.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
136
+ "model.layers.21.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",
137
  "model.layers.21.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
138
  "model.layers.21.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
139
+ "model.layers.21.self_attn.k_proj.weight": "model-00001-of-00002.safetensors",
140
+ "model.layers.21.self_attn.o_proj.weight": "model-00001-of-00002.safetensors",
141
+ "model.layers.21.self_attn.q_proj.weight": "model-00001-of-00002.safetensors",
142
+ "model.layers.21.self_attn.v_proj.weight": "model-00001-of-00002.safetensors",
143
+ "model.layers.22.input_layernorm.weight": "model-00002-of-00002.safetensors",
144
+ "model.layers.22.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
145
+ "model.layers.22.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
146
+ "model.layers.22.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
147
+ "model.layers.22.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
148
+ "model.layers.22.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
149
+ "model.layers.22.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
150
+ "model.layers.22.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
151
+ "model.layers.22.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
152
+ "model.layers.23.input_layernorm.weight": "model-00002-of-00002.safetensors",
153
+ "model.layers.23.mlp.down_proj.weight": "model-00002-of-00002.safetensors",
154
+ "model.layers.23.mlp.gate_proj.weight": "model-00002-of-00002.safetensors",
155
+ "model.layers.23.mlp.up_proj.weight": "model-00002-of-00002.safetensors",
156
+ "model.layers.23.post_attention_layernorm.weight": "model-00002-of-00002.safetensors",
157
+ "model.layers.23.self_attn.k_proj.weight": "model-00002-of-00002.safetensors",
158
+ "model.layers.23.self_attn.o_proj.weight": "model-00002-of-00002.safetensors",
159
+ "model.layers.23.self_attn.q_proj.weight": "model-00002-of-00002.safetensors",
160
+ "model.layers.23.self_attn.v_proj.weight": "model-00002-of-00002.safetensors",
161
  "model.layers.3.input_layernorm.weight": "model-00001-of-00002.safetensors",
162
  "model.layers.3.mlp.down_proj.weight": "model-00001-of-00002.safetensors",
163
  "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00002.safetensors",