metadata
dataset_info:
features:
- name: approver_id
dtype: float64
- name: bit_flags
dtype: int64
- name: created_at
dtype: string
- name: down_score
dtype: int64
- name: fav_count
dtype: int64
- name: file_ext
dtype: string
- name: file_size
dtype: int64
- name: file_url
dtype: string
- name: has_active_children
dtype: bool
- name: has_children
dtype: bool
- name: has_large
dtype: bool
- name: has_visible_children
dtype: bool
- name: id
dtype: int64
- name: image_height
dtype: int64
- name: image_width
dtype: int64
- name: is_banned
dtype: bool
- name: is_deleted
dtype: bool
- name: is_flagged
dtype: bool
- name: is_pending
dtype: bool
- name: large_file_url
dtype: string
- name: last_comment_bumped_at
dtype: string
- name: last_commented_at
dtype: string
- name: last_noted_at
dtype: string
- name: md5
dtype: string
- name: media_asset_created_at
dtype: string
- name: media_asset_duration
dtype: float64
- name: media_asset_file_ext
dtype: string
- name: media_asset_file_key
dtype: string
- name: media_asset_file_size
dtype: int64
- name: media_asset_id
dtype: int64
- name: media_asset_image_height
dtype: int64
- name: media_asset_image_width
dtype: int64
- name: media_asset_is_public
dtype: bool
- name: media_asset_md5
dtype: string
- name: media_asset_pixel_hash
dtype: string
- name: media_asset_status
dtype: string
- name: media_asset_updated_at
dtype: string
- name: media_asset_variants
dtype: string
- name: parent_id
dtype: float64
- name: pixiv_id
dtype: float64
- name: preview_file_url
dtype: string
- name: rating
dtype: string
- name: score
dtype: int64
- name: source
dtype: string
- name: tag_count
dtype: int64
- name: tag_count_artist
dtype: int64
- name: tag_count_character
dtype: int64
- name: tag_count_copyright
dtype: int64
- name: tag_count_general
dtype: int64
- name: tag_count_meta
dtype: int64
- name: tag_string
dtype: string
- name: tag_string_artist
dtype: string
- name: tag_string_character
dtype: string
- name: tag_string_copyright
dtype: string
- name: tag_string_general
dtype: string
- name: tag_string_meta
dtype: string
- name: up_score
dtype: int64
- name: updated_at
dtype: string
- name: uploader_id
dtype: int64
- name: __index_level_0__
dtype: int64
splits:
- name: train
num_bytes: 23259765
num_examples: 10000
download_size: 9418764
dataset_size: 23259765
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
dataproc5/test-danbooru2025-tag-balanced-10k
A test dataset of balanced 10k rows from danbooru2025, aiming to maximize common knowledege per image under limited data or compute scope.
balanced_df = select_balanced_images(dbr_df, tag_counts_monthly_df, tags_thres=5000, max_images=10_000, max_tag_proportion=0.1, random_seed=42)
ub.saves(balanced_df, "hf://dataproc5/test-danbooru2025-tag-balanced-10k", private=False)
The balanced-10k
subset has a larger size than balanced-2k, and is for slightly larger finetunes or distills.
Dataset preview:
from dataproc5.pipelines.danbooru.nodes import compare_tag_distribution
compare_tag_distribution(dbr_df, balanced_df)
Original top 10 tags (proportion of total relevant tags):
1girl 0.022272
solo 0.018528
long_hair 0.016147
breasts 0.012763
looking_at_viewer 0.012320
blush 0.010911
smile 0.010679
open_mouth 0.008789
short_hair 0.008382
shirt 0.006775
Name: proportion, dtype: float64
Balanced top 10 tags (proportion of total relevant tags):
no_humans 0.009599
english_text 0.003562
short_hair 0.003562
holding 0.003562
penis 0.003562
simple_background 0.003562
sky 0.003562
1girl 0.003562
ass 0.003562
1boy 0.003562
Name: proportion, dtype: float64
Comparison of selected popular tags:
1girl: original=0.02227, balanced=0.00356
1boy: original=0.00523, balanced=0.00356
multiple_girls: original=0.00569, balanced=0.00356
solo: original=0.01853, balanced=0.00356
furry: original=0.00028, balanced=0.00059