Datasets:
|
Download evaluation/README.md from OpenMOSS-Team/RealLayoutArena: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/datasets/OpenMOSS-Team/RealLayoutArena/resolve/main/evaluation/README.md
- Command line
-
hf download hf://datasets/OpenMOSS-Team/RealLayoutArena/evaluation/README.md
-
curl -L -o README.md https://huggingface.co/datasets/OpenMOSS-Team/RealLayoutArena/resolve/main/evaluation/README.md
672 Bytes
| # Generation utilities | |
| RealLayoutArena is used for subjective arena evaluation: generate images for the same tasks across models and compare them through anonymous human preference voting. | |
| Run these commands from the repository root with Python 3.10+ and Pillow: | |
| ```bash | |
| python evaluation/bench.py export --output jobs.jsonl --seed 42 | |
| python evaluation/local_inference.py --adapter my_adapter:generate \ | |
| --jobs jobs.jsonl --images images | |
| ``` | |
| Provide `generate(*, prompt, seed, width, height)` in `my_adapter.py`, returning a PIL image. The exported jobs contain the 61 prompts and their target dimensions. Images are saved as `images/<id>.png` for use in the arena. | |