L3Cube-MahaEmotions dataset for language nlp.
from datasets import load_dataset
ds = load_dataset('l3cube-pune/MahaEmotions')
from collections import Counter
labels = [ex['label'] for ex in ds['train']]
print(f"Emotion distribution: {dict(Counter(labels).most_common())}")| Field | Type | Description |
|---|---|---|
| text | string | Marathi text sample |
| label | string | Emotion category (one of 11 labels: happy, sad, angry, fearful, surprised, etc.) |