p1atdev commited on
Commit
6d38fdf
1 Parent(s): e43cf2e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -2
README.md CHANGED
@@ -62,6 +62,46 @@ configs:
62
  - split: train
63
  path: safe/train-*
64
  ---
65
- # Dataset Card for "danbooru-tags-2016-2023"
66
 
67
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  - split: train
63
  path: safe/train-*
64
  ---
 
65
 
66
+ # danbooru-tags-2016-2023
67
+
68
+ A dataset of danbooru tags.
69
+
70
+ ## Dataset information
71
+
72
+ Generated using [danbooru](https://danbooru.donmai.us/) and [safebooru](https://safebooru.donmai.us/) API.
73
+
74
+ The dataset was created with the following conditions:
75
+
76
+ |Subset name|`all`|`safe`|
77
+ |-|-|-|
78
+ |API Endpoint|https://danbooru.donmai.us|https://safebooru.donmai.us|
79
+ |Date|`2016-01-01..2023-11-27`|`2016-01-01..2023-11-26`|
80
+ |Score|`>0`|`>0`|
81
+ |Rating|`g,s,q,e`|`g`|
82
+ |Filetype|`png,jpg,webp`|`png,jpg,webp`|
83
+ |Size (number of rows)|4,488,788|1,131,416|
84
+
85
+ ## Usage
86
+
87
+ ```
88
+ pip install datasets
89
+ ```
90
+
91
+ ```py
92
+ from datasets import load_dataset
93
+
94
+ dataset = load_dataset(
95
+ "isek-ai/danbooru-tags-2016-2023",
96
+ "safe", # or "all"
97
+ split="train",
98
+ )
99
+
100
+ print(dataset)
101
+ print(dataset[0])
102
+ # Dataset({
103
+ # features: ['id', 'copyright', 'character', 'artist', 'general', 'meta', 'rating', 'score', 'created_at'],
104
+ # num_rows: 1131416
105
+ # })
106
+ # {'id': 2229839, 'copyright': 'kara no kyoukai', 'character': 'ryougi shiki', 'artist': 'momoko (momopoco)', 'general': '1girl, 2016, :|, brown eyes, brown hair, closed mouth, cloud, cloudy sky, dated, day, flower, hair flower, hair ornament, japanese clothes, kimono, long hair, long sleeves, looking at viewer, new year, obi, outdoors, sash, shrine, sky, solo, standing, wide sleeves', 'meta': 'commentary request, partial commentary', 'rating': 'g', 'score': 76, 'created_at': '2016-01-01T00:43:18.369+09:00'}
107
+ ```