Update README.md
Browse files
README.md
CHANGED
@@ -2,56 +2,71 @@
|
|
2 |
extra_gated_heading: You need to share contact information with Meta to access this model
|
3 |
extra_gated_prompt: >-
|
4 |
### LLAMA 2 COMMUNITY LICENSE AGREEMENT
|
5 |
-
|
6 |
"Agreement" means the terms and conditions for use, reproduction, distribution
|
7 |
and modification of the Llama Materials set forth herein.
|
|
|
8 |
"Documentation" means the specifications, manuals and documentation
|
9 |
accompanying Llama 2 distributed by Meta at
|
10 |
https://ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
|
|
11 |
"Licensee" or "you" means you, or your employer or any other person or entity
|
12 |
(if you are entering into this Agreement on such person or entity's behalf),
|
13 |
of the age required under applicable laws, rules or regulations to provide
|
14 |
legal consent and that has legal authority to bind your employer or such other
|
15 |
person or entity if you are entering in this Agreement on their behalf.
|
|
|
16 |
"Llama 2" means the foundational large language models and software and
|
17 |
algorithms, including machine-learning model code, trained model weights,
|
18 |
inference-enabling code, training-enabling code, fine-tuning enabling code and
|
19 |
other elements of the foregoing distributed by Meta at
|
20 |
ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
|
|
21 |
"Llama Materials" means, collectively, Meta's proprietary Llama 2 and
|
22 |
documentation (and any portion thereof) made available under this Agreement.
|
|
|
23 |
"Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or,
|
24 |
if you are an entity, your principal place of business is in the EEA or
|
25 |
Switzerland) and Meta Platforms, Inc. (if you are located outside of the EEA
|
26 |
or Switzerland).
|
|
|
|
|
27 |
By clicking "I Accept" below or by using or distributing any portion or
|
28 |
element of the Llama Materials, you agree to be bound by this Agreement.
|
|
|
29 |
1. License Rights and Redistribution.
|
|
|
30 |
a. Grant of Rights. You are granted a non-exclusive, worldwide, non-
|
31 |
transferable and royalty-free limited license under Meta's intellectual
|
32 |
property or other rights owned by Meta embodied in the Llama Materials to
|
33 |
use, reproduce, distribute, copy, create derivative works of, and make
|
34 |
modifications to the Llama Materials.
|
35 |
-
|
36 |
-
b. Redistribution and Use.
|
|
|
37 |
i. If you distribute or make the Llama Materials, or any derivative works
|
38 |
thereof, available to a third party, you shall provide a copy of this
|
39 |
Agreement to such third party.
|
|
|
40 |
ii. If you receive Llama Materials, or any derivative works thereof, from a
|
41 |
Licensee as part of an integrated end user product, then Section 2 of this
|
42 |
Agreement will not apply to you.
|
|
|
43 |
iii. You must retain in all copies of the Llama Materials that you distribute
|
44 |
the following attribution notice within a "Notice" text file distributed as a
|
45 |
part of such copies: "Llama 2 is licensed under the LLAMA 2 Community
|
46 |
License, Copyright (c) Meta Platforms, Inc. All Rights Reserved."
|
|
|
47 |
iv. Your use of the Llama Materials must comply with applicable laws and
|
48 |
regulations (including trade compliance laws and regulations) and adhere to
|
49 |
the Acceptable Use Policy for the Llama Materials (available at
|
50 |
https://ai.meta.com/llama/use-policy), which is hereby incorporated by
|
51 |
reference into this Agreement.
|
|
|
52 |
v. You will not use the Llama Materials or any output or results of the Llama
|
53 |
Materials to improve any other large language model (excluding Llama 2 or
|
54 |
derivative works thereof).
|
|
|
|
|
55 |
2. Additional Commercial Terms. If, on the Llama 2 version release date, the
|
56 |
monthly active users of the products or services made available by or for
|
57 |
Licensee, or Licensee's affiliates, is greater than 700 million monthly
|
@@ -59,6 +74,7 @@ extra_gated_prompt: >-
|
|
59 |
Meta, which Meta may grant to you in its sole discretion, and you are not
|
60 |
authorized to exercise any of the rights under this Agreement unless or until
|
61 |
Meta otherwise expressly grants you such rights.
|
|
|
62 |
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA
|
63 |
MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN "AS IS"
|
64 |
BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
|
@@ -67,22 +83,28 @@ extra_gated_prompt: >-
|
|
67 |
RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING
|
68 |
THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE
|
69 |
LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
|
|
|
70 |
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE
|
71 |
UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE,
|
72 |
PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST
|
73 |
PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR
|
74 |
PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE
|
75 |
POSSIBILITY OF ANY OF THE FOREGOING.
|
|
|
|
|
76 |
5. Intellectual Property.
|
|
|
77 |
a. No trademark licenses are granted under this Agreement, and in connection
|
78 |
with the Llama Materials, neither Meta nor Licensee may use any name or mark
|
79 |
owned by or associated with the other or any of its affiliates, except as
|
80 |
required for reasonable and customary use in describing and redistributing
|
81 |
the Llama Materials.
|
|
|
82 |
b. Subject to Meta's ownership of Llama Materials and derivatives made by or
|
83 |
for Meta, with respect to any derivative works and modifications of the Llama
|
84 |
Materials that are made by you, as between you and Meta, you are and will be
|
85 |
the owner of such derivative works and modifications.
|
|
|
86 |
c. If you institute litigation or other proceedings against Meta or any
|
87 |
entity (including a cross-claim or counterclaim in a lawsuit) alleging that
|
88 |
the Llama Materials or Llama 2 outputs or results, or any portion of any of
|
@@ -92,6 +114,7 @@ extra_gated_prompt: >-
|
|
92 |
filed or instituted. You will indemnify and hold harmless Meta from and
|
93 |
against any claim by any third party arising out of or related to your use or
|
94 |
distribution of the Llama Materials.
|
|
|
95 |
6. Term and Termination. The term of this Agreement will commence upon your
|
96 |
acceptance of this Agreement or access to the Llama Materials and will
|
97 |
continue in full force and effect until terminated in accordance with the
|
@@ -99,22 +122,26 @@ extra_gated_prompt: >-
|
|
99 |
breach of any term or condition of this Agreement. Upon termination of this
|
100 |
Agreement, you shall delete and cease use of the Llama Materials. Sections 3,
|
101 |
4 and 7 shall survive the termination of this Agreement.
|
|
|
102 |
7. Governing Law and Jurisdiction. This Agreement will be governed and
|
103 |
construed under the laws of the State of California without regard to choice
|
104 |
of law principles, and the UN Convention on Contracts for the International
|
105 |
Sale of Goods does not apply to this Agreement. The courts of California
|
106 |
shall have exclusive jurisdiction of any dispute arising out of this
|
107 |
Agreement.
|
108 |
-
|
109 |
### Llama 2 Acceptable Use Policy
|
|
|
110 |
Meta is committed to promoting safe and fair use of its tools and features,
|
111 |
including Llama 2. If you access or use Llama 2, you agree to this Acceptable
|
112 |
Use Policy (“Policy”). The most recent copy of this policy can be found at
|
113 |
[ai.meta.com/llama/use-policy](http://ai.meta.com/llama/use-policy).
|
|
|
114 |
#### Prohibited Uses
|
|
|
115 |
We want everyone to use Llama 2 safely and responsibly. You agree you will not
|
116 |
-
use, or allow others to use, Llama 2 to:
|
117 |
-
|
118 |
1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
|
119 |
1. Violence or terrorism
|
120 |
2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
|
@@ -148,24 +175,26 @@ extra_gated_prompt: >-
|
|
148 |
4. Fail to appropriately disclose to end users any known dangers of your AI system
|
149 |
Please report any violation of this Policy, software “bug,” or other problems
|
150 |
that could lead to a violation of this Policy through one of the following
|
151 |
-
means:
|
152 |
-
* Reporting issues with the model:
|
153 |
[github.com/facebookresearch/llama](http://github.com/facebookresearch/llama)
|
154 |
* Reporting risky content generated by the model:
|
155 |
[developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
|
156 |
* Reporting bugs and security concerns:
|
157 |
-
[facebook.com/whitehat/info](http://facebook.com/whitehat/info)
|
158 |
-
|
159 |
-
|
160 |
extra_gated_fields:
|
161 |
First Name: text
|
162 |
Last Name: text
|
163 |
Date of birth: date_picker
|
164 |
Country: country
|
165 |
Affiliation: text
|
166 |
-
geo: ip_location
|
167 |
By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox
|
168 |
-
extra_gated_description:
|
|
|
|
|
|
|
169 |
extra_gated_button_content: Submit
|
170 |
language:
|
171 |
- en
|
@@ -177,7 +206,9 @@ tags:
|
|
177 |
- pytorch
|
178 |
- llama
|
179 |
- llama-2
|
|
|
180 |
---
|
|
|
181 |
# **Llama 2**
|
182 |
Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 13B pretrained model, converted for the Hugging Face Transformers format. Links to other models can be found in the index at the bottom.
|
183 |
|
|
|
2 |
extra_gated_heading: You need to share contact information with Meta to access this model
|
3 |
extra_gated_prompt: >-
|
4 |
### LLAMA 2 COMMUNITY LICENSE AGREEMENT
|
|
|
5 |
"Agreement" means the terms and conditions for use, reproduction, distribution
|
6 |
and modification of the Llama Materials set forth herein.
|
7 |
+
|
8 |
"Documentation" means the specifications, manuals and documentation
|
9 |
accompanying Llama 2 distributed by Meta at
|
10 |
https://ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
11 |
+
|
12 |
"Licensee" or "you" means you, or your employer or any other person or entity
|
13 |
(if you are entering into this Agreement on such person or entity's behalf),
|
14 |
of the age required under applicable laws, rules or regulations to provide
|
15 |
legal consent and that has legal authority to bind your employer or such other
|
16 |
person or entity if you are entering in this Agreement on their behalf.
|
17 |
+
|
18 |
"Llama 2" means the foundational large language models and software and
|
19 |
algorithms, including machine-learning model code, trained model weights,
|
20 |
inference-enabling code, training-enabling code, fine-tuning enabling code and
|
21 |
other elements of the foregoing distributed by Meta at
|
22 |
ai.meta.com/resources/models-and-libraries/llama-downloads/.
|
23 |
+
|
24 |
"Llama Materials" means, collectively, Meta's proprietary Llama 2 and
|
25 |
documentation (and any portion thereof) made available under this Agreement.
|
26 |
+
|
27 |
"Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or,
|
28 |
if you are an entity, your principal place of business is in the EEA or
|
29 |
Switzerland) and Meta Platforms, Inc. (if you are located outside of the EEA
|
30 |
or Switzerland).
|
31 |
+
|
32 |
+
|
33 |
By clicking "I Accept" below or by using or distributing any portion or
|
34 |
element of the Llama Materials, you agree to be bound by this Agreement.
|
35 |
+
|
36 |
1. License Rights and Redistribution.
|
37 |
+
|
38 |
a. Grant of Rights. You are granted a non-exclusive, worldwide, non-
|
39 |
transferable and royalty-free limited license under Meta's intellectual
|
40 |
property or other rights owned by Meta embodied in the Llama Materials to
|
41 |
use, reproduce, distribute, copy, create derivative works of, and make
|
42 |
modifications to the Llama Materials.
|
43 |
+
|
44 |
+
b. Redistribution and Use.
|
45 |
+
|
46 |
i. If you distribute or make the Llama Materials, or any derivative works
|
47 |
thereof, available to a third party, you shall provide a copy of this
|
48 |
Agreement to such third party.
|
49 |
+
|
50 |
ii. If you receive Llama Materials, or any derivative works thereof, from a
|
51 |
Licensee as part of an integrated end user product, then Section 2 of this
|
52 |
Agreement will not apply to you.
|
53 |
+
|
54 |
iii. You must retain in all copies of the Llama Materials that you distribute
|
55 |
the following attribution notice within a "Notice" text file distributed as a
|
56 |
part of such copies: "Llama 2 is licensed under the LLAMA 2 Community
|
57 |
License, Copyright (c) Meta Platforms, Inc. All Rights Reserved."
|
58 |
+
|
59 |
iv. Your use of the Llama Materials must comply with applicable laws and
|
60 |
regulations (including trade compliance laws and regulations) and adhere to
|
61 |
the Acceptable Use Policy for the Llama Materials (available at
|
62 |
https://ai.meta.com/llama/use-policy), which is hereby incorporated by
|
63 |
reference into this Agreement.
|
64 |
+
|
65 |
v. You will not use the Llama Materials or any output or results of the Llama
|
66 |
Materials to improve any other large language model (excluding Llama 2 or
|
67 |
derivative works thereof).
|
68 |
+
|
69 |
+
|
70 |
2. Additional Commercial Terms. If, on the Llama 2 version release date, the
|
71 |
monthly active users of the products or services made available by or for
|
72 |
Licensee, or Licensee's affiliates, is greater than 700 million monthly
|
|
|
74 |
Meta, which Meta may grant to you in its sole discretion, and you are not
|
75 |
authorized to exercise any of the rights under this Agreement unless or until
|
76 |
Meta otherwise expressly grants you such rights.
|
77 |
+
|
78 |
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA
|
79 |
MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN "AS IS"
|
80 |
BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
|
|
|
83 |
RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING
|
84 |
THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE
|
85 |
LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
|
86 |
+
|
87 |
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE
|
88 |
UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE,
|
89 |
PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST
|
90 |
PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR
|
91 |
PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE
|
92 |
POSSIBILITY OF ANY OF THE FOREGOING.
|
93 |
+
|
94 |
+
|
95 |
5. Intellectual Property.
|
96 |
+
|
97 |
a. No trademark licenses are granted under this Agreement, and in connection
|
98 |
with the Llama Materials, neither Meta nor Licensee may use any name or mark
|
99 |
owned by or associated with the other or any of its affiliates, except as
|
100 |
required for reasonable and customary use in describing and redistributing
|
101 |
the Llama Materials.
|
102 |
+
|
103 |
b. Subject to Meta's ownership of Llama Materials and derivatives made by or
|
104 |
for Meta, with respect to any derivative works and modifications of the Llama
|
105 |
Materials that are made by you, as between you and Meta, you are and will be
|
106 |
the owner of such derivative works and modifications.
|
107 |
+
|
108 |
c. If you institute litigation or other proceedings against Meta or any
|
109 |
entity (including a cross-claim or counterclaim in a lawsuit) alleging that
|
110 |
the Llama Materials or Llama 2 outputs or results, or any portion of any of
|
|
|
114 |
filed or instituted. You will indemnify and hold harmless Meta from and
|
115 |
against any claim by any third party arising out of or related to your use or
|
116 |
distribution of the Llama Materials.
|
117 |
+
|
118 |
6. Term and Termination. The term of this Agreement will commence upon your
|
119 |
acceptance of this Agreement or access to the Llama Materials and will
|
120 |
continue in full force and effect until terminated in accordance with the
|
|
|
122 |
breach of any term or condition of this Agreement. Upon termination of this
|
123 |
Agreement, you shall delete and cease use of the Llama Materials. Sections 3,
|
124 |
4 and 7 shall survive the termination of this Agreement.
|
125 |
+
|
126 |
7. Governing Law and Jurisdiction. This Agreement will be governed and
|
127 |
construed under the laws of the State of California without regard to choice
|
128 |
of law principles, and the UN Convention on Contracts for the International
|
129 |
Sale of Goods does not apply to this Agreement. The courts of California
|
130 |
shall have exclusive jurisdiction of any dispute arising out of this
|
131 |
Agreement.
|
132 |
+
|
133 |
### Llama 2 Acceptable Use Policy
|
134 |
+
|
135 |
Meta is committed to promoting safe and fair use of its tools and features,
|
136 |
including Llama 2. If you access or use Llama 2, you agree to this Acceptable
|
137 |
Use Policy (“Policy”). The most recent copy of this policy can be found at
|
138 |
[ai.meta.com/llama/use-policy](http://ai.meta.com/llama/use-policy).
|
139 |
+
|
140 |
#### Prohibited Uses
|
141 |
+
|
142 |
We want everyone to use Llama 2 safely and responsibly. You agree you will not
|
143 |
+
use, or allow others to use, Llama 2 to: 1. Violate the law or others’
|
144 |
+
rights, including to:
|
145 |
1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
|
146 |
1. Violence or terrorism
|
147 |
2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
|
|
|
175 |
4. Fail to appropriately disclose to end users any known dangers of your AI system
|
176 |
Please report any violation of this Policy, software “bug,” or other problems
|
177 |
that could lead to a violation of this Policy through one of the following
|
178 |
+
means: * Reporting issues with the model:
|
|
|
179 |
[github.com/facebookresearch/llama](http://github.com/facebookresearch/llama)
|
180 |
* Reporting risky content generated by the model:
|
181 |
[developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
|
182 |
* Reporting bugs and security concerns:
|
183 |
+
[facebook.com/whitehat/info](http://facebook.com/whitehat/info) * Reporting
|
184 |
+
violations of the Acceptable Use Policy or unlicensed uses of Llama:
|
185 |
+
[LlamaUseReport@meta.com](mailto:LlamaUseReport@meta.com)
|
186 |
extra_gated_fields:
|
187 |
First Name: text
|
188 |
Last Name: text
|
189 |
Date of birth: date_picker
|
190 |
Country: country
|
191 |
Affiliation: text
|
192 |
+
geo: ip_location
|
193 |
By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox
|
194 |
+
extra_gated_description: >-
|
195 |
+
The information you provide will be collected, stored, processed and shared in
|
196 |
+
accordance with the [Meta Privacy
|
197 |
+
Policy](https://www.facebook.com/privacy/policy/).
|
198 |
extra_gated_button_content: Submit
|
199 |
language:
|
200 |
- en
|
|
|
206 |
- pytorch
|
207 |
- llama
|
208 |
- llama-2
|
209 |
+
license: llama2
|
210 |
---
|
211 |
+
|
212 |
# **Llama 2**
|
213 |
Llama 2 is a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. This is the repository for the 13B pretrained model, converted for the Hugging Face Transformers format. Links to other models can be found in the index at the bottom.
|
214 |
|