xmz111 commited on
Commit
8913386
·
verified ·
1 Parent(s): 6d969e3

Upload 3 files

Browse files
zanyi/README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - text-to-image
5
+ language:
6
+ - zh
7
+ - en
8
+ size_categories:
9
+ - n<1K
10
+ pretty_name: Knowledge-Grounded Image Synthesis Benchmark
11
+ configs:
12
+ - config_name: default
13
+ data_files:
14
+ - split: test
15
+ path: data/test-*.parquet
16
+ ---
17
+
18
+ # Knowledge-Grounded Image Synthesis Benchmark
19
+
20
+ 200 knowledge-grounded prompts × 2 image-generation models (Gemini, GPT-Image-1) = 400 generated images.
21
+
22
+ Each row of the dataset carries one prompt and the two model outputs side-by-side, so the HF dataset viewer renders **prompt + Gemini thumbnail + GPT-Image-1 thumbnail** on a single row.
23
+
24
+ ## Schema
25
+
26
+ | column | type | description |
27
+ |------------------|-------------|----------------------------------------------|
28
+ | `id` | string | e.g. `A-1`, `G-120` |
29
+ | `category` | string | `A` / `B` / `C` / `D` / `G` |
30
+ | `category_name` | string | human-readable category name |
31
+ | `language` | string | `zh` or `en` |
32
+ | `prompt` | string | the input prompt |
33
+ | `gemini_image` | image | Gemini output (jpg bytes, embedded) |
34
+ | `gptimage_image` | image | GPT-Image-1 output (png bytes, embedded) |
35
+
36
+ ## Categories
37
+
38
+ | Code | Name | Count |
39
+ |------|----------------------------------------|-------|
40
+ | A | Named Entity Multi-Attribute Display | 20 |
41
+ | B | Relational Binding | 20 |
42
+ | C | Ordering / Classification | 20 |
43
+ | D | Event-Grounded Specific Moment | 20 |
44
+ | G | Composite Knowledge Layout | 120 |
45
+
46
+ Bilingual: each category mixes Chinese (`zh`) and English (`en`) prompts.
47
+
48
+ ## Loading
49
+
50
+ ```python
51
+ from datasets import load_dataset
52
+ ds = load_dataset("knowledge-in-visual-synthesis/knowledge-image-synthesis", split="test")
53
+ row = ds[0]
54
+ row["prompt"] # str
55
+ row["gemini_image"] # PIL.Image
56
+ row["gptimage_image"] # PIL.Image
57
+ ```
58
+
59
+ ## File layout
60
+
61
+ ```
62
+ data/
63
+ ├── test-00000-of-00002.parquet # rows 0..99 (~273 MB)
64
+ └── test-00001-of-00002.parquet # rows 100..199 (~294 MB)
65
+ README.md
66
+ ```
67
+
68
+ Image bytes are embedded directly in the parquet files; no external image directory is required.
zanyi/data/test-00000-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27dbbb4bd8bd797f59a4ebc86aa836cfeb8a02a0636282aa7f537e10249df2ad
3
+ size 272636886
zanyi/data/test-00001-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53983228f0351401449c95a1c51f12201b02d3371e73bb9d6d16217bf805a4e0
3
+ size 294037512