--- dataset_info: - config_name: all features: - name: id dtype: int64 - name: copyright dtype: string - name: character dtype: string - name: artist dtype: string - name: general dtype: string - name: meta dtype: string - name: rating dtype: string - name: score dtype: int64 - name: created_at dtype: string splits: - name: train num_bytes: 3265428405 num_examples: 6574149 download_size: 1289260187 dataset_size: 3265428405 - config_name: safe features: - name: id dtype: int64 - name: copyright dtype: string - name: character dtype: string - name: artist dtype: string - name: general dtype: string - name: meta dtype: string - name: rating dtype: string - name: score dtype: int64 - name: created_at dtype: string splits: - name: train num_bytes: 689117431.2710671 num_examples: 1387371 download_size: 276644226 dataset_size: 689117431.2710671 configs: - config_name: all data_files: - split: train path: all/train-* - config_name: safe data_files: - split: train path: safe/train-* license: cc0-1.0 task_categories: - text-classification - text-generation - text2text-generation language: - en size_categories: - 1M0`|`>0`| |Rating|`g,s,q,e`|`g`| |Filetype|`png,jpg,webp`|`png,jpg,webp`| |Size (number of rows)|6,574,149|1,387,371| ## Usage ``` pip install datasets ``` ```py from datasets import load_dataset dataset = load_dataset( "isek-ai/danbooru-tags-2023", "safe", # or "all" split="train", ) print(dataset) print(dataset[0]) # Dataset({ # features: ['id', 'copyright', 'character', 'artist', 'general', 'meta', 'rating', 'score', 'created_at'], # num_rows: 1387371 # }) # {'id': 12219, # 'copyright': 'fate/stay night, fate/unlimited blade works, fate (series)', # 'character': 'emiya shirou, gilgamesh (fate), gilgamesh (immoral biker jacket) (fate)', # 'artist': 'takeuchi takashi', # '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', # 'meta': 'game cg', # 'rating': 'g', # 'score': 33, # 'created_at': '2005-10-15T08:50:32.000+09:00'} ```