shunk031 commited on
Commit
c4e0df0
·
verified ·
1 Parent(s): a20f1c1

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +298 -58
README.md CHANGED
@@ -1,60 +1,300 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: int32
6
- - name: background_image
7
- dtype: image
8
- - name: background_image_relpath
9
- dtype: string
10
- - name: psd_path
11
- dtype: string
12
- - name: regions
13
- sequence:
14
- sequence: int32
15
- length: 4
16
- - name: layers
17
- sequence:
18
- - name: layer_name
19
- dtype: string
20
- - name: text
21
- dtype: string
22
- - name: bbox
23
- sequence: int32
24
- length: 4
25
- - name: angle
26
- dtype: int32
27
- - name: psd_size
28
- sequence: int32
29
- length: 2
30
- - name: stroke_width
31
- dtype: float32
32
- - name: font
33
- dtype: string
34
- - name: font_size
35
- dtype: float32
36
- - name: tracking
37
- dtype: float32
38
- - name: justification
39
- dtype: int32
40
- - name: fill_color
41
- sequence: float32
42
- length: 4
43
- - name: layer_image
44
- dtype: image
45
- - name: layer_image_relpath
46
- dtype: string
47
- - name: label
48
- dtype: string
49
- splits:
50
- - name: train
51
- num_bytes: 234187965023.898
52
- num_examples: 102703
53
- download_size: 227886221521
54
- dataset_size: 234187965023.898
55
- configs:
56
- - config_name: default
57
- data_files:
58
- - split: train
59
- path: data/train-*
60
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: cc-by-nc-4.0
5
+ pretty_name: GenPoster100K
6
+ tags:
7
+ - graphic-design
8
+ - layout-generation
9
+ - multimodal
10
+ - poster-design
11
+ annotations_creators:
12
+ - machine-generated
13
+ language_creators:
14
+ - found
15
+ size_categories:
16
+ - 100K<n<1M
17
+ source_datasets:
18
+ - original
19
+ task_categories:
20
+ - text-to-image
21
+ - image-to-text
22
+ task_ids:
23
+ - other:content-aware-layout-generation
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ---
25
+
26
+ # Dataset Card for GenPoster100K
27
+
28
+ [![CI](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/ci.yaml/badge.svg)](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/ci.yaml)
29
+ [![Sync HF](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/push_to_hub.yaml/badge.svg)](https://github.com/creative-graphic-design/huggingface-datasets/actions/workflows/push_to_hub.yaml)
30
+
31
+ ## Table of Contents
32
+
33
+ - [Dataset Description](#dataset-description)
34
+ - [Dataset Summary](#dataset-summary)
35
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
36
+ - [Languages](#languages)
37
+ - [Dataset Structure](#dataset-structure)
38
+ - [Data Instances](#data-instances)
39
+ - [Data Fields](#data-fields)
40
+ - [Data Splits](#data-splits)
41
+ - [Dataset Creation](#dataset-creation)
42
+ - [Curation Rationale](#curation-rationale)
43
+ - [Source Data](#source-data)
44
+ - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
45
+ - [Who are the source language producers?](#who-are-the-source-language-producers)
46
+ - [Annotations](#annotations)
47
+ - [Annotation process](#annotation-process)
48
+ - [Who are the annotators?](#who-are-the-annotators)
49
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
50
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
51
+ - [Social Impact of Dataset](#social-impact-of-dataset)
52
+ - [Discussion of Biases](#discussion-of-biases)
53
+ - [Other Known Limitations](#other-known-limitations)
54
+ - [Additional Information](#additional-information)
55
+ - [Dataset Curators](#dataset-curators)
56
+ - [Licensing Information](#licensing-information)
57
+ - [Citation Information](#citation-information)
58
+ - [Contributions](#contributions)
59
+
60
+ ## Dataset Description
61
+
62
+ - **Homepage:** https://huggingface.co/datasets/BruceW91/GenPoster-100K
63
+ - **Repository:** https://github.com/creative-graphic-design/huggingface-datasets/tree/main/datasets/GenPoster100K
64
+ - **Paper (Preprint):** https://arxiv.org/abs/2510.15749
65
+ - **Paper (Conference):** https://openaccess.thecvf.com/content/ICCV2025/html/Wang_SEGA_A_Stepwise_Evolution_Paradigm_for_Content-Aware_Layout_Generation_with_ICCV_2025_paper.html
66
+ - **Leaderboard:** No official public leaderboard URL is documented for GenPoster-100K.
67
+ - **Point of Contact:** Original dataset/project authors (paper) and maintainers of the source HF dataset (`BruceW91/GenPoster-100K`).
68
+
69
+ ### Dataset Summary
70
+
71
+ GenPoster-100K is a large-scale dataset for content-aware graphic layout generation introduced in the SEGA paper.
72
+ The paper describes it as a high-quality poster dataset with layer-parseable source materials and rich metadata.
73
+
74
+ This repository provides a Hugging Face `datasets` loader implementation that reads the source release (`BruceW91/GenPoster-100K`) and exposes normalized examples with:
75
+
76
+ - poster background image (`background_image`)
77
+ - PSD reference path (`psd_path`)
78
+ - region boxes (`regions`)
79
+ - layer-level annotations (`layers`) including text, bbox, typography, color, and per-layer rendered image
80
+
81
+ Implementation note: this loader uses `0503_raw_offline.pkl` and `part_*.tar.gz`, yielding 102,703 rows in `train`.
82
+
83
+ ### Supported Tasks and Leaderboards
84
+
85
+ - `other:content-aware-layout-generation`: Generate or refine poster element layouts conditioned on background imagery and textual element metadata.
86
+ - `text-to-image`: Can be used in poster design workflows where textual content and structured attributes guide generated visual composition.
87
+ - `image-to-text`: Can support structured extraction/understanding tasks over design layers and poster metadata.
88
+
89
+ No official leaderboard URL specific to GenPoster-100K is currently provided in the public source materials.
90
+
91
+ ### Languages
92
+
93
+ - Frontmatter language is set to English (`en`) because the released examples predominantly contain English poster text.
94
+ - The dataset may include additional languages in real-world templates, but a full language distribution is not documented in the source materials.
95
+
96
+ ## Dataset Structure
97
+
98
+ ### Data Instances
99
+
100
+ Each example includes image assets and structured layer metadata.
101
+
102
+ ```json
103
+ {
104
+ "id": 0,
105
+ "background_image": "<image>",
106
+ "background_image_relpath": "big_poster/poster_metadata/3841272.psd_0_11775f75bf_bg.png",
107
+ "psd_path": "big_poster/meta_psd/3841272.psd",
108
+ "regions": [[1656, 481, 2545, 855]],
109
+ "layers": [
110
+ {
111
+ "layer_name": "&#wText&#wTitle",
112
+ "text": "Super price!",
113
+ "bbox": [1754, 573, 2423, 689],
114
+ "angle": 0,
115
+ "psd_size": [3508, 2480],
116
+ "stroke_width": 0.0,
117
+ "font": "Aftaserif",
118
+ "font_size": 113.29,
119
+ "tracking": 0.0,
120
+ "justification": 1,
121
+ "fill_color": [0.0, 0.0, 0.0, 1.0],
122
+ "layer_image": "<image>",
123
+ "layer_image_relpath": "big_poster/poster_metadata/3841272.psd_0_11775f75bf_3.png",
124
+ "label": "Calls to Action"
125
+ }
126
+ ]
127
+ }
128
+ ```
129
+
130
+ ### Data Fields
131
+
132
+ - `id` (`int32`): Example identifier assigned by loader order.
133
+ - `background_image` (`Image`): Rendered background image for the poster.
134
+ - `background_image_relpath` (`string`): Relative path of the background image in source assets.
135
+ - `psd_path` (`string`): Relative PSD path recorded in annotations.
136
+ - `regions` (`Sequence[Sequence[int32]]`): Region boxes as `[x1, y1, x2, y2]`.
137
+ - `layers` (`Sequence[struct]`): Layer-level annotations.
138
+ - `layer_name` (`string`)
139
+ - `text` (`string`)
140
+ - `bbox` (`Sequence[int32]`, length=4)
141
+ - `angle` (`int32`)
142
+ - `psd_size` (`Sequence[int32]`, length=2)
143
+ - `stroke_width` (`float32`)
144
+ - `font` (`string`)
145
+ - `font_size` (`float32`)
146
+ - `tracking` (`float32`)
147
+ - `justification` (`int32`)
148
+ - `fill_color` (`Sequence[float32]`, length=4)
149
+ - `layer_image` (`Image`)
150
+ - `layer_image_relpath` (`string`)
151
+ - `label` (`string`)
152
+
153
+ ### Data Splits
154
+
155
+ This implementation exposes a single `train` split from the upstream release.
156
+
157
+ | Split | Rows |
158
+ | --- | ---: |
159
+ | train | 102,703 |
160
+
161
+ Notes:
162
+
163
+ - The paper reports 105,456 posters in the broader GenPoster-100K corpus.
164
+ - The HF source release used by this loader provides `0503_raw_offline.pkl` with 102,703 records.
165
+ - The original source data is `train`-only, but our Hugging Face Hub publication splits it into `train/validation/test = 8:1:1` and pushes that split dataset.
166
+
167
+ ## Dataset Creation
168
+
169
+ ### Curation Rationale
170
+
171
+ According to the SEGA paper, GenPoster-100K was introduced to improve data quality and scale for content-aware layout generation.
172
+ The paper highlights limitations in earlier datasets (for example, artifacts from inpainted backgrounds and less structured metadata) and positions GenPoster-100K as a higher-fidelity, large-scale alternative with rich component-level information.
173
+
174
+ ### Source Data
175
+
176
+ The source release includes poster metadata archives (`part_*.tar.gz`) and annotation pickle files.
177
+ A disclaimer in the source dataset indicates copyright belongs to the original owner (Freepik) and commercial use may require additional permission.
178
+
179
+ #### Initial Data Collection and Normalization
180
+
181
+ From public materials:
182
+
183
+ - The paper describes data built from layer-parseable source materials with hierarchical metadata.
184
+ - The source HF dataset release distributes image assets split across 79 archive parts (`part_0.tar.gz` ... `part_78.tar.gz`).
185
+
186
+ In this loader implementation:
187
+
188
+ - Annotation source is `0503_raw_offline.pkl`.
189
+ - URL query strings are normalized/removed and image paths are resolved against extracted archive contents.
190
+ - BBox/size/color fields are normalized to fixed lengths and numeric dtypes.
191
+
192
+ #### Who are the source language producers?
193
+
194
+ The textual content appears to originate from poster templates designed by content creators in the source design corpus.
195
+ No demographic metadata for these creators is provided in the public release.
196
+
197
+ ### Annotations
198
+
199
+ The release provides machine-readable layer metadata per poster example, including geometry and typography attributes.
200
+ The dataset card metadata marks annotation creation as machine-generated.
201
+
202
+ #### Annotation process
203
+
204
+ Public paper/source materials indicate hierarchical metadata extracted from PSD-parseable design sources.
205
+ The implementation-level annotation fields include:
206
+
207
+ - text and layer names
208
+ - bounding boxes and angle
209
+ - typography attributes (font, size, tracking, justification, stroke)
210
+ - RGBA fill color
211
+ - region boxes
212
+ - references to rendered background/layer images
213
+
214
+ Detailed internal annotation tooling and QA workflow are not fully specified in the public documents.
215
+
216
+ #### Who are the annotators?
217
+
218
+ Annotations are primarily machine-generated from source design assets.
219
+ Named individual annotators are not documented.
220
+
221
+ ### Personal and Sensitive Information
222
+
223
+ The dataset is composed of poster design assets and textual elements.
224
+ It is not released as a personal-data dataset, but real-world template text may include names, brands, or contact-like strings depending on source content.
225
+ Users should perform downstream filtering/redaction if their use case requires stricter privacy constraints.
226
+
227
+ ## Considerations for Using the Data
228
+
229
+ ### Social Impact of Dataset
230
+
231
+ Potential positive impact:
232
+
233
+ - Enables research on automated graphic design and multimodal layout understanding.
234
+ - Supports reproducible benchmarking for content-aware layout generation.
235
+
236
+ Potential risks:
237
+
238
+ - May be used to generate misleading or low-quality promotional content at scale.
239
+ - Could be misused for style imitation or copyright-sensitive commercial outputs.
240
+
241
+ ### Discussion of Biases
242
+
243
+ Likely biases include:
244
+
245
+ - Domain/style bias toward stock-template aesthetics and marketing layouts.
246
+ - Language/domain imbalance (predominantly English and commercial poster styles).
247
+ - Visual-cultural bias inherited from source platforms and curation choices.
248
+
249
+ No public bias audit report specific to this release is currently documented.
250
+
251
+ ### Other Known Limitations
252
+
253
+ - The upstream source is train-only; this loader follows that source format, while our Hub publication additionally provides an `8:1:1` split.
254
+ - Paper-level total (105,456) and loader-level total (102,703) differ due to release artifacts used by this loader.
255
+ - `psd_path` is recorded as metadata path, but only a limited subset of raw PSD files is present in the public source release.
256
+ - License constraints limit direct commercial usage without additional permission from the copyright owner.
257
+
258
+ ## Additional Information
259
+
260
+ ### Dataset Curators
261
+
262
+ - Original dataset/paper authors: Wang et al. (SEGA, ICCV 2025).
263
+ - Source HF release contributor: [@BruceW91](https://huggingface.co/BruceW91).
264
+ - This repository contains a community-maintained Hugging Face dataset loader implementation.
265
+
266
+ ### Licensing Information
267
+
268
+ - Dataset card license: `cc-by-nc-4.0`
269
+ - Source disclaimer indicates use is intended for academic purposes, and commercial use may require prior permission from the copyright owner (Freepik): https://www.freepik.com/
270
+
271
+ Always verify license compatibility with your intended use before redistribution or deployment.
272
+
273
+ ### Citation Information
274
+
275
+ If your implementation is based on this dataset, please cite the original paper and the Hugging Face dataset implementation:
276
+
277
+ ```bibtex
278
+ @inproceedings{wang2025sega,
279
+ title={SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior},
280
+ author={Wang, Haoran and Zhao, Bo and Wang, Jinghui and Wang, Hanzhang and Yang, Huan and Ji, Wei and Liu, Hao and Xiao, Xinyan},
281
+ booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
282
+ pages={19321--19330},
283
+ year={2025}
284
+ }
285
+ ```
286
+
287
+ ```bibtex
288
+ @misc{genposter100kdataset,
289
+ title = {GenPoster100K dataset},
290
+ author = {{Creative Graphic Design Lab} and Kitada, Shunsuke},
291
+ howpublished = {Hugging Face dataset},
292
+ year = {2025},
293
+ note = {URL: https://huggingface.co/datasets/creative-graphic-design/GenPoster100K},
294
+ }
295
+ ```
296
+
297
+ ### Contributions
298
+
299
+ Thanks to the original GenPoster-100K authors and [@BruceW91](https://huggingface.co/BruceW91) for releasing the source dataset.
300
+ This Hugging Face dataset implementation was created for the `creative-graphic-design/huggingface-datasets` monorepo.