morriszms commited on
Commit
b2ab6ff
1 Parent(s): 006c626

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Llama-Guard-3-8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Llama-Guard-3-8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Llama-Guard-3-8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Llama-Guard-3-8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Llama-Guard-3-8B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Llama-Guard-3-8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Llama-Guard-3-8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Llama-Guard-3-8B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Llama-Guard-3-8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Llama-Guard-3-8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Llama-Guard-3-8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Llama-Guard-3-8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
Llama-Guard-3-8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dd1c5e2656273a34d3ba31da21b99cf8deb8be9d2a852d2f4c505c0a4e334d0
3
+ size 3179133088
Llama-Guard-3-8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c939c3b0857c3ad0f3cd8bcd9aeef76b284bbaf1f144da83c6b22186aa2ced8f
3
+ size 4321958048
Llama-Guard-3-8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3455ecd714c634ff032689d01bacf0b6ea2b9c1b6a984bc802902a6150035503
3
+ size 4018919584
Llama-Guard-3-8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c6f6f7bd399f0b89d2766eaa894e18e278e777c047b91dc2df58a1ee7a81f83
3
+ size 3664500896
Llama-Guard-3-8B-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f40a5628b68315c4430f00ecbb85b6d284e7b1135a9359bcfb23a918c371456
3
+ size 4661213344
Llama-Guard-3-8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1978a58838a96484b2bfbc976c2eb0c1e30c4dd0d03ed86aaafe96acbe3423d4
3
+ size 4920735904
Llama-Guard-3-8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dda8136e18fa52013fc5f6f6b7eb5c359b0b7cafba59875a41ce7ef59b44ff4
3
+ size 4692670624
Llama-Guard-3-8B-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46156552dffbb7e7540cd453d144aed6c563b4965d60df5d902ad864232fee13
3
+ size 5599295648
Llama-Guard-3-8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2749d176310d2db5eb25a49f4abc9ce1d39c34000cf457175b40f6a665e9c7fa
3
+ size 5732989088
Llama-Guard-3-8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5385af120d47699b8e092f190b816fac3e4e7d9c1f8e4030800c770bd6ce5209
3
+ size 5599295648
Llama-Guard-3-8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3af35bf68b509d7ff12e13f06bada57bd5ce0d78331f048b411cc5250ef5f2a9
3
+ size 6596008096
Llama-Guard-3-8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa13e1fda6a129d9c8dc10c08f806ea65073919fca67fae927501acf539b5fae
3
+ size 8540772512
README.md ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ base_model: meta-llama/Llama-Guard-3-8B
6
+ tags:
7
+ - facebook
8
+ - meta
9
+ - pytorch
10
+ - llama
11
+ - llama-3
12
+ - TensorBlock
13
+ - GGUF
14
+ license: llama3.1
15
+ extra_gated_prompt: "### LLAMA 3.1 COMMUNITY LICENSE AGREEMENT\nLlama 3.1 Version\
16
+ \ Release Date: July 23, 2024\n\"Agreement\" means the terms and conditions for\
17
+ \ use, reproduction, distribution and modification of the Llama Materials set forth\
18
+ \ herein.\n\"Documentation\" means the specifications, manuals and documentation\
19
+ \ accompanying Llama 3.1 distributed by Meta at https://llama.meta.com/doc/overview.\n\
20
+ \"Licensee\" or \"you\" means you, or your employer or any other person or entity\
21
+ \ (if you are entering into this Agreement on such person or entity’s behalf), of\
22
+ \ the age required under applicable laws, rules or regulations to provide legal\
23
+ \ consent and that has legal authority to bind your employer or such other person\
24
+ \ or entity if you are entering in this Agreement on their behalf.\n\"Llama 3.1\"\
25
+ \ means the foundational large language models and software and algorithms, including\
26
+ \ machine-learning model code, trained model weights, inference-enabling code, training-enabling\
27
+ \ code, fine-tuning enabling code and other elements of the foregoing distributed\
28
+ \ by Meta at https://llama.meta.com/llama-downloads.\n\"Llama Materials\" means,\
29
+ \ collectively, Meta’s proprietary Llama 3.1 and Documentation (and any portion\
30
+ \ thereof) made available under this Agreement.\n\"Meta\" or \"we\" means Meta Platforms\
31
+ \ Ireland Limited (if you are located in or, if you are an entity, your principal\
32
+ \ place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you\
33
+ \ are located outside of the EEA or Switzerland).\n \n1. License Rights and Redistribution.\n\
34
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable\
35
+ \ and royalty-free limited license under Meta’s intellectual property or other rights\
36
+ \ owned by Meta embodied in the Llama Materials to use, reproduce, distribute, copy,\
37
+ \ create derivative works of, and make modifications to the Llama Materials.\nb.\
38
+ \ Redistribution and Use.\ni. If you distribute or make available the Llama Materials\
39
+ \ (or any derivative works thereof), or a product or service (including another\
40
+ \ AI model) that contains any of them, you shall (A) provide a copy of this Agreement\
41
+ \ with any such Llama Materials; and (B) prominently display “Built with Llama”\
42
+ \ on a related website, user interface, blogpost, about page, or product documentation.\
43
+ \ If you use the Llama Materials or any outputs or results of the Llama Materials\
44
+ \ to create, train, fine tune, or otherwise improve an AI model, which is distributed\
45
+ \ or made available, you shall also include “Llama” at the beginning of any such\
46
+ \ AI model name.\nii. If you receive Llama Materials, or any derivative works thereof,\
47
+ \ from a Licensee as part of an integrated end user product, then Section 2 of\
48
+ \ this Agreement will not apply to you.\niii. You must retain in all copies of the\
49
+ \ Llama Materials that you distribute the following attribution notice within a\
50
+ \ “Notice” text file distributed as a part of such copies: “Llama 3.1 is licensed\
51
+ \ under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights\
52
+ \ Reserved.”\niv. Your use of the Llama Materials must comply with applicable laws\
53
+ \ and regulations (including trade compliance laws and regulations) and adhere to\
54
+ \ the Acceptable Use Policy for the Llama Materials (available at https://llama.meta.com/llama3_1/use-policy),\
55
+ \ which is hereby incorporated by reference into this Agreement.\n2. Additional\
56
+ \ Commercial Terms. If, on the Llama 3.1 version release date, the monthly active\
57
+ \ users of the products or services made available by or for Licensee, or Licensee’s\
58
+ \ affiliates, is greater than 700 million monthly active users in the preceding\
59
+ \ calendar month, you must request a license from Meta, which Meta may grant to\
60
+ \ you in its sole discretion, and you are not authorized to exercise any of the\
61
+ \ rights under this Agreement unless or until Meta otherwise expressly grants you\
62
+ \ such rights.\n3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE\
63
+ \ LLAMA MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS”\
64
+ \ BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY\
65
+ \ KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES\
66
+ \ OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.\
67
+ \ YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING\
68
+ \ THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA\
69
+ \ MATERIALS AND ANY OUTPUT AND RESULTS.\n4. Limitation of Liability. IN NO EVENT\
70
+ \ WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN\
71
+ \ CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS\
72
+ \ AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL,\
73
+ \ EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED\
74
+ \ OF THE POSSIBILITY OF ANY OF THE FOREGOING.\n5. Intellectual Property.\na. No\
75
+ \ trademark licenses are granted under this Agreement, and in connection with the\
76
+ \ Llama Materials, neither Meta nor Licensee may use any name or mark owned by or\
77
+ \ associated with the other or any of its affiliates, except as required for reasonable\
78
+ \ and customary use in describing and redistributing the Llama Materials or as set\
79
+ \ forth in this Section 5(a). Meta hereby grants you a license to use “Llama” (the\
80
+ \ “Mark”) solely as required to comply with the last sentence of Section 1.b.i.\
81
+ \ You will comply with Meta’s brand guidelines (currently accessible at https://about.meta.com/brand/resources/meta/company-brand/\
82
+ \ ). All goodwill arising out of your use of the Mark will inure to the benefit\
83
+ \ of Meta.\nb. Subject to Meta’s ownership of Llama Materials and derivatives made\
84
+ \ by or for Meta, with respect to any derivative works and modifications of the\
85
+ \ Llama Materials that are made by you, as between you and Meta, you are and will\
86
+ \ be the owner of such derivative works and modifications.\nc. If you institute\
87
+ \ litigation or other proceedings against Meta or any entity (including a cross-claim\
88
+ \ or counterclaim in a lawsuit) alleging that the Llama Materials or Llama 3.1 outputs\
89
+ \ or results, or any portion of any of the foregoing, constitutes infringement of\
90
+ \ intellectual property or other rights owned or licensable by you, then any licenses\
91
+ \ granted to you under this Agreement shall terminate as of the date such litigation\
92
+ \ or claim is filed or instituted. You will indemnify and hold harmless Meta from\
93
+ \ and against any claim by any third party arising out of or related to your use\
94
+ \ or distribution of the Llama Materials.\n6. Term and Termination. The term of\
95
+ \ this Agreement will commence upon your acceptance of this Agreement or access\
96
+ \ to the Llama Materials and will continue in full force and effect until terminated\
97
+ \ in accordance with the terms and conditions herein. Meta may terminate this Agreement\
98
+ \ if you are in breach of any term or condition of this Agreement. Upon termination\
99
+ \ of this Agreement, you shall delete and cease use of the Llama Materials. Sections\
100
+ \ 3, 4 and 7 shall survive the termination of this Agreement.\n7. Governing Law\
101
+ \ and Jurisdiction. This Agreement will be governed and construed under the laws\
102
+ \ of the State of California without regard to choice of law principles, and the\
103
+ \ UN Convention on Contracts for the International Sale of Goods does not apply\
104
+ \ to this Agreement. The courts of California shall have exclusive jurisdiction\
105
+ \ of any dispute arising out of this Agreement.\n### Llama 3.1 Acceptable Use Policy\n\
106
+ Meta is committed to promoting safe and fair use of its tools and features, including\
107
+ \ Llama 3.1. If you access or use Llama 3.1, you agree to this Acceptable Use Policy\
108
+ \ (“Policy”). The most recent copy of this policy can be found at [https://llama.meta.com/llama3_1/use-policy](https://llama.meta.com/llama3_1/use-policy)\n\
109
+ #### Prohibited Uses\nWe want everyone to use Llama 3.1 safely and responsibly.\
110
+ \ You agree you will not use, or allow others to use, Llama 3.1 to:\n 1. Violate\
111
+ \ the law or others’ rights, including to:\n 1. Engage in, promote, generate,\
112
+ \ contribute to, encourage, plan, incite, or further illegal or unlawful activity\
113
+ \ or content, such as:\n 1. Violence or terrorism\n 2. Exploitation\
114
+ \ or harm to children, including the solicitation, creation, acquisition, or dissemination\
115
+ \ of child exploitative content or failure to report Child Sexual Abuse Material\n\
116
+ \ 3. Human trafficking, exploitation, and sexual violence\n 4. The\
117
+ \ illegal distribution of information or materials to minors, including obscene\
118
+ \ materials, or failure to employ legally required age-gating in connection with\
119
+ \ such information or materials.\n 5. Sexual solicitation\n 6. Any\
120
+ \ other criminal activity\n 3. Engage in, promote, incite, or facilitate the\
121
+ \ harassment, abuse, threatening, or bullying of individuals or groups of individuals\n\
122
+ \ 4. Engage in, promote, incite, or facilitate discrimination or other unlawful\
123
+ \ or harmful conduct in the provision of employment, employment benefits, credit,\
124
+ \ housing, other economic benefits, or other essential goods and services\n 5.\
125
+ \ Engage in the unauthorized or unlicensed practice of any profession including,\
126
+ \ but not limited to, financial, legal, medical/health, or related professional\
127
+ \ practices\n 6. Collect, process, disclose, generate, or infer health, demographic,\
128
+ \ or other sensitive personal or private information about individuals without rights\
129
+ \ and consents required by applicable laws\n 7. Engage in or facilitate any action\
130
+ \ or generate any content that infringes, misappropriates, or otherwise violates\
131
+ \ any third-party rights, including the outputs or results of any products or services\
132
+ \ using the Llama Materials\n 8. Create, generate, or facilitate the creation\
133
+ \ of malicious code, malware, computer viruses or do anything else that could disable,\
134
+ \ overburden, interfere with or impair the proper working, integrity, operation\
135
+ \ or appearance of a website or computer system\n2. Engage in, promote, incite,\
136
+ \ facilitate, or assist in the planning or development of activities that present\
137
+ \ a risk of death or bodily harm to individuals, including use of Llama 3.1 related\
138
+ \ to the following:\n 1. Military, warfare, nuclear industries or applications,\
139
+ \ espionage, use for materials or activities that are subject to the International\
140
+ \ Traffic Arms Regulations (ITAR) maintained by the United States Department of\
141
+ \ State\n 2. Guns and illegal weapons (including weapon development)\n 3.\
142
+ \ Illegal drugs and regulated/controlled substances\n 4. Operation of critical\
143
+ \ infrastructure, transportation technologies, or heavy machinery\n 5. Self-harm\
144
+ \ or harm to others, including suicide, cutting, and eating disorders\n 6. Any\
145
+ \ content intended to incite or promote violence, abuse, or any infliction of bodily\
146
+ \ harm to an individual\n3. Intentionally deceive or mislead others, including use\
147
+ \ of Llama 3.1 related to the following:\n 1. Generating, promoting, or furthering\
148
+ \ fraud or the creation or promotion of disinformation\n 2. Generating, promoting,\
149
+ \ or furthering defamatory content, including the creation of defamatory statements,\
150
+ \ images, or other content\n 3. Generating, promoting, or further distributing\
151
+ \ spam\n 4. Impersonating another individual without consent, authorization,\
152
+ \ or legal right\n 5. Representing that the use of Llama 3.1 or outputs are human-generated\n\
153
+ \ 6. Generating or facilitating false online engagement, including fake reviews\
154
+ \ and other means of fake online engagement\n4. Fail to appropriately disclose to\
155
+ \ end users any known dangers of your AI system\nPlease report any violation of\
156
+ \ this Policy, software “bug,” or other problems that could lead to a violation\
157
+ \ of this Policy through one of the following means:\n * Reporting issues with\
158
+ \ the model: [https://github.com/meta-llama/llama-models/issues](https://github.com/meta-llama/llama-models/issues)\n\
159
+ \ * Reporting risky content generated by the model:\n developers.facebook.com/llama_output_feedback\n\
160
+ \ * Reporting bugs and security concerns: facebook.com/whitehat/info\n * Reporting\
161
+ \ violations of the Acceptable Use Policy or unlicensed uses of Meta Llama 3: LlamaUseReport@meta.com"
162
+ extra_gated_fields:
163
+ First Name: text
164
+ Last Name: text
165
+ Date of birth: date_picker
166
+ Country: country
167
+ Affiliation: text
168
+ Job title:
169
+ type: select
170
+ options:
171
+ - Student
172
+ - Research Graduate
173
+ - AI researcher
174
+ - AI developer/engineer
175
+ - Reporter
176
+ - Other
177
+ geo: ip_location
178
+ ? By clicking Submit below I accept the terms of the license and acknowledge that
179
+ the information I provide will be collected stored processed and shared in accordance
180
+ with the Meta Privacy Policy
181
+ : checkbox
182
+ extra_gated_description: The information you provide will be collected, stored, processed
183
+ and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
184
+ extra_gated_button_content: Submit
185
+ ---
186
+
187
+ <div style="width: auto; margin-left: auto; margin-right: auto">
188
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
189
+ </div>
190
+ <div style="display: flex; justify-content: space-between; width: 100%;">
191
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
192
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
193
+ Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
194
+ </p>
195
+ </div>
196
+ </div>
197
+
198
+ ## meta-llama/Llama-Guard-3-8B - GGUF
199
+
200
+ This repo contains GGUF format model files for [meta-llama/Llama-Guard-3-8B](https://huggingface.co/meta-llama/Llama-Guard-3-8B).
201
+
202
+ The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
203
+
204
+ <div style="text-align: left; margin: 20px 0;">
205
+ <a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
206
+ Run them on the TensorBlock client using your local machine ↗
207
+ </a>
208
+ </div>
209
+
210
+ ## Prompt template
211
+
212
+ ```
213
+ <|begin_of_text|><|start_header_id|>user<|end_header_id|>
214
+
215
+ Task: Check if there is unsafe content in 'User' messages in conversations according our safety policy with the below categories.
216
+
217
+ <BEGIN UNSAFE CONTENT CATEGORIES>
218
+ S1: Violent Crimes.
219
+ S2: Non-Violent Crimes.
220
+ S3: Sex Crimes.
221
+ S4: Child Exploitation.
222
+ S5: Defamation.
223
+ S6: Specialized Advice.
224
+ S7: Privacy.
225
+ S8: Intellectual Property.
226
+ S9: Indiscriminate Weapons.
227
+ S10: Hate.
228
+ S11: Self-Harm.
229
+ S12: Sexual Content.
230
+ S13: Elections.
231
+ S14: Code Interpreter Abuse.
232
+ <END UNSAFE CONTENT CATEGORIES>
233
+
234
+ <BEGIN CONVERSATION>
235
+
236
+ User: {prompt}
237
+
238
+ <END CONVERSATION>
239
+
240
+ Provide your safety assessment for ONLY THE LAST User message in the above conversation:
241
+ - First line must read 'safe' or 'unsafe'.
242
+ - If unsafe, a second line must include a comma-separated list of violated categories.<|eot_id|><|start_header_id|>assistant<|end_header_id|>
243
+ ```
244
+
245
+ ## Model file specification
246
+
247
+ | Filename | Quant type | File Size | Description |
248
+ | -------- | ---------- | --------- | ----------- |
249
+ | [Llama-Guard-3-8B-Q2_K.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q2_K.gguf) | Q2_K | 3.179 GB | smallest, significant quality loss - not recommended for most purposes |
250
+ | [Llama-Guard-3-8B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q3_K_S.gguf) | Q3_K_S | 3.665 GB | very small, high quality loss |
251
+ | [Llama-Guard-3-8B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q3_K_M.gguf) | Q3_K_M | 4.019 GB | very small, high quality loss |
252
+ | [Llama-Guard-3-8B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q3_K_L.gguf) | Q3_K_L | 4.322 GB | small, substantial quality loss |
253
+ | [Llama-Guard-3-8B-Q4_0.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q4_0.gguf) | Q4_0 | 4.661 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
254
+ | [Llama-Guard-3-8B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q4_K_S.gguf) | Q4_K_S | 4.693 GB | small, greater quality loss |
255
+ | [Llama-Guard-3-8B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q4_K_M.gguf) | Q4_K_M | 4.921 GB | medium, balanced quality - recommended |
256
+ | [Llama-Guard-3-8B-Q5_0.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q5_0.gguf) | Q5_0 | 5.599 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
257
+ | [Llama-Guard-3-8B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q5_K_S.gguf) | Q5_K_S | 5.599 GB | large, low quality loss - recommended |
258
+ | [Llama-Guard-3-8B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q5_K_M.gguf) | Q5_K_M | 5.733 GB | large, very low quality loss - recommended |
259
+ | [Llama-Guard-3-8B-Q6_K.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q6_K.gguf) | Q6_K | 6.596 GB | very large, extremely low quality loss |
260
+ | [Llama-Guard-3-8B-Q8_0.gguf](https://huggingface.co/tensorblock/Llama-Guard-3-8B-GGUF/blob/main/Llama-Guard-3-8B-Q8_0.gguf) | Q8_0 | 8.541 GB | very large, extremely low quality loss - not recommended |
261
+
262
+
263
+ ## Downloading instruction
264
+
265
+ ### Command line
266
+
267
+ Firstly, install Huggingface Client
268
+
269
+ ```shell
270
+ pip install -U "huggingface_hub[cli]"
271
+ ```
272
+
273
+ Then, downoad the individual model file the a local directory
274
+
275
+ ```shell
276
+ huggingface-cli download tensorblock/Llama-Guard-3-8B-GGUF --include "Llama-Guard-3-8B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
277
+ ```
278
+
279
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
280
+
281
+ ```shell
282
+ huggingface-cli download tensorblock/Llama-Guard-3-8B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
283
+ ```