Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ValueError
Message:      Invalid string class label csip_v1@9b052ac0bcf1e3c08a659e99595d075778b442e9
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1537, in _prepare_split_single
                  example = self.info.features.encode_example(record) if self.info.features is not None else record
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label csip_v1@9b052ac0bcf1e3c08a659e99595d075778b442e9
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1382, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1560, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

image
image
label
class label
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
310mo
End of preview.

CSIP v1: Contrastive Anime Style Image Pre-training Dataset

Summary

The CSIP v1 dataset represents a roughly cleaned version of the Contrastive anime Style Image Pre-training collection, specifically designed for zero-shot image classification tasks in the anime art domain. This comprehensive dataset contains diverse images from various anime artists, organized to facilitate style recognition and classification models. The dataset has been processed through initial cleaning procedures to remove obvious duplicates and low-quality samples while preserving the rich stylistic diversity that characterizes different anime creators.

This dataset serves as an intermediate step between the raw, unprocessed collection and the meticulously curated evaluation set, offering researchers and developers a balanced compromise between data volume and quality. The images are distributed across multiple zip archives (p0-p8) for efficient downloading and processing, making it suitable for large-scale pre-training applications where both quantity and reasonable quality are essential considerations.

The CSIP v1 dataset is particularly valuable for contrastive learning approaches, where the stylistic differences between artists can be leveraged to train models that understand and recognize artistic signatures. With its size category of 100K to 1M samples, this dataset provides sufficient scale for training robust vision models while maintaining enough quality control to ensure meaningful learning outcomes. The dataset's organization supports various computer vision tasks beyond zero-shot classification, including style transfer, artist identification, and content-based image retrieval in the anime domain.

Dataset Structure

The dataset is split into 9 zip archives for convenient downloading and processing:

  • csip_v1_p0.zip to csip_v1_p8.zip

Each archive contains a portion of the cleaned anime style images organized by artist categories.

Related Datasets

This repository is part of the CSIP dataset series:

Usage

The dataset can be downloaded and used for various computer vision tasks, particularly for anime style classification and recognition. The zip archives can be extracted to access the image files organized by artist styles.

Citation

@misc{csip_v1,
  title        = {CSIP v1: Contrastive Anime Style Image Pre-training Dataset},
  author       = {deepghs},
  howpublished = {\url{https://huggingface.co/datasets/deepghs/csip_v1}},
  year         = {2023},
  note         = {Roughly cleaned version of anime style images for zero-shot classification},
  abstract     = {The CSIP v1 dataset represents a roughly cleaned version of the Contrastive anime Style Image Pre-training collection, specifically designed for zero-shot image classification tasks in the anime art domain. This comprehensive dataset contains diverse images from various anime artists, organized to facilitate style recognition and classification models. The dataset has been processed through initial cleaning procedures to remove obvious duplicates and low-quality samples while preserving the rich stylistic diversity that characterizes different anime creators.},
  keywords     = {anime, style-classification, zero-shot-learning, computer-vision}
}
Downloads last month
20