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.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document,
|
11 |
+
plus the Additional Use Restrictions defined in Appendix A.
|
12 |
+
|
13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14 |
+
the copyright owner that is granting the License.
|
15 |
+
|
16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
17 |
+
other entities that control, are controlled by, or are under common
|
18 |
+
control with that entity. For the purposes of this definition,
|
19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
20 |
+
direction or management of such entity, whether by contract or
|
21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23 |
+
|
24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25 |
+
exercising permissions granted by this License.
|
26 |
+
|
27 |
+
"Source" form shall mean the preferred form for making modifications,
|
28 |
+
including but not limited to software source code, documentation
|
29 |
+
source, and configuration files.
|
30 |
+
|
31 |
+
"Object" form shall mean any form resulting from mechanical
|
32 |
+
transformation or translation of a Source form, including but
|
33 |
+
not limited to compiled object code, generated documentation,
|
34 |
+
and conversions to other media types. For the purposes of this license
|
35 |
+
as applied to AI models, "Object" form includes the model weights,
|
36 |
+
parameters, and any compiled or serialized representation of the model.
|
37 |
+
|
38 |
+
"Work" shall mean the work of authorship, whether in Source or
|
39 |
+
Object form, made available under the License, as indicated by a
|
40 |
+
copyright notice that is included in or attached to the work
|
41 |
+
(an example is provided in the Appendix below). For the purposes of
|
42 |
+
this license, "Work" includes the AI model, its weights, associated
|
43 |
+
code, and documentation provided by the Licensor.
|
44 |
+
|
45 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
46 |
+
form, that is based on (or derived from) the Work and for which the
|
47 |
+
editorial revisions, annotations, elaborations, or other modifications
|
48 |
+
represent, as a whole, an original work of authorship. For the purposes
|
49 |
+
of this License, Derivative Works shall not include works that remain
|
50 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
51 |
+
the Work and Derivative Works thereof. For the purposes of this license
|
52 |
+
as applied to AI models, "Derivative Works" explicitly includes, but is
|
53 |
+
not limited to, models created by fine-tuning the Work, retraining the
|
54 |
+
Work, or embedding the Work within another model or application.
|
55 |
+
|
56 |
+
"Contribution" shall mean any work of authorship, including
|
57 |
+
the original version of the Work and any modifications or additions
|
58 |
+
to that Work or Derivative Works thereof, that is intentionally
|
59 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
60 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
61 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
62 |
+
means any form of electronic, verbal, or written communication sent
|
63 |
+
to the Licensor or its representatives, including but not limited to
|
64 |
+
communication on electronic mailing lists, source code control systems,
|
65 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
66 |
+
Licensor for the purpose of discussing and improving the Work, but
|
67 |
+
excluding communication that is conspicuously marked or otherwise
|
68 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
69 |
+
|
70 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
71 |
+
on behalf of whom a Contribution has been received by Licensor and
|
72 |
+
subsequently incorporated within the Work.
|
73 |
+
|
74 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
75 |
+
this License (including the Additional Use Restrictions in Appendix A),
|
76 |
+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
77 |
+
no-charge, royalty-free, irrevocable copyright license to reproduce,
|
78 |
+
prepare Derivative Works of, publicly display, publicly perform,
|
79 |
+
sublicense, and distribute the Work and such Derivative Works in Source
|
80 |
+
or Object form.
|
81 |
+
|
82 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
83 |
+
this License (including the Additional Use Restrictions in Appendix A),
|
84 |
+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
85 |
+
no-charge, royalty-free, irrevocable (except as stated in this section)
|
86 |
+
patent license to make, have made, use, offer to sell, sell, import, and
|
87 |
+
otherwise transfer the Work, where such license applies only to those
|
88 |
+
patent claims licensable by such Contributor that are necessarily
|
89 |
+
infringed by their Contribution(s) alone or by combination of their
|
90 |
+
Contribution(s) with the Work to which such Contribution(s) was
|
91 |
+
submitted. If You institute patent litigation against any entity
|
92 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
93 |
+
the Work or a Contribution incorporated within the Work constitutes
|
94 |
+
direct or contributory patent infringement, then any patent licenses
|
95 |
+
granted to You under this License for that Work shall terminate as of
|
96 |
+
the date such litigation is filed.
|
97 |
+
|
98 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
99 |
+
Work or Derivative Works thereof in any medium, with or without
|
100 |
+
modifications, and in Source or Object form, provided that You
|
101 |
+
meet the following conditions:
|
102 |
+
|
103 |
+
(a) You must give any other recipients of the Work or
|
104 |
+
Derivative Works a copy of this License (including Appendix A); and
|
105 |
+
|
106 |
+
(b) You must cause any modified files to carry prominent notices
|
107 |
+
stating that You changed the files; and
|
108 |
+
|
109 |
+
(c) You must retain, in the Source form of any Derivative Works
|
110 |
+
that You distribute, all copyright, patent, trademark, and
|
111 |
+
attribution notices from the Source form of the Work,
|
112 |
+
excluding those notices that do not pertain to any part of
|
113 |
+
the Derivative Works; and
|
114 |
+
|
115 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
116 |
+
distribution, then any Derivative Works that You distribute must
|
117 |
+
include a readable copy of the attribution notices contained
|
118 |
+
within such NOTICE file, excluding those notices that do not
|
119 |
+
pertain to any part of the Derivative Works, in at least one
|
120 |
+
of the following places: within a NOTICE text file distributed
|
121 |
+
as part of the Derivative Works; within the Source form or
|
122 |
+
documentation, if provided along with the Derivative Works; or,
|
123 |
+
within a display generated by the Derivative Works, if and
|
124 |
+
wherever such third-party notices normally appear. The contents
|
125 |
+
of the NOTICE file are for informational purposes only and
|
126 |
+
do not modify the License. You may add Your own attribution
|
127 |
+
notices within Derivative Works that You distribute, alongside
|
128 |
+
or as an addendum to the NOTICE text from the Work, provided
|
129 |
+
that such additional attribution notices cannot be construed
|
130 |
+
as modifying the License.
|
131 |
+
|
132 |
+
(e) Specific Attribution for Fine-tuned Models: If You create a
|
133 |
+
Derivative Work primarily by fine-tuning the Work (referred to
|
134 |
+
here as "v1 model"), You MUST conspicuously state in the
|
135 |
+
Derivative Work's documentation (e.g., README file, model card,
|
136 |
+
or similar) and any associated metadata that Your model is a
|
137 |
+
fine-tuned version derived from "[Your Model Name] v1" (replace
|
138 |
+
`[Your Model Name]` with the actual name designated by the Licensor).
|
139 |
+
You must not state or imply that Your fine-tuned model is an
|
140 |
+
independent creation not derived from the "v1 model" provided
|
141 |
+
under this License.
|
142 |
+
|
143 |
+
You may add Your own copyright statement to Your modifications and
|
144 |
+
may provide additional or different license terms and conditions
|
145 |
+
for use, reproduction, or distribution of Your modifications, or
|
146 |
+
for any such Derivative Works as a whole, provided Your use,
|
147 |
+
reproduction, and distribution of the Work otherwise complies with
|
148 |
+
the conditions stated in this License (including Appendix A).
|
149 |
+
|
150 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
151 |
+
any Contribution intentionally submitted for inclusion in the Work
|
152 |
+
by You to the Licensor shall be under the terms and conditions of
|
153 |
+
this License, without any additional terms or conditions.
|
154 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
155 |
+
the terms of any separate license agreement you may have executed
|
156 |
+
with Licensor regarding such Contributions.
|
157 |
+
|
158 |
+
6. Trademarks. This License does not grant permission to use the trade
|
159 |
+
names, trademarks, service marks, or product names of the Licensor,
|
160 |
+
except for reasonable and customary use in describing the origin of
|
161 |
+
the Work and reproducing the content of the NOTICE file.
|
162 |
+
|
163 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
164 |
+
agreed to in writing, Licensor provides the Work (and each
|
165 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
166 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
167 |
+
implied, including, without limitation, any warranties or conditions
|
168 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
169 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
170 |
+
appropriateness of using or redistributing the Work and assume any
|
171 |
+
risks associated with Your exercise of permissions under this License.
|
172 |
+
|
173 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
174 |
+
whether in tort (including negligence), contract, or otherwise,
|
175 |
+
unless required by applicable law (such as deliberate and grossly
|
176 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
177 |
+
liable to You for damages, including any direct, indirect, special,
|
178 |
+
incidental, or consequential damages of any character arising as a
|
179 |
+
result of this License or out of the use or inability to use the
|
180 |
+
Work (including but not limited to damages for loss of goodwill,
|
181 |
+
work stoppage, computer failure or malfunction, or any and all
|
182 |
+
other commercial damages or losses), even if such Contributor
|
183 |
+
has been advised of the possibility of such damages.
|
184 |
+
|
185 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
186 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
187 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
188 |
+
or other liability obligations and/or rights consistent with this
|
189 |
+
License. However, in accepting such obligations, You may act only
|
190 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
191 |
+
of any other Contributor, and only if You agree to indemnify,
|
192 |
+
defend, and hold each Contributor harmless for any liability
|
193 |
+
incurred by, or claims asserted against, such Contributor by reason
|
194 |
+
of your accepting any such warranty or additional liability.
|
195 |
+
|
196 |
+
APPENDIX A: ADDITIONAL USE RESTRICTIONS
|
197 |
+
|
198 |
+
Notwithstanding any other provision of this License, the permissions granted
|
199 |
+
herein are conditioned upon compliance with the following restrictions:
|
200 |
+
|
201 |
+
1. Prohibited Uses: The Work and any Derivative Works thereof may not be
|
202 |
+
used for, or to facilitate, any of the following purposes:
|
203 |
+
(a) Any purpose that violates any applicable national, federal, state,
|
204 |
+
local, or international law or regulation.
|
205 |
+
(b) Generating, promoting, or disseminating content that is illegal,
|
206 |
+
harmful, harassing, defamatory, abusive, threatening, obscene,
|
207 |
+
hateful, or racially or ethnically discriminatory.
|
208 |
+
(c) Impersonating any person or entity, or falsely stating or otherwise
|
209 |
+
misrepresenting Your affiliation with a person or entity, in a
|
210 |
+
manner intended to deceive, harm, or defraud.
|
211 |
+
(d) Generating or disseminating unsolicited political messaging or
|
212 |
+
propaganda where prohibited by law.
|
213 |
+
(e) Generating or disseminating personally identifiable information in
|
214 |
+
violation of applicable privacy laws or regulations.
|
215 |
+
(f) Creating or distributing non-consensual explicit imagery or content.
|
216 |
+
(g) Intentionally deceiving or misleading users in high-stakes domains
|
217 |
+
where harm could result (e.g., medical advice, financial advice,
|
218 |
+
safety instructions, legal advice) without clear disclaimers about
|
219 |
+
the AI-generated nature of the content and its potential inaccuracies.
|
220 |
+
(h) Any use intended to or having the effect of discriminating against
|
221 |
+
individuals or groups based on legally protected characteristics or
|
222 |
+
activities.
|
223 |
+
|
224 |
+
2. Consequence of Violation: Use of the Work or Derivative Works in
|
225 |
+
violation of these Additional Use Restrictions constitutes a breach of
|
226 |
+
this License, and the license rights granted hereunder shall terminate
|
227 |
+
automatically pursuant to Section 8 of the standard Apache License 2.0 terms
|
228 |
+
(reproduced as Section 8 above, though standard Apache 2.0 termination is
|
229 |
+
typically linked to patent litigation or copyright compliance). For clarity,
|
230 |
+
violation of Appendix A terminates Your rights under this License.
|
231 |
+
|
232 |
+
**END OF TERMS AND CONDITIONS**
|