metadata
dataset_info:
features:
- name: text
dtype: string
- name: span
dtype: string
- name: label
dtype: string
- name: ordinal
dtype: int64
splits:
- name: train
num_bytes: 335243
num_examples: 2358
- name: validation
num_bytes: 5698
num_examples: 49
- name: test
num_bytes: 76698
num_examples: 654
download_size: 152389
dataset_size: 417639
Dataset Card for "tomaarsen/setfit-absa-semeval-laptops"
Dataset Summary
This dataset contains the manually annotated laptop reviews from SemEval-2014 Task 4, in the format as understood by SetFit ABSA.
For more details, see https://aclanthology.org/S14-2004/
Data Instances
An example of 'train' looks as follows.
{'text': 'I charge it at night and skip taking the cord with me because of the good battery life.', 'span': 'cord', 'label': 'neutral', 'ordinal': 0}
{'text': 'I charge it at night and skip taking the cord with me because of the good battery life.', 'span': 'battery life', 'label': 'positive', 'ordinal': 0}
{'text': 'The tech guy then said the service center does not do 1-to-1 exchange and I have to direct my concern to the "sales" team, which is the retail shop which I bought my netbook from.', 'span': 'service center', 'label': 'negative', 'ordinal': 0}
{'text': 'The tech guy then said the service center does not do 1-to-1 exchange and I have to direct my concern to the "sales" team, which is the retail shop which I bought my netbook from.', 'span': '"sales" team', 'label': 'negative', 'ordinal': 0}
{'text': 'The tech guy then said the service center does not do 1-to-1 exchange and I have to direct my concern to the "sales" team, which is the retail shop which I bought my netbook from.', 'span': 'tech guy', 'label': 'neutral', 'ordinal': 0}
Data Fields
The data fields are the same among all splits.
text
: astring
feature.span
: astring
feature showing the aspect span from the text.label
: astring
feature showing the polarity of the aspect span.ordinal
: anint64
feature showing the n-th occurrence of the span in the text. This is useful for if the span occurs within the same text multiple times.
Data Splits
name | train | validation | test |
---|---|---|---|
tomaarsen/setfit-absa-semeval-laptops | 2358 | 49 | 654 |
Citation Information
@inproceedings{pontiki-etal-2014-semeval,
title = "{S}em{E}val-2014 Task 4: Aspect Based Sentiment Analysis",
author = "Pontiki, Maria and
Galanis, Dimitris and
Pavlopoulos, John and
Papageorgiou, Harris and
Androutsopoulos, Ion and
Manandhar, Suresh",
editor = "Nakov, Preslav and
Zesch, Torsten",
booktitle = "Proceedings of the 8th International Workshop on Semantic Evaluation ({S}em{E}val 2014)",
month = aug,
year = "2014",
address = "Dublin, Ireland",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/S14-2004",
doi = "10.3115/v1/S14-2004",
pages = "27--35",
}