Diffusers
TensorBoard
English
DDPMPipeline
How to use from the
Use from the
Diffusers library
# Gated model: Login with a HF token with gated access permission
hf auth login
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("sycee/ddpm-butterflies-128", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

ddpm-butterflies-128

Model description

This diffusion model is trained with the 🤗 Diffusers library on the huggan/smithsonian_butterflies_subset dataset.

Intended uses & limitations

How to use

# TODO: add an example code snippet for running this diffusion pipeline

Limitations and bias

[TODO: provide examples of latent issues and potential remediations]

Training data

[TODO: describe the data used to train the model]

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0001
  • train_batch_size: 16
  • eval_batch_size: 16
  • gradient_accumulation_steps: 1
  • optimizer: AdamW with betas=(None, None), weight_decay=None and epsilon=None
  • lr_scheduler: None
  • lr_warmup_steps: 500
  • ema_inv_gamma: None
  • ema_inv_gamma: None
  • ema_inv_gamma: None
  • mixed_precision: fp16

Training results

📈 TensorBoard logs

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train sycee/ddpm-butterflies-128