Datasets:
| license: mit | |
| task_categories: | |
| - image-classification | |
| tags: | |
| - image-classification | |
| - cifar-10 | |
| - computer-vision | |
| - data-centric-ai | |
| # CIFAR-10 Subset | |
| This dataset contains a subset of the CIFAR-10 image classification dataset. | |
| ## Dataset Description | |
| A curated subset of the CIFAR-10 dataset useful for demonstrating image classification and data quality techniques without requiring the full dataset. | |
| ## Usage | |
| ```bash | |
| # Download the dataset | |
| wget https://huggingface.co/datasets/Cleanlab/cifar-10-subset/resolve/main/CIFAR-10-subset.zip | |
| unzip CIFAR-10-subset.zip | |
| ``` | |
| ```python | |
| from huggingface_hub import hf_hub_download | |
| # Download the zip file | |
| file_path = hf_hub_download( | |
| repo_id="Cleanlab/cifar-10-subset", | |
| filename="CIFAR-10-subset.zip", | |
| repo_type="dataset" | |
| ) | |
| # Extract and use | |
| import zipfile | |
| with zipfile.ZipFile(file_path, "r") as zip_ref: | |
| zip_ref.extractall("cifar-10-subset") | |
| ``` | |
| ## License | |
| MIT License | |