vinhnx90 commited on
Commit
e384801
1 Parent(s): 710ba75

Upload README.md with huggingface_hub

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