Upload 3 files
Browse files- LICENSE +152 -0
- LICENSE_INHERIT +42 -0
- README.md +85 -0
LICENSE
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Fair AI Public License 1.0-SD
|
2 |
+
|
3 |
+
Published by the [Freedom of Development Project](https://freedevproject.org).
|
4 |
+
|
5 |
+
*This "SD variant" license contains a [Prohibited Uses](#prohibited-uses)
|
6 |
+
section designed to be compatible with Stable Diffusion's license. Because of
|
7 |
+
that section, this is not a free software license. Unless you are releasing a
|
8 |
+
derivative of a Stable Diffusion model, it is not recommended that you use this
|
9 |
+
license.*
|
10 |
+
|
11 |
+
*This license comes with special requirements if you intend to allow users
|
12 |
+
to access this software over a network. See [Notices](#notices) for more
|
13 |
+
information.*
|
14 |
+
|
15 |
+
## Purpose
|
16 |
+
This license gives everyone as much permission to work with this software as
|
17 |
+
possible, while protecting contributors from liability, protecting the
|
18 |
+
freedom of end users, and reducing harm.
|
19 |
+
|
20 |
+
## Definitions
|
21 |
+
In this license, "model" refers to machine learning model weights, biases,
|
22 |
+
parameters, optimizer states, and any byproducts of a training or pretraining
|
23 |
+
process, whether in the form of checkpoints or any other form.
|
24 |
+
|
25 |
+
The term "derived model" refers to any model based on this model.
|
26 |
+
|
27 |
+
The term "software" also refers to any model along with documentation or
|
28 |
+
other resources provided with the software.
|
29 |
+
|
30 |
+
The term "source code" refers to the preferred form of making modifications
|
31 |
+
to software. It also includes any models, if applicable, but it does not
|
32 |
+
include any datasets used to train a model.
|
33 |
+
|
34 |
+
To "modify" also means to perform any training on a model or to combine a
|
35 |
+
model with another model.
|
36 |
+
|
37 |
+
## Acceptance
|
38 |
+
In order to receive this license, you must agree to its rules. The rules of
|
39 |
+
this license are both obligations under that agreement and conditions to your
|
40 |
+
license. You must not do anything with this software that triggers a rule that
|
41 |
+
you cannot or will not follow. If you do not agree, then you cannot use this
|
42 |
+
software in any way.
|
43 |
+
|
44 |
+
## Copyright
|
45 |
+
Each contributor licenses you to do everything with this software that would
|
46 |
+
otherwise infringe that contributor's copyright in it.
|
47 |
+
|
48 |
+
## Freedom
|
49 |
+
Neither this software nor any work that is combined with this software will be
|
50 |
+
considered a technological protection measure under the WIPO Copyright Treaty
|
51 |
+
or any similar law. Reverse engineering of this software and of any work that
|
52 |
+
is combined with this software is always allowed.
|
53 |
+
|
54 |
+
## Notices
|
55 |
+
You must ensure that everyone who gets a copy of any part of this software from
|
56 |
+
you, with or without changes, also gets the text of this license along with
|
57 |
+
the corresponding source code.
|
58 |
+
|
59 |
+
If you modify this software and allow users to interact with it through a
|
60 |
+
computer network, you must ensure they have a reasonable way to receive the
|
61 |
+
corresponding source code from you, whether that is via a download link or a
|
62 |
+
prominent written offer. As a special case, if you are only allowing users to
|
63 |
+
interact with a derived model, then you may choose to provide a download link
|
64 |
+
or written offer only for the derived model.
|
65 |
+
|
66 |
+
This software, all source code, and all modifications must be provided under
|
67 |
+
this license or another license that allows everything this license allows.
|
68 |
+
Note that this does not give you permission to change the license for this
|
69 |
+
software.
|
70 |
+
|
71 |
+
## Excuse
|
72 |
+
If anyone notifies you in writing that you have not complied with
|
73 |
+
[Notices](#notices), you can keep your license by taking all practical steps
|
74 |
+
to comply within 30 days after the notice. If you do not do so, your license
|
75 |
+
ends immediately.
|
76 |
+
|
77 |
+
## Output
|
78 |
+
The output of this software is not covered by this license, and no contributor
|
79 |
+
claims any rights to it.
|
80 |
+
|
81 |
+
## Patent
|
82 |
+
Each contributor licenses you to do everything with this software that would
|
83 |
+
otherwise infringe any patent claims they can license or become able to license.
|
84 |
+
|
85 |
+
## Reliability
|
86 |
+
No contributor can revoke this license.
|
87 |
+
|
88 |
+
## Alternatives
|
89 |
+
You can also use any non-model parts of this software under the terms of the
|
90 |
+
GNU AGPL 3.0, or any later version of that license. If you do,
|
91 |
+
[No Harm](#no-harm) and [No Liability](#no-liability) still apply.
|
92 |
+
|
93 |
+
## Revisions
|
94 |
+
The Freedom of Development Project may publish revised or new versions of the
|
95 |
+
Fair AI Public License. Those new versions will be similar in spirit to this
|
96 |
+
license.
|
97 |
+
|
98 |
+
Unless a contributor specifies otherwise, you have the option of following the
|
99 |
+
terms of any later version of this license. Your choice to follow a later
|
100 |
+
version of the license will not impose additional obligations on any
|
101 |
+
contributor. Even if you do choose to follow a later version, the restrictions
|
102 |
+
of [Prohibited Uses](#prohibited-uses) will still apply.
|
103 |
+
|
104 |
+
## Survival
|
105 |
+
The provisions of [No Harm](#no-harm) and [No Liability](#no-liability) survive
|
106 |
+
the end of your license.
|
107 |
+
|
108 |
+
## No Harm
|
109 |
+
You agree that no contributor's conduct in the creation of this software has
|
110 |
+
caused you any harm. As far as the law allows, you give up your right to pursue
|
111 |
+
any kind of legal claim against any contributor for actions related the
|
112 |
+
creation of this software, even if those actions broke a previous agreement.
|
113 |
+
|
114 |
+
Additionally, you agree not to use this model for harmful purposes, as listed
|
115 |
+
in [Prohibited Uses](#prohibited-uses). These restrictions do not apply to
|
116 |
+
non-model parts of this software.
|
117 |
+
|
118 |
+
## No Liability
|
119 |
+
***As far as the law allows, this software comes as is, without any warranty or
|
120 |
+
condition, and no contributor will be liable to anyone for any damages related
|
121 |
+
to this software or this license, under any kind of legal claim.***
|
122 |
+
|
123 |
+
## Prohibited Uses
|
124 |
+
You may not use this model or any derived model for the following:
|
125 |
+
|
126 |
+
- In any way that violates any applicable national, federal, state, local or
|
127 |
+
international law or regulation;
|
128 |
+
- For the purpose of exploiting, harming or attempting to exploit or harm
|
129 |
+
minors in any way;
|
130 |
+
- To generate or disseminate verifiably false information and/or content with
|
131 |
+
the purpose of harming others;
|
132 |
+
- To generate or disseminate personal identifiable information that can be used
|
133 |
+
to harm an individual;
|
134 |
+
- To defame, disparage or otherwise harass others;
|
135 |
+
- For fully automated decision making that adversely impacts an individual’s
|
136 |
+
legal rights or otherwise creates or modifies a binding, enforceable obligation;
|
137 |
+
- For any use intended to or which has the effect of discriminating against or
|
138 |
+
harming individuals or groups based on online or offline social behavior or
|
139 |
+
known or predicted personal or personality characteristics;
|
140 |
+
- To exploit any of the vulnerabilities of a specific group of persons based on
|
141 |
+
their age, social, physical or mental characteristics, in order to materially
|
142 |
+
distort the behavior of a person pertaining to that group in a manner that
|
143 |
+
causes or is likely to cause that person or another person physical or
|
144 |
+
psychological harm;
|
145 |
+
- For any use intended to or which has the effect of discriminating against
|
146 |
+
individuals or groups based on legally protected characteristics or categories;
|
147 |
+
- To provide medical advice and medical results interpretation;
|
148 |
+
- To generate or disseminate information for the purpose to be used for
|
149 |
+
administration of justice, law enforcement, immigration or asylum processes,
|
150 |
+
such as predicting an individual will commit fraud/crime commitment (e.g. by
|
151 |
+
text profiling, drawing causal relationships between assertions made in
|
152 |
+
documents, indiscriminate and arbitrarily-targeted use).
|
LICENSE_INHERIT
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
STABILITY AI NON-COMMERCIAL RESEARCH COMMUNITY LICENSE AGREEMENT
|
2 |
+
Dated: November 28, 2023
|
3 |
+
|
4 |
+
By using or distributing any portion or element of the Models, Software, Software Products or Derivative Works, you agree to be bound by this Agreement.
|
5 |
+
|
6 |
+
"Agreement" means this Stable Non-Commercial Research Community License Agreement.
|
7 |
+
|
8 |
+
“AUP” means the Stability AI Acceptable Use Policy available at https://stability.ai/use-policy, as may be updated from time to time.
|
9 |
+
|
10 |
+
"Derivative Work(s)” means (a) any derivative work of the Software Products as recognized by U.S. copyright laws and (b) any modifications to a Model, and any other model created which is based on or derived from the Model or the Model’s output. For clarity, Derivative Works do not include the output of any Model.
|
11 |
+
|
12 |
+
“Documentation” means any specifications, manuals, documentation, and other written information provided by Stability AI related to the Software.
|
13 |
+
|
14 |
+
"Licensee" or "you" means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity's behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
|
15 |
+
|
16 |
+
“Model(s)" means, collectively, Stability AI’s proprietary models and algorithms, including machine-learning models, trained model weights and other elements of the foregoing, made available under this Agreement.
|
17 |
+
|
18 |
+
“Non-Commercial Uses” means exercising any of the rights granted herein for the purpose of research or non-commercial purposes. Non-Commercial Uses does not include any production use of the Software Products or any Derivative Works.
|
19 |
+
|
20 |
+
"Stability AI" or "we" means Stability AI Ltd. and its affiliates.
|
21 |
+
|
22 |
+
|
23 |
+
"Software" means Stability AI’s proprietary software made available under this Agreement.
|
24 |
+
|
25 |
+
“Software Products” means the Models, Software and Documentation, individually or in any combination.
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
1. License Rights and Redistribution.
|
30 |
+
a. Subject to your compliance with this Agreement, the AUP (which is hereby incorporated herein by reference), and the Documentation, Stability AI grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty free and limited license under Stability AI’s intellectual property or other rights owned or controlled by Stability AI embodied in the Software Products to use, reproduce, distribute, and create Derivative Works of, the Software Products, in each case for Non-Commercial Uses only.
|
31 |
+
b. You may not use the Software Products or Derivative Works to enable third parties to use the Software Products or Derivative Works as part of your hosted service or via your APIs, whether you are adding substantial additional functionality thereto or not. Merely distributing the Software Products or Derivative Works for download online without offering any related service (ex. by distributing the Models on HuggingFace) is not a violation of this subsection. If you wish to use the Software Products or any Derivative Works for commercial or production use or you wish to make the Software Products or any Derivative Works available to third parties via your hosted service or your APIs, contact Stability AI at https://stability.ai/contact.
|
32 |
+
c. If you distribute or make the Software Products, or any Derivative Works thereof, available to a third party, the Software Products, Derivative Works, or any portion thereof, respectively, will remain subject to this Agreement and you must (i) provide a copy of this Agreement to such third party, and (ii) retain the following attribution notice within a "Notice" text file distributed as a part of such copies: "This Stability AI Model is licensed under the Stability AI Non-Commercial Research Community License, Copyright (c) Stability AI Ltd. All Rights Reserved.” If you create a Derivative Work of a Software Product, you may add your own attribution notices to the Notice file included with the Software Product, provided that you clearly indicate which attributions apply to the Software Product and you must state in the NOTICE file that you changed the Software Product and how it was modified.
|
33 |
+
2. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE SOFTWARE PRODUCTS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE SOFTWARE PRODUCTS, DERIVATIVE WORKS OR ANY OUTPUT OR RESULTS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE SOFTWARE PRODUCTS, DERIVATIVE WORKS AND ANY OUTPUT AND RESULTS.
|
34 |
+
3. Limitation of Liability. IN NO EVENT WILL STABILITY AI OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF STABILITY AI OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
35 |
+
4. Intellectual Property.
|
36 |
+
a. No trademark licenses are granted under this Agreement, and in connection with the Software Products or Derivative Works, neither Stability AI nor Licensee may use any name or mark owned by or associated with the other or any of its affiliates, except as required for reasonable and customary use in describing and redistributing the Software Products or Derivative Works.
|
37 |
+
b. Subject to Stability AI’s ownership of the Software Products and Derivative Works made by or for Stability AI, with respect to any Derivative Works that are made by you, as between you and Stability AI, you are and will be the owner of such Derivative Works
|
38 |
+
c. If you institute litigation or other proceedings against Stability AI (including a cross-claim or counterclaim in a lawsuit) alleging that the Software Products, Derivative Works or associated outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Stability AI from and against any claim by any third party arising out of or related to your use or distribution of the Software Products or Derivative Works in violation of this Agreement.
|
39 |
+
5. Term and Termination. The term of this Agreement will commence upon your acceptance of this Agreement or access to the Software Products and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Stability AI may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of any Software Products or Derivative Works. Sections 2-4 shall survive the termination of this Agreement.
|
40 |
+
|
41 |
+
6. Governing Law. This Agreement will be governed by and construed in accordance with the laws of the United States and the State of California without regard to choice of law
|
42 |
+
principles.
|
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
pipeline_tag: text-to-image
|
3 |
+
license: other
|
4 |
+
license_name: faipl-1.0-sd
|
5 |
+
license_link: LICENSE
|
6 |
+
prior:
|
7 |
+
- Disty0/sotediffusion-wuerstchen3-alpha3
|
8 |
+
---
|
9 |
+
|
10 |
+
# SoteDiffusion Wuerstchen3
|
11 |
+
|
12 |
+
Anime finetune of Würstchen V3.
|
13 |
+
Currently in active training.
|
14 |
+
No commercial use.
|
15 |
+
|
16 |
+
# Usage
|
17 |
+
Please refer to the main model: https://huggingface.co/Disty0/sotediffusion-wuerstchen3-alpha3
|
18 |
+
|
19 |
+
|
20 |
+
## Dataset
|
21 |
+
|
22 |
+
Used the images that got `extremely aesthetic, best quality` or `very aesthetic, best quality` from the **newest** dataset.
|
23 |
+
Trained with 120K~ images.
|
24 |
+
|
25 |
+
## Training:
|
26 |
+
|
27 |
+
**GPU used for training**: 1x AMD RX 7900 XTX 24GB
|
28 |
+
|
29 |
+
**Software used**: https://github.com/2kpr/StableCascade
|
30 |
+
|
31 |
+
### Config:
|
32 |
+
```
|
33 |
+
experiment_id: sotediffusion-wr3_3b-stage_b-alpha3
|
34 |
+
model_version: 3B
|
35 |
+
dtype: bfloat16
|
36 |
+
use_fsdp: False
|
37 |
+
|
38 |
+
batch_size: 16
|
39 |
+
grad_accum_steps: 16
|
40 |
+
updates: 7680
|
41 |
+
backup_every: 512
|
42 |
+
save_every: 256
|
43 |
+
warmup_updates: 128
|
44 |
+
|
45 |
+
lr: 1.0e-5
|
46 |
+
optimizer_type: Adafactor
|
47 |
+
adaptive_loss_weight: False
|
48 |
+
stochastic_rounding: True
|
49 |
+
|
50 |
+
image_size: 768
|
51 |
+
multi_aspect_ratio: [1/1, 1/2, 1/3, 2/3, 3/4, 1/5, 2/5, 3/5, 4/5, 1/6, 5/6, 9/16]
|
52 |
+
shift: 4
|
53 |
+
|
54 |
+
checkpoint_path: /mnt/DataSSD/AI/SoteDiffusion/Wuerstchen3/
|
55 |
+
output_path: /mnt/DataSSD/AI/SoteDiffusion/Wuerstchen3/
|
56 |
+
webdataset_path: file:/mnt/DataSSD/AI/anime_image_dataset/best/newest_best.tar
|
57 |
+
|
58 |
+
effnet_checkpoint_path: /mnt/DataSSD/AI/models/wuerstchen3/effnet_encoder.safetensors
|
59 |
+
stage_a_checkpoint_path: /mnt/DataSSD/AI/models/wuerstchen3/stage_a.safetensors
|
60 |
+
generator_checkpoint_path: /mnt/DataSSD/AI/SoteDiffusion/Wuerstchen3/generator-045056.safetensors
|
61 |
+
```
|
62 |
+
|
63 |
+
|
64 |
+
## Limitations and Bias
|
65 |
+
|
66 |
+
### Bias
|
67 |
+
|
68 |
+
- This model is intended for anime illustrations.
|
69 |
+
Realistic capabilites are not tested at all.
|
70 |
+
- Still in active training.
|
71 |
+
|
72 |
+
### Limitations
|
73 |
+
- Far shot eyes are can bad.
|
74 |
+
|
75 |
+
|
76 |
+
## License
|
77 |
+
|
78 |
+
SoteDiffusion models falls under [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/) license, which is compatible with Stable Diffusion models’ license. Key points:
|
79 |
+
|
80 |
+
1. **Modification Sharing:** If you modify SoteDiffusion models, you must share both your changes and the original license.
|
81 |
+
2. **Source Code Accessibility:** If your modified version is network-accessible, provide a way (like a download link) for others to get the source code. This applies to derived models too.
|
82 |
+
3. **Distribution Terms:** Any distribution must be under this license or another with similar rules.
|
83 |
+
4. **Compliance:** Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values.
|
84 |
+
|
85 |
+
**Notes**: Anything not covered by Fair AI license is inherited from Stability AI Non-Commercial license which is named as LICENSE_INHERIT. Meaning, still no commercial use of any kind.
|