Datasets:
Tasks:
Text Classification
Sub-tasks:
sentiment-classification
Languages:
English
Size:
10K<n<100K
License:
Update files from the datasets library (from 1.8.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.8.0
- README.md +2 -0
- dataset_infos.json +1 -1
- emo.py +2 -0
README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
---
|
|
|
|
|
2 |
paperswithcode_id: emocontext
|
3 |
---
|
4 |
|
|
|
1 |
---
|
2 |
+
languages:
|
3 |
+
- en
|
4 |
paperswithcode_id: emocontext
|
5 |
---
|
6 |
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"emo2019": {"description": "In this dataset, given a textual dialogue i.e. an utterance along with two previous turns of context, the goal was to infer the underlying emotion of the utterance by choosing from four emotion classes - Happy, Sad, Angry and Others
|
|
|
1 |
+
{"emo2019": {"description": "In this dataset, given a textual dialogue i.e. an utterance along with two previous turns of context, the goal was to infer the underlying emotion of the utterance by choosing from four emotion classes - Happy, Sad, Angry and Others.\n", "citation": "@inproceedings{chatterjee-etal-2019-semeval,\n title={SemEval-2019 Task 3: EmoContext Contextual Emotion Detection in Text},\n author={Ankush Chatterjee and Kedhar Nath Narahari and Meghana Joshi and Puneet Agrawal},\n booktitle={Proceedings of the 13th International Workshop on Semantic Evaluation},\n year={2019},\n address={Minneapolis, Minnesota, USA},\n publisher={Association for Computational Linguistics},\n url={https://www.aclweb.org/anthology/S19-2005},\n doi={10.18653/v1/S19-2005},\n pages={39--48},\n abstract={In this paper, we present the SemEval-2019 Task 3 - EmoContext: Contextual Emotion Detection in Text. Lack of facial expressions and voice modulations make detecting emotions in text a challenging problem. For instance, as humans, on reading ''Why don't you ever text me!'' we can either interpret it as a sad or angry emotion and the same ambiguity exists for machines. However, the context of dialogue can prove helpful in detection of the emotion. In this task, given a textual dialogue i.e. an utterance along with two previous turns of context, the goal was to infer the underlying emotion of the utterance by choosing from four emotion classes - Happy, Sad, Angry and Others. To facilitate the participation in this task, textual dialogues from user interaction with a conversational agent were taken and annotated for emotion classes after several data processing steps. A training data set of 30160 dialogues, and two evaluation data sets, Test1 and Test2, containing 2755 and 5509 dialogues respectively were released to the participants. A total of 311 teams made submissions to this task. The final leader-board was evaluated on Test2 data set, and the highest ranked submission achieved 79.59 micro-averaged F1 score. Our analysis of systems submitted to the task indicate that Bi-directional LSTM was the most common choice of neural architecture used, and most of the systems had the best performance for the Sad emotion class, and the worst for the Happy emotion class}\n}\n", "homepage": "https://www.aclweb.org/anthology/S19-2005/", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 4, "names": ["others", "happy", "sad", "angry"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": [{"task": "text-classification", "text_column": "text", "label_column": "label", "labels": ["angry", "happy", "others", "sad"]}], "builder_name": "emo", "config_name": "emo2019", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2433205, "num_examples": 30160, "dataset_name": "emo"}, "test": {"name": "test", "num_bytes": 421555, "num_examples": 5509, "dataset_name": "emo"}}, "download_checksums": {"https://drive.google.com/uc?id=12Uz59TYg_NtxOy7SXraYeXPMRT7oaO7X": {"num_bytes": 2867411, "checksum": "70e202c93671cebe3efdefa38dc6d1153d2f469d4538f3ab4ca395aaf7f14157"}, "https://drive.google.com/uc?id=1Hn5ytHSSoGOC4sjm3wYy0Dh0oY_oXBbb": {"num_bytes": 495145, "checksum": "b0844ed2a9d3485cf2bde315fdfc04cf6d61eeeaf834b680fb6c4407f9f3be1f"}}, "download_size": 3362556, "post_processing_size": null, "dataset_size": 2854760, "size_in_bytes": 6217316}}
|
emo.py
CHANGED
@@ -18,6 +18,7 @@
|
|
18 |
import json
|
19 |
|
20 |
import datasets
|
|
|
21 |
|
22 |
|
23 |
_CITATION = """\
|
@@ -80,6 +81,7 @@ class Emo(datasets.GeneratorBasedBuilder):
|
|
80 |
supervised_keys=None,
|
81 |
homepage="https://www.aclweb.org/anthology/S19-2005/",
|
82 |
citation=_CITATION,
|
|
|
83 |
)
|
84 |
|
85 |
def _get_drive_url(self, url):
|
|
|
18 |
import json
|
19 |
|
20 |
import datasets
|
21 |
+
from datasets.tasks import TextClassification
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
|
|
81 |
supervised_keys=None,
|
82 |
homepage="https://www.aclweb.org/anthology/S19-2005/",
|
83 |
citation=_CITATION,
|
84 |
+
task_templates=[TextClassification(text_column="text", label_column="label")],
|
85 |
)
|
86 |
|
87 |
def _get_drive_url(self, url):
|