Reinforcement Learning
Diffusers
Safetensors
English
image-quality-assessment
vision-language
image-editing
Instructions to use RobinY99/MR-IQA-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RobinY99/MR-IQA-2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("RobinY99/MR-IQA-2", 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
|
Download code/docs/actor-3.md from RobinY99/MR-IQA-2: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/RobinY99/MR-IQA-2/resolve/main/code/docs/actor-3.md
- Command line
-
hf download hf://RobinY99/MR-IQA-2/code/docs/actor-3.md
-
curl -L -o actor-3.md https://huggingface.co/RobinY99/MR-IQA-2/resolve/main/code/docs/actor-3.md
1.16 kB
| # Actor-3 — Better consistency | |
| Actor-3 is the consistency-oriented MR-IQA-2 Actor. It was initialized from | |
| Qwen3.5-4B and trained for five epochs (1,455 optimizer updates). The language | |
| model was fully trainable; the vision encoder and visual aligner were frozen. | |
| The training objective combines pairwise source/edited-image consistency with | |
| retained edit utility and loss-side KL (`beta=0.02`). Its preservation-first v9 | |
| prompt discourages semantic changes to subjects, objects, layout, text, | |
| composition, and unaffected regions. | |
| The exact prompt contracts are published as: | |
| - [training prompt](../configs/prompts/actor_3_training_prompt.json) | |
| - [test prompt](../configs/prompts/actor_3_test_prompt.json) | |
| Run deterministic single-image inference with: | |
| ```bash | |
| python examples/actor_3_inference.py /absolute/path/to/input.jpg | |
| ``` | |
| To use an already downloaded checkpoint: | |
| ```bash | |
| python examples/actor_3_inference.py /absolute/path/to/input.jpg \ | |
| --model /absolute/path/to/actor-3 \ | |
| --local-files-only | |
| ``` | |
| The script prints and optionally saves the raw completion plus the parsed | |
| `reasoning.evidence`, `reasoning.solution`, and `rating` fields. | |