Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

1aurent
/
ddpm-mnist-conditional

Diffusers
TensorBoard
Safetensors
PyTorch
DDPMPipeline
conditional-image-generation
diffusion-models-class
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use 1aurent/ddpm-mnist-conditional with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use 1aurent/ddpm-mnist-conditional with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("1aurent/ddpm-mnist-conditional", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
ddpm-mnist-conditional
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
1aurent's picture
1aurent
Delete events.out.tfevents.1697126101.79c810d71619.1725.0
1f64e01 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    106 Bytes
    Upload README.md with huggingface_hub over 2 years ago
  • config.json
    927 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • diffusion_pytorch_model.safetensors
    5.04 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • events.out.tfevents.1697126188.79c810d71619.2221.0
    1.64 MB
    xet
    Upload folder using huggingface_hub over 2 years ago
  • model_index.json
    186 Bytes
    Upload model_index.json with huggingface_hub over 2 years ago
  • scheduler_config.json
    467 Bytes
    Upload folder using huggingface_hub over 2 years ago