p1atdev commited on
Commit
f8ba2c1
1 Parent(s): fed694e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -0
README.md CHANGED
@@ -61,4 +61,63 @@ configs:
61
  data_files:
62
  - split: train
63
  path: safe/train-*
 
 
 
 
 
 
 
 
 
64
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  data_files:
62
  - split: train
63
  path: safe/train-*
64
+ license: cc0-1.0
65
+ task_categories:
66
+ - text-classification
67
+ - text-generation
68
+ - text2text-generation
69
+ language:
70
+ - en
71
+ size_categories:
72
+ - 1M<n<10M
73
  ---
74
+
75
+ # danbooru-tags-2023
76
+
77
+ A dataset of danbooru tags.
78
+
79
+ ## Dataset information
80
+
81
+ Generated using [danbooru](https://danbooru.donmai.us/) and [safebooru](https://safebooru.donmai.us/) API.
82
+
83
+ The dataset was created with the following conditions:
84
+
85
+ |Subset name|`all`|`safe`|
86
+ |-|-|-|
87
+ |API Endpoint|https://danbooru.donmai.us|https://safebooru.donmai.us|
88
+ |Date|`2005-01-01..2023-12-31`|`2005-01-01..2023-12-31`|
89
+ |Score|`>0`|`>0`|
90
+ |Rating|`g,s,q,e`|`g`|
91
+ |Filetype|`png,jpg,webp`|`png,jpg,webp`|
92
+ |Size (number of rows)|6,574,149|1,387,371|
93
+
94
+
95
+ ## Usage
96
+
97
+ ```
98
+ pip install datasets
99
+ ```
100
+
101
+ ```py
102
+ from datasets import load_dataset
103
+ dataset = load_dataset(
104
+ "isek-ai/danbooru-tags-2023",
105
+ "safe", # or "all"
106
+ split="train",
107
+ )
108
+ print(dataset)
109
+ print(dataset[0])
110
+ # Dataset({
111
+ # features: ['id', 'copyright', 'character', 'artist', 'general', 'meta', 'rating', 'score', 'created_at'],
112
+ # num_rows: 1387371
113
+ # })
114
+ # {'id': 12219,
115
+ # 'copyright': 'fate/stay night, fate/unlimited blade works, fate (series)',
116
+ # 'character': 'emiya shirou, gilgamesh (fate), gilgamesh (immoral biker jacket) (fate)',
117
+ # 'artist': 'takeuchi takashi',
118
+ # 'general': '2boys, alternate costume, alternate hairstyle, battle, blonde hair, brown hair, clenched teeth, duel, dutch angle, field of blades, jacket, long sleeves, male focus, multiple boys, official alternate costume, open clothes, open jacket, open mouth, orange hair, pants, planted, planted sword, raglan sleeves, red eyes, sky, slashing, sword, teeth, unlimited blade works (fate), wasteland, weapon',
119
+ # 'meta': 'game cg',
120
+ # 'rating': 'g',
121
+ # 'score': 33,
122
+ # 'created_at': '2005-10-15T08:50:32.000+09:00'}
123
+ ```