--- dataset_info: - config_name: '20250413' features: - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags sequence: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags sequence: string - name: author_tags sequence: string - name: copyright_product_tags sequence: string - name: copyright_game_tags sequence: string - name: copyright_other_tags sequence: string - name: reference_tags sequence: string - name: object_tags sequence: string - name: unknown_tags sequence: string - name: is_original dtype: bool - name: image dtype: image splits: - name: train num_bytes: 58310307679.44 num_examples: 21812 download_size: 58094179127 dataset_size: 58310307679.44 - config_name: '20250714' features: - name: image dtype: image - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags list: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags list: string - name: author_tags list: string - name: copyright_product_tags list: string - name: copyright_game_tags list: string - name: copyright_other_tags list: string - name: reference_tags list: string - name: object_tags list: string - name: unknown_tags list: string - name: is_original dtype: bool splits: - name: train num_bytes: 33768282913.9 num_examples: 10475 download_size: 33665668981 dataset_size: 33768282913.9 - config_name: '20250916' features: - name: image dtype: image - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags list: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags list: string - name: author_tags list: string - name: copyright_product_tags list: string - name: copyright_game_tags list: string - name: copyright_other_tags list: string - name: reference_tags list: string - name: object_tags list: string - name: unknown_tags list: string - name: is_original dtype: bool splits: - name: train num_bytes: 25878480383 num_examples: 8449 download_size: 25804175332 dataset_size: 25878480383 - config_name: '20251018' features: - name: image dtype: image - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags list: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags list: string - name: author_tags list: string - name: copyright_product_tags list: string - name: copyright_game_tags list: string - name: copyright_other_tags list: string - name: reference_tags list: string - name: object_tags list: string - name: unknown_tags list: string - name: is_original dtype: bool splits: - name: train num_bytes: 13749769301 num_examples: 4563 download_size: 13711695620 dataset_size: 13749769301 - config_name: '20251128' features: - name: image dtype: image - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags list: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags list: string - name: author_tags list: string - name: copyright_product_tags list: string - name: copyright_game_tags list: string - name: copyright_other_tags list: string - name: reference_tags list: string - name: object_tags list: string - name: unknown_tags list: string - name: is_original dtype: bool splits: - name: train num_bytes: 21241030510 num_examples: 6858 download_size: 21184356054 dataset_size: 21241030510 - config_name: '20260109' features: - name: image dtype: image - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags list: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: character_tags list: string - name: author_tags list: string - name: copyright_product_tags list: string - name: copyright_game_tags list: string - name: copyright_other_tags list: string - name: reference_tags list: string - name: object_tags list: string - name: unknown_tags list: string - name: is_original dtype: bool splits: - name: train num_bytes: 18459666954 num_examples: 6151 download_size: 18406815479 dataset_size: 18459666954 - config_name: default features: - name: id dtype: int64 - name: filename dtype: string - name: mimetype dtype: string - name: width dtype: int64 - name: height dtype: int64 - name: file_url dtype: string - name: file_size dtype: int64 - name: md5 dtype: string - name: md5_pixels dtype: string - name: erotics dtype: int64 - name: ext dtype: string - name: status dtype: int64 - name: status_type dtype: float64 - name: redirect_id dtype: string - name: spoiler dtype: bool - name: have_alpha dtype: bool - name: color dtype: string - name: artifacts_degree dtype: float64 - name: smooth_degree dtype: float64 - name: tags_count dtype: int64 - name: tags sequence: string - name: small_preview_url dtype: string - name: medium_preview_url dtype: string - name: big_preview_url dtype: string - name: score dtype: int64 - name: score_number dtype: int64 - name: downloads dtype: int64 - name: favorites dtype: int64 - name: position dtype: 'null' - name: user_id dtype: int64 - name: user_name dtype: string - name: moderator_id dtype: float64 - name: moderator_name dtype: string - name: published_at dtype: float64 - name: created_at dtype: float64 - name: src_filename dtype: string - name: character_tags sequence: string - name: author_tags sequence: string - name: copyright_product_tags sequence: string - name: copyright_game_tags sequence: string - name: copyright_other_tags sequence: string - name: reference_tags sequence: string - name: object_tags sequence: string - name: unknown_tags sequence: string - name: is_original dtype: bool - name: image dtype: image splits: - name: train num_bytes: 1249905802539.7676 num_examples: 605866 download_size: 1248496888059 dataset_size: 1249905802539.7676 configs: - config_name: '20250413' data_files: - split: train path: 20250413/train-* - config_name: '20250714' data_files: - split: train path: 20250714/train-* - config_name: '20250916' data_files: - split: train path: 20250916/train-* - config_name: '20251018' data_files: - split: train path: 20251018/train-* - config_name: '20251128' data_files: - split: train path: 20251128/train-* - config_name: '20260109' data_files: - split: train path: 20260109/train-* - config_name: default data_files: - split: train path: data/train-* task_categories: - text-to-image - image-to-text language: - en tags: - anime - image - mirror pretty_name: Anime Pictures size_categories: - 100K.`. * `minetype`: MIME type of the downloaded image (e.g., `image/jpeg`, `image/png`). * `width`: Original image width. * `height`: Original image height. * `file_url`: Original URL of the image. * `file_size`: Image file size (in bytes). * `small_url`: URL of the small preview image. * `medium_url`: URL of the medium preview image. * `large_url`: URL of the large preview image. * `hash`: Unique hash of the image. * `source`: Image source (available for some rows). * `primary_tag`: Primary tag associated with the image. * `tags`: List of tags associated with the image. * `tag_info`: Structured information about the tags (e.g., character, IP classifications). * `image`: The original image file (binary data), stored as a dictionary with keys `"bytes"` and `"path"`. ## Intended Use This dataset is primarily intended for training anime-style image generation models. It can also be used for other research purposes related to image analysis and style transfer. ## Usage The `image` column contains a dictionary with keys `"bytes"` and `"path"`. When using the `datasets` library, the images are automatically converted to PIL Images. However, when using other libraries, you may need to pre-process the images to convert them to PIL format. Here are some examples of how to load and use the dataset with different libraries: **Using `datasets`:** ```python from datasets import load_dataset ds = load_dataset("parquet", data_files="hf://datasets/zenless-lab/anime-pictures/data/train-0000[12]-*.parquet", split="train") print(ds) # Access the first image (automatically converted to PIL Image) image = ds[0]['image'] image.show() # Access the tags for the first image tags = ds[0]['tags'] print(tags) ``` **Using `Dask`:** ```python import dask.dataframe as dd from PIL import Image import io def convert_image(row): if not isinstance(row, dict): return None img_bytes = io.BytesIO(row["bytes"]) img = Image.open(img_bytes) img = img.convert("RGB") return img df = dd.read_parquet("hf://datasets/zenless-lab/anime-pictures/data/train-0000[12]-*.parquet") df["image"] = df["image"].map(convert_image) print(df.head(10)) # to avoid pulling all data during debugging. ``` **Using `Polars`:** ```python import polars as pl from PIL import Image import io df = pl.read_parquet('hf://datasets/zenless-lab/anime-pictures/data/train-0000[12]-*.parquet') df = df.with_columns( pl.col("image").map_elements(lambda x: Image.open(io.BytesIO(x["bytes"])), return_dtype=pl.Object) ) print(df) ``` ## License **Important Notice Regarding Licensing:** This dataset does not currently have a defined license. **Before using this dataset, it is your responsibility to ensure that your use complies with the copyright laws in your jurisdiction.** You should determine whether your use qualifies for an exception or limitation to copyright, such as fair use (in the US) or similar provisions like Article 30-4 of the Japanese Copyright Act or the EU Directive on Copyright in the Digital Single Market. **This is not legal advice; please consult with a legal professional to assess the risks associated with your intended use.** ## Contributing Contributions to this dataset are welcome! You can contribute by: * Reporting issues or suggesting improvements. * Submitting new images (please ensure they comply with the website's terms of service). * Correcting or improving tags and metadata. ## Contact If you have any questions or issues, please feel free to open an issue on the [Hugging Face Dataset repository](https://huggingface.co/datasets/zenless-lab/anime-pictures). ## Future Updates The dataset will be updated approximately every three months with new images.