Run this model with HF Jobs
Run chestnutlzj/Edit-R1-FLUX.1-Kontext-dev on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/chestnutlzj/Edit-R1-FLUX.1-Kontext-dev. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/chestnutlzj/Edit-R1-FLUX.1-Kontext-dev on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use chestnutlzj/Edit-R1-FLUX.1-Kontext-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chestnutlzj/Edit-R1-FLUX.1-Kontext-dev with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("chestnutlzj/Edit-R1-FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update model card with UniWorld-V2 paper link and main GitHub repository (#1)
Browse files- Update model card with UniWorld-V2 paper link and main GitHub repository (4273be943a6e2e8bb96f7a55d0cebe6ceb1a5ad8)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
12345678910111213141534 unmodified lines50515253---license: apache-2.0language:- enlibrary_name: diffuserspipeline_tag: image-to-image---# UniWorld-R1<p align="center"><a href="https://github.com/PKU-YuanGroup/Edit-R1"><b>Code</b></a> | <a href="https://github.com/PKU-YuanGroup/Edit-R1"><b>Dataset</b></a></p>34 unmodified lines# LicenceFLUX.1-Kontext-dev falls under the [FLUX.1 [dev] Non-Commercial License](https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev).123456789101112131415161734 unmodified lines52535455---language:- enlibrary_name: diffuserslicense: apache-2.0pipeline_tag: image-to-image---# UniWorld-R1This model is part of the work presented in the paper [Uniworld-V2: Reinforce Image Editing with Diffusion Negative-aware Finetuning and MLLM Implicit Feedback](https://huggingface.co/papers/2510.16888).<p align="center"><a href="https://github.com/PKU-YuanGroup/UniWorld-V2"><b>Code</b></a> | <a href="https://github.com/PKU-YuanGroup/Edit-R1"><b>Dataset</b></a></p>34 unmodified lines# LicenceFLUX.1-Kontext-dev falls under the [FLUX.1 [dev] Non-Commercial License](https://github.com/black-forest-labs/flux/blob/main/model_licenses/LICENSE-FLUX1-dev).
README.md+5-3