imfinethx commited on
Commit
9237479
1 Parent(s): ec1898b
config.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/mtgv/MobileLLaMA-1.4B-Chat",
3
+ "anyprec": {
4
+ "arch_config": {
5
+ "layers_name": "layers",
6
+ "model_name": "model",
7
+ "module_names": [
8
+ "self_attn.q_proj",
9
+ "self_attn.k_proj",
10
+ "self_attn.v_proj",
11
+ "self_attn.o_proj",
12
+ "mlp.gate_proj",
13
+ "mlp.up_proj",
14
+ "mlp.down_proj"
15
+ ]
16
+ },
17
+ "group_count": 1,
18
+ "parent_precision": 4,
19
+ "seed_precision": 2,
20
+ "sparse_numvals": {
21
+ "model.layers.0.mlp.down_proj": 391081,
22
+ "model.layers.0.mlp.gate_proj": 386698,
23
+ "model.layers.0.mlp.up_proj": 378886,
24
+ "model.layers.0.self_attn.k_proj": 274937,
25
+ "model.layers.0.self_attn.o_proj": 146763,
26
+ "model.layers.0.self_attn.q_proj": 253983,
27
+ "model.layers.0.self_attn.v_proj": 160101,
28
+ "model.layers.1.mlp.down_proj": 385358,
29
+ "model.layers.1.mlp.gate_proj": 387502,
30
+ "model.layers.1.mlp.up_proj": 379544,
31
+ "model.layers.1.self_attn.k_proj": 473298,
32
+ "model.layers.1.self_attn.o_proj": 214534,
33
+ "model.layers.1.self_attn.q_proj": 474665,
34
+ "model.layers.1.self_attn.v_proj": 173411,
35
+ "model.layers.10.mlp.down_proj": 384965,
36
+ "model.layers.10.mlp.gate_proj": 418178,
37
+ "model.layers.10.mlp.up_proj": 394578,
38
+ "model.layers.10.self_attn.k_proj": 293514,
39
+ "model.layers.10.self_attn.o_proj": 161452,
40
+ "model.layers.10.self_attn.q_proj": 275451,
41
+ "model.layers.10.self_attn.v_proj": 169149,
42
+ "model.layers.11.mlp.down_proj": 386407,
43
+ "model.layers.11.mlp.gate_proj": 418151,
44
+ "model.layers.11.mlp.up_proj": 396416,
45
+ "model.layers.11.self_attn.k_proj": 283696,
46
+ "model.layers.11.self_attn.o_proj": 153623,
47
+ "model.layers.11.self_attn.q_proj": 278095,
48
+ "model.layers.11.self_attn.v_proj": 165117,
49
+ "model.layers.12.mlp.down_proj": 395321,
50
+ "model.layers.12.mlp.gate_proj": 434671,
51
+ "model.layers.12.mlp.up_proj": 406955,
52
+ "model.layers.12.self_attn.k_proj": 265587,
53
+ "model.layers.12.self_attn.o_proj": 147530,
54
+ "model.layers.12.self_attn.q_proj": 254328,
55
+ "model.layers.12.self_attn.v_proj": 164366,
56
+ "model.layers.13.mlp.down_proj": 402235,
57
+ "model.layers.13.mlp.gate_proj": 462668,
58
+ "model.layers.13.mlp.up_proj": 412243,
59
+ "model.layers.13.self_attn.k_proj": 268726,
60
+ "model.layers.13.self_attn.o_proj": 155370,
61
+ "model.layers.13.self_attn.q_proj": 264605,
62
+ "model.layers.13.self_attn.v_proj": 179360,
63
+ "model.layers.14.mlp.down_proj": 411161,
64
+ "model.layers.14.mlp.gate_proj": 475909,
65
+ "model.layers.14.mlp.up_proj": 421549,
66
+ "model.layers.14.self_attn.k_proj": 276528,
67
+ "model.layers.14.self_attn.o_proj": 155414,
68
+ "model.layers.14.self_attn.q_proj": 263462,
69
+ "model.layers.14.self_attn.v_proj": 174496,
70
+ "model.layers.15.mlp.down_proj": 407797,
71
+ "model.layers.15.mlp.gate_proj": 466950,
72
+ "model.layers.15.mlp.up_proj": 422795,
73
+ "model.layers.15.self_attn.k_proj": 277968,
74
+ "model.layers.15.self_attn.o_proj": 158232,
75
+ "model.layers.15.self_attn.q_proj": 277897,
76
+ "model.layers.15.self_attn.v_proj": 178970,
77
+ "model.layers.16.mlp.down_proj": 406442,
78
+ "model.layers.16.mlp.gate_proj": 458305,
79
+ "model.layers.16.mlp.up_proj": 423591,
80
+ "model.layers.16.self_attn.k_proj": 255441,
81
+ "model.layers.16.self_attn.o_proj": 159098,
82
+ "model.layers.16.self_attn.q_proj": 250977,
83
+ "model.layers.16.self_attn.v_proj": 175023,
84
+ "model.layers.17.mlp.down_proj": 402755,
85
+ "model.layers.17.mlp.gate_proj": 442715,
86
+ "model.layers.17.mlp.up_proj": 417427,
87
+ "model.layers.17.self_attn.k_proj": 271682,
88
+ "model.layers.17.self_attn.o_proj": 160200,
89
+ "model.layers.17.self_attn.q_proj": 268211,
90
+ "model.layers.17.self_attn.v_proj": 170915,
91
+ "model.layers.18.mlp.down_proj": 393810,
92
+ "model.layers.18.mlp.gate_proj": 425845,
93
+ "model.layers.18.mlp.up_proj": 412307,
94
+ "model.layers.18.self_attn.k_proj": 251695,
95
+ "model.layers.18.self_attn.o_proj": 160815,
96
+ "model.layers.18.self_attn.q_proj": 270035,
97
+ "model.layers.18.self_attn.v_proj": 170143,
98
+ "model.layers.19.mlp.down_proj": 391018,
99
+ "model.layers.19.mlp.gate_proj": 414782,
100
+ "model.layers.19.mlp.up_proj": 407914,
101
+ "model.layers.19.self_attn.k_proj": 250159,
102
+ "model.layers.19.self_attn.o_proj": 180878,
103
+ "model.layers.19.self_attn.q_proj": 248349,
104
+ "model.layers.19.self_attn.v_proj": 185533,
105
+ "model.layers.2.mlp.down_proj": 377206,
106
+ "model.layers.2.mlp.gate_proj": 373395,
107
+ "model.layers.2.mlp.up_proj": 376499,
108
+ "model.layers.2.self_attn.k_proj": 364956,
109
+ "model.layers.2.self_attn.o_proj": 163255,
110
+ "model.layers.2.self_attn.q_proj": 313191,
111
+ "model.layers.2.self_attn.v_proj": 155599,
112
+ "model.layers.20.mlp.down_proj": 390830,
113
+ "model.layers.20.mlp.gate_proj": 407028,
114
+ "model.layers.20.mlp.up_proj": 404880,
115
+ "model.layers.20.self_attn.k_proj": 231168,
116
+ "model.layers.20.self_attn.o_proj": 169556,
117
+ "model.layers.20.self_attn.q_proj": 226735,
118
+ "model.layers.20.self_attn.v_proj": 167471,
119
+ "model.layers.21.mlp.down_proj": 388610,
120
+ "model.layers.21.mlp.gate_proj": 396068,
121
+ "model.layers.21.mlp.up_proj": 394762,
122
+ "model.layers.21.self_attn.k_proj": 233144,
123
+ "model.layers.21.self_attn.o_proj": 202859,
124
+ "model.layers.21.self_attn.q_proj": 224758,
125
+ "model.layers.21.self_attn.v_proj": 197088,
126
+ "model.layers.22.mlp.down_proj": 410384,
127
+ "model.layers.22.mlp.gate_proj": 411952,
128
+ "model.layers.22.mlp.up_proj": 405958,
129
+ "model.layers.22.self_attn.k_proj": 246798,
130
+ "model.layers.22.self_attn.o_proj": 184618,
131
+ "model.layers.22.self_attn.q_proj": 244163,
132
+ "model.layers.22.self_attn.v_proj": 180896,
133
+ "model.layers.23.mlp.down_proj": 504810,
134
+ "model.layers.23.mlp.gate_proj": 452978,
135
+ "model.layers.23.mlp.up_proj": 477128,
136
+ "model.layers.23.self_attn.k_proj": 205122,
137
+ "model.layers.23.self_attn.o_proj": 204087,
138
+ "model.layers.23.self_attn.q_proj": 196846,
139
+ "model.layers.23.self_attn.v_proj": 193336,
140
+ "model.layers.3.mlp.down_proj": 374150,
141
+ "model.layers.3.mlp.gate_proj": 372350,
142
+ "model.layers.3.mlp.up_proj": 375109,
143
+ "model.layers.3.self_attn.k_proj": 290489,
144
+ "model.layers.3.self_attn.o_proj": 143544,
145
+ "model.layers.3.self_attn.q_proj": 247264,
146
+ "model.layers.3.self_attn.v_proj": 148063,
147
+ "model.layers.4.mlp.down_proj": 381223,
148
+ "model.layers.4.mlp.gate_proj": 376904,
149
+ "model.layers.4.mlp.up_proj": 378407,
150
+ "model.layers.4.self_attn.k_proj": 289375,
151
+ "model.layers.4.self_attn.o_proj": 140505,
152
+ "model.layers.4.self_attn.q_proj": 237856,
153
+ "model.layers.4.self_attn.v_proj": 146613,
154
+ "model.layers.5.mlp.down_proj": 379920,
155
+ "model.layers.5.mlp.gate_proj": 377189,
156
+ "model.layers.5.mlp.up_proj": 377591,
157
+ "model.layers.5.self_attn.k_proj": 282178,
158
+ "model.layers.5.self_attn.o_proj": 155071,
159
+ "model.layers.5.self_attn.q_proj": 251705,
160
+ "model.layers.5.self_attn.v_proj": 164087,
161
+ "model.layers.6.mlp.down_proj": 374917,
162
+ "model.layers.6.mlp.gate_proj": 384595,
163
+ "model.layers.6.mlp.up_proj": 378445,
164
+ "model.layers.6.self_attn.k_proj": 285864,
165
+ "model.layers.6.self_attn.o_proj": 166756,
166
+ "model.layers.6.self_attn.q_proj": 254119,
167
+ "model.layers.6.self_attn.v_proj": 181957,
168
+ "model.layers.7.mlp.down_proj": 376459,
169
+ "model.layers.7.mlp.gate_proj": 390927,
170
+ "model.layers.7.mlp.up_proj": 385830,
171
+ "model.layers.7.self_attn.k_proj": 250179,
172
+ "model.layers.7.self_attn.o_proj": 150186,
173
+ "model.layers.7.self_attn.q_proj": 220969,
174
+ "model.layers.7.self_attn.v_proj": 158929,
175
+ "model.layers.8.mlp.down_proj": 382800,
176
+ "model.layers.8.mlp.gate_proj": 413009,
177
+ "model.layers.8.mlp.up_proj": 396348,
178
+ "model.layers.8.self_attn.k_proj": 267251,
179
+ "model.layers.8.self_attn.o_proj": 173103,
180
+ "model.layers.8.self_attn.q_proj": 235754,
181
+ "model.layers.8.self_attn.v_proj": 191066,
182
+ "model.layers.9.mlp.down_proj": 381195,
183
+ "model.layers.9.mlp.gate_proj": 405387,
184
+ "model.layers.9.mlp.up_proj": 395238,
185
+ "model.layers.9.self_attn.k_proj": 285793,
186
+ "model.layers.9.self_attn.o_proj": 172217,
187
+ "model.layers.9.self_attn.q_proj": 269692,
188
+ "model.layers.9.self_attn.v_proj": 186773
189
+ }
190
+ },
191
+ "architectures": [
192
+ "LlamaForCausalLM"
193
+ ],
194
+ "attention_bias": false,
195
+ "attention_dropout": 0.0,
196
+ "bos_token_id": 1,
197
+ "eos_token_id": 2,
198
+ "hidden_act": "silu",
199
+ "hidden_size": 2048,
200
+ "initializer_range": 0.02,
201
+ "intermediate_size": 5632,
202
+ "max_position_embeddings": 2048,
203
+ "max_sequence_length": 2048,
204
+ "model_type": "llama",
205
+ "num_attention_heads": 16,
206
+ "num_hidden_layers": 24,
207
+ "num_key_value_heads": 16,
208
+ "pad_token_id": 0,
209
+ "pretraining_tp": 1,
210
+ "rms_norm_eps": 1e-06,
211
+ "rope_scaling": null,
212
+ "rope_theta": 10000.0,
213
+ "tie_word_embeddings": false,
214
+ "torch_dtype": "float16",
215
+ "transformers_version": "4.39.3",
216
+ "use_cache": true,
217
+ "vocab_size": 32000
218
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41a2b4ecf11122fef6148772735615e654550984180de8202f8f831109b797d7
3
+ size 1211195673
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": true,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": true,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": true,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "clean_up_tokenization_spaces": false,
33
+ "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 2048,
36
+ "pad_token": "<unk>",
37
+ "padding_side": "right",
38
+ "sp_model_kwargs": {},
39
+ "spaces_between_special_tokens": false,
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }