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
12 |
+
license_link: LICENSE
|
13 |
+
extra_gated_prompt: "### META LLAMA 3 COMMUNITY LICENSE AGREEMENT\nMeta Llama 3 Version\
|
14 |
+
\ Release Date: April 18, 2024\n\"Agreement\" means the terms and conditions for\
|
15 |
+
\ use, reproduction, distribution and modification of the Llama Materials set forth\
|
16 |
+
\ herein.\n\"Documentation\" means the specifications, manuals and documentation\
|
17 |
+
\ accompanying Meta Llama 3 distributed by Meta at https://llama.meta.com/get-started/.\n\
|
18 |
+
\"Licensee\" or \"you\" means you, or your employer or any other person or entity\
|
19 |
+
\ (if you are entering into this Agreement on such person or entity’s behalf), of\
|
20 |
+
\ the age required under applicable laws, rules or regulations to provide legal\
|
21 |
+
\ consent and that has legal authority to bind your employer or such other person\
|
22 |
+
\ or entity if you are entering in this Agreement on their behalf.\n\"Meta Llama\
|
23 |
+
\ 3\" means the foundational large language models and software and algorithms,\
|
24 |
+
\ including machine-learning model code, trained model weights, inference-enabling\
|
25 |
+
\ code, training-enabling code, fine-tuning enabling code and other elements of\
|
26 |
+
\ the foregoing distributed by Meta at https://llama.meta.com/llama-downloads.\n\
|
27 |
+
\"Llama Materials\" means, collectively, Meta’s proprietary Meta Llama 3 and Documentation\
|
28 |
+
\ (and any portion thereof) made available under this Agreement.\n\"Meta\" or \"\
|
29 |
+
we\" means Meta Platforms Ireland Limited (if you are located in or, if you are\
|
30 |
+
\ an entity, your principal place of business is in the EEA or Switzerland) and\
|
31 |
+
\ Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).\n\
|
32 |
+
\ \n1. License Rights and Redistribution.\na. Grant of Rights. You are granted\
|
33 |
+
\ a non-exclusive, worldwide, non-transferable and royalty-free limited license\
|
34 |
+
\ under Meta’s intellectual property or other rights owned by Meta embodied in the\
|
35 |
+
\ Llama Materials to use, reproduce, distribute, copy, create derivative works of,\
|
36 |
+
\ and make modifications to the Llama Materials.\nb. Redistribution and Use.\ni.\
|
37 |
+
\ If you distribute or make available the Llama Materials (or any derivative works\
|
38 |
+
\ thereof), or a product or service that uses any of them, including another AI\
|
39 |
+
\ model, you shall (A) provide a copy of this Agreement with any such Llama Materials;\
|
40 |
+
\ and (B) prominently display “Built with Meta Llama 3” on a related website, user\
|
41 |
+
\ interface, blogpost, about page, or product documentation. If you use the Llama\
|
42 |
+
\ Materials to create, train, fine tune, or otherwise improve an AI model, which\
|
43 |
+
\ is distributed or made available, you shall also include “Llama 3” at the beginning\
|
44 |
+
\ of any such AI model name.\nii. If you receive Llama Materials, or any derivative\
|
45 |
+
\ works thereof, from a Licensee as part of an integrated end user product, then\
|
46 |
+
\ Section 2 of this Agreement will not apply to you.\niii. You must retain in all\
|
47 |
+
\ copies of the Llama Materials that you distribute the following attribution notice\
|
48 |
+
\ within a “Notice” text file distributed as a part of such copies: “Meta Llama\
|
49 |
+
\ 3 is licensed under the Meta Llama 3 Community License, Copyright © Meta Platforms,\
|
50 |
+
\ Inc. All Rights Reserved.”\niv. Your use of the Llama Materials must comply with\
|
51 |
+
\ applicable laws and regulations (including trade compliance laws and regulations)\
|
52 |
+
\ and adhere to the Acceptable Use Policy for the Llama Materials (available at\
|
53 |
+
\ https://llama.meta.com/llama3/use-policy), which is hereby incorporated by reference\
|
54 |
+
\ into this Agreement.\nv. You will not use the Llama Materials or any output or\
|
55 |
+
\ results of the Llama Materials to improve any other large language model (excluding\
|
56 |
+
\ Meta Llama 3 or derivative works thereof).\n2. Additional Commercial Terms. If,\
|
57 |
+
\ on the Meta Llama 3 version release date, the monthly active users of the products\
|
58 |
+
\ or services made available by or for Licensee, or Licensee’s affiliates, is greater\
|
59 |
+
\ than 700 million monthly active users in the preceding calendar month, you must\
|
60 |
+
\ request a license from Meta, which Meta may grant to you in its sole discretion,\
|
61 |
+
\ and you are not authorized to exercise any of the rights under this Agreement\
|
62 |
+
\ unless or until Meta otherwise expressly grants you such rights.\n3. Disclaimer\
|
63 |
+
\ of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA MATERIALS AND ANY OUTPUT\
|
64 |
+
\ AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF\
|
65 |
+
\ ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,\
|
66 |
+
\ INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY,\
|
67 |
+
\ OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING\
|
68 |
+
\ THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND ASSUME\
|
69 |
+
\ ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.\n\
|
70 |
+
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER\
|
71 |
+
\ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY,\
|
72 |
+
\ OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT,\
|
73 |
+
\ SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META\
|
74 |
+
\ OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.\n\
|
75 |
+
5. Intellectual Property.\na. No trademark licenses are granted under this Agreement,\
|
76 |
+
\ and in connection with the Llama Materials, neither Meta nor Licensee may use\
|
77 |
+
\ any name or mark owned by or associated with the other or any of its affiliates,\
|
78 |
+
\ except as required for reasonable and customary use in describing and redistributing\
|
79 |
+
\ the Llama Materials or as set forth in this Section 5(a). Meta hereby grants you\
|
80 |
+
\ a license to use “Llama 3” (the “Mark”) solely as required to comply with the\
|
81 |
+
\ last sentence of Section 1.b.i. You will comply with Meta’s brand guidelines (currently\
|
82 |
+
\ accessible at https://about.meta.com/brand/resources/meta/company-brand/ ). All\
|
83 |
+
\ goodwill arising out of your use of the Mark will inure to the benefit of Meta.\n\
|
84 |
+
b. Subject to Meta’s ownership of Llama Materials and derivatives made by or for\
|
85 |
+
\ Meta, with respect to any derivative works and modifications of the Llama Materials\
|
86 |
+
\ that are made by you, as between you and Meta, you are and will be the owner of\
|
87 |
+
\ such derivative works and modifications.\nc. If you institute litigation or other\
|
88 |
+
\ proceedings against Meta or any entity (including a cross-claim or counterclaim\
|
89 |
+
\ in a lawsuit) alleging that the Llama Materials or Meta Llama 3 outputs or results,\
|
90 |
+
\ or any portion of any of the foregoing, constitutes infringement of intellectual\
|
91 |
+
\ property or other rights owned or licensable by you, then any licenses granted\
|
92 |
+
\ to you under this Agreement shall terminate as of the date such litigation or\
|
93 |
+
\ claim is filed or instituted. You will indemnify and hold harmless Meta from and\
|
94 |
+
\ against any claim by any third party arising out of or related to your use or\
|
95 |
+
\ distribution of the Llama Materials.\n6. Term and Termination. The term of this\
|
96 |
+
\ Agreement will commence upon your acceptance of this Agreement or access to the\
|
97 |
+
\ Llama Materials and will continue in full force and effect until terminated in\
|
98 |
+
\ accordance with the terms and conditions herein. Meta may terminate this Agreement\
|
99 |
+
\ if you are in breach of any term or condition of this Agreement. Upon termination\
|
100 |
+
\ of this Agreement, you shall delete and cease use of the Llama Materials. Sections\
|
101 |
+
\ 3, 4 and 7 shall survive the termination of this Agreement.\n7. Governing Law\
|
102 |
+
\ and Jurisdiction. This Agreement will be governed and construed under the laws\
|
103 |
+
\ of the State of California without regard to choice of law principles, and the\
|
104 |
+
\ UN Convention on Contracts for the International Sale of Goods does not apply\
|
105 |
+
\ to this Agreement. The courts of California shall have exclusive jurisdiction\
|
106 |
+
\ of any dispute arising out of this Agreement.\n### Meta Llama 3 Acceptable Use\
|
107 |
+
\ Policy\nMeta is committed to promoting safe and fair use of its tools and features,\
|
108 |
+
\ including Meta Llama 3. If you access or use Meta Llama 3, you agree to this Acceptable\
|
109 |
+
\ Use Policy (“Policy”). The most recent copy of this policy can be found at [https://llama.meta.com/llama3/use-policy](https://llama.meta.com/llama3/use-policy)\n\
|
110 |
+
#### Prohibited Uses\nWe want everyone to use Meta Llama 3 safely and responsibly.\
|
111 |
+
\ You agree you will not use, or allow others to use, Meta Llama 3 to: 1. Violate\
|
112 |
+
\ the law or others’ rights, including to:\n 1. Engage in, promote, generate,\
|
113 |
+
\ contribute to, encourage, plan, incite, or further illegal or unlawful activity\
|
114 |
+
\ or content, such as:\n 1. Violence or terrorism\n 2. Exploitation\
|
115 |
+
\ or harm to children, including the solicitation, creation, acquisition, or dissemination\
|
116 |
+
\ of child exploitative content or failure to report Child Sexual Abuse Material\n\
|
117 |
+
\ 3. Human trafficking, exploitation, and sexual violence\n 4. The\
|
118 |
+
\ illegal distribution of information or materials to minors, including obscene\
|
119 |
+
\ materials, or failure to employ legally required age-gating in connection with\
|
120 |
+
\ such information or materials.\n 5. Sexual solicitation\n 6. Any\
|
121 |
+
\ other criminal activity\n 2. Engage in, promote, incite, or facilitate the\
|
122 |
+
\ harassment, abuse, threatening, or bullying of individuals or groups of individuals\n\
|
123 |
+
\ 3. Engage in, promote, incite, or facilitate discrimination or other unlawful\
|
124 |
+
\ or harmful conduct in the provision of employment, employment benefits, credit,\
|
125 |
+
\ housing, other economic benefits, or other essential goods and services\n 4.\
|
126 |
+
\ Engage in the unauthorized or unlicensed practice of any profession including,\
|
127 |
+
\ but not limited to, financial, legal, medical/health, or related professional\
|
128 |
+
\ practices\n 5. Collect, process, disclose, generate, or infer health, demographic,\
|
129 |
+
\ or other sensitive personal or private information about individuals without rights\
|
130 |
+
\ and consents required by applicable laws\n 6. Engage in or facilitate any action\
|
131 |
+
\ or generate any content that infringes, misappropriates, or otherwise violates\
|
132 |
+
\ any third-party rights, including the outputs or results of any products or services\
|
133 |
+
\ using the Llama Materials\n 7. Create, generate, or facilitate the creation\
|
134 |
+
\ of malicious code, malware, computer viruses or do anything else that could disable,\
|
135 |
+
\ overburden, interfere with or impair the proper working, integrity, operation\
|
136 |
+
\ or appearance of a website or computer system\n2. Engage in, promote, incite,\
|
137 |
+
\ facilitate, or assist in the planning or development of activities that present\
|
138 |
+
\ a risk of death or bodily harm to individuals, including use of Meta Llama 3 related\
|
139 |
+
\ to the following:\n 1. Military, warfare, nuclear industries or applications,\
|
140 |
+
\ espionage, use for materials or activities that are subject to the International\
|
141 |
+
\ Traffic Arms Regulations (ITAR) maintained by the United States Department of\
|
142 |
+
\ State\n 2. Guns and illegal weapons (including weapon development)\n 3.\
|
143 |
+
\ Illegal drugs and regulated/controlled substances\n 4. Operation of critical\
|
144 |
+
\ infrastructure, transportation technologies, or heavy machinery\n 5. Self-harm\
|
145 |
+
\ or harm to others, including suicide, cutting, and eating disorders\n 6. Any\
|
146 |
+
\ content intended to incite or promote violence, abuse, or any infliction of bodily\
|
147 |
+
\ harm to an individual\n3. Intentionally deceive or mislead others, including use\
|
148 |
+
\ of Meta Llama 3 related to the following:\n 1. Generating, promoting, or furthering\
|
149 |
+
\ fraud or the creation or promotion of disinformation\n 2. Generating, promoting,\
|
150 |
+
\ or furthering defamatory content, including the creation of defamatory statements,\
|
151 |
+
\ images, or other content\n 3. Generating, promoting, or further distributing\
|
152 |
+
\ spam\n 4. Impersonating another individual without consent, authorization,\
|
153 |
+
\ or legal right\n 5. Representing that the use of Meta Llama 3 or outputs are\
|
154 |
+
\ human-generated\n 6. Generating or facilitating false online engagement, including\
|
155 |
+
\ fake reviews and other means of fake online engagement\n4. Fail to appropriately\
|
156 |
+
\ disclose to end users any known dangers of your AI system\nPlease report any violation\
|
157 |
+
\ of this Policy, software “bug,” or other problems that could lead to a violation\
|
158 |
+
\ of this Policy through one of the following means:\n * Reporting issues with\
|
159 |
+
\ the model: [https://github.com/meta-llama/llama3](https://github.com/meta-llama/llama3)\n\
|
160 |
+
\ * Reporting risky content generated by the model:\n developers.facebook.com/llama_output_feedback\n\
|
161 |
+
\ * Reporting bugs and security concerns: facebook.com/whitehat/info\n * Reporting\
|
162 |
+
\ violations of the Acceptable Use Policy or unlicensed uses of Meta Llama 3: LlamaUseReport@meta.com"
|
163 |
+
extra_gated_fields:
|
164 |
+
First Name: text
|
165 |
+
Last Name: text
|
166 |
+
Date of birth: date_picker
|
167 |
+
Country: country
|
168 |
+
Affiliation: text
|
169 |
+
geo: ip_location
|
170 |
+
? By clicking Submit below I accept the terms of the license and acknowledge that
|
171 |
+
the information I provide will be collected stored processed and shared in accordance
|
172 |
+
with the Meta Privacy Policy
|
173 |
+
: checkbox
|
174 |
+
extra_gated_description: The information you provide will be collected, stored, processed
|
175 |
+
and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
|
176 |
+
extra_gated_button_content: Submit
|
177 |
+
---
|
178 |
+
|
179 |
+
# DavidAU/Llama-3-SauerkrautLM-8b-Instruct-Q8_0-GGUF
|
180 |
+
This model was converted to GGUF format from [`VAGOsolutions/Llama-3-SauerkrautLM-8b-Instruct`](https://huggingface.co/VAGOsolutions/Llama-3-SauerkrautLM-8b-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
181 |
+
Refer to the [original model card](https://huggingface.co/VAGOsolutions/Llama-3-SauerkrautLM-8b-Instruct) for more details on the model.
|
182 |
+
## Use with llama.cpp
|
183 |
+
|
184 |
+
Install llama.cpp through brew.
|
185 |
+
|
186 |
+
```bash
|
187 |
+
brew install ggerganov/ggerganov/llama.cpp
|
188 |
+
```
|
189 |
+
Invoke the llama.cpp server or the CLI.
|
190 |
+
|
191 |
+
CLI:
|
192 |
+
|
193 |
+
```bash
|
194 |
+
llama-cli --hf-repo DavidAU/Llama-3-SauerkrautLM-8b-Instruct-Q8_0-GGUF --model llama-3-sauerkrautlm-8b-instruct.Q8_0.gguf -p "The meaning to life and the universe is"
|
195 |
+
```
|
196 |
+
|
197 |
+
Server:
|
198 |
+
|
199 |
+
```bash
|
200 |
+
llama-server --hf-repo DavidAU/Llama-3-SauerkrautLM-8b-Instruct-Q8_0-GGUF --model llama-3-sauerkrautlm-8b-instruct.Q8_0.gguf -c 2048
|
201 |
+
```
|
202 |
+
|
203 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
|
204 |
+
|
205 |
+
```
|
206 |
+
git clone https://github.com/ggerganov/llama.cpp && cd llama.cpp && make && ./main -m llama-3-sauerkrautlm-8b-instruct.Q8_0.gguf -n 128
|
207 |
+
```
|