Datasets:
|
Download README_zh.md from OpenMOSS-Team/RealLayoutArena: direct link, hf CLI and curl.
- Browser
- Download file 2.14 kB
-
https://huggingface.co/datasets/OpenMOSS-Team/RealLayoutArena/resolve/main/README_zh.md
- Command line
-
hf download hf://datasets/OpenMOSS-Team/RealLayoutArena/README_zh.md
-
curl -L -o README_zh.md https://huggingface.co/datasets/OpenMOSS-Team/RealLayoutArena/resolve/main/README_zh.md
2.14 kB
| # RealLayoutArena | |
| [English](README.md) | **简体中文** | |
| RealLayoutArena(RLA)是 [MOSS-Image](https://github.com/OpenMOSS/MOSS-Image) 项目用于主观评测竞技场的文生图基准,包含界面、海报和信息图三个类别的 **61 个任务**。 | |
| ## 数据集 | |
| | 类别 | 任务数 | | |
| |---|---:| | |
| | UI | 21 | | |
| | 海报 | 20 | | |
| | 信息图 | 20 | | |
| | **合计** | **61** | | |
| 每个任务提供一条中文提示词及目标生成尺寸。画布约为一百万像素,宽高均为 16 的倍数。 | |
| ## 加载数据 | |
| ```bash | |
| pip install datasets | |
| ``` | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("OpenMOSS-Team/RealLayoutArena", split="test") | |
| prompt = ds[0]["prompt"] | |
| width, height = ds[0]["width"], ds[0]["height"] | |
| ``` | |
| 数据集包含一个 `test` 划分。`data/test.parquet` 与 `layout_arena.jsonl` 提供相同的 61 个任务。 | |
| | 字段 | 含义 | | |
| |---|---| | |
| | `id`, `category`, `title` | 任务标识、类别和标题 | | |
| | `prompt_language` | 提示词语言(`zh`) | | |
| | `width`, `height` | 目标生成尺寸 | | |
| | `prompt` | 输入提示词 | | |
| ## 竞技场评测 | |
| 使用相同提示词生成不同模型的图像,以匿名成对展示的方式进行人工偏好投票,比较整体视觉质量、布局和文字呈现。 | |
| 导出生成任务: | |
| ```bash | |
| python evaluation/bench.py export --output jobs.jsonl --seed 42 | |
| ``` | |
| 推理适配器用法见[生成工具说明](evaluation/README.md)。 | |
| <details> | |
| <summary>附加评分工具</summary> | |
| 数据中的 `rubric` 字段提供各任务的评测标注。`evaluation/bench.py` 还提供 `judge-tasks` 和 `summarize` 命令,用于创建评分任务和汇总结果。 | |
| </details> | |
| ## 引用 | |
| 使用 RealLayoutArena 时,请引用 [MOSS-Image 技术报告](https://arxiv.org/abs/2610.23374): | |
| ```bibtex | |
| @misc{ai2026mossimagetechnicalreport, | |
| title={MOSS-Image Technical Report}, | |
| author={MOSI. AI}, | |
| year={2026}, | |
| eprint={2610.23374}, | |
| archivePrefix={arXiv}, | |
| primaryClass={cs.CV}, | |
| url={https://arxiv.org/abs/2610.23374}, | |
| } | |
| ``` | |
| ## 许可证 | |
| 代码采用 [Apache-2.0](CODE_LICENSE) 许可证,许可范围见 [LICENSE.md](LICENSE.md)。 | |