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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--------------------------------------------------------------------------------
|
2 |
+
WEIGHTS LICENSE
|
3 |
+
--------------------------------------------------------------------------------
|
4 |
+
|
5 |
+
Meta Large Language Model Compiler (LLM Compiler) LICENSE AGREEMENT
|
6 |
+
|
7 |
+
Version Release Date: 27th June 2024
|
8 |
+
|
9 |
+
“Agreement” means the terms and conditions for use, reproduction,
|
10 |
+
distribution and modification of the LLM Compiler Materials set forth
|
11 |
+
herein.
|
12 |
+
|
13 |
+
“Documentation” means the specifications, manuals and documentation
|
14 |
+
accompanying the LLM Compiler distributed by Meta at:
|
15 |
+
|
16 |
+
- https://huggingface.co/facebook/llm-compiler-7b
|
17 |
+
- https://huggingface.co/facebook/llm-compiler-7b-ftd
|
18 |
+
- https://huggingface.co/facebook/llm-compiler-13b
|
19 |
+
- https://huggingface.co/facebook/llm-compiler-13b-ftd
|
20 |
+
|
21 |
+
“Licensee” or “you” means you, or your employer or any other person or
|
22 |
+
entity (if you are entering into this Agreement on such person or
|
23 |
+
entity’s behalf), of the age required under applicable laws, rules or
|
24 |
+
regulations to provide legal consent and that has legal authority to
|
25 |
+
bind your employer or such other person or entity if you are entering in
|
26 |
+
this Agreement on their behalf.
|
27 |
+
|
28 |
+
“Meta Large Language Model Compiler” and “LLM Compiler” mean the
|
29 |
+
foundational large language models and software and algorithms,
|
30 |
+
including machine-learning model code, trained model weights,
|
31 |
+
inference-enabling code, training-enabling code, fine-tuning enabling
|
32 |
+
code and other elements of the foregoing distributed by Meta at:
|
33 |
+
|
34 |
+
- https://huggingface.co/facebook/llm-compiler-7b
|
35 |
+
- https://huggingface.co/facebook/llm-compiler-7b-ftd
|
36 |
+
- https://huggingface.co/facebook/llm-compiler-13b
|
37 |
+
- https://huggingface.co/facebook/llm-compiler-13b-ftd
|
38 |
+
|
39 |
+
“LLM Compiler Materials” means, collectively, Meta’s proprietary LLM
|
40 |
+
Compiler and Documentation (and any portion thereof) made available
|
41 |
+
under this Agreement.
|
42 |
+
|
43 |
+
“Meta” or “we” means Meta Platforms Ireland Limited (if you are located
|
44 |
+
in or, if you are an entity, your principal place of business is in the
|
45 |
+
EEA or Switzerland) and Meta Platforms, Inc. (if you are located outside
|
46 |
+
of the EEA or Switzerland).
|
47 |
+
|
48 |
+
By clicking “I Accept” below or by using or distributing any portion or
|
49 |
+
element of the LLM Compiler Materials, you agree to be bound by this
|
50 |
+
Agreement.
|
51 |
+
|
52 |
+
1. License Rights and Redistribution.
|
53 |
+
|
54 |
+
a. Grant of Rights. You are granted a non-exclusive, worldwide,
|
55 |
+
non-transferable and royalty-free limited license under Meta’s
|
56 |
+
intellectual property or other rights owned by Meta embodied in
|
57 |
+
the LLM Compiler Materials to use, reproduce, distribute, copy,
|
58 |
+
create derivative works of, and make modifications to the LLM
|
59 |
+
Compiler Materials.
|
60 |
+
|
61 |
+
b. Redistribution and Use.
|
62 |
+
|
63 |
+
i. If you distribute or make available the LLM Compiler Materials
|
64 |
+
(or any derivative works thereof), or a product or service that
|
65 |
+
uses any of them, including another AI model, you shall (A)
|
66 |
+
provide a copy of this Agreement with any such LLM Compiler
|
67 |
+
Materials; and (B) prominently display “Built with LLM
|
68 |
+
Compiler” on a related website, user interface, blogpost, about
|
69 |
+
page, or product documentation. If you use the LLM Compiler
|
70 |
+
Materials to create, train, fine tune, or otherwise improve an
|
71 |
+
AI model, which is distributed or made available, you shall
|
72 |
+
also include “LLM Compiler” at the beginning of any such AI
|
73 |
+
model name.
|
74 |
+
|
75 |
+
ii. If you receive LLM Compiler Materials, or any derivative works
|
76 |
+
thereof, from a Licensee as part of an integrated end user
|
77 |
+
product, then Section 2 of this Agreement will not apply to you.
|
78 |
+
|
79 |
+
iii. You must retain in all copies of the LLM Compiler Materials
|
80 |
+
that you distribute the following attribution notice within a
|
81 |
+
“Notice” text file distributed as a part of such copies: “LLM
|
82 |
+
Compiler is licensed under the LLM Compiler License, Copyright
|
83 |
+
© Meta Platforms, Inc. All Rights Reserved.”
|
84 |
+
|
85 |
+
iv. Your use of the LLM Compiler Materials must comply with
|
86 |
+
applicable laws and regulations (including trade compliance laws
|
87 |
+
and regulations) and adhere to the Acceptable Use Policy for
|
88 |
+
Llama Materials (available at
|
89 |
+
https://llama.meta.com/llama3/use-policy), which is hereby
|
90 |
+
incorporated by reference into this Agreement.
|
91 |
+
|
92 |
+
v. You will not use the LLM Compiler Materials or any output or
|
93 |
+
results of the LLM Compiler Materials to improve any other large
|
94 |
+
language model.
|
95 |
+
|
96 |
+
2. Additional Commercial Terms. If, on the LLM Compiler release date,
|
97 |
+
the monthly active users of the products or services made available
|
98 |
+
by or for Licensee, or Licensee’s affiliates, is greater than 700
|
99 |
+
million monthly active users in the preceding calendar month, you
|
100 |
+
must request a license from Meta, which Meta may grant to you in
|
101 |
+
its sole discretion, and you are not authorized to exercise any of
|
102 |
+
the rights under this Agreement unless or until Meta otherwise
|
103 |
+
expressly grants you such rights.
|
104 |
+
|
105 |
+
3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLM
|
106 |
+
COMPILER MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE
|
107 |
+
PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND
|
108 |
+
META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND
|
109 |
+
IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE,
|
110 |
+
NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
|
111 |
+
PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE
|
112 |
+
APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLM COMPILER
|
113 |
+
MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLM
|
114 |
+
COMPILER MATERIALS AND ANY OUTPUT AND RESULTS.
|
115 |
+
|
116 |
+
4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE
|
117 |
+
LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT,
|
118 |
+
NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS
|
119 |
+
AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL,
|
120 |
+
CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF
|
121 |
+
META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY
|
122 |
+
OF THE FOREGOING.
|
123 |
+
|
124 |
+
5. Intellectual Property.
|
125 |
+
|
126 |
+
a. No trademark licenses are granted under this Agreement, and in
|
127 |
+
connection with the LLM Compiler Materials, neither Meta nor
|
128 |
+
Licensee may use any name or mark owned by or associated with the
|
129 |
+
other or any of its affiliates, except as required for reasonable
|
130 |
+
and customary use in describing and redistributing the LLM
|
131 |
+
Compiler Materials or as set forth in this Section 5(a). Meta
|
132 |
+
hereby grants you a license to use LLM Compiler (the “Mark”)
|
133 |
+
solely as required to comply with the last sentence of Section
|
134 |
+
1.b.i. You will comply with Meta’s brand guidelines (currently
|
135 |
+
accessible at
|
136 |
+
https://about.meta.com/brand/resources/meta/company-brand/). All
|
137 |
+
goodwill arising out of your use of the Mark will inure to the
|
138 |
+
benefit of Meta.
|
139 |
+
|
140 |
+
b. Subject to Meta’s ownership of LLM Compiler Materials and
|
141 |
+
derivatives made by or for Meta, with respect to any derivative
|
142 |
+
works and modifications of the LLM Compiler Materials that are
|
143 |
+
made by you, as between you and Meta, you are and will be the
|
144 |
+
owner of such derivative works and modifications.
|
145 |
+
|
146 |
+
c. If you institute litigation or other proceedings against Meta or
|
147 |
+
any entity (including a cross-claim or counterclaim in a lawsuit)
|
148 |
+
alleging that the LLM Compiler Materials or LLM Compiler outputs
|
149 |
+
or results, or any portion of any of the foregoing, constitutes
|
150 |
+
infringement of intellectual property or other rights owned or
|
151 |
+
licensable by you, then any licenses granted to you under this
|
152 |
+
Agreement shall terminate as of the date such litigation or claim
|
153 |
+
is filed or instituted. You will indemnify and hold harmless Meta
|
154 |
+
from and against any claim by any third party arising out of or
|
155 |
+
related to your use or distribution of the LLM Compiler
|
156 |
+
Materials.
|
157 |
+
|
158 |
+
6. Term and Termination. The term of this Agreement will commence
|
159 |
+
upon your acceptance of this Agreement or access to the LLM
|
160 |
+
Compiler Materials and will continue in full force and effect
|
161 |
+
until terminated in accordance with the terms and conditions
|
162 |
+
herein. Meta may terminate this Agreement if you are in breach of
|
163 |
+
any term or condition of this Agreement. Upon termination of this
|
164 |
+
Agreement, you shall delete and cease use of the LLM Compiler
|
165 |
+
Materials. Sections 3, 4 and 7 shall survive the termination of
|
166 |
+
this Agreement.
|
167 |
+
|
168 |
+
7. Governing Law and Jurisdiction. This Agreement will be governed
|
169 |
+
and construed under the laws of the State of California without
|
170 |
+
regard to choice of law principles, and the UN Convention on
|
171 |
+
Contracts for the International Sale of Goods does not apply to
|
172 |
+
this Agreement. The courts of California shall have exclusive
|
173 |
+
jurisdiction of any dispute arising out of this Agreement.
|
174 |
+
|
175 |
+
--------------------------------------------------------------------------------
|
176 |
+
SOFTWARE LICENSES
|
177 |
+
--------------------------------------------------------------------------------
|
178 |
+
|
179 |
+
llamafile (Apache 2.0)
|
180 |
+
Copyright 2023 Mozilla Foundation
|
181 |
+
|
182 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
183 |
+
you may not use this file except in compliance with the License.
|
184 |
+
You may obtain a copy of the License at
|
185 |
+
|
186 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
187 |
+
|
188 |
+
Unless required by applicable law or agreed to in writing, software
|
189 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
190 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
191 |
+
See the License for the specific language governing permissions and
|
192 |
+
limitations under the License.
|
193 |
+
|
194 |
+
Cosmopolitan (ISC)
|
195 |
+
Copyright 2024 Justine Alexandra Roberts Tunney
|
196 |
+
|
197 |
+
Permission to use, copy, modify, and/or distribute this software for
|
198 |
+
any purpose with or without fee is hereby granted, provided that the
|
199 |
+
above copyright notice and this permission notice appear in all copies.
|
200 |
+
|
201 |
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
202 |
+
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
203 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
204 |
+
AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
205 |
+
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
206 |
+
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
207 |
+
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
208 |
+
PERFORMANCE OF THIS SOFTWARE.
|
209 |
+
|
210 |
+
llama.cpp (MIT License)
|
211 |
+
Copyright (c) 2023 Georgi Gerganov
|
212 |
+
Copyright (c) 2023 Iwan Kawrakow
|
213 |
+
Copyright (c) 2023 Jeffrey Quesnelle and Bowen Peng.
|
214 |
+
Copyright (c) 2023 Yuji Hirose
|
215 |
+
Copyright (c) 2022 Niels Lohmann <https://nlohmann.me>
|
216 |
+
Copyright (c) 2022 Bjoern Hoehrmann <bjoern@hoehrmann.de>
|
217 |
+
Copyright (c) 2017 Sean Barrett
|
218 |
+
|
219 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
220 |
+
of this software and associated documentation files (the "Software"), to deal
|
221 |
+
in the Software without restriction, including without limitation the rights
|
222 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
223 |
+
copies of the Software, and to permit persons to whom the Software is
|
224 |
+
furnished to do so, subject to the following conditions:
|
225 |
+
|
226 |
+
The above copyright notice and this permission notice shall be included in all
|
227 |
+
copies or substantial portions of the Software.
|
228 |
+
|
229 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
230 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
231 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
232 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
233 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
234 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
235 |
+
SOFTWARE.
|
236 |
+
|
237 |
+
strftime (BSD-3)
|
238 |
+
Copyright 1989 The Regents of the University of California
|
239 |
+
|
240 |
+
*NSYNC (Apache 2.0)
|
241 |
+
Copyright 2016 Google, Inc.
|
242 |
+
https://github.com/google/nsync
|
243 |
+
|
244 |
+
puff (zlib License)
|
245 |
+
Copyright 2002-2013 Mark Adler
|
246 |
+
|
247 |
+
Smoothsort (MIT License)
|
248 |
+
Copyright 2011 Valentin Ochs
|
249 |
+
Discovered by Edsger Dijkstra
|
250 |
+
|
251 |
+
OpenBSD Strings (ISC)
|
252 |
+
Copyright (c) 1998, 2015 Todd C. Miller <millert@openbsd.org>
|
253 |
+
|
254 |
+
Optimized Routines (MIT License)
|
255 |
+
Copyright 2022 ARM Limited
|
256 |
+
|
257 |
+
Cosmopolitan libelftc demangle (BSD-2)
|
258 |
+
Copyright (c) 2007 Hyogeol Lee <hyogeollee@gmail.com>
|
259 |
+
Copyright (c) 2015-2017 Kai Wang <kaiwang27@gmail.com>
|
260 |
+
Copyright (c) 2024 Justine Tunney <jtunney@gmail.com>
|
261 |
+
|
262 |
+
FreeBSD libm (BSD-2 License)
|
263 |
+
Copyright (c) 1992-2024 The FreeBSD Project.
|
264 |
+
Copyright (c) 2005-2011 Bruce D. Evans, Steven G. Kargl, David Schultz
|
265 |
+
Copyright (c) 2009-2013 Steven G. Kargl
|
266 |
+
|
267 |
+
fdlibm (fdlibm license)
|
268 |
+
Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
|
269 |
+
|
270 |
+
Musl libc (MIT License)
|
271 |
+
Copyright 2005-2014 Rich Felker, et. al.
|
272 |
+
|
273 |
+
gdtoa (MIT License)
|
274 |
+
The author of this software is David M. Gay
|
275 |
+
Kudos go to Guy L. Steele, Jr. and Jon L. White
|
276 |
+
Copyright (C) 1997, 1998, 2000 by Lucent Technologies
|
277 |
+
|
278 |
+
OpenBSD Sorting (BSD-3)
|
279 |
+
Copyright 1993 The Regents of the University of California
|