mradermacher
commited on
Commit
•
32b88ec
1
Parent(s):
feaaaae
auto-patch README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<!-- ### quantize_version: 2 -->
|
2 |
<!-- ### output_tensor_quantised: 1 -->
|
3 |
<!-- ### convert_type: hf -->
|
4 |
<!-- ### vocab_type: -->
|
5 |
<!-- ### tags: -->
|
6 |
static quants of https://huggingface.co/huihui-ai/CodeLlama-13b-Instruct-hf-abliterated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: huihui-ai/CodeLlama-13b-Instruct-hf-abliterated
|
3 |
+
extra_gated_button_content: Submit
|
4 |
+
extra_gated_fields:
|
5 |
+
Affiliation: text
|
6 |
+
? By clicking Submit below I accept the terms of the license and acknowledge that
|
7 |
+
the information I provide will be collected stored processed and shared in accordance
|
8 |
+
with the Meta Privacy Policy
|
9 |
+
: checkbox
|
10 |
+
Country: country
|
11 |
+
Date of birth: date_picker
|
12 |
+
First Name: text
|
13 |
+
Last Name: text
|
14 |
+
geo: ip_location
|
15 |
+
extra_gated_heading: You need to share contact information with Meta to access this
|
16 |
+
model
|
17 |
+
extra_gated_prompt: "### LLAMA 2 COMMUNITY LICENSE AGREEMENT\n\"Agreement\" means
|
18 |
+
the terms and conditions for use, reproduction, distribution and modification of
|
19 |
+
the Llama Materials set forth herein. \"Documentation\" means the specifications,
|
20 |
+
manuals and documentation accompanying Llama 2 distributed by Meta at https://ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
21 |
+
\ \"Licensee\" or \"you\" means you, or your employer or any other person or entity
|
22 |
+
(if you are entering into this Agreement on such person or entity's behalf), of
|
23 |
+
the age required under applicable laws, rules or regulations to provide legal consent
|
24 |
+
and that has legal authority to bind your employer or such other person or entity
|
25 |
+
if you are entering in this Agreement on their behalf. \"Llama 2\" means the foundational
|
26 |
+
large language models and software and algorithms, including machine-learning model
|
27 |
+
code, trained model weights, inference-enabling code, training-enabling code, fine-tuning
|
28 |
+
enabling code and other elements of the foregoing distributed by Meta at ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
29 |
+
\"Llama Materials\" means, collectively, Meta's proprietary Llama 2 and documentation
|
30 |
+
(and any portion thereof) made available under this Agreement. \"Meta\" or \"we\"
|
31 |
+
means Meta Platforms Ireland Limited (if you are located in or, if you are an entity,
|
32 |
+
your principal place of business is in the EEA or Switzerland) and Meta Platforms,
|
33 |
+
Inc. (if you are located outside of the EEA or Switzerland). By clicking \"I Accept\"
|
34 |
+
below or by using or distributing any portion or element of the Llama Materials,
|
35 |
+
you agree to be bound by this Agreement. 1. License Rights and Redistribution. a.
|
36 |
+
Grant of Rights. You are granted a non-exclusive, worldwide, non- transferable and
|
37 |
+
royalty-free limited license under Meta's intellectual property or other rights
|
38 |
+
owned by Meta embodied in the Llama Materials to use, reproduce, distribute, copy,
|
39 |
+
create derivative works of, and make modifications to the Llama Materials. \n
|
40 |
+
\ \nb. Redistribution and Use. i. If you distribute or make the Llama Materials,
|
41 |
+
or any derivative works thereof, available to a third party, you shall provide
|
42 |
+
a copy of this Agreement to such third party. ii. If you receive Llama Materials,
|
43 |
+
or any derivative works thereof, from a Licensee as part of an integrated end user
|
44 |
+
product, then Section 2 of this Agreement will not apply to you. iii. You must
|
45 |
+
retain in all copies of the Llama Materials that you distribute the following attribution
|
46 |
+
notice within a \"Notice\" text file distributed as a part of such copies: \"Llama
|
47 |
+
2 is licensed under the LLAMA 2 Community License, Copyright (c) Meta Platforms,
|
48 |
+
Inc. All Rights Reserved.\" iv. Your use of the Llama Materials must comply with
|
49 |
+
applicable laws and regulations (including trade compliance laws and regulations)
|
50 |
+
and adhere to the Acceptable Use Policy for the Llama Materials (available at https://ai.meta.com/llama/use-policy),
|
51 |
+
which is hereby incorporated by reference into this Agreement. v. You will not
|
52 |
+
use the Llama Materials or any output or results of the Llama Materials to improve
|
53 |
+
any other large language model (excluding Llama 2 or derivative works thereof).
|
54 |
+
\ 2. Additional Commercial Terms. If, on the Llama 2 version release date, the
|
55 |
+
\ monthly active users of the products or services made available by or for Licensee,
|
56 |
+
\ or Licensee's affiliates, is greater than 700 million monthly active users in
|
57 |
+
the preceding calendar month, you must request a license from Meta, which Meta
|
58 |
+
may grant to you in its sole discretion, and you are not authorized to exercise
|
59 |
+
any of the rights under this Agreement unless or until Meta otherwise expressly
|
60 |
+
grants you such rights. 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE
|
61 |
+
LAW, THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON
|
62 |
+
AN \"AS IS\" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
|
63 |
+
INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY,
|
64 |
+
OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING
|
65 |
+
THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND ASSUME ANY
|
66 |
+
RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
|
67 |
+
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER
|
68 |
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY,
|
69 |
+
OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT,
|
70 |
+
SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META
|
71 |
+
OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
72 |
+
5. Intellectual Property. a. No trademark licenses are granted under this Agreement,
|
73 |
+
and in connection with the Llama Materials, neither Meta nor Licensee may use any
|
74 |
+
name or mark owned by or associated with the other or any of its affiliates, except
|
75 |
+
as required for reasonable and customary use in describing and redistributing the
|
76 |
+
\ Llama Materials. b. Subject to Meta's ownership of Llama Materials and derivatives
|
77 |
+
made by or for Meta, with respect to any derivative works and modifications of
|
78 |
+
the Llama Materials that are made by you, as between you and Meta, you are and
|
79 |
+
will be the owner of such derivative works and modifications. c. If you institute
|
80 |
+
litigation or other proceedings against Meta or any entity (including a cross-claim
|
81 |
+
or counterclaim in a lawsuit) alleging that the Llama Materials or Llama 2 outputs
|
82 |
+
or results, or any portion of any of the foregoing, constitutes infringement of
|
83 |
+
intellectual property or other rights owned or licensable by you, then any licenses
|
84 |
+
granted to you under this Agreement shall terminate as of the date such litigation
|
85 |
+
or claim is filed or instituted. You will indemnify and hold harmless Meta from
|
86 |
+
and against any claim by any third party arising out of or related to your use
|
87 |
+
or distribution of the Llama Materials. 6. Term and Termination. The term of this
|
88 |
+
Agreement will commence upon your acceptance of this Agreement or access to the
|
89 |
+
Llama Materials and will continue in full force and effect until terminated in
|
90 |
+
accordance with the terms and conditions herein. Meta may terminate this Agreement
|
91 |
+
if you are in breach of any term or condition of this Agreement. Upon termination
|
92 |
+
of this Agreement, you shall delete and cease use of the Llama Materials. Sections
|
93 |
+
3, 4 and 7 shall survive the termination of this Agreement. 7. Governing Law and
|
94 |
+
Jurisdiction. This Agreement will be governed and construed under the laws of the
|
95 |
+
State of California without regard to choice of law principles, and the UN Convention
|
96 |
+
on Contracts for the International Sale of Goods does not apply to this Agreement.
|
97 |
+
The courts of California shall have exclusive jurisdiction of any dispute arising
|
98 |
+
out of this Agreement. USE POLICY ### Llama 2 Acceptable Use Policy Meta is committed
|
99 |
+
to promoting safe and fair use of its tools and features, including Llama 2. If
|
100 |
+
you access or use Llama 2, you agree to this Acceptable Use Policy (“Policy”). The
|
101 |
+
most recent copy of this policy can be found at [ai.meta.com/llama/use-policy](http://ai.meta.com/llama/use-policy).
|
102 |
+
#### Prohibited Uses We want everyone to use Llama 2 safely and responsibly. You
|
103 |
+
agree you will not use, or allow others to use, Llama 2 to: 1. Violate the law
|
104 |
+
or others’ rights, including to:\n 1. Engage in, promote, generate, contribute
|
105 |
+
to, encourage, plan, incite, or further illegal or unlawful activity or content,
|
106 |
+
such as: \n 1. Violence or terrorism \n 2. Exploitation or harm to children,
|
107 |
+
including the solicitation, creation, acquisition, or dissemination of child exploitative
|
108 |
+
content or failure to report Child Sexual Abuse Material\n 3. Human trafficking,
|
109 |
+
exploitation, and sexual violence\n 4. The illegal distribution of information
|
110 |
+
or materials to minors, including obscene materials, or failure to employ legally
|
111 |
+
required age-gating in connection with such information or materials.\n 5. Sexual
|
112 |
+
solicitation\n 6. Any other criminal activity\n 2. Engage in, promote, incite,
|
113 |
+
or facilitate the harassment, abuse, threatening, or bullying of individuals or
|
114 |
+
groups of individuals\n 3. Engage in, promote, incite, or facilitate discrimination
|
115 |
+
or other unlawful or harmful conduct in the provision of employment, employment
|
116 |
+
benefits, credit, housing, other economic benefits, or other essential goods and
|
117 |
+
services\n 4. Engage in the unauthorized or unlicensed practice of any profession
|
118 |
+
including, but not limited to, financial, legal, medical/health, or related professional
|
119 |
+
practices \n 5. Collect, process, disclose, generate, or infer health, demographic,
|
120 |
+
or other sensitive personal or private information about individuals without rights
|
121 |
+
and consents required by applicable laws\n 6. Engage in or facilitate any action
|
122 |
+
or generate any content that infringes, misappropriates, or otherwise violates any
|
123 |
+
third-party rights, including the outputs or results of any products or services
|
124 |
+
using the Llama 2 Materials\n 7. Create, generate, or facilitate the creation of
|
125 |
+
malicious code, malware, computer viruses or do anything else that could disable,
|
126 |
+
overburden, interfere with or impair the proper working, integrity, operation or
|
127 |
+
appearance of a website or computer system \n2. Engage in, promote, incite, facilitate,
|
128 |
+
or assist in the planning or development of activities that present a risk of death
|
129 |
+
or bodily harm to individuals, including use of Llama 2 related to the following:\n
|
130 |
+
\ 1. Military, warfare, nuclear industries or applications, espionage, use for materials
|
131 |
+
or activities that are subject to the International Traffic Arms Regulations (ITAR)
|
132 |
+
maintained by the United States Department of State\n 2. Guns and illegal weapons
|
133 |
+
(including weapon development)\n 3. Illegal drugs and regulated/controlled substances\n
|
134 |
+
\ 4. Operation of critical infrastructure, transportation technologies, or heavy
|
135 |
+
machinery\n 5. Self-harm or harm to others, including suicide, cutting, and eating
|
136 |
+
disorders\n 6. Any content intended to incite or promote violence, abuse, or any
|
137 |
+
infliction of bodily harm to an individual\n3. Intentionally deceive or mislead
|
138 |
+
others, including use of Llama 2 related to the following:\n 1. Generating, promoting,
|
139 |
+
or furthering fraud or the creation or promotion of disinformation\n 2. Generating,
|
140 |
+
promoting, or furthering defamatory content, including the creation of defamatory
|
141 |
+
statements, images, or other content\n 3. Generating, promoting, or further distributing
|
142 |
+
spam\n 4. Impersonating another individual without consent, authorization, or legal
|
143 |
+
right\n 5. Representing that the use of Llama 2 or outputs are human-generated\n
|
144 |
+
\ 6. Generating or facilitating false online engagement, including fake reviews
|
145 |
+
and other means of fake online engagement \n 4. Fail to appropriately disclose
|
146 |
+
to end users any known dangers of your AI system \nPlease report any violation of
|
147 |
+
this Policy, software “bug,” or other problems that could lead to a violation of
|
148 |
+
this Policy through one of the following means: * Reporting issues with the model:
|
149 |
+
[github.com/facebookresearch/llama](http://github.com/facebookresearch/llama) *
|
150 |
+
Reporting risky content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
|
151 |
+
* Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info)
|
152 |
+
* Reporting violations of the Acceptable Use Policy or unlicensed uses of Llama:
|
153 |
+
[LlamaUseReport@meta.com](mailto:LlamaUseReport@meta.com)"
|
154 |
+
language:
|
155 |
+
- code
|
156 |
+
library_name: transformers
|
157 |
+
license: llama2
|
158 |
+
quantized_by: mradermacher
|
159 |
+
tags:
|
160 |
+
- facebook
|
161 |
+
- meta
|
162 |
+
- pytorch
|
163 |
+
- llama
|
164 |
+
- llama-2
|
165 |
+
- abliterated
|
166 |
+
- uncensored
|
167 |
+
---
|
168 |
+
## About
|
169 |
+
|
170 |
<!-- ### quantize_version: 2 -->
|
171 |
<!-- ### output_tensor_quantised: 1 -->
|
172 |
<!-- ### convert_type: hf -->
|
173 |
<!-- ### vocab_type: -->
|
174 |
<!-- ### tags: -->
|
175 |
static quants of https://huggingface.co/huihui-ai/CodeLlama-13b-Instruct-hf-abliterated
|
176 |
+
|
177 |
+
<!-- provided-files -->
|
178 |
+
weighted/imatrix quants seem not to be available (by me) at this time. If they do not show up a week or so after the static ones, I have probably not planned for them. Feel free to request them by opening a Community Discussion.
|
179 |
+
## Usage
|
180 |
+
|
181 |
+
If you are unsure how to use GGUF files, refer to one of [TheBloke's
|
182 |
+
READMEs](https://huggingface.co/TheBloke/KafkaLM-70B-German-V0.1-GGUF) for
|
183 |
+
more details, including on how to concatenate multi-part files.
|
184 |
+
|
185 |
+
## Provided Quants
|
186 |
+
|
187 |
+
(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)
|
188 |
+
|
189 |
+
| Link | Type | Size/GB | Notes |
|
190 |
+
|:-----|:-----|--------:|:------|
|
191 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-13b-Instruct-hf-abliterated-GGUF/resolve/main/CodeLlama-13b-Instruct-hf-abliterated.Q2_K.gguf) | Q2_K | 5.0 | |
|
192 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-13b-Instruct-hf-abliterated-GGUF/resolve/main/CodeLlama-13b-Instruct-hf-abliterated.Q3_K_S.gguf) | Q3_K_S | 5.8 | |
|
193 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-13b-Instruct-hf-abliterated-GGUF/resolve/main/CodeLlama-13b-Instruct-hf-abliterated.Q3_K_M.gguf) | Q3_K_M | 6.4 | lower quality |
|
194 |
+
| [GGUF](https://huggingface.co/mradermacher/CodeLlama-13b-Instruct-hf-abliterated-GGUF/resolve/main/CodeLlama-13b-Instruct-hf-abliterated.Q4_K_S.gguf) | Q4_K_S | 7.5 | fast, recommended |
|
195 |
+
|
196 |
+
Here is a handy graph by ikawrakow comparing some lower-quality quant
|
197 |
+
types (lower is better):
|
198 |
+
|
199 |
+
![image.png](https://www.nethype.de/huggingface_embed/quantpplgraph.png)
|
200 |
+
|
201 |
+
And here are Artefact2's thoughts on the matter:
|
202 |
+
https://gist.github.com/Artefact2/b5f810600771265fc1e39442288e8ec9
|
203 |
+
|
204 |
+
## FAQ / Model Request
|
205 |
+
|
206 |
+
See https://huggingface.co/mradermacher/model_requests for some answers to
|
207 |
+
questions you might have and/or if you want some other model quantized.
|
208 |
+
|
209 |
+
## Thanks
|
210 |
+
|
211 |
+
I thank my company, [nethype GmbH](https://www.nethype.de/), for letting
|
212 |
+
me use its servers and providing upgrades to my workstation to enable
|
213 |
+
this work in my free time.
|
214 |
+
|
215 |
+
<!-- end -->
|