Update README.md
Browse files
README.md
CHANGED
@@ -1,58 +1,71 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
-
|
7 |
-
- Probing and understanding the limitations and biases of generative models.
|
8 |
-
- Generation of artworks and use in design and other artistic processes.
|
9 |
-
- Applications in educational or creative tools.
|
10 |
-
- Research on generative models.
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
Excluded uses are described below.
|
13 |
|
14 |
-
|
15 |
-
|
16 |
|
17 |
The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
|
18 |
|
19 |
-
|
20 |
The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
|
21 |
|
22 |
-
|
23 |
Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to:
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
which consists of images that are primarily limited to English descriptions.
|
52 |
-
Texts and images from communities and cultures that use other languages are likely to be insufficiently accounted for.
|
53 |
-
This affects the overall output of the model, as white and western cultures are often set as the default. Further, the
|
54 |
-
ability of the model to generate content with non-English prompts is significantly worse than with English-language prompts.
|
55 |
-
|
56 |
-
|
57 |
-
### Intel’s Human Rights Disclaimer:
|
58 |
-
Intel is committed to respecting human rights and avoiding complicity in human rights abuses. See Intel's Global Human Rights Principles. Intel's products and software are intended only to be used in applications that do not cause or contribute to a violation of an internationally recognized human right.
|
|
|
1 |
+
SD v1-5 Reference-only Model Card
|
2 |
+
The original source of this model is : runwayml/stable-diffusion-v1-5. This model is just optimized and converted to Intermediate Representation (IR) using OpenVino's Model Optimizer and POT tool to run on Intel's Hardware - CPU, GPU, NPU.
|
3 |
+
The reference-only is like a controlnet but no additional trained controlnet model needed. It requires hacking the original unet to unet_read & unet_write.
|
4 |
+
SD will read arbitary images for reference, and generate images by referencing the image and text prompt.
|
5 |
+
The description is here: https://github.com/Mikubill/sd-webui-controlnet/discussions/1236
|
6 |
|
7 |
+
Intended to be used with:
|
8 |
+
|
9 |
+
GIMP plugin openvino-ai-plugins-gimp
|
10 |
+
Original Model Details
|
11 |
+
Original Developed by: Lvmin Zhang
|
12 |
+
|
13 |
+
Model type: Diffusion-based text-to-image generation model
|
14 |
+
|
15 |
+
Language(s): English
|
16 |
+
|
17 |
+
License: The CreativeML OpenRAIL M license is an Open RAIL M license, adapted from the work that BigScience and the RAIL Initiative are jointly carrying in the area of responsible AI licensing. See also the article about the BLOOM Open RAIL license on which our license is based.
|
18 |
|
19 |
+
Model Description: This is a model that can be used to generate and modify images based on text prompts. It is a Latent Diffusion Model that uses a fixed, pretrained text encoder (CLIP ViT-L/14) as suggested in the Imagen paper.
|
|
|
|
|
|
|
|
|
20 |
|
21 |
+
Resources for more information: GitHub Repository, Paper.
|
22 |
+
https://github.com/Mikubill/sd-webui-controlnet/discussions/1236
|
23 |
+
|
24 |
+
Uses
|
25 |
+
Direct Use
|
26 |
+
The model is intended for research purposes only. Possible research areas and tasks include
|
27 |
+
|
28 |
+
Safe deployment of models which have the potential to generate harmful content.
|
29 |
+
Probing and understanding the limitations and biases of generative models.
|
30 |
+
Generation of artworks and use in design and other artistic processes.
|
31 |
+
Applications in educational or creative tools.
|
32 |
+
Research on generative models.
|
33 |
Excluded uses are described below.
|
34 |
|
35 |
+
Misuse, Malicious Use, and Out-of-Scope Use
|
36 |
+
Note: This section is taken from the DALLE-MINI model card, but applies in the same way to Stable Diffusion v1.
|
37 |
|
38 |
The model should not be used to intentionally create or disseminate images that create hostile or alienating environments for people. This includes generating images that people would foreseeably find disturbing, distressing, or offensive; or content that propagates historical or current stereotypes.
|
39 |
|
40 |
+
Out-of-Scope Use
|
41 |
The model was not trained to be factual or true representations of people or events, and therefore using the model to generate such content is out-of-scope for the abilities of this model.
|
42 |
|
43 |
+
Misuse and Malicious Use
|
44 |
Using the model to generate content that is cruel to individuals is a misuse of this model. This includes, but is not limited to:
|
45 |
|
46 |
+
Generating demeaning, dehumanizing, or otherwise harmful representations of people or their environments, cultures, religions, etc.
|
47 |
+
Intentionally promoting or propagating discriminatory content or harmful stereotypes.
|
48 |
+
Impersonating individuals without their consent.
|
49 |
+
Sexual content without consent of the people who might see it.
|
50 |
+
Mis- and disinformation
|
51 |
+
Representations of egregious violence and gore
|
52 |
+
Sharing of copyrighted or licensed material in violation of its terms of use.
|
53 |
+
Sharing content that is an alteration of copyrighted or licensed material in violation of its terms of use.
|
54 |
+
Limitations and Bias
|
55 |
+
Limitations
|
56 |
+
The model does not achieve perfect photorealism
|
57 |
+
The model cannot render legible text
|
58 |
+
The model does not perform well on more difficult tasks which involve compositionality, such as rendering an image corresponding to “A red cube on top of a blue sphere”
|
59 |
+
Faces and people in general may not be generated properly.
|
60 |
+
The model was trained mainly with English captions and will not work as well in other languages.
|
61 |
+
The autoencoding part of the model is lossy
|
62 |
+
The model was trained on a large-scale dataset LAION-5B which contains adult material and is not fit for product use without additional safety mechanisms and considerations.
|
63 |
+
No additional measures were used to deduplicate the dataset. As a result, we observe some degree of memorization for images that are duplicated in the training data. The training data can be searched at https://rom1504.github.io/clip-retrieval/ to possibly assist in the detection of memorized images.
|
64 |
+
Bias
|
65 |
+
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases. Stable Diffusion v1 was trained on subsets of LAION-2B(en), which consists of images that are primarily limited to English descriptions. Texts and images from communities and cultures that use other languages are likely to be insufficiently accounted for. This affects the overall output of the model, as white and western cultures are often set as the default. Further, the ability of the model to generate content with non-English prompts is significantly worse than with English-language prompts.
|
66 |
+
|
67 |
+
Intel’s Human Rights Disclaimer:
|
68 |
+
Intel is committed to respecting human rights and avoiding complicity in human rights abuses. See Intel's Global Human Rights Principles. Intel's products and software are intended only to be used in applications that do not cause or contribute to a violation of an internationally recognized human right.
|
69 |
+
|
70 |
+
Results:
|
71 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/65af4bb6101482afcc745aad/mu5dg_EUKkhPekuJzXepO.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|