Datasets:
Update README.md
Browse files38 unmodified lines39404138 unmodified lines- split: validationpath: data/validation-*---38 unmodified lines3940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312438 unmodified lines- split: validationpath: data/validation-*---# Tiny GenImage Dataset## 📝 Dataset Description### Dataset SummaryThe Tiny GenImage Dataset is a curated, scaled-down collection of images and associated metadata designed to train, validate, and benchmark models for detecting and identifying artificially generated content. The dataset contains a mix of real-world images alongside those generated by prominent AI models, including various diffusion models (like Stable Diffusion 1.4/1.5, GLIDE, Midjourney, ADM, VQDM, Wukong) and GANs (BigGAN).Each image is labeled under two categories, enabling researchers and developers to tackle two distinct, high-value computer vision tasks: binary real/fake classification and multi-class source model identification.### Supported Tasks and LeaderboardsThis dataset directly supports two critical image classification tasks:|**Task ID**|**Task Name**|**Description**|**Output Classes**||---|---|---|---||**Task A**|Binary Veracity Classification|Classifying images as either real or fake.|2 (real, fake)||**Task B**|AI Model Source Identification|Identifying the specific AI generation model used for images labeled as AI-Generated.|9 (Real, ADM, BigGAN, GLIDE, Midjourney, SD14, SD15, VQDM, Wukong)|### LanguagesThe descriptive text, including all class labels and metadata, is in English (en).## 🗂️ Data SplitsThe dataset is divided into training and validation splits to facilitate standard machine learning workflows.|**Split**|**Number of Instances**|**Notes**||---|---|---||**train**|28,000|Used for model training and weight optimization.||**validation**|7,000|Used for hyperparameter tuning and intermediate model evaluation.|## 💾 Dataset Structure### Data InstancesA single data instance consists of an image file and two distinct labels detailing its source and authenticity.|**Field Name**|**Example Value**|**Description**||---|---|---||**image**|`<PIL.Image.Image object>`|The actual image content loaded into a PIL object.||**label**|`1`|Binary label for authenticity (Real vs. AI-Generated).||**generator**|`4`|Multi-class label for the specific generation model (or Real).|### Data FieldsThe dataset contains the following fields:|**Field Name**|**Data Type**|**Description**||---|---|---||**image**|`datasets.Image()`|The actual image content (e.g., .jpg, .png).||**label**|`datasets.ClassLabel`|Task A: Binary label for image veracity.||**generator**|`datasets.ClassLabel`|Task B: Label specifying the generation source/model.|## 🏷️ Label DefinitionsThe two label fields use the following strict mappings:**`label` (Binary Veracity Classification)**|**Label**|**Value**|**Description**||---|---|---||**real**|`0`|Image is a real photograph/non-AI generated.||**fake**|`1`|Image was created by an AI generation model.|**`generator` (Model Source Identification)**|**Label**|**Value**|**Description**||---|---|---||**Real**|`0`|Real image (no AI generation involved).||**ADM**|`1`|Generated by Ablated Diffusion Model (Guided Diffusion).||**BigGAN**|`2`|Generated by BigGAN.||**GLIDE**|`3`|Generated by GLIDE.||**Midjourney**|`4`|Generated by Midjourney.||**SD14**|`5`|Generated by Stable Diffusion 1.4.||**SD15**|`6`|Generated by Stable Diffusion 1.5.||**VQDM**|`7`|Generated by Vector Quantized Diffusion Model.||**Wukong**|`8`|Generated by the Wukong diffusion model.|## 🔗 Sources- **Original dataset:** [yangsangtai/tiny-genimage (Kaggle)](https://www.kaggle.com/datasets/yangsangtai/tiny-genimage)
README.md+83