alexkkir's picture
Upload StableDiffusionPipeline
d914f56 verified
|
raw
history blame
1.23 kB
metadata
license: apache-2.0
datasets:
  - yandex/alchemist
language:
  - en
base_model:
  - stable-diffusion-v1-5/stable-diffusion-v1-5
library_name: diffusers

Stable Diffusion 1.5 Alchemist is finetuned version of Stable Diffusion 1.5 on 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

Using with Diffusers

Upgrade to the latest version of the 🧨 diffusers library

pip install -U diffusers

and then you can run

import torch
from diffusers import StableDiffusion3Pipeline
pipe = StableDiffusion3Pipeline.from_pretrained("yandex/stable-diffusion-v1-5-alchemist", torch_dtype=torch.float16)
pipe = pipe.to("cuda")
image = pipe(
    "A capybara holding a sign that reads Hello World",
    num_inference_steps=40,
    guidance_scale=4.5,
).images[0]
image.save("capybara.png")