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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators:
|
3 |
+
- machine-generated
|
4 |
+
language:
|
5 |
+
- en
|
6 |
+
language_creators:
|
7 |
+
- found
|
8 |
+
license:
|
9 |
+
- cc-by-sa-4.0
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
+
pretty_name: ukiyo-e-face-blip2-captions
|
13 |
+
size_categories:
|
14 |
+
- 1K<n<10K
|
15 |
+
source_datasets: []
|
16 |
+
tags: []
|
17 |
+
task_categories:
|
18 |
+
- text-to-image
|
19 |
+
task_ids: []
|
20 |
+
dataset_info:
|
21 |
+
features:
|
22 |
+
- name: image
|
23 |
+
dtype: image
|
24 |
+
- name: caption
|
25 |
+
dtype: string
|
26 |
+
splits:
|
27 |
+
- name: train
|
28 |
+
num_bytes: 1220005044.691
|
29 |
+
num_examples: 5209
|
30 |
+
download_size: 1223926659
|
31 |
+
dataset_size: 1220005044.691
|
32 |
+
configs:
|
33 |
+
- config_name: default
|
34 |
+
data_files:
|
35 |
+
- split: train
|
36 |
+
path: data/train-*
|
37 |
+
---
|
38 |
+
|
39 |
+
# Dataset Card for ukiyo-e-face-blip2-captions
|
40 |
+
|
41 |
+
[![CI](https://github.com/py-img-gen/huggingface-datasets_ukiyo-e-face-blip2-captions/actions/workflows/ci.yaml/badge.svg)](https://github.com/py-img-gen/huggingface-datasets_ukiyo-e-face-blip2-captions/actions/workflows/ci.yaml)
|
42 |
+
[![Sync HF](https://github.com/py-img-gen/huggingface-datasets_ukiyo-e-face-blip2-captions/actions/workflows/push_to_hub.yaml/badge.svg)](https://github.com/py-img-gen/huggingface-datasets_ukiyo-e-face-blip2-captions/actions/workflows/push_to_hub.yaml)
|
43 |
+
|
44 |
+
## Table of Contents
|
45 |
+
- [Dataset Card Creation Guide](#dataset-card-creation-guide)
|
46 |
+
- [Table of Contents](#table-of-contents)
|
47 |
+
- [Dataset Description](#dataset-description)
|
48 |
+
- [Dataset Summary](#dataset-summary)
|
49 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
50 |
+
- [Languages](#languages)
|
51 |
+
- [Dataset Structure](#dataset-structure)
|
52 |
+
- [Data Instances](#data-instances)
|
53 |
+
- [Data Fields](#data-fields)
|
54 |
+
- [Data Splits](#data-splits)
|
55 |
+
- [Dataset Creation](#dataset-creation)
|
56 |
+
- [Curation Rationale](#curation-rationale)
|
57 |
+
- [Source Data](#source-data)
|
58 |
+
- [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
|
59 |
+
- [Who are the source language producers?](#who-are-the-source-language-producers)
|
60 |
+
- [Annotations](#annotations)
|
61 |
+
- [Annotation process](#annotation-process)
|
62 |
+
- [Who are the annotators?](#who-are-the-annotators)
|
63 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
64 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
65 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
66 |
+
- [Discussion of Biases](#discussion-of-biases)
|
67 |
+
- [Other Known Limitations](#other-known-limitations)
|
68 |
+
- [Additional Information](#additional-information)
|
69 |
+
- [Dataset Curators](#dataset-curators)
|
70 |
+
- [Licensing Information](#licensing-information)
|
71 |
+
- [Citation Information](#citation-information)
|
72 |
+
- [Contributions](#contributions)
|
73 |
+
|
74 |
+
## Dataset Description
|
75 |
+
|
76 |
+
- **Homepage:** https://www.justinpinkney.com/blog/2020/ukiyoe-dataset/
|
77 |
+
- **Repository:** https://github.com/py-img-gen/huggingface-datasets_ukiyo-e-face-blip2-captions
|
78 |
+
|
79 |
+
### Dataset Summary
|
80 |
+
|
81 |
+
`ukiyo-e-face-blip2-captions` is a dataset that adds captions to [Ukiyo-e face dataset](https://www.justinpinkney.com/blog/2020/ukiyoe-dataset/) using [BLIP2](https://arxiv.org/abs/2301.12597) model.
|
82 |
+
|
83 |
+
<!-- Briefly summarize the dataset, its intended use and the supported tasks. Give an overview of how and why the dataset was created. The summary should explicitly mention the languages present in the dataset (possibly in broad terms, e.g. *translations between several pairs of European languages*), and describe the domain, topic, or genre covered. -->
|
84 |
+
|
85 |
+
### Supported Tasks and Leaderboards
|
86 |
+
|
87 |
+
[More Information Needed]
|
88 |
+
|
89 |
+
<!-- For each of the tasks tagged for this dataset, give a brief description of the tag, metrics, and suggested models (with a link to their HuggingFace implementation if available). Give a similar description of tasks that were not covered by the structured tag set (repace the `task-category-tag` with an appropriate `other:other-task-name`).
|
90 |
+
|
91 |
+
- `task-category-tag`: The dataset can be used to train a model for [TASK NAME], which consists in [TASK DESCRIPTION]. Success on this task is typically measured by achieving a *high/low* [metric name](https://huggingface.co/metrics/metric_name). The ([model name](https://huggingface.co/model_name) or [model class](https://huggingface.co/transformers/model_doc/model_class.html)) model currently achieves the following score. *[IF A LEADERBOARD IS AVAILABLE]:* This task has an active leaderboard which can be found at [leaderboard url]() and ranks models based on [metric name](https://huggingface.co/metrics/metric_name) while also reporting [other metric name](https://huggingface.co/metrics/other_metric_name). -->
|
92 |
+
|
93 |
+
### Languages
|
94 |
+
|
95 |
+
The language data in ukiyo-e-face-blip2-captions is in English.
|
96 |
+
|
97 |
+
<!-- Provide a brief overview of the languages represented in the dataset. Describe relevant details about specifics of the language such as whether it is social media text, African American English,...
|
98 |
+
|
99 |
+
When relevant, please provide [BCP-47 codes](https://tools.ietf.org/html/bcp47), which consist of a [primary language subtag](https://tools.ietf.org/html/bcp47#section-2.2.1), with a [script subtag](https://tools.ietf.org/html/bcp47#section-2.2.3) and/or [region subtag](https://tools.ietf.org/html/bcp47#section-2.2.4) if available. -->
|
100 |
+
|
101 |
+
## Dataset Structure
|
102 |
+
|
103 |
+
### Data Instances
|
104 |
+
|
105 |
+
```python
|
106 |
+
import datasets as ds
|
107 |
+
|
108 |
+
dataset = ds.load_dataset("py-img-gen/ukiyo-e-face-blip2-captions")
|
109 |
+
```
|
110 |
+
|
111 |
+
<!-- Provide an JSON-formatted example and brief description of a typical instance in the dataset. If available, provide a link to further examples.
|
112 |
+
|
113 |
+
```
|
114 |
+
{
|
115 |
+
'example_field': ...,
|
116 |
+
...
|
117 |
+
}
|
118 |
+
```
|
119 |
+
|
120 |
+
Provide any additional information that is not covered in the other sections about the data here. In particular describe any relationships between data points and if these relationships are made explicit. -->
|
121 |
+
|
122 |
+
### Data Fields
|
123 |
+
|
124 |
+
[More Information Needed]
|
125 |
+
|
126 |
+
<!-- List and describe the fields present in the dataset. Mention their data type, and whether they are used as input or output in any of the tasks the dataset currently supports. If the data has span indices, describe their attributes, such as whether they are at the character level or word level, whether they are contiguous or not, etc. If the datasets contains example IDs, state whether they have an inherent meaning, such as a mapping to other datasets or pointing to relationships between data points.
|
127 |
+
|
128 |
+
- `example_field`: description of `example_field`
|
129 |
+
|
130 |
+
Note that the descriptions can be initialized with the **Show Markdown Data Fields** output of the [Datasets Tagging app](https://huggingface.co/spaces/huggingface/datasets-tagging), you will then only need to refine the generated descriptions. -->
|
131 |
+
|
132 |
+
### Data Splits
|
133 |
+
|
134 |
+
[More Information Needed]
|
135 |
+
|
136 |
+
<!-- Describe and name the splits in the dataset if there are more than one.
|
137 |
+
|
138 |
+
Describe any criteria for splitting the data, if used. If there are differences between the splits (e.g. if the training annotations are machine-generated and the dev and test ones are created by humans, or if different numbers of annotators contributed to each example), describe them here.
|
139 |
+
|
140 |
+
Provide the sizes of each split. As appropriate, provide any descriptive statistics for the features, such as average length. For example:
|
141 |
+
|
142 |
+
| | train | validation | test |
|
143 |
+
|-------------------------|------:|-----------:|-----:|
|
144 |
+
| Input Sentences | | | |
|
145 |
+
| Average Sentence Length | | | | -->
|
146 |
+
|
147 |
+
## Dataset Creation
|
148 |
+
|
149 |
+
### Curation Rationale
|
150 |
+
|
151 |
+
[More Information Needed]
|
152 |
+
|
153 |
+
<!-- What need motivated the creation of this dataset? What are some of the reasons underlying the major choices involved in putting it together? -->
|
154 |
+
|
155 |
+
### Source Data
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences,...) -->
|
160 |
+
|
161 |
+
#### Initial Data Collection and Normalization
|
162 |
+
|
163 |
+
[More Information Needed]
|
164 |
+
|
165 |
+
<!-- Describe the data collection process. Describe any criteria for data selection or filtering. List any key words or search terms used. If possible, include runtime information for the collection process.
|
166 |
+
|
167 |
+
If data was collected from other pre-existing datasets, link to source here and to their [Hugging Face version](https://huggingface.co/datasets/dataset_name).
|
168 |
+
|
169 |
+
If the data was modified or normalized after being collected (e.g. if the data is word-tokenized), describe the process and the tools used. -->
|
170 |
+
|
171 |
+
#### Who are the source language producers?
|
172 |
+
|
173 |
+
[More Information Needed]
|
174 |
+
|
175 |
+
<!-- State whether the data was produced by humans or machine generated. Describe the people or systems who originally created the data.
|
176 |
+
|
177 |
+
If available, include self-reported demographic or identity information for the source data creators, but avoid inferring this information. Instead state that this information is unknown. See [Larson 2017](https://www.aclweb.org/anthology/W17-1601.pdf) for using identity categories as a variables, particularly gender.
|
178 |
+
|
179 |
+
Describe the conditions under which the data was created (for example, if the producers were crowdworkers, state what platform was used, or if the data was found, what website the data was found on). If compensation was provided, include that information here.
|
180 |
+
|
181 |
+
Describe other people represented or mentioned in the data. Where possible, link to references for the information. -->
|
182 |
+
|
183 |
+
### Annotations
|
184 |
+
|
185 |
+
Captions were added to the Ukio-e face dataset using BLIP2 ([`Salesforce/blip2-opt-2.7b`](https://huggingface.co/Salesforce/blip2-opt-2.7b)).
|
186 |
+
|
187 |
+
<!-- If the dataset contains annotations which are not part of the initial data collection, describe them in the following paragraphs. -->
|
188 |
+
|
189 |
+
#### Annotation process
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
<!-- If applicable, describe the annotation process and any tools used, or state otherwise. Describe the amount of data annotated, if not all. Describe or reference annotation guidelines provided to the annotators. If available, provide interannotator statistics. Describe any annotation validation processes. -->
|
194 |
+
|
195 |
+
#### Who are the annotators?
|
196 |
+
|
197 |
+
[More Information Needed]
|
198 |
+
|
199 |
+
<!-- If annotations were collected for the source data (such as class labels or syntactic parses), state whether the annotations were produced by humans or machine generated.
|
200 |
+
|
201 |
+
Describe the people or systems who originally created the annotations and their selection criteria if applicable.
|
202 |
+
|
203 |
+
If available, include self-reported demographic or identity information for the annotators, but avoid inferring this information. Instead state that this information is unknown. See [Larson 2017](https://www.aclweb.org/anthology/W17-1601.pdf) for using identity categories as a variables, particularly gender.
|
204 |
+
|
205 |
+
Describe the conditions under which the data was annotated (for example, if the annotators were crowdworkers, state what platform was used, or if the data was found, what website the data was found on). If compensation was provided, include that information here. -->
|
206 |
+
|
207 |
+
### Personal and Sensitive Information
|
208 |
+
|
209 |
+
[More Information Needed]
|
210 |
+
|
211 |
+
<!-- State whether the dataset uses identity categories and, if so, how the information is used. Describe where this information comes from (i.e. self-reporting, collecting from profiles, inferring, etc.). See [Larson 2017](https://www.aclweb.org/anthology/W17-1601.pdf) for using identity categories as a variables, particularly gender. State whether the data is linked to individuals and whether those individuals can be identified in the dataset, either directly or indirectly (i.e., in combination with other data).
|
212 |
+
|
213 |
+
State whether the dataset contains other data that might be considered sensitive (e.g., data that reveals racial or ethnic origins, sexual orientations, religious beliefs, political opinions or union memberships, or locations; financial or health data; biometric or genetic data; forms of government identification, such as social security numbers; criminal history).
|
214 |
+
|
215 |
+
If efforts were made to anonymize the data, describe the anonymization process. -->
|
216 |
+
|
217 |
+
## Considerations for Using the Data
|
218 |
+
|
219 |
+
### Social Impact of Dataset
|
220 |
+
|
221 |
+
[More Information Needed]
|
222 |
+
|
223 |
+
<!-- Please discuss some of the ways you believe the use of this dataset will impact society.
|
224 |
+
|
225 |
+
The statement should include both positive outlooks, such as outlining how technologies developed through its use may improve people's lives, and discuss the accompanying risks. These risks may range from making important decisions more opaque to people who are affected by the technology, to reinforcing existing harmful biases (whose specifics should be discussed in the next section), among other considerations.
|
226 |
+
|
227 |
+
Also describe in this section if the proposed dataset contains a low-resource or under-represented language. If this is the case or if this task has any impact on underserved communities, please elaborate here. -->
|
228 |
+
|
229 |
+
### Discussion of Biases
|
230 |
+
|
231 |
+
[More Information Needed]
|
232 |
+
|
233 |
+
<!-- Provide descriptions of specific biases that are likely to be reflected in the data, and state whether any steps were taken to reduce their impact.
|
234 |
+
|
235 |
+
For Wikipedia text, see for example [Dinan et al 2020 on biases in Wikipedia (esp. Table 1)](https://arxiv.org/abs/2005.00614), or [Blodgett et al 2020](https://www.aclweb.org/anthology/2020.acl-main.485/) for a more general discussion of the topic.
|
236 |
+
|
237 |
+
If analyses have been run quantifying these biases, please add brief summaries and links to the studies here. -->
|
238 |
+
|
239 |
+
### Other Known Limitations
|
240 |
+
|
241 |
+
[More Information Needed]
|
242 |
+
|
243 |
+
<!-- If studies of the datasets have outlined other limitations of the dataset, such as annotation artifacts, please outline and cite them here. -->
|
244 |
+
|
245 |
+
## Additional Information
|
246 |
+
|
247 |
+
### Dataset Curators
|
248 |
+
|
249 |
+
[More Information Needed]
|
250 |
+
|
251 |
+
<!-- List the people involved in collecting the dataset and their affiliation(s). If funding information is known, include it here. -->
|
252 |
+
|
253 |
+
### Licensing Information
|
254 |
+
|
255 |
+
This dataset is provided under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
|
256 |
+
|
257 |
+
### Citation Information
|
258 |
+
|
259 |
+
```bibtex
|
260 |
+
@misc{pinkney2020ukiyoe,
|
261 |
+
author = {Pinkney, Justin N. M.},
|
262 |
+
title = {Aligned Ukiyo-e faces dataset},
|
263 |
+
year={2020},
|
264 |
+
howpublished={\url{https://www.justinpinkney.com/blog/2020/ukiyoe-dataset}}
|
265 |
+
}
|
266 |
+
@misc{kitada2024ukiyoe,
|
267 |
+
author = {Kitada, Shunsuke},
|
268 |
+
title = {Ukiyo-e face blip2 captions dataset},
|
269 |
+
year={2024},
|
270 |
+
howpublished={\url{https://huggingface.co/datasets/py-img-gen/ukiyo-e-face-blip2-captions/settings}}
|
271 |
+
}
|
272 |
+
```
|
273 |
+
|
274 |
+
### Contributions
|
275 |
+
|
276 |
+
Thanks to [Justin Pinkney](https://www.justinpinkney.com/) for constructing [Ukiyo-e face dataset](https://www.justinpinkney.com/blog/2020/ukiyoe-dataset/).
|