Team Ai
Datasetpublic

tyDiffusion/Diffusion

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes3.3kdownloads
thinkdiffusion-xl.license176 linesDownload Raw Back to root
1Copyright (c) 2023 Stability AI CreativeML Open RAIL++-M License dated July 26, 20232 3Section I: PREAMBLE Multimodal generative models are being widely adopted and used, and4have the potential to transform the way artists, among other individuals, conceive and5benefit from AI or ML technologies as a tool for content creation. Notwithstanding the6current and potential benefits that these artifacts can bring to society at large, there7are also concerns about potential misuses of them, either due to their technical8limitations or ethical considerations. In short, this license strives for both the open9and responsible downstream use of the accompanying model. When it comes to the open10character, we took inspiration from open source permissive licenses regarding the grant11of IP rights. Referring to the downstream responsible use, we added use-based12restrictions not permitting the use of the model in very specific scenarios, in order13for the licensor to be able to enforce the license in case potential misuses of the14Model may occur. At the same time, we strive to promote open and responsible research on15generative models for art and content generation. Even though downstream derivative16versions of the model could be released under different licensing terms, the latter will17always have to include - at minimum - the same use-based restrictions as the ones in the18original license (this license). We believe in the intersection between open and19responsible AI development; thus, this agreement aims to strike a balance between both20in order to enable responsible open-science in the field of AI. This CreativeML Open21RAIL++-M License governs the use of the model (and its derivatives) and is informed by22the model card associated with the model. NOW THEREFORE, You and Licensor agree as23follows: Definitions "License" means the terms and conditions for use, reproduction, and24Distribution as defined in this document. "Data" means a collection of information25and/or content extracted from the dataset used with the Model, including to train,26pretrain, or otherwise evaluate the Model. The Data is not licensed under this License.27"Output" means the results of operating a Model as embodied in informational content28resulting therefrom. "Model" means any accompanying machine-learning based assemblies29(including checkpoints), consisting of learnt weights, parameters (including optimizer30states), corresponding to the model architecture as embodied in the Complementary31Material, that have been trained or tuned, in whole or in part on the Data, using the32Complementary Material. "Derivatives of the Model" means all modifications to the Model,33works based on the Model, or any other model which is created or initialized by transfer34of patterns of the weights, parameters, activations or output of the Model, to the other35model, in order to cause the other model to perform similarly to the Model, including -36but not limited to - distillation methods entailing the use of intermediate data37representations or methods based on the generation of synthetic data by the Model for38training the other model. "Complementary Material" means the accompanying source code39and scripts used to define, run, load, benchmark or evaluate the Model, and used to40prepare data for training or evaluation, if any. This includes any accompanying41documentation, tutorials, examples, etc, if any. "Distribution" means any transmission,42reproduction, publication or other sharing of the Model or Derivatives of the Model to a43third party, including providing the Model as a hosted service made available by44electronic or other remote means - e.g. API-based or web access. "Licensor" means the45copyright owner or entity authorized by the copyright owner that is granting the46License, including the persons or entities that may have rights in the Model and/or47distributing the Model. "You" (or "Your") means an individual or Legal Entity exercising48permissions granted by this License and/or making use of the Model for whichever purpose49and in any field of use, including usage of the Model in an end-use application - e.g.50chatbot, translator, image generator. "Third Parties" means individuals or legal51entities that are not under common control with Licensor or You. "Contribution" means52any work of authorship, including the original version of the Model and any53modifications or additions to that Model or Derivatives of the Model thereof, that is54intentionally submitted to Licensor for inclusion in the Model by the copyright owner or55by an individual or Legal Entity authorized to submit on behalf of the copyright owner.56For the purposes of this definition, "submitted" means any form of electronic, verbal,57or written communication sent to the Licensor or its representatives, including but not58limited to communication on electronic mailing lists, source code control systems, and59issue tracking systems that are managed by, or on behalf of, the Licensor for the60purpose of discussing and improving the Model, but excluding communication that is61conspicuously marked or otherwise designated in writing by the copyright owner as "Not a62Contribution." "Contributor" means Licensor and any individual or Legal Entity on behalf63of whom a Contribution has been received by Licensor and subsequently incorporated64within the Model.65 66Section II: INTELLECTUAL PROPERTY RIGHTS Both copyright and patent grants apply to the67Model, Derivatives of the Model and Complementary Material. The Model and Derivatives of68the Model are subject to additional terms as described in69 70Section III. Grant of Copyright License. Subject to the terms and conditions of this71License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,72no-charge, royalty-free, irrevocable copyright license to reproduce, prepare, publicly73display, publicly perform, sublicense, and distribute the Complementary Material, the74Model, and Derivatives of the Model. Grant of Patent License. Subject to the terms and75conditions of this License and where and as applicable, each Contributor hereby grants76to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable77(except as stated in this paragraph) patent license to make, have made, use, offer to78sell, sell, import, and otherwise transfer the Model and the Complementary Material,79where such license applies only to those patent claims licensable by such Contributor80that are necessarily infringed by their Contribution(s) alone or by combination of their81Contribution(s) with the Model to which such Contribution(s) was submitted. If You82institute patent litigation against any entity (including a cross-claim or counterclaim83in a lawsuit) alleging that the Model and/or Complementary Material or a Contribution84incorporated within the Model and/or Complementary Material constitutes direct or85contributory patent infringement, then any patent licenses granted to You under this86License for the Model and/or Work shall terminate as of the date such litigation is87asserted or filed. Section III: CONDITIONS OF USAGE, DISTRIBUTION AND REDISTRIBUTION88Distribution and Redistribution. You may host for Third Party remote access purposes89(e.g. software-as-a-service), reproduce and distribute copies of the Model or90Derivatives of the Model thereof in any medium, with or without modifications, provided91that You meet the following conditions: Use-based restrictions as referenced in92paragraph 5 MUST be included as an enforceable provision by You in any type of legal93agreement (e.g. a license) governing the use and/or distribution of the Model or94Derivatives of the Model, and You shall give notice to subsequent users You Distribute95to, that the Model or Derivatives of the Model are subject to paragraph 5. This96provision does not apply to the use of Complementary Material. You must give any Third97Party recipients of the Model or Derivatives of the Model a copy of this License; You98must cause any modified files to carry prominent notices stating that You changed the99files; You must retain all copyright, patent, trademark, and attribution notices100excluding those notices that do not pertain to any part of the Model, Derivatives of the101Model. You may add Your own copyright statement to Your modifications and may provide102additional or different license terms and conditions - respecting paragraph 4.a. - for103use, reproduction, or Distribution of Your modifications, or for any such Derivatives of104the Model as a whole, provided Your use, reproduction, and Distribution of the Model105otherwise complies with the conditions stated in this License. Use-based restrictions.106The restrictions set forth in Attachment A are considered Use-based restrictions.107Therefore You cannot use the Model and the Derivatives of the Model for the specified108restricted uses. You may use the Model subject to this License, including only for109lawful purposes and in accordance with the License. Use may include creating any content110with, finetuning, updating, running, training, evaluating and/or reparametrizing the111Model. You shall require all of Your users who use the Model or a Derivative of the112Model to comply with the terms of this paragraph (paragraph 5). The Output You Generate.113Except as set forth herein, Licensor claims no rights in the Output You generate using114the Model. You are accountable for the Output you generate and its subsequent uses. No115use of the output can contravene any provision as stated in the License.116 117Section IV: OTHER PROVISIONS Updates and Runtime Restrictions. To the maximum extent118permitted by law, Licensor reserves the right to restrict (remotely or otherwise) usage119of the Model in violation of this License. Trademarks and related. Nothing in this120License permits You to make use of Licensors’ trademarks, trade names, logos or to121otherwise suggest endorsement or misrepresent the relationship between the parties; and122any rights not expressly granted herein are reserved by the Licensors. Disclaimer of123Warranty. Unless required by applicable law or agreed to in writing, Licensor provides124the Model and the Complementary Material (and each Contributor provides its125Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either126express or implied, including, without limitation, any warranties or conditions of127TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are128solely responsible for determining the appropriateness of using or redistributing the129Model, Derivatives of the Model, and the Complementary Material and assume any risks130associated with Your exercise of permissions under this License. Limitation of131Liability. In no event and under no legal theory, whether in tort (including132negligence), contract, or otherwise, unless required by applicable law (such as133deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be134liable to You for damages, including any direct, indirect, special, incidental, or135consequential damages of any character arising as a result of this License or out of the136use or inability to use the Model and the Complementary Material (including but not137limited to damages for loss of goodwill, work stoppage, computer failure or malfunction,138or any and all other commercial damages or losses), even if such Contributor has been139advised of the possibility of such damages. Accepting Warranty or Additional Liability.140While redistributing the Model, Derivatives of the Model and the Complementary Material141thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty,142indemnity, or other liability obligations and/or rights consistent with this License.143However, in accepting such obligations, You may act only on Your own behalf and on Your144sole responsibility, not on behalf of any other Contributor, and only if You agree to145indemnify, defend, and hold each Contributor harmless for any liability incurred by, or146claims asserted against, such Contributor by reason of your accepting any such warranty147or additional liability. If any provision of this License is held to be invalid, illegal148or unenforceable, the remaining provisions shall be unaffected thereby and remain valid149as if such provision had not been set forth herein.150 151END OF TERMS AND CONDITIONS152 153Attachment A Use Restrictions154You agree not to use the Model or Derivatives of the Model:155In any way that violates any applicable national, federal, state, local or156international law or regulation; For the purpose of exploiting, harming or attempting to157exploit or harm minors in any way; To generate or disseminate verifiably false158information and/or content with the purpose of harming others; To generate or159disseminate personal identifiable information that can be used to harm an individual; To160defame, disparage or otherwise harass others; For fully automated decision making that161adversely impacts an individual’s legal rights or otherwise creates or modifies a162binding, enforceable obligation; For any use intended to or which has the effect of163discriminating against or harming individuals or groups based on online or offline164social behavior or known or predicted personal or personality characteristics; To165exploit any of the vulnerabilities of a specific group of persons based on their age,166social, physical or mental characteristics, in order to materially distort the behavior167of a person pertaining to that group in a manner that causes or is likely to cause that168person or another person physical or psychological harm; For any use intended to or169which has the effect of discriminating against individuals or groups based on legally170protected characteristics or categories; To provide medical advice and medical results171interpretation; To generate or disseminate information for the purpose to be used for172administration of justice, law enforcement, immigration or asylum processes, such as173predicting an individual will commit fraud/crime commitment (e.g. by text profiling,174drawing causal relationships between assertions made in documents, indiscriminate and175arbitrarily-targeted use).176