Published by [Your Organization/Name]
The Kohaku License aims to provide maximum freedom for users to work with the AI model while protecting contributors from liability and ensuring the freedom of end users. It incorporates commercial usage restrictions to balance open access with sustainable development.
Model: Refers to machine learning model weights, biases, parameters, optimizer states, and any byproducts of a training or pretraining process, whether in the form of checkpoints or any other form.
Derived Model: Any model based on the original Model. For a Derived Model to qualify under this license, it must include:
Additionally, any Derived Model designed for use within a custom pipeline that combines multiple models must:
Note: The author is not required to release documentation or instructions on how to use these Models to achieve specific services or pipelines, if applicable.
Software: Includes the Model along with documentation or other resources provided with the software.
Source Code: The preferred form for making modifications to the Software, including any Models, but excluding datasets used to train the Model.
Modify: To perform any training on a Model or to combine a Model with another Model.
Service Provider: An entity that uses the Model to offer services to Model Input Providers, thereby making the Model Input Providers the recipients of the service.
Model Input Provider: Any individual or entity that provides input to the Model, either directly or through a custom pipeline, thereby having rights to the output generated from their input.
Service End-User: Any individual or entity that utilizes a service provided by a Service Provider which, in turn, utilizes the Model. Essentially, the Service End-User is the ultimate recipient of the service provided using the Model.
Custom Pipeline: Any pipeline, workflow or product that integrates the Model into a sequence of processes, where the input from the Model Input Provider may be modified before being sent to the Model. In such cases, the entity providing the initial input is considered the Model Input Provider.
Non-Commercial Purpose: Uses that do not involve direct or indirect payment arising from the use of the Model or its output, including personal research, experimentation, testing, or non-commercial organizational use.
Commercial Usage: Any entity providing any kind of service to Model Input Providers in any commercial capacity, where the Model Input Providers are the recipients of the service.
Subject to compliance with this License, [Your Organization/Name] grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty-free, and limited license to access, use, modify, create Derived Models, and distribute the Model for Non-Commercial Purposes and Commercial Usage under certain conditions.
Individuals or entities that use the Model directly for their personal or internal purposes without providing services to third parties.
Entities that use the Model to offer services to Model Input Providers, thereby making the Model Input Providers the recipients of the service.
All rights to the outputs generated by the Model belong to the Model Input Providers. Model Input Providers retain full ownership and rights to any output generated from their inputs.
Any Derived Models created must be published under the Kohaku License. The minimal requirement for a Derived Model includes the model weights and the minimal code necessary to load and use the Model as defined above.
Additional Requirements for Derived Models in Custom Pipelines:
You may not:
When distributing the Model or any Derived Models, you must:
“The Model is licensed under the Kohaku License by [Your Organization/Name]. Copyright [Year] [Your Organization/Name].
IN NO EVENT SHALL [Your Organization/Name] BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM THE USE OF THIS MODEL.”
You agree that no contributor’s conduct in creating the Model has caused you harm. To the extent permitted by law, you waive the right to pursue any legal claims against contributors related to the creation of the Model.
The Model is provided “as is” without any warranty. Contributors are not liable for any damages arising from the use of the Model.
Each contributor grants you the rights to use any patent claims they can license or have the right to license related to the Model.
All rights to the outputs generated by the Model belong to the Model Input Providers. Model Input Providers retain full ownership and rights to any output generated from their inputs.
In the event of any ambiguity or uncertainty in the interpretation of the terms of this License, the Licensee has the right to interpret the ambiguous descriptions in a manner that aligns with the intended purpose of this License.
By using the Model, you agree to comply with all terms of this License. Non-compliance may result in the termination of your rights under this License.
This License terminates automatically upon any breach. Upon termination, cease all use, access, and distribution of the Model and Derived Models.
You agree to indemnify and hold harmless [Your Organization/Name] and its affiliates from any claims arising from your use of the Model, violation of this License, or infringement of any rights of others.
[Your Organization/Name] may publish revised versions of the Kohaku License. You may opt to follow the terms of any later version as they become available.