# Emotion

- **ID:** 157
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/dair-ai/emotion
- **Authors:** dair-ai
- **Venue:** dair-ai
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** other
- **License family:** Other (auto-classified)
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/157

## Summary

Emotion is a dataset of English Twitter messages with six basic emotions: anger, fear, joy, love, sadness, and surprise. For more detailed information please refer to the paper.

## Attributes

- **Purpose:** text-classification
- **Scale:** 10K<n<100K
- **Time period:** created 2022-03-02; updated 2024-08-08
- **Author type:** unknown

## From the source (fetched 2026-10-03)

- **Repository:** dair-ai/emotion (Hugging Face)
- **Last updated:** Aug 8, 2024 (Hugging Face)
- **Downloads (last month):** 32,215 (Hugging Face)
- **Likes:** 465 (Hugging Face)
- **Size:** 100K to 1M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-classification (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** Hub/datasets-server: unsplit train 416,809 / 2 columns / 26,888,538 bytes parquet (~26.9 MB) / in-memory 47,139,430 (~47.1 MB); split train 16,000 + validation 2,000 + test 2,000 = 20,000 / parquet 1,287,193 (~1.29 MB) / in-memory 2,223,504 (~2.22 MB). datasets-server concat-across-2-configs 436,809 — do not concat; split is the 20k benchmark vs unsplit the full distant-supervision dump. usedStorage 462,785,045 bytes (~462.8 MB) vs on-disk parquet 28,175,731 (~28.2 MB) — catalog both (likely LFS history). YAML size_categories 10K<n<100K vs tags 100K<n<1M — catalog Hub unsplit 416,809, not YAML 10K. siblings 6 (README + gitattributes + 4 parquet). Hub overview 833.9K downloads / 454 likes at check; API downloads 17,100. gated=false; private=false. Card stale “downloaded 16.13 MB / generated 47.62 MB / disk 63.75 MB” vs current parquet ~28.2 MB — catalog Hub parquet.
- **Format:** Parquet under split/ (train/validation/test one file each) and unsplit/train-00000-of-00001.parquet. Columns: text (string), label (ClassLabel sadness/joy/love/anger/fear/surprise). Two YAML configs: split (default) and unsplit. Hub loading script replaced by parquet.
- **Type:** Annotated tweet-classification corpus / text + 6-way ClassLabel
- **License:** other (HF card YAML other): “The dataset should be used for educational and research purposes only.” Twitter / X ToS still apply to sourced tweets. Catalog both. Not independently lawyered here.
- **Cost:** Free
- **Languages:** English 100% (card language:en / monolingual). Preview tweets are lowercased English. Per-language percents N/A. Not independently LID-ed here.
- **Modality:** Text-only tweets + integer labels. Hub modality:text. No media URLs as extra n.
- **Domain:** Twitter; emotion classification; affect / CARER; English social-media text
- **Time period:** Paper EMNLP 2018 (Oct–Nov 2018; ACL D18-1404). Source tweets from Twitter hashtag distant supervision (exact crawl window Unknown from the Hub card). HF createdAt 2022-03-02T23:29:22Z; lastModified 2024-08-08T06:10:47Z. Frozen parquet conversion of the original datasets-library script, not a live Twitter crawl.
- **Purpose:** Ungated English CARER emotion-tweet dump (6 ClassLabels) for emotion-classification finetune and Hub train-eval-index eval
- **Used for:** Saravia et al. CARER (EMNLP 2018). Hub train-eval-index accuracy / F1 / precision / recall. Common HF tutorial split. Hub overview 833.9K downloads / 454 likes at check; API downloads 17,100. Distinct from already-cataloged TweetEval emotion (SemEval-2018 Task 1, not this CARER 416k). Do not concat TweetEval as extra n.
- **Authors:** Twitter users (human tweets). Labels from hashtag distant supervision (card annotations_creators: machine-generated). Paper authors Elvis Saravia, Hsien-Chi Toby Liu, Yen-Hao Huang, Junlin Wu, Yi-Shin Chen. Hub packager dair-ai; datasets-library contributors lhoestq / thomwolf / lewtun. Unique-author histogram Unknown (no user ids on Hub).
- **Bias:** Twitter public-API era; English; joy-heavy (unsplit joy 141,067 / sadness 121,187 / anger 57,317 / fear 47,712 / love 34,554 / surprise 14,972 of 416,809). Distant-supervision hashtag priors (users who hashtag emotions ≠ general Twitter). Distinct from already-cataloged TweetEval emotion — possible topical overlap of Twitter affect; do not add those n.
- **Text quality:** Hashtag-stripped lowercased tweets. Independently inspected split/train 0–4: coherent English tweets (didnt feel humiliated / hopeless-to-hopeful / greedy wrong / nostalgic fireplace / grouchy) with labels sadness/sadness/anger/love/anger matching the classic CARER 20k examples. Residual: unsplit text max 830 chars (above historical 140/280); card Languages/PII/biases “More Information Needed”; annotations_creators machine-generated so labels are hashtag-derived not expert. Not independently re-pulled from Twitter/X here (API now closed).
- **Sample size:** Do not concat the 2 configs as extra unique n beyond unsplit 416,809. split 16,000/2,000/2,000. unsplit single train 416,809. split/train label mix joy 5,362 / sadness 4,666 / anger 2,159 / fear 1,937 / love 1,304 / surprise 572 of 16,000. Do not add TweetEval emotion as extra n of this card.
- **Long context:** No (tweets). datasets-server split/train text chars mean 96.8 / median 86 / min 7 / max 300; unsplit mean 97.0 / median 86 / min 2 / max 830. Exact token histogram Unknown without aggregating.
- **Intermediate steps:** Yes (Twitter hashtag distant supervision; drop hashtags; 20k train/val/test split vs full 416k). Exact hashtag inventory and subsample recipe Unknown from the Hub card (see Saravia et al. EMNLP 2018). Independent of X Corp except as the original tweet source.
- **Idea quality:** High
- **Novelty:** High (canonical public CARER Emotion dump vs already-cataloged TweetEval SemEval emotion; remaining dump leftover)
- **Text conversion:** Ready parquet; load_dataset('dair-ai/emotion') for the 20k default split or load_dataset('dair-ai/emotion', 'unsplit'). ~1.29 MB split / ~26.9 MB unsplit. Viewer works. Do not concat split+unsplit as extra unique tweets. Do not concat TweetEval as extra n.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2024-08-08; frozen CARER dump, not a live crawl).
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/dair-ai/emotion
- Related: https://huggingface.co/datasets/dair-ai/emotion
- Related: https://github.com/dair-ai/emotion_dataset
- Related: https://aclanthology.org/D18-1404/
- Related: https://doi.org/10.18653/v1/D18-1404

## Research notes

- downloads=38765; likes=449
- Remaining high-value dump HF (data-source-dump.jsonl; public ungated English Twitter emotion). Discord posted https://huggingface.co/datasets/dair-ai/emotion (message 1439777595083456707). gated=false; public. Catalog Hub unsplit 416,809 / split 20,000 / ~26.9 MB + ~1.29 MB parquet / usedStorage ~462.8 MB, not YAML 10K<n<100K as n and not concat 436,809. Cite Saravia et al. EMNLP 2018 CARER (ACL D18-1404). Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Distinct from already-cataloged TweetEval. Hub overview 833.9K vs API 17,100 — catalog both. YAML 10K vs tags 100K — catalog Hub 416,809. Residual: unsplit max 830 chars; card PII More Information Needed.

## Similar entries

- [MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversations](https://papers.projxon.ai/entries/1013) (dataset, #1013)
- [OrukLabs looped speech model: 2.04B → 153M via weight-shared looping (24x encoder, 28x decoder)](https://papers.projxon.ai/entries/1341) (paper, #1341)
- [The GDELT Project](https://papers.projxon.ai/entries/246) (dataset, #246)
- [TweetEval](https://papers.projxon.ai/entries/330) (dataset, #330)
- [Project Overview ‹ P2PSTORY: Dataset of children as storytellers and listeners in peer-to-peer interactions – MIT Media Lab](https://papers.projxon.ai/entries/121) (dataset, #121)
- [Human-Like-DPO-Dataset](https://papers.projxon.ai/entries/368) (dataset, #368)
