Update README.md
Browse files24 unmodified lines25262728293031323334353637382 unmodified lines414243444546474849103 unmodified lines1531541551561571581591604 unmodified lines16516616716816917017149 unmodified lines22122222322422522622722822923024 unmodified linesCPI-Bench is a comprehensive suite of benchmarks designed to evaluate whether an imagegeneration/editing model is truly capable of handling diverse, real-world, andknowledge-intensive tasks. It consists of four complementary subsets:| Benchmark | Description | Data Files ||---|---|---|| **CPI-General-Benchmark** | General-purpose image editing tasks covering a wide range of task types | `CPI_general_benchmark/CPI_general_benchmark-*.parquet` || **CPI-Practical-Benchmark** | Image editing tasks grounded in everyday, real-life scenarios | `CPI_practical_benchmark/CPI_practical_benchmark-*.parquet` || **CPI-Intelligent-Benchmark** | Image editing tasks that require domain knowledge and multi-step reasoning, with reference input image(s) | `CPI_intelligent_benchmark-*.parquet` |parquet` |Each sample provides an editing/generation instruction (and, for image-editing tasks,one or more reference images). Models are expected to produce an output image2 unmodified lines## ✨ Key Features- **Four Complementary Subsets**: covers general-purpose editing, life-scenarioediting, and knowledge-intensive reasoning for both image-editing (i2i) andtext-to-image (t2i) settings.- **Multi-Image Input Support**: `source` fields may contain one or multiplereference images, supporting complex multi-image editing scenarios.- **Bilingual Instructions**: Chinese and English instructions are provided for103 unmodified linesFirst, generate your model's outputs for each sample. If you are not sure which rowcorresponds to which image(s)/instruction, use the export helper first — itauto-detects the dataset schema (image-editing vs. text-to-image) and works for allfour subsets:```bashpython bench_eval_code/export_samples.py \4 unmodified lines```This produces:- `source_images/` — reference input images per sample (skipped entirely for the t2i subset, which has no reference images)- `samples.jsonl` — per-sample metadata: `sample_index`, `id`, `task`, `instruction`, `rationale` (if present)- `result_template.jsonl` — a template result file; fill in the `result` field with your model's output path after inference49 unmodified lines- **`cases.jsonl`** — per-sample scoring details (per-dimension scores + raw VLM responses)- **`summary.json`** — aggregated scores, broken down by task type / domain / dimensionFor the t2i subset, `summary.json` additionally includes:- `overall_avg_score_pct` — the 1–5 score mapped to a 0–100 percentage scale- `overall_perfect_rate` — the fraction of samples that achieve the maximum score (5) on both dimensions- `by_domain` — scores aggregated by top-level domain (the part of `expert_domain` before the `-`)## Features24 unmodified lines25262728293031323334353637382 unmodified lines4142434445464748103 unmodified lines1521531541551561571584 unmodified lines16316416516616716816949 unmodified lines21922022122222322424 unmodified linesCPI-Bench is a comprehensive suite of benchmarks designed to evaluate whether an imagegeneration/editing model is truly capable of handling diverse, real-world, andknowledge-intensive tasks. It consists of three complementary subsets:| Benchmark | Description | Data Files ||---|---|---|| **CPI-General-Benchmark** | General-purpose image editing tasks covering a wide range of task types | `CPI_general_benchmark/CPI_general_benchmark-*.parquet` || **CPI-Practical-Benchmark** | Image editing tasks grounded in everyday, real-life scenarios | `CPI_practical_benchmark/CPI_practical_benchmark-*.parquet` || **CPI-Intelligent-Benchmark** | Image editing tasks that require domain knowledge and multi-step reasoning, with reference input image(s) | `CPI_intelligent_benchmark-*.parquet` |Each sample provides an editing/generation instruction (and, for image-editing tasks,one or more reference images). Models are expected to produce an output image2 unmodified lines## ✨ Key Features- **Three Complementary Subsets**: covers general-purpose editing, life-scenarioediting, and knowledge-intensive reasoning for image-editing (i2i) settings.- **Multi-Image Input Support**: `source` fields may contain one or multiplereference images, supporting complex multi-image editing scenarios.- **Bilingual Instructions**: Chinese and English instructions are provided for103 unmodified linesFirst, generate your model's outputs for each sample. If you are not sure which rowcorresponds to which image(s)/instruction, use the export helper first — itauto-detects the dataset schema and works for all three subsets:```bashpython bench_eval_code/export_samples.py \4 unmodified lines```This produces:- `source_images/` — reference input images per sample- `samples.jsonl` — per-sample metadata: `sample_index`, `id`, `task`, `instruction`, `rationale` (if present)- `result_template.jsonl` — a template result file; fill in the `result` field with your model's output path after inference49 unmodified lines- **`cases.jsonl`** — per-sample scoring details (per-dimension scores + raw VLM responses)- **`summary.json`** — aggregated scores, broken down by task type / domain / dimension## Features
README.md+6-12