Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- yandex/alchemist
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
base_model:
|
| 8 |
+
- stabilityai/stable-diffusion-3.5-medium
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
[Stable Diffusion 3.5 Large Alchemist](https://huggingface.co/yandex/stable-diffusion-3.5-large-alchemist) is finetuned version of [Stable Diffusion 3.5 Large](https://huggingface.co/stabilityai/stable-diffusion-3.5-large) on [Alchemist](https://huggingface.co/datasets/yandex/alchemist) dataset, proposed in the research paper "Alchemist: Turning Public Text-to-Image Data into Generative Gold". Model generates images with improved aesthetics and complexity. Find more details about dataset and training details in the paer
|
| 12 |
+
|
| 13 |
+
## Using with Diffusers
|
| 14 |
+
Upgrade to the latest version of the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 15 |
+
```
|
| 16 |
+
pip install -U diffusers
|
| 17 |
+
```
|
| 18 |
+
|
| 19 |
+
and then you can run
|
| 20 |
+
```py
|
| 21 |
+
import torch
|
| 22 |
+
from diffusers import StableDiffusion3Pipeline
|
| 23 |
+
pipe = StableDiffusion3Pipeline.from_pretrained("yandex/stable-diffusion-3.5-large-alchemist", torch_dtype=torch.bfloat16)
|
| 24 |
+
pipe = pipe.to("cuda")
|
| 25 |
+
image = pipe(
|
| 26 |
+
"A capybara holding a sign that reads Hello World",
|
| 27 |
+
num_inference_steps=40,
|
| 28 |
+
guidance_scale=4.5,
|
| 29 |
+
).images[0]
|
| 30 |
+
image.save("capybara.png")
|
| 31 |
+
```
|