jartine commited on
Commit
27d5212
1 Parent(s): 9f883cd

Update LICENSE

Browse files
Files changed (1) hide show
  1. LICENSE +413 -0
LICENSE ADDED
@@ -0,0 +1,413 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ --------------------------------------------------------------------------------
2
+ WEIGHTS LICENSE
3
+ --------------------------------------------------------------------------------
4
+
5
+ Gemma Terms of Use
6
+ Last modified: April 1, 2024
7
+ https://ai.google.dev/gemma/terms
8
+
9
+ By using, reproducing, modifying, distributing, performing or displaying
10
+ any portion or element of Gemma, Model Derivatives including via any
11
+ Hosted Service, (each as defined below) (collectively, the "Gemma
12
+ Services") or otherwise accepting the terms of this Agreement, you agree
13
+ to be bound by this Agreement.
14
+
15
+ Section 1: DEFINITIONS
16
+
17
+ 1.1 Definitions
18
+
19
+ (a) "Agreement" or "Gemma Terms of Use" means these terms and conditions
20
+ that govern the use, reproduction, Distribution or modification of
21
+ the Gemma Services and any terms and conditions incorporated by
22
+ reference.
23
+
24
+ (b) "Distribution" or "Distribute" means any transmission, publication,
25
+ or other sharing of Gemma or Model Derivatives to a third party,
26
+ including by providing or making Gemma or its functionality
27
+ available as a hosted service via API, web access, or any other
28
+ electronic or remote means ("Hosted Service").
29
+
30
+ (c) "Gemma" means the set of machine learning language models, trained
31
+ model weights and parameters identified at ai.google.dev/gemma,
32
+ regardless of the source that you obtained it from.
33
+
34
+ (d) "Google" means Google LLC.
35
+
36
+ (e) "Model Derivatives" means all (i) modifications to Gemma, (ii) works
37
+ based on Gemma, or (iii) any other machine learning model which is
38
+ created by transfer of patterns of the weights, parameters,
39
+ operations, or Output of Gemma, to that model in order to cause that
40
+ model to perform similarly to Gemma, including distillation methods
41
+ that use intermediate data representations or methods based on the
42
+ generation of synthetic data Outputs by Gemma for training that
43
+ model. For clarity, Outputs are not deemed Model Derivatives.
44
+
45
+ (f) "Output" means the information content output of Gemma or a Model
46
+ Derivative that results from operating or otherwise using Gemma or
47
+ the Model Derivative, including via a Hosted Service.
48
+
49
+ 1.2
50
+
51
+ As used in this Agreement, "including" means "including without
52
+ limitation".
53
+
54
+ Section 2: ELIGIBILITY AND USAGE
55
+
56
+ 2.1 Eligibility
57
+
58
+ You represent and warrant that you have the legal capacity to enter into
59
+ this Agreement (including being of sufficient age of consent). If you
60
+ are accessing or using any of the Gemma Services for or on behalf of a
61
+ legal entity, (a) you are entering into this Agreement on behalf of
62
+ yourself and that legal entity, (b) you represent and warrant that you
63
+ have the authority to act on behalf of and bind that entity to this
64
+ Agreement and (c) references to "you" or "your" in the remainder of this
65
+ Agreement refers to both you (as an individual) and that entity.
66
+
67
+ 2.2 Use
68
+
69
+ You may use, reproduce, modify, Distribute, perform or display any of
70
+ the Gemma Services only in accordance with the terms of this Agreement,
71
+ and must not violate (or encourage or permit anyone else to violate) any
72
+ term of this Agreement.
73
+
74
+ Section 3: DISTRIBUTION AND RESTRICTIONS
75
+
76
+ 3.1 Distribution and Redistribution
77
+
78
+ You may reproduce or Distribute copies of Gemma or Model Derivatives if
79
+ you meet all of the following conditions:
80
+
81
+ 1. You must include the use restrictions referenced in Section 3.2 as an
82
+ enforceable provision in any agreement (e.g., license agreement,
83
+ terms of use, etc.) governing the use and/or distribution of Gemma or
84
+ Model Derivatives and you must provide notice to subsequent users you
85
+ Distribute to that Gemma or Model Derivatives are subject to the use
86
+ restrictions in Section 3.2.
87
+
88
+ 2. You must provide all third party recipients of Gemma or Model
89
+ Derivatives a copy of this Agreement.
90
+
91
+ 3. You must cause any modified files to carry prominent notices stating
92
+ that you modified the files.
93
+
94
+ 4. All Distributions (other than through a Hosted Service) must be
95
+ accompanied by a "Notice" text file that contains the following
96
+ notice: "Gemma is provided under and subject to the Gemma Terms of
97
+ Use found at ai.google.dev/gemma/terms".
98
+
99
+ You may add your own intellectual property statement to your
100
+ modifications and, except as set forth in this Section, may provide
101
+ additional or different terms and conditions for use, reproduction, or
102
+ Distribution of your modifications, or for any such Model Derivatives as
103
+ a whole, provided your use, reproduction, modification, Distribution,
104
+ performance, and display of Gemma otherwise complies with the terms and
105
+ conditions of this Agreement. Any additional or different terms and
106
+ conditions you impose must not conflict with the terms of this
107
+ Agreement.
108
+
109
+ 3.2 Use Restrictions
110
+
111
+ You must not use any of the Gemma Services:
112
+
113
+ 1. for the restricted uses set forth in the Gemma Prohibited Use Policy
114
+ at ai.google.dev/gemma/prohibited_use_policy ("Prohibited Use
115
+ Policy"), which is hereby incorporated by reference into this
116
+ Agreement; or in violation of applicable laws and regulations.
117
+
118
+ 2. To the maximum extent permitted by law, Google reserves the right to
119
+ restrict (remotely or otherwise) usage of any of the Gemma Services
120
+ that Google reasonably believes are in violation of this Agreement.
121
+
122
+ 3.3 Generated Output
123
+
124
+ Google claims no rights in Outputs you generate using Gemma. You and
125
+ your users are solely responsible for Outputs and their subsequent uses.
126
+
127
+ Section 4: ADDITIONAL PROVISIONS
128
+
129
+ 4.1 Updates
130
+
131
+ Google may update Gemma from time to time.
132
+
133
+ 4.2 Trademarks
134
+
135
+ Nothing in this Agreement grants you any rights to use Google's
136
+ trademarks, trade names, logos or to otherwise suggest endorsement or
137
+ misrepresent the relationship between you and Google. Google reserves
138
+ any rights not expressly granted herein.
139
+
140
+ 4.3 DISCLAIMER OF WARRANTY
141
+
142
+ UNLESS REQUIRED BY APPLICABLE LAW, THE GEMMA SERVICES, AND OUTPUTS, ARE
143
+ PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
144
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OR CONDITIONS
145
+ OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
146
+ PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS
147
+ OF USING, REPRODUCING, MODIFYING, PERFORMING, DISPLAYING OR DISTRIBUTING
148
+ ANY OF THE GEMMA SERVICES OR OUTPUTS AND ASSUME ANY AND ALL RISKS
149
+ ASSOCIATED WITH YOUR USE OR DISTRIBUTION OF ANY OF THE GEMMA SERVICES OR
150
+ OUTPUTS AND YOUR EXERCISE OF RIGHTS AND PERMISSIONS UNDER THIS
151
+ AGREEMENT.
152
+
153
+ 4.4 LIMITATION OF LIABILITY
154
+
155
+ TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT AND UNDER
156
+ NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), PRODUCT
157
+ LIABILITY, CONTRACT, OR OTHERWISE, UNLESS REQUIRED BY APPLICABLE LAW,
158
+ SHALL GOOGLE OR ITS AFFILIATES BE LIABLE TO YOU FOR DAMAGES, INCLUDING
159
+ ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, EXEMPLARY, CONSEQUENTIAL, OR
160
+ PUNITIVE DAMAGES, OR LOST PROFITS OF ANY KIND ARISING FROM THIS
161
+ AGREEMENT OR RELATED TO, ANY OF THE GEMMA SERVICES OR OUTPUTS EVEN IF
162
+ GOOGLE OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
163
+ DAMAGES.
164
+
165
+ 4.5 Term, Termination, and Survival
166
+
167
+ The term of this Agreement will commence upon your acceptance of this
168
+ Agreement (including acceptance by your use, modification, or
169
+ Distribution, reproduction, performance or display of any portion or
170
+ element of the Gemma Services) and will continue in full force and
171
+ effect until terminated in accordance with the terms of this Agreement.
172
+ Google may terminate this Agreement if you are in breach of any term of
173
+ this Agreement. Upon termination of this Agreement, you must delete and
174
+ cease use and Distribution of all copies of Gemma and Model Derivatives
175
+ in your possession or control. Sections 1, 2.1, 3.3, 4.2 to 4.9 shall
176
+ survive the termination of this Agreement.
177
+
178
+ 4.6 Governing Law and Jurisdiction
179
+
180
+ This Agreement will be governed by the laws of the State of California
181
+ without regard to choice of law principles. The UN Convention on
182
+ Contracts for the International Sale of Goods does not apply to this
183
+ Agreement. The state and federal courts of Santa Clara County,
184
+ California shall have exclusive jurisdiction of any dispute arising out
185
+ of this Agreement.
186
+
187
+ 4.7 Severability
188
+
189
+ If any provision of this Agreement is held to be invalid, illegal or
190
+ unenforceable, the remaining provisions shall be unaffected thereby and
191
+ remain valid as if such provision had not been set forth herein.
192
+
193
+ 4.8 Entire Agreement
194
+
195
+ This Agreement states all the terms agreed between the parties and
196
+ supersedes all other agreements between the parties as of the date of
197
+ acceptance relating to its subject matter.
198
+
199
+ 4.9 No Waiver
200
+
201
+ Google will not be treated as having waived any rights by not exercising
202
+ (or delaying the exercise of) any rights under this Agreement.
203
+
204
+ --------------------------------------------------------------------------------
205
+ WEIGHTS PROHIBITED USE POLICY
206
+ --------------------------------------------------------------------------------
207
+
208
+ Gemma Prohibited Use Policy
209
+ https://ai.google.dev/gemma/prohibited_use_policy
210
+
211
+ Stay organized with collections Save and categorize content based
212
+ on your preferences.
213
+
214
+ Google reserves the right to update this Gemma Prohibited Use
215
+ Policy from time to time.
216
+
217
+ Last modified: February 21, 2024
218
+
219
+ You may not use nor allow others to use Gemma or Model Derivatives
220
+ to:
221
+
222
+ 1. Generate any content, including the outputs or results
223
+ generated by Gemma or Model Derivatives, that infringes,
224
+ misappropriates, or otherwise violates any individual's or
225
+ entity's rights (including, but not limited to rights in
226
+ copyrighted content).
227
+ 2. Perform or facilitate dangerous, illegal, or malicious
228
+ activities, including:
229
+ 1. Facilitation or promotion of illegal activities or
230
+ violations of law, such as:
231
+ 1. Promoting or generating content related to child
232
+ sexual abuse or exploitation;
233
+ 2. Promoting or facilitating sale of, or providing
234
+ instructions for synthesizing or accessing, illegal
235
+ substances, goods, or services;
236
+ 3. Facilitating or encouraging users to commit any type
237
+ of crimes; or
238
+ 4. Promoting or generating violent extremism or
239
+ terrorist content.
240
+ 2. Engagement in the illegal or unlicensed practice of any
241
+ vocation or profession including, but not limited to,
242
+ legal, medical, accounting, or financial professional
243
+ practices.
244
+ 3. Abuse, harm, interference, or disruption of services (or
245
+ enable others to do the same), such as:
246
+ 1. Promoting or facilitating the generation or
247
+ distribution of spam; or
248
+ 2. Generating content for deceptive or fraudulent
249
+ activities, scams, phishing, or malware.
250
+ 4. Attempts to override or circumvent safety filters or
251
+ intentionally drive Gemma or Model Derivatives to act in
252
+ a manner that contravenes this Gemma Prohibited Use
253
+ Policy.
254
+ 5. Generation of content that may harm or promote the harm
255
+ of individuals or a group, such as:
256
+ 1. Generating content that promotes or encourages
257
+ hatred;
258
+ 2. Facilitating methods of harassment or bullying to
259
+ intimidate, abuse, or insult others;
260
+ 3. Generating content that facilitates, promotes, or
261
+ incites violence;
262
+ 4. Generating content that facilitates, promotes, or
263
+ encourages self harm;
264
+ 5. Generating personally identifying information for
265
+ distribution or other harms;
266
+ 6. Tracking or monitoring people without their consent;
267
+ 7. Generating content that may have unfair or adverse
268
+ impacts on people, particularly impacts related to
269
+ sensitive or protected characteristics; or
270
+ 8. Generating, gathering, processing, or inferring
271
+ sensitive personal or private information about
272
+ individuals without obtaining all rights,
273
+ authorizations, and consents required by applicable
274
+ laws.
275
+ 3. Generate and distribute content intended to misinform,
276
+ misrepresent or mislead, including:
277
+ 1. Misrepresentation of the provenance of generated content
278
+ by claiming content was created by a human, or represent
279
+ generated content as original works, in order to deceive;
280
+ 2. Generation of content that impersonates an individual
281
+ (living or dead) without explicit disclosure, in order to
282
+ deceive;
283
+ 3. Misleading claims of expertise or capability made
284
+ particularly in sensitive areas (e.g. health, finance,
285
+ government services, or legal);
286
+ 4. Making automated decisions in domains that affect
287
+ material or individual rights or well-being (e.g.,
288
+ finance, legal, employment, healthcare, housing,
289
+ insurance, and social welfare);
290
+ 5. Generation of defamatory content, including defamatory
291
+ statements, images, or audio content; or
292
+ 6. Engaging in the unauthorized or unlicensed practice of
293
+ any profession including, but not limited to, financial,
294
+ legal, medical/health, or related professional practices.
295
+ 4. Generate sexually explicit content, including content created
296
+ for the purposes of pornography or sexual gratification (e.g.
297
+ sexual chatbots). Note that this does not include content
298
+ created for scientific, educational, documentary, or artistic
299
+ purposes.
300
+
301
+ Except as otherwise noted, the content of this page is licensed
302
+ under the Creative Commons Attribution 4.0 License, and code
303
+ samples are licensed under the Apache 2.0 License. For details,
304
+ see the Google Developers Site Policies. Java is a registered
305
+ trademark of Oracle and/or its affiliates.
306
+
307
+ Last updated 2024-02-20 UTC.
308
+
309
+ --------------------------------------------------------------------------------
310
+ SOFTWARE LICENSES
311
+ --------------------------------------------------------------------------------
312
+
313
+ llamafile (Apache 2.0)
314
+ Copyright 2023 Mozilla Foundation
315
+
316
+ Licensed under the Apache License, Version 2.0 (the "License");
317
+ you may not use this file except in compliance with the License.
318
+ You may obtain a copy of the License at
319
+
320
+ http://www.apache.org/licenses/LICENSE-2.0
321
+
322
+ Unless required by applicable law or agreed to in writing, software
323
+ distributed under the License is distributed on an "AS IS" BASIS,
324
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
325
+ See the License for the specific language governing permissions and
326
+ limitations under the License.
327
+
328
+ Cosmopolitan (ISC)
329
+ Copyright 2024 Justine Alexandra Roberts Tunney
330
+
331
+ Permission to use, copy, modify, and/or distribute this software for
332
+ any purpose with or without fee is hereby granted, provided that the
333
+ above copyright notice and this permission notice appear in all copies.
334
+
335
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
336
+ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
337
+ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
338
+ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
339
+ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
340
+ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
341
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
342
+ PERFORMANCE OF THIS SOFTWARE.
343
+
344
+ llama.cpp (MIT License)
345
+ Copyright (c) 2023 Georgi Gerganov
346
+ Copyright (c) 2023 Iwan Kawrakow
347
+ Copyright (c) 2023 Jeffrey Quesnelle and Bowen Peng.
348
+ Copyright (c) 2023 Yuji Hirose
349
+ Copyright (c) 2022 Niels Lohmann <https://nlohmann.me>
350
+ Copyright (c) 2022 Bjoern Hoehrmann <bjoern@hoehrmann.de>
351
+ Copyright (c) 2017 Sean Barrett
352
+
353
+ Permission is hereby granted, free of charge, to any person obtaining a copy
354
+ of this software and associated documentation files (the "Software"), to deal
355
+ in the Software without restriction, including without limitation the rights
356
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
357
+ copies of the Software, and to permit persons to whom the Software is
358
+ furnished to do so, subject to the following conditions:
359
+
360
+ The above copyright notice and this permission notice shall be included in all
361
+ copies or substantial portions of the Software.
362
+
363
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
364
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
365
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
366
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
367
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
368
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
369
+ SOFTWARE.
370
+
371
+ strftime (BSD-3)
372
+ Copyright 1989 The Regents of the University of California
373
+
374
+ *NSYNC (Apache 2.0)
375
+ Copyright 2016 Google, Inc.
376
+ https://github.com/google/nsync
377
+
378
+ puff (zlib License)
379
+ Copyright 2002-2013 Mark Adler
380
+
381
+ Smoothsort (MIT License)
382
+ Copyright 2011 Valentin Ochs
383
+ Discovered by Edsger Dijkstra
384
+
385
+ OpenBSD Strings (ISC)
386
+ Copyright (c) 1998, 2015 Todd C. Miller <millert@openbsd.org>
387
+
388
+ Optimized Routines (MIT License)
389
+ Copyright 2022 ARM Limited
390
+
391
+ Cosmopolitan libelftc demangle (BSD-2)
392
+ Copyright (c) 2007 Hyogeol Lee <hyogeollee@gmail.com>
393
+ Copyright (c) 2015-2017 Kai Wang <kaiwang27@gmail.com>
394
+ Copyright (c) 2024 Justine Tunney <jtunney@gmail.com>
395
+
396
+ FreeBSD libm (BSD-2 License)
397
+ Copyright (c) 1992-2024 The FreeBSD Project.
398
+ Copyright (c) 2005-2011 Bruce D. Evans, Steven G. Kargl, David Schultz
399
+ Copyright (c) 2009-2013 Steven G. Kargl
400
+
401
+ fdlibm (fdlibm license)
402
+ Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
403
+
404
+ Musl libc (MIT License)
405
+ Copyright 2005-2014 Rich Felker, et. al.
406
+
407
+ gdtoa (MIT License)
408
+ The author of this software is David M. Gay
409
+ Kudos go to Guy L. Steele, Jr. and Jon L. White
410
+ Copyright (C) 1997, 1998, 2000 by Lucent Technologies
411
+
412
+ OpenBSD Sorting (BSD-3)
413
+ Copyright 1993 The Regents of the University of California