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

  • Log In
  • Sign Up

Duplicated from  ezlee258258/Inversion-DPO

ashllay
/
Inversion-DPO

Text-to-Image
Diffusers
Safetensors
StableDiffusionXLPipeline
stable-diffusion-xl
stable-diffusion
inversion
dpo
fine-tuned
Model card Files Files and versions
xet
Community

Instructions to use ashllay/Inversion-DPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ashllay/Inversion-DPO with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ashllay/Inversion-DPO", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
Inversion-DPO / unet
10.3 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
ashllay's picture
ashllay
Upload 2 files
6c4b9af verified 7 months ago
  • config.json
    1.77 kB
    Upload 2 files 7 months ago
  • diffusion_pytorch_model.safetensors
    10.3 GB
    xet
    Upload 2 files 7 months ago