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

  • Log In
  • Sign Up

yichaodu
/
DiffusionDPO-alignment-gpt-4v

Text-to-Image
Diffusers
Safetensors
stable-diffusion
stable-diffusion-diffusers
DPO
DiffusionDPO
Model card Files Files and versions
xet
Community

Instructions to use yichaodu/DiffusionDPO-alignment-gpt-4v with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use yichaodu/DiffusionDPO-alignment-gpt-4v with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("yichaodu/DiffusionDPO-alignment-gpt-4v", 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
DiffusionDPO-alignment-gpt-4v
3.44 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
yichaodu's picture
yichaodu
Upload README.md with huggingface_hub
567b915 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.76 kB
    Upload README.md with huggingface_hub almost 2 years ago
  • config.json
    1.86 kB
    Upload config.json with huggingface_hub almost 2 years ago
  • diffusion_pytorch_model.safetensors
    3.44 GB
    xet
    Upload diffusion_pytorch_model.safetensors with huggingface_hub almost 2 years ago