← Datasets

Compare

Emotion
#157 · remove
SVGen Dataset
#108 · remove
Kinddatasetdataset
Published—2023
Licenseothercc
License familyOtherOther
Accessfreefree
Language codesenen
Modalitiestextcode, text
Size100K to 1M rows100K to 1M rows
Downloads (last month)32,21569
Likes46513
Last updated2024-08-082023-10-22
Taskstext-classificationtext-generation
Formatsparquetparquet
ScaleHub/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.Hub 216,543 train rows / 5 cols; parquet ~211.2 MB. Card claims ~300k. Downloads ~1.8K / likes 13.
FormatParquet 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.parquet/json fields: input, output, description, source, license
TypeAnnotated tweet-classification corpus / text + 6-way ClassLabelSVG code corpus (text modality)
CostFreeFree
LanguagesEnglish 100% (card language:en / monolingual). Preview tweets are lowercased English. Per-language percents N/A. Not independently LID-ed here.English labels/descriptions (card language:en). SVG markup is code.
ModalityText-only tweets + integer labels. Hub modality:text. No media URLs as extra n.Text/code (SVG). Not paired raster in this repo.
DomainTwitter; emotion classification; affect / CARER; English social-media textSVG vector code; icons/emoji; text-to-SVG
Time periodPaper 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.HF createdAt/lastModified 2023-10-22. Discord 2025-10-17.
PurposeUngated English CARER emotion-tweet dump (6 ClassLabels) for emotion-classification finetune and Hub train-eval-index evalAggregate public SVG sources into labeled input/output pairs for generation and design ML.
Used forSaravia 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.SVG code generation/understanding; icon corpora; not raster GUI grounding.
AuthorsTwitter 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).Packager umuthopeyildirim. Sources: SVG-Repo, Noto Emoji vector, InstructSVG.
BiasTwitter 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.Icon/emoji-heavy public SVG repos; license mix per row. Description quality uneven (author notes BLIP generation struggled).
Text qualityHashtag-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).SVG outputs look structural in schema; descriptions may be weak/empty. Check per-row license before commercial use.
Sample sizeDo 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.train 216543 (card ~300k mismatch).
Long contextNo (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.Medium (SVG strings can be long; not independently measured)
Intermediate stepsYes (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.No (direct SVG outputs; not CoT)
Idea qualityHighMedium
NoveltyHigh (canonical public CARER Emotion dump vs already-cataloged TweetEval SemEval emotion; remaining dump leftover)Low-Medium (useful SVG aggregate; older 2023 pack)
Text conversionReady 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.High (ungated parquet)
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-08-08; frozen CARER dump, not a live crawl).Yes (lastModified 2023-10-22)
ProcessedUnknownPartial (aggregation; descriptions incomplete)
SummaryEmotion 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.SVGen is a comprehensive dataset containing 300,000 SVG vector codes from a diverse set of sources including SVG-Repo, Noto Emoji, and InstructSVG. The dataset aims to provide a wide range of SVG files suitable for various applications including web development, design, and machine learning research.