Instructions to use CodeGoat24/FLUX.1-dev-PrefGRPO with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CodeGoat24/FLUX.1-dev-PrefGRPO with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CodeGoat24/FLUX.1-dev-PrefGRPO", 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 Settings
- Draw Things
- DiffusionBee
Commit History
-
Add pipeline tag, abstract, code link, and relevant images
Verified signatureThis PR enhances the model card for `FLUX.1-dev-PrefGRPO` by: * Adding the `pipeline_tag: text-to-image` to the metadata, ensuring the model appears under the correct pipeline filter on the Hugging Face Hub (https://huggingface.co/models?pipeline_tag=text-to-image). * Updating the main heading to include the full paper title for better context and discoverability. * Including the paper's abstract to provide a comprehensive overview of the model's contributions and purpose. * Adding an explicit link to the Pref-GRPO GitHub repository (`https://github.com/CodeGoat24/Pref-GRPO`) in the resources section. * Embedding key pipeline and reward hacking explanation images from the GitHub repository to visually explain the model's mechanics.1778272
-
Update README.md
Verified signature40b5f3c -
Update README.md
Verified signature8ac1768
-
Update README.md
Verified signature6d3c106
-
Update vae/config.json
Verified signature292f2b7 -
Update transformer/config.json
Verified signaturedb1aece -
Upload FluxPipeline
Verified signature245e967 -
initial commit
Verified signature96ccb2c