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

  • Log In
  • Sign Up

kvablack
/
ddpo-alignment

Text-to-Image
Diffusers
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
1

Instructions to use kvablack/ddpo-alignment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use kvablack/ddpo-alignment with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("kvablack/ddpo-alignment", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a horse playing chess"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
ddpo-alignment
5.48 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 10 commits
kvablack's picture
kvablack
mishig's picture
mishig HF Staff
Add example inputs to the widget (#1)
23c5dc4 almost 3 years ago
  • feature_extractor
    Initial commit almost 3 years ago
  • safety_checker
    Initial commit almost 3 years ago
  • scheduler
    change scheduler almost 3 years ago
  • text_encoder
    Initial commit almost 3 years ago
  • tokenizer
    Initial commit almost 3 years ago
  • unet
    update checkpoint almost 3 years ago
  • vae
    Initial commit almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • README.md
    1.57 kB
    Add example inputs to the widget (#1) almost 3 years ago
  • model_index.json
    579 Bytes
    update checkpoint almost 3 years ago