TaobaoTmall-AlgorithmProducts commited on
Commit
5d430e1
·
verified ·
1 Parent(s): 6dd2a0a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -12
README.md CHANGED
@@ -25,14 +25,14 @@ configs:
25
 
26
  CPI-Bench is a comprehensive suite of benchmarks designed to evaluate whether an image
27
  generation/editing model is truly capable of handling diverse, real-world, and
28
- knowledge-intensive tasks. It consists of four complementary subsets:
29
 
30
  | Benchmark | Description | Data Files |
31
  |---|---|---|
32
  | **CPI-General-Benchmark** | General-purpose image editing tasks covering a wide range of task types | `CPI_general_benchmark/CPI_general_benchmark-*.parquet` |
33
  | **CPI-Practical-Benchmark** | Image editing tasks grounded in everyday, real-life scenarios | `CPI_practical_benchmark/CPI_practical_benchmark-*.parquet` |
34
  | **CPI-Intelligent-Benchmark** | Image editing tasks that require domain knowledge and multi-step reasoning, with reference input image(s) | `CPI_intelligent_benchmark-*.parquet` |
35
- parquet` |
36
 
37
  Each sample provides an editing/generation instruction (and, for image-editing tasks,
38
  one or more reference images). Models are expected to produce an output image
@@ -41,9 +41,8 @@ quality dimensions.
41
 
42
  ## ✨ Key Features
43
 
44
- - **Four Complementary Subsets**: covers general-purpose editing, life-scenario
45
- editing, and knowledge-intensive reasoning for both image-editing (i2i) and
46
- text-to-image (t2i) settings.
47
  - **Multi-Image Input Support**: `source` fields may contain one or multiple
48
  reference images, supporting complex multi-image editing scenarios.
49
  - **Bilingual Instructions**: Chinese and English instructions are provided for
@@ -153,8 +152,7 @@ penalty for factual/knowledge errors.
153
 
154
  First, generate your model's outputs for each sample. If you are not sure which row
155
  corresponds to which image(s)/instruction, use the export helper first — it
156
- auto-detects the dataset schema (image-editing vs. text-to-image) and works for all
157
- four subsets:
158
 
159
  ```bash
160
  python bench_eval_code/export_samples.py \
@@ -165,7 +163,7 @@ python bench_eval_code/export_samples.py \
165
  ```
166
 
167
  This produces:
168
- - `source_images/` — reference input images per sample (skipped entirely for the t2i subset, which has no reference images)
169
  - `samples.jsonl` — per-sample metadata: `sample_index`, `id`, `task`, `instruction`, `rationale` (if present)
170
  - `result_template.jsonl` — a template result file; fill in the `result` field with your model's output path after inference
171
 
@@ -221,10 +219,6 @@ Each script produces two files in `--output_dir`:
221
  - **`cases.jsonl`** — per-sample scoring details (per-dimension scores + raw VLM responses)
222
  - **`summary.json`** — aggregated scores, broken down by task type / domain / dimension
223
 
224
- For the t2i subset, `summary.json` additionally includes:
225
- - `overall_avg_score_pct` — the 1–5 score mapped to a 0–100 percentage scale
226
- - `overall_perfect_rate` — the fraction of samples that achieve the maximum score (5) on both dimensions
227
- - `by_domain` — scores aggregated by top-level domain (the part of `expert_domain` before the `-`)
228
 
229
  ## Features
230
 
 
25
 
26
  CPI-Bench is a comprehensive suite of benchmarks designed to evaluate whether an image
27
  generation/editing model is truly capable of handling diverse, real-world, and
28
+ knowledge-intensive tasks. It consists of three complementary subsets:
29
 
30
  | Benchmark | Description | Data Files |
31
  |---|---|---|
32
  | **CPI-General-Benchmark** | General-purpose image editing tasks covering a wide range of task types | `CPI_general_benchmark/CPI_general_benchmark-*.parquet` |
33
  | **CPI-Practical-Benchmark** | Image editing tasks grounded in everyday, real-life scenarios | `CPI_practical_benchmark/CPI_practical_benchmark-*.parquet` |
34
  | **CPI-Intelligent-Benchmark** | Image editing tasks that require domain knowledge and multi-step reasoning, with reference input image(s) | `CPI_intelligent_benchmark-*.parquet` |
35
+
36
 
37
  Each sample provides an editing/generation instruction (and, for image-editing tasks,
38
  one or more reference images). Models are expected to produce an output image
 
41
 
42
  ## ✨ Key Features
43
 
44
+ - **Three Complementary Subsets**: covers general-purpose editing, life-scenario
45
+ editing, and knowledge-intensive reasoning for image-editing (i2i) settings.
 
46
  - **Multi-Image Input Support**: `source` fields may contain one or multiple
47
  reference images, supporting complex multi-image editing scenarios.
48
  - **Bilingual Instructions**: Chinese and English instructions are provided for
 
152
 
153
  First, generate your model's outputs for each sample. If you are not sure which row
154
  corresponds to which image(s)/instruction, use the export helper first — it
155
+ auto-detects the dataset schema and works for all three subsets:
 
156
 
157
  ```bash
158
  python bench_eval_code/export_samples.py \
 
163
  ```
164
 
165
  This produces:
166
+ - `source_images/` — reference input images per sample
167
  - `samples.jsonl` — per-sample metadata: `sample_index`, `id`, `task`, `instruction`, `rationale` (if present)
168
  - `result_template.jsonl` — a template result file; fill in the `result` field with your model's output path after inference
169
 
 
219
  - **`cases.jsonl`** — per-sample scoring details (per-dimension scores + raw VLM responses)
220
  - **`summary.json`** — aggregated scores, broken down by task type / domain / dimension
221
 
 
 
 
 
222
 
223
  ## Features
224