TheBloke commited on
Commit
30e02f1
·
verified ·
1 Parent(s): fffceec

GPTQ model commit

Browse files
LICENSE ADDED
@@ -0,0 +1,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CC-BY-NC-SA
2
+
3
+ Attribution-NonCommercial-ShareAlike 4.0 International
4
+
5
+ ________________________________________________________
6
+
7
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
8
+ does not provide legal services or legal advice. Distribution of
9
+ Creative Commons public licenses does not create a lawyer-client or
10
+ other relationship. Creative Commons makes its licenses and related
11
+ information available on an "as-is" basis. Creative Commons gives no
12
+ warranties regarding its licenses, any material licensed under their
13
+ terms and conditions, or any related information. Creative Commons
14
+ disclaims all liability for damages resulting from their use to the
15
+ fullest extent possible.
16
+
17
+ Using Creative Commons Public Licenses
18
+
19
+ Creative Commons public licenses provide a standard set of terms and
20
+ conditions that creators and other rights holders may use to share
21
+ original works of authorship and other material subject to copyright
22
+ and certain other rights specified in the public license below. The
23
+ following considerations are for informational purposes only, are not
24
+ exhaustive, and do not form part of our licenses.
25
+
26
+ Considerations for licensors: Our public licenses are
27
+ intended for use by those authorized to give the public
28
+ permission to use material in ways otherwise restricted by
29
+ copyright and certain other rights. Our licenses are
30
+ irrevocable. Licensors should read and understand the terms
31
+ and conditions of the license they choose before applying it.
32
+ Licensors should also secure all rights necessary before
33
+ applying our licenses so that the public can reuse the
34
+ material as expected. Licensors should clearly mark any
35
+ material not subject to the license. This includes other CC-
36
+ licensed material, or material used under an exception or
37
+ limitation to copyright. More considerations for licensors:
38
+ wiki.creativecommons.org/Considerations_for_licensors
39
+
40
+ Considerations for the public: By using one of our public
41
+ licenses, a licensor grants the public permission to use the
42
+ licensed material under specified terms and conditions. If
43
+ the licensor's permission is not necessary for any reason--for
44
+ example, because of any applicable exception or limitation to
45
+ copyright--then that use is not regulated by the license. Our
46
+ licenses grant only permissions under copyright and certain
47
+ other rights that a licensor has authority to grant. Use of
48
+ the licensed material may still be restricted for other
49
+ reasons, including because others have copyright or other
50
+ rights in the material. A licensor may make special requests,
51
+ such as asking that all changes be marked or described.
52
+ Although not required by our licenses, you are encouraged to
53
+ respect those requests where reasonable. More considerations
54
+ for the public:
55
+ wiki.creativecommons.org/Considerations_for_licensees
56
+
57
+ ________________________________________________________
58
+
59
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
60
+ Public License
61
+
62
+ By exercising the Licensed Rights (defined below), You accept and agree
63
+ to be bound by the terms and conditions of this Creative Commons
64
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
65
+ ("Public License"). To the extent this Public License may be
66
+ interpreted as a contract, You are granted the Licensed Rights in
67
+ consideration of Your acceptance of these terms and conditions, and the
68
+ Licensor grants You such rights in consideration of benefits the
69
+ Licensor receives from making the Licensed Material available under
70
+ these terms and conditions.
71
+
72
+
73
+ Section 1 -- Definitions.
74
+
75
+ a. Adapted Material means material subject to Copyright and Similar
76
+ Rights that is derived from or based upon the Licensed Material
77
+ and in which the Licensed Material is translated, altered,
78
+ arranged, transformed, or otherwise modified in a manner requiring
79
+ permission under the Copyright and Similar Rights held by the
80
+ Licensor. For purposes of this Public License, where the Licensed
81
+ Material is a musical work, performance, or sound recording,
82
+ Adapted Material is always produced where the Licensed Material is
83
+ synched in timed relation with a moving image.
84
+
85
+ b. Adapter's License means the license You apply to Your Copyright
86
+ and Similar Rights in Your contributions to Adapted Material in
87
+ accordance with the terms and conditions of this Public License.
88
+
89
+ c. BY-NC-SA Compatible License means a license listed at
90
+ creativecommons.org/compatiblelicenses, approved by Creative
91
+ Commons as essentially the equivalent of this Public License.
92
+
93
+ d. Copyright and Similar Rights means copyright and/or similar rights
94
+ closely related to copyright including, without limitation,
95
+ performance, broadcast, sound recording, and Sui Generis Database
96
+ Rights, without regard to how the rights are labeled or
97
+ categorized. For purposes of this Public License, the rights
98
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
99
+ Rights.
100
+
101
+ e. Effective Technological Measures means those measures that, in the
102
+ absence of proper authority, may not be circumvented under laws
103
+ fulfilling obligations under Article 11 of the WIPO Copyright
104
+ Treaty adopted on December 20, 1996, and/or similar international
105
+ agreements.
106
+
107
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
108
+ any other exception or limitation to Copyright and Similar Rights
109
+ that applies to Your use of the Licensed Material.
110
+
111
+ g. License Elements means the license attributes listed in the name
112
+ of a Creative Commons Public License. The License Elements of this
113
+ Public License are Attribution, NonCommercial, and ShareAlike.
114
+
115
+ h. Licensed Material means the artistic or literary work, database,
116
+ or other material to which the Licensor applied this Public
117
+ License.
118
+
119
+ i. Licensed Rights means the rights granted to You subject to the
120
+ terms and conditions of this Public License, which are limited to
121
+ all Copyright and Similar Rights that apply to Your use of the
122
+ Licensed Material and that the Licensor has authority to license.
123
+
124
+ j. Licensor means the individual(s) or entity(ies) granting rights
125
+ under this Public License.
126
+
127
+ k. NonCommercial means not primarily intended for or directed towards
128
+ commercial advantage or monetary compensation. For purposes of
129
+ this Public License, the exchange of the Licensed Material for
130
+ other material subject to Copyright and Similar Rights by digital
131
+ file-sharing or similar means is NonCommercial provided there is
132
+ no payment of monetary compensation in connection with the
133
+ exchange.
134
+
135
+ l. Share means to provide material to the public by any means or
136
+ process that requires permission under the Licensed Rights, such
137
+ as reproduction, public display, public performance, distribution,
138
+ dissemination, communication, or importation, and to make material
139
+ available to the public including in ways that members of the
140
+ public may access the material from a place and at a time
141
+ individually chosen by them.
142
+
143
+ m. Sui Generis Database Rights means rights other than copyright
144
+ resulting from Directive 96/9/EC of the European Parliament and of
145
+ the Council of 11 March 1996 on the legal protection of databases,
146
+ as amended and/or succeeded, as well as other essentially
147
+ equivalent rights anywhere in the world.
148
+
149
+ n. You means the individual or entity exercising the Licensed Rights
150
+ under this Public License. Your has a corresponding meaning.
151
+
152
+
153
+ Section 2 -- Scope.
154
+
155
+ a. License grant.
156
+
157
+ 1. Subject to the terms and conditions of this Public License,
158
+ the Licensor hereby grants You a worldwide, royalty-free,
159
+ non-sublicensable, non-exclusive, irrevocable license to
160
+ exercise the Licensed Rights in the Licensed Material to:
161
+
162
+ a. reproduce and Share the Licensed Material, in whole or
163
+ in part, for NonCommercial purposes only; and
164
+
165
+ b. produce, reproduce, and Share Adapted Material for
166
+ NonCommercial purposes only.
167
+
168
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
169
+ Exceptions and Limitations apply to Your use, this Public
170
+ License does not apply, and You do not need to comply with
171
+ its terms and conditions.
172
+
173
+ 3. Term. The term of this Public License is specified in Section
174
+ 6(a).
175
+
176
+ 4. Media and formats; technical modifications allowed. The
177
+ Licensor authorizes You to exercise the Licensed Rights in
178
+ all media and formats whether now known or hereafter created,
179
+ and to make technical modifications necessary to do so. The
180
+ Licensor waives and/or agrees not to assert any right or
181
+ authority to forbid You from making technical modifications
182
+ necessary to exercise the Licensed Rights, including
183
+ technical modifications necessary to circumvent Effective
184
+ Technological Measures. For purposes of this Public License,
185
+ simply making modifications authorized by this Section 2(a)
186
+ (4) never produces Adapted Material.
187
+
188
+ 5. Downstream recipients.
189
+
190
+ a. Offer from the Licensor -- Licensed Material. Every
191
+ recipient of the Licensed Material automatically
192
+ receives an offer from the Licensor to exercise the
193
+ Licensed Rights under the terms and conditions of this
194
+ Public License.
195
+
196
+ b. Additional offer from the Licensor -- Adapted Material.
197
+ Every recipient of Adapted Material from You
198
+ automatically receives an offer from the Licensor to
199
+ exercise the Licensed Rights in the Adapted Material
200
+ under the conditions of the Adapter's License You apply.
201
+
202
+ c. No downstream restrictions. You may not offer or impose
203
+ any additional or different terms or conditions on, or
204
+ apply any Effective Technological Measures to, the
205
+ Licensed Material if doing so restricts exercise of the
206
+ Licensed Rights by any recipient of the Licensed
207
+ Material.
208
+
209
+ 6. No endorsement. Nothing in this Public License constitutes or
210
+ may be construed as permission to assert or imply that You
211
+ are, or that Your use of the Licensed Material is, connected
212
+ with, or sponsored, endorsed, or granted official status by,
213
+ the Licensor or others designated to receive attribution as
214
+ provided in Section 3(a)(1)(A)(i).
215
+
216
+ b. Other rights.
217
+
218
+ 1. Moral rights, such as the right of integrity, are not
219
+ licensed under this Public License, nor are publicity,
220
+ privacy, and/or other similar personality rights; however, to
221
+ the extent possible, the Licensor waives and/or agrees not to
222
+ assert any such rights held by the Licensor to the limited
223
+ extent necessary to allow You to exercise the Licensed
224
+ Rights, but not otherwise.
225
+
226
+ 2. Patent and trademark rights are not licensed under this
227
+ Public License.
228
+
229
+ 3. To the extent possible, the Licensor waives any right to
230
+ collect royalties from You for the exercise of the Licensed
231
+ Rights, whether directly or through a collecting society
232
+ under any voluntary or waivable statutory or compulsory
233
+ licensing scheme. In all other cases the Licensor expressly
234
+ reserves any right to collect such royalties, including when
235
+ the Licensed Material is used other than for NonCommercial
236
+ purposes.
237
+
238
+
239
+ Section 3 -- License Conditions.
240
+
241
+ Your exercise of the Licensed Rights is expressly made subject to the
242
+ following conditions.
243
+
244
+ a. Attribution.
245
+
246
+ 1. If You Share the Licensed Material (including in modified
247
+ form), You must:
248
+
249
+ a. retain the following if it is supplied by the Licensor
250
+ with the Licensed Material:
251
+
252
+ i. identification of the creator(s) of the Licensed
253
+ Material and any others designated to receive
254
+ attribution, in any reasonable manner requested by
255
+ the Licensor (including by pseudonym if
256
+ designated);
257
+
258
+ ii. a copyright notice;
259
+
260
+ iii. a notice that refers to this Public License;
261
+
262
+ iv. a notice that refers to the disclaimer of
263
+ warranties;
264
+
265
+ v. a URI or hyperlink to the Licensed Material to the
266
+ extent reasonably practicable;
267
+
268
+ b. indicate if You modified the Licensed Material and
269
+ retain an indication of any previous modifications; and
270
+
271
+ c. indicate the Licensed Material is licensed under this
272
+ Public License, and include the text of, or the URI or
273
+ hyperlink to, this Public License.
274
+
275
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
276
+ reasonable manner based on the medium, means, and context in
277
+ which You Share the Licensed Material. For example, it may be
278
+ reasonable to satisfy the conditions by providing a URI or
279
+ hyperlink to a resource that includes the required
280
+ information.
281
+ 3. If requested by the Licensor, You must remove any of the
282
+ information required by Section 3(a)(1)(A) to the extent
283
+ reasonably practicable.
284
+
285
+ b. ShareAlike.
286
+
287
+ In addition to the conditions in Section 3(a), if You Share
288
+ Adapted Material You produce, the following conditions also apply.
289
+
290
+ 1. The Adapter's License You apply must be a Creative Commons
291
+ license with the same License Elements, this version or
292
+ later, or a BY-NC-SA Compatible License.
293
+
294
+ 2. You must include the text of, or the URI or hyperlink to, the
295
+ Adapter's License You apply. You may satisfy this condition
296
+ in any reasonable manner based on the medium, means, and
297
+ context in which You Share Adapted Material.
298
+
299
+ 3. You may not offer or impose any additional or different terms
300
+ or conditions on, or apply any Effective Technological
301
+ Measures to, Adapted Material that restrict exercise of the
302
+ rights granted under the Adapter's License You apply.
303
+
304
+
305
+ Section 4 -- Sui Generis Database Rights.
306
+
307
+ Where the Licensed Rights include Sui Generis Database Rights that
308
+ apply to Your use of the Licensed Material:
309
+
310
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
311
+ to extract, reuse, reproduce, and Share all or a substantial
312
+ portion of the contents of the database for NonCommercial purposes
313
+ only;
314
+
315
+ b. if You include all or a substantial portion of the database
316
+ contents in a database in which You have Sui Generis Database
317
+ Rights, then the database in which You have Sui Generis Database
318
+ Rights (but not its individual contents) is Adapted Material,
319
+ including for purposes of Section 3(b); and
320
+
321
+ c. You must comply with the conditions in Section 3(a) if You Share
322
+ all or a substantial portion of the contents of the database.
323
+
324
+ For the avoidance of doubt, this Section 4 supplements and does not
325
+ replace Your obligations under this Public License where the Licensed
326
+ Rights include other Copyright and Similar Rights.
327
+
328
+
329
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
330
+
331
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
332
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
333
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
334
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
335
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
336
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
337
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
338
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
339
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
340
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
341
+
342
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
343
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
344
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
345
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
346
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
347
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
348
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
349
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
350
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
351
+
352
+ c. The disclaimer of warranties and limitation of liability provided
353
+ above shall be interpreted in a manner that, to the extent
354
+ possible, most closely approximates an absolute disclaimer and
355
+ waiver of all liability.
356
+
357
+
358
+ Section 6 -- Term and Termination.
359
+
360
+ a. This Public License applies for the term of the Copyright and
361
+ Similar Rights licensed here. However, if You fail to comply with
362
+ this Public License, then Your rights under this Public License
363
+ terminate automatically.
364
+
365
+ b. Where Your right to use the Licensed Material has terminated under
366
+ Section 6(a), it reinstates:
367
+
368
+ 1. automatically as of the date the violation is cured, provided
369
+ it is cured within 30 days of Your discovery of the
370
+ violation; or
371
+
372
+ 2. upon express reinstatement by the Licensor.
373
+
374
+ For the avoidance of doubt, this Section 6(b) does not affect any
375
+ right the Licensor may have to seek remedies for Your violations
376
+ of this Public License.
377
+
378
+ c. For the avoidance of doubt, the Licensor may also offer the
379
+ Licensed Material under separate terms or conditions or stop
380
+ distributing the Licensed Material at any time; however, doing so
381
+ will not terminate this Public License.
382
+
383
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
384
+ License.
385
+
386
+
387
+ Section 7 -- Other Terms and Conditions.
388
+
389
+ a. The Licensor shall not be bound by any additional or different
390
+ terms or conditions communicated by You unless expressly agreed.
391
+
392
+ b. Any arrangements, understandings, or agreements regarding the
393
+ Licensed Material not stated herein are separate from and
394
+ independent of the terms and conditions of this Public License.
395
+
396
+
397
+ Section 8 -- Interpretation.
398
+
399
+ a. For the avoidance of doubt, this Public License does not, and
400
+ shall not be interpreted to, reduce, limit, restrict, or impose
401
+ conditions on any use of the Licensed Material that could lawfully
402
+ be made without permission under this Public License.
403
+
404
+ b. To the extent possible, if any provision of this Public License is
405
+ deemed unenforceable, it shall be automatically reformed to the
406
+ minimum extent necessary to make it enforceable. If the provision
407
+ cannot be reformed, it shall be severed from this Public License
408
+ without affecting the enforceability of the remaining terms and
409
+ conditions.
410
+
411
+ c. No term or condition of this Public License will be waived and no
412
+ failure to comply consented to unless expressly agreed to by the
413
+ Licensor.
414
+
415
+ d. Nothing in this Public License constitutes or may be interpreted
416
+ as a limitation upon, or waiver of, any privileges and immunities
417
+ that apply to the Licensor or You, including from the legal
418
+ processes of any jurisdiction or authority.
419
+
420
+ ________________________________________________________
421
+
422
+ Creative Commons is not a party to its public
423
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
424
+ its public licenses to material it publishes and in those instances
425
+ will be considered the “Licensor.” The text of the Creative Commons
426
+ public licenses is dedicated to the public domain under the CC0 Public
427
+ Domain Dedication. Except for the limited purpose of indicating that
428
+ material is shared under a Creative Commons public license or as
429
+ otherwise permitted by the Creative Commons policies published at
430
+ creativecommons.org/policies, Creative Commons does not authorize the
431
+ use of the trademark "Creative Commons" or any other trademark or logo
432
+ of Creative Commons without its prior written consent including,
433
+ without limitation, in connection with any unauthorized modifications
434
+ to any of its public licenses or any other arrangements,
435
+ understandings, or agreements concerning use of licensed material. For
436
+ the avoidance of doubt, this paragraph does not form part of the
437
+ public licenses.
438
+
439
+ Creative Commons may be contacted at creativecommons.org.
Notice ADDED
@@ -0,0 +1 @@
 
 
1
+ Llama 2 is licensed under the LLAMA 2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.
added_tokens.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<CLS>": 32000,
3
+ "<EOD>": 32002,
4
+ "<MASK>": 32003,
5
+ "<PAD>": 32004,
6
+ "<SEP>": 32001,
7
+ "<|im_end|>": 32005,
8
+ "<|im_start|>": 32006
9
+ }
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/process/unbabel_towerinstruct-7b-v0.1/source",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 32005,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 11008,
14
+ "max_position_embeddings": 4096,
15
+ "model_type": "llama",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 32,
19
+ "pad_token_id": 0,
20
+ "pretraining_tp": 1,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_scaling": null,
23
+ "rope_theta": 10000.0,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "float16",
26
+ "transformers_version": "4.36.2",
27
+ "use_cache": true,
28
+ "vocab_size": 32007,
29
+ "quantization_config": {
30
+ "bits": 4,
31
+ "group_size": 128,
32
+ "damp_percent": 0.1,
33
+ "desc_act": true,
34
+ "static_groups": false,
35
+ "sym": true,
36
+ "true_sequential": true,
37
+ "model_name_or_path": null,
38
+ "model_file_base_name": "model",
39
+ "quant_method": "gptq",
40
+ "modules_in_block_to_quantize": [
41
+ [
42
+ "self_attn.k_proj",
43
+ "self_attn.v_proj",
44
+ "self_attn.q_proj"
45
+ ],
46
+ [
47
+ "self_attn.o_proj"
48
+ ],
49
+ [
50
+ "mlp.up_proj",
51
+ "mlp.gate_proj"
52
+ ],
53
+ [
54
+ "mlp.down_proj"
55
+ ]
56
+ ]
57
+ }
58
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.36.2"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aae16655ccb1ebb857c4dc1474b1c5dc766e5f8ee042340f2beb94a40e6fc309
3
+ size 3896829416
quantize_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bits": 4,
3
+ "group_size": 128,
4
+ "damp_percent": 0.1,
5
+ "desc_act": true,
6
+ "static_groups": false,
7
+ "sym": true,
8
+ "true_sequential": true,
9
+ "model_name_or_path": null,
10
+ "model_file_base_name": "model"
11
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<CLS>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "<|im_end|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<MASK>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<PAD>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "<SEP>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
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,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<CLS>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<SEP>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<EOD>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "32003": {
54
+ "content": "<MASK>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "32004": {
62
+ "content": "<PAD>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "32005": {
70
+ "content": "<|im_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "32006": {
78
+ "content": "<|im_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": false
84
+ }
85
+ },
86
+ "bos_token": "<s>",
87
+ "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content']}}{% if (loop.last and add_generation_prompt) or not loop.last %}{{ '<|im_end|>' + '\n'}}{% endif %}{% endfor %}{% if add_generation_prompt and messages[-1]['role'] != 'assistant' %}{{ '<|im_start|>assistant\n' }}{% endif %}",
88
+ "clean_up_tokenization_spaces": false,
89
+ "cls_token": "<CLS>",
90
+ "eos_token": "<|im_end|>",
91
+ "legacy": false,
92
+ "mask_token": "<MASK>",
93
+ "model_max_length": 1000000000000000019884624838656,
94
+ "pad_token": "<PAD>",
95
+ "padding_side": "right",
96
+ "sep_token": "<SEP>",
97
+ "sp_model_kwargs": {},
98
+ "spaces_between_special_tokens": false,
99
+ "tokenizer_class": "LlamaTokenizer",
100
+ "trust_remote_code": false,
101
+ "unk_token": "<unk>",
102
+ "use_default_system_prompt": false,
103
+ "use_fast": true
104
+ }