Datasets:
metadata
license: mit
task_categories:
- text-classification
language:
- en
tags:
- gender-classification
- synthetic
- distillation
- c4
size_categories:
- 10K<n<100K
Gender Classification Dataset (English)
Dataset Description
This dataset contains 30000 text samples labeled for the gender of the grammatical subject. It was generated using a Teacher-Student distillation process.
- Repository: IsGarrido/gender-classifier-dataset-en
- Language: English
- Labels:
male,female,neutral
Creation Process
- Source: Sentences were streamed from the
allenai/c4(Colossal Clean Crawled Corpus) dataset. - Filtering: Sentences between 50-200 characters were selected.
- Labeling (Teacher): A local LLM (
mistralai/magistral-small-2509) running via LM Studio analyzed each sentence. - Prompt: "Analyze the following sentence and identify the gender of the SUBJECT... Return ONLY one word: 'Male', 'Female', or 'Neutral'."
- Balancing: The dataset generation was strictly controlled to ensure an even 33/33/33 split between classes.
Data Structure
text: The sentence (string).label: The gender class (string: "male", "female", "neutral").
Usage
from datasets import load_dataset
dataset = load_dataset("IsGarrido/gender-classifier-dataset-en")
print(dataset["train"][0])