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
File size: 1,159 Bytes
1f787fa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # 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.
|