Update README.md
#3
by
aoi-ot
- opened
README.md
CHANGED
|
@@ -151,4 +151,78 @@ size_categories:
|
|
| 151 |
- 1M<n<10M
|
| 152 |
---
|
| 153 |
|
| 154 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
- 1M<n<10M
|
| 152 |
---
|
| 153 |
|
| 154 |
+
# [Mirror]Danbooru2023: A Large-Scale Crowdsourced and Tagged Anime Illustration Dataset
|
| 155 |
+
|
| 156 |
+
Danbooru2023 is an extension of Danbooru2021, featuring over 6.8 million anime-style images, totaling more than 8.3 TB.
|
| 157 |
+
Each image is accompanied by community-contributed tags that provide detailed descriptions of its content, including characters,
|
| 158 |
+
artists, copyright information, concepts, and attire.
|
| 159 |
+
This makes it a crucial resource for stylized computer vision tasks and transfer learning.
|
| 160 |
+
|
| 161 |
+
> This dataset mirrors [nyanko7/danbooru2023](https://huggingface.co/datasets/nyanko7/danbooru2023).
|
| 162 |
+
> It has been converted to Parquet format to optimize compatibility with the Hugging Face ecosystem
|
| 163 |
+
> and enhance streaming performance. We gratefully acknowledge the excellent work contributed by Nyanko Devs (nyanko7).
|
| 164 |
+
|
| 165 |
+
To ensure research reproducibility, **this dataset will not receive future updates,
|
| 166 |
+
even if the original dataset (which has not been updated for over a year) undergoes changes**.
|
| 167 |
+
As the license is inherited from the original dataset, any copyright disputes affecting it will lead to corresponding adjustments in this mirror.
|
| 168 |
+
For DOI requests, please open an issue on the repository.
|
| 169 |
+
|
| 170 |
+
The dataset includes:
|
| 171 |
+
|
| 172 |
+
- Image Files: Numerous anime-style images, varying in resolution, stored as raw bytes within Parquet files.
|
| 173 |
+
- Tag Data: Textual tags associated with each image, manually added and reviewed by community users.
|
| 174 |
+
- Other Metadata: Includes image upload time, ratings, favorite counts, and original URLs.
|
| 175 |
+
|
| 176 |
+
## Dataset Details
|
| 177 |
+
|
| 178 |
+
- **Curated by:** Nyanko Devs (nyanko7)
|
| 179 |
+
- **Language(s):** Primarily English, also containing some Japanese or other Romaji spellings.
|
| 180 |
+
- **License**: MIT
|
| 181 |
+
- **Repository:** https://huggingface.co/datasets/zenless-lab/danbooru2023
|
| 182 |
+
- **Original Repository:** https://huggingface.co/datasets/nyanko7/danbooru2023
|
| 183 |
+
|
| 184 |
+
## Intended Use
|
| 185 |
+
|
| 186 |
+
This dataset was initially employed for research into catastrophic forgetting during transfer learning,
|
| 187 |
+
especially when substantial distribution disparities exist between pre-training and fine-tuning datasets.
|
| 188 |
+
|
| 189 |
+
It is also well-suited for training anime-style image generation models and other research objectives, including image analysis.
|
| 190 |
+
|
| 191 |
+
## Usage
|
| 192 |
+
|
| 193 |
+
Given the substantial size of this dataset, it can be accessed using the `datasets` library's streaming functionality (in 1GB blocks)
|
| 194 |
+
or by leveraging the glob method to acquire a local, random subset.
|
| 195 |
+
|
| 196 |
+
``` python
|
| 197 |
+
from datasets import load_dataset
|
| 198 |
+
|
| 199 |
+
ds = load_dataset("zenless-lab/danbooru2023", split='train', streaming=True)
|
| 200 |
+
next(iter(ds))
|
| 201 |
+
```
|
| 202 |
+
|
| 203 |
+
Alternatively, directly use glob to acquire a local, random subset:
|
| 204 |
+
``` python
|
| 205 |
+
from datasets import load_dataset
|
| 206 |
+
|
| 207 |
+
# The method below will read the first and second Parquet blocks, downloading approximately 2GB of data.
|
| 208 |
+
ds = load_dataset("parquet", data_files="hf://datasets/zenless-lab/danbooru2023/data/train-0000[12]-*.parquet", split="train")
|
| 209 |
+
next(iter(ds))
|
| 210 |
+
```
|
| 211 |
+
|
| 212 |
+
## Bias, Risks, and Limitations
|
| 213 |
+
|
| 214 |
+
The image quality within the Danbooru2023 dataset is inconsistent, and it contains a significant proportion of R18 and R18G content.
|
| 215 |
+
As not all image origins can be traced, proper authorization cannot be guaranteed; therefore, users are strongly advised to exercise discretion prior to use.
|
| 216 |
+
The dataset may exhibit a strong bias towards styles preferred by the English-speaking community,
|
| 217 |
+
a reflection of the original uploaders' preferences.
|
| 218 |
+
|
| 219 |
+
While images have unique UIDs, duplicates may still be present as **fuzzy deduplication was not performed**.
|
| 220 |
+
|
| 221 |
+
## Licensing
|
| 222 |
+
|
| 223 |
+
This dataset operates under the MIT license, inherited from `nyanko7/danbooru2023`.
|
| 224 |
+
However, **no independent copyright investigation of the included images has been conducted**.
|
| 225 |
+
Users are strongly advised to ensure their intended use adheres to the copyright laws of their respective jurisdictions,
|
| 226 |
+
determining if it qualifies for applicable copyright exemptions
|
| 227 |
+
(e.g., *fair use* in the U.S., *Article 30-4 of the Japanese Copyright Act* in Japan, or the *Article 3/4(TDM exemption) of DSM* in EU).
|
| 228 |
+
**This document does not constitute legal advice**; consultation with a qualified legal professional is recommended to evaluate potential risks.
|