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

  • Log In
  • Sign Up

YangZhou24
/
RealGRPO

Text-to-Image
Diffusers
Safetensors
English
diffusion
flux
grpo
alignment
Model card Files Files and versions
xet
Community

Instructions to use YangZhou24/RealGRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use YangZhou24/RealGRPO with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("YangZhou24/RealGRPO", 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
RealGRPO
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
YangZhou24's picture
YangZhou24
Create README.md
6ce214a verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    1.38 kB
    Create README.md 2 months ago
  • config.json
    552 Bytes
    Upload initial model weights 2 months ago
  • diffusion_pytorch_model.safetensors
    47.6 GB
    xet
    Upload initial model weights 2 months ago