Datasets:
|
Download docs/DATASHEET.md from ragibhasan/AffectFusion: direct link, hf CLI and curl.
- Browser
- Download file 6.85 kB
-
https://huggingface.co/datasets/ragibhasan/AffectFusion/resolve/main/docs/DATASHEET.md
- Command line
-
hf download hf://datasets/ragibhasan/AffectFusion/docs/DATASHEET.md
-
curl -L -o DATASHEET.md https://huggingface.co/datasets/ragibhasan/AffectFusion/resolve/main/docs/DATASHEET.md
6.85 kB
Datasheet for Datasets: AffectFusion Multilingual Text-and-Emoji Emotion Corpus (v1.0.0)
Structured according to Gebru et al. (2021), "Datasheets for Datasets," Communications of the ACM, 64(12), 86–92.
1. Motivation
- For what purpose was the dataset created?
AffectFusion v1.0.0 was created to address the lack of open, realistic, multilingual multimodal benchmarks for studying how emojis reinforce, soften, or contradict textual emotions (particularly sarcasm and irony) across English (ENG), Native Bengali (BN), and Romanized Banglish (BNG). - Who created the dataset and on behalf of which entity?
Created by MD. Ragib Hasan (232-15-775) and MD. Asadulla Hel Galib (232-15-270), supervised by Sharmin Akter (Assistant Professor) and co-supervised by Dewan Mamun Raza (Assistant Professor), Department of Computer Science and Engineering, Daffodil International University (DIU), Dhaka, Bangladesh. - Who funded the creation of the dataset?
Self-funded academic Final Year Design Project (FYDP) utilizing open-source software and free-tier compute (Google Colab Tesla T4).
2. Composition
- What do the instances represent?
Each row represents a single anonymized public social media post or comment containing text and optionally one or more Unicode emojis, classified into one of 9 canonical emotion classes:Joy (0),Neutral (1),Anger (2),Sadness (3),Surprise (4),Sarcasm (5),Fear (6),Disgust (7), andAnticipation (8). - How many instances are there in total?
30,000 instances partitioned strictly 80/10/10 intotrain_24k.parquet(24,000),val_3k(3,000), andtest_3k(3,000), accompanied bygold_5000_human_verified.csv(5,000blinded human-vs-AI verification records covering100%oftest_3kand66.7%ofval_3k). - Does the dataset contain all possible instances or a sample?
A quota-stratified sample harvested from an initial pool of59,840raw multilingual comments (44,580retained after cleaning and confidence filteringconf ≥ 3). - What data does each instance consist of?
25 structured columns separatingraw_text,text_stream,emoji_stream,demoji_text,baseline_input, categorical labels, language tags, emoji/lexical counts, affective punctuation cues, and explicit provenance flags (is_augmented,is_external_train_only,is_human_verified). Zero null values exist across required streams or labels. - Are there recommended data splits?
Yes — the locked splits (train_24k,val_3k,test_3k) are strictly deduplicated by normalized text MD5 hash across splits so identical texts never leak across Train, Validation, or Test. - Does the dataset contain confidential or personally identifiable information (PII)?
No private or login-gated content was collected. Automated regex preprocessing irreversibly masked URLs (<URL>), handles (<USER>), emails (<EMAIL>), and phone numbers (<PHONE>). Automated pre-release verification confirmed0email addresses,0raw URLs, and0personal phone numbers across the public evaluation splits. - Does the dataset contain content that might be offensive or sensitive?
Because instances originate from real public social media comments (includingAnger,Disgust, andSarcasmclasses), some comments contain informal slang, political commentary, or harsh criticism reflective of real online discourse.
3. Collection Process
- How was the data acquired?
Harvested via zero-API public collection pipelines across YouTube (yt-dlp/youtube-comment-downloader/ YouTube public comments covering Bangladeshi news, comedy, drama, cricket, and global channels), Reddit (Arctic Shift/ public JSON), Mastodon public hashtag timelines, Lemmy, and public Bangla/English RSS feeds. To prevent rare-class starvation inFearduring training,1,600English Fear rows from DAIR-AI/CARER (Saravia et al., EMNLP 2018) were quarantined strictly totrain_24k(flaggedis_external_train_only = 1, zero rows in Val or Test). - Over what timeframe was the data collected?
September–November 2026. - Were ethical review / terms-of-service safeguards followed?
Only publicly accessible posts were harvested without bypassing authentication or paywalls; all user identifiers were discarded before storage.
4. Preprocessing, Cleaning, and Labeling
- What preprocessing and cleaning was performed?
- Regex PII masking (
<URL>,<USER>,<EMAIL>,<PHONE>). - Bot, spam, empty, and extreme-length noise filtering.
- Fitzpatrick skin-tone (
🏻–🏿) and variation-selector (U+FE0F) stripping to canonical base emoji glyphs. - Unicode range + curated lexicon language detection (
ENG,BN,BNG). - Exact & normalized MD5 text-hash deduplication.
- Regex PII masking (
- How were labels assigned and validated?
- Initial 9-class annotation with structured JSON confidence scores (
1–5) viaGemini 3.1/3.5 Flash-Lite(following a 4-bit NF4Qwen2.5-7B-Instructstability pilot), retaining44,580rows atconf ≥ 3. - Blinded Dual-Member Human Gold Verification:
5,000real scraped comments (3,000Test +2,000Val) were split evenly (2,500each) across both researchers in blinded Excel workbooks with dropdown rubric validation. Overall agreement reached 83.00% (Cohen's κ = 0.8087; Testκ = 0.7847with574corrections; Valκ = 0.8447with276corrections). - Strict Train-Only Augmentation: Inside
train_24konly,3,528emoji-preserving paraphrases were generated via Gemini Flash across 5 deficit classes (Fear +1,384,Surprise +1,041,Anger +613,Disgust +396,Anticipation +94) with zero hash overlap against Val or Test.
- Initial 9-class annotation with structured JSON confidence scores (
5. Uses
- Intended Uses: Academic research and benchmarking for multimodal text-emoji emotion recognition, cross-attention transformer fusion, multilingual (
ENG/BN/BNG) NLP, sarcasm/contradiction detection, and post-hoc/intrinsic explainable AI (SHAP, LIME, attention maps). - Prohibited / Out-of-Scope Uses: Clinical or medical diagnosis of mental health conditions, automated punitive profiling without human oversight, or re-identification attempts.
6. Distribution and Maintenance
- Distribution: Permanently archived on Zenodo under CC BY 4.0 with SHA-256 checksums (
SHA256SUMS.txt), accompanied by reproducible code and Colab notebooks at https://github.com/ragibcs/AffectFusion. - Maintenance & Contact: Maintained by MD. Ragib Hasan (
hasan2305101775@diu.edu.bd) and MD. Asadulla Hel Galib (galib2305101270@diu.edu.bd). Versioned releases follow semantic versioning (v1.0.0).