iggym commited on
Commit
5bbdf4c
1 Parent(s): 001a151

Upload README.md with huggingface_hub

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