| pretty_name: "Test_Emotion_Classification" | |
| license: apache-2.0 # SPDX identifier | |
| language: en | |
| tags: | |
| - text-classification | |
| - emotion | |
| task_categories: | |
| - text-classification | |
| pipeline_tag: text-classification | |
| # Test_Emotion_Classification | |
| A dataset of user-provided texts labeled with Ekman’s six basic emotions, filtered to only include entries where an emotion was detected. | |
| **Total examples**: 3863 | |
| ## Examples per Emotion | |
| - **Anger**: 875 | |
| - **Disgust**: 523 | |
| - **Fear**: 232 | |
| - **Joy**: 1443 | |
| - **Sadness**: 492 | |
| - **Surprise**: 298 | |
| ## Dataset Structure | |
| | Column | Type | Description | | |
| | ----------- | ------- | --------------------------------------------------------- | | |
| | text | string | The original input text. | | |
| | emotion | string | One of joy, sadness, anger, fear, surprise, disgust. | | |
| ## Usage | |
| ```python | |
| from datasets import load_dataset | |
| ds = load_dataset("AI-Roadmap/test_emotion_classification") | |
| print(ds["train"][0]) | |
| ``` | |
| License: CC-BY-4.0 |