Commit
•
eef8a74
1
Parent(s):
8e77bf0
Update README.md (#3)
Browse files- Update README.md (cf599b8bd029bbd52c18e411745f8646292a6d21)
Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>
README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
---
|
2 |
-
license:
|
3 |
-
|
|
|
|
|
4 |
---
|
5 |
# SD-XL 1.0-base Model Card
|
6 |
![row01](01.png)
|
@@ -61,7 +63,7 @@ You can use the model then as follows
|
|
61 |
from diffusers import DiffusionPipeline
|
62 |
import torch
|
63 |
|
64 |
-
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-0
|
65 |
pipe.to("cuda")
|
66 |
|
67 |
# if using torch < 2.0
|
@@ -115,5 +117,4 @@ The model was not trained to be factual or true representations of people or eve
|
|
115 |
- The autoencoding part of the model is lossy.
|
116 |
|
117 |
### Bias
|
118 |
-
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
|
119 |
-
|
|
|
1 |
---
|
2 |
+
license: openrail++
|
3 |
+
tags:
|
4 |
+
- text-to-image
|
5 |
+
- stable-diffusion
|
6 |
---
|
7 |
# SD-XL 1.0-base Model Card
|
8 |
![row01](01.png)
|
|
|
63 |
from diffusers import DiffusionPipeline
|
64 |
import torch
|
65 |
|
66 |
+
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16, use_safetensors=True, variant="fp16")
|
67 |
pipe.to("cuda")
|
68 |
|
69 |
# if using torch < 2.0
|
|
|
117 |
- The autoencoding part of the model is lossy.
|
118 |
|
119 |
### Bias
|
120 |
+
While the capabilities of image generation models are impressive, they can also reinforce or exacerbate social biases.
|
|