stanfordnlp/sst2

Dataset

Dataset Card for [Dataset Name]

166

9 commits

1 linked in READMEs

updated Jan 4, 2024

See the code

README

Dataset Card for [Dataset Name]

Table of Contents

Dataset Description

Dataset Summary

The Stanford Sentiment Treebank is a corpus with fully labeled parse trees that allows for a complete analysis of the compositional effects of sentiment in language. The corpus is based on the dataset introduced by Pang and Lee (2005) and consists of 11,855 single sentences extracted from movie reviews. It was parsed with the Stanford parser and includes a total of 215,154 unique phrases from those parse trees, each annotated by 3 human judges.

Binary classification experiments on full sentences (negative or somewhat negative vs somewhat positive or positive with neutral sentences discarded) refer to the dataset as SST-2 or SST binary.

Supported Tasks and Leaderboards

  • sentiment-classification

Languages

The text in the dataset is in English (en).

Dataset Structure

Data Instances

{'idx': 0,
 'sentence': 'hide new secretions from the parental units ',
 'label': 0}

Data Fields

  • idx: Monotonically increasing index ID.
  • sentence: Complete sentence expressing an opinion about a film.
  • label: Sentiment of the opinion, either "negative" (0) or positive (1). The test set labels are hidden (-1).

Data Splits

trainvalidationtest
Number of examples673498721821

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

Rotten Tomatoes reviewers.

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

[More Information Needed]

Licensing Information

Unknown.

Citation Information

@inproceedings{socher-etal-2013-recursive,
    title = "Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank",
    author = "Socher, Richard  and
      Perelygin, Alex  and
      Wu, Jean  and
      Chuang, Jason  and
      Manning, Christopher D.  and
      Ng, Andrew  and
      Potts, Christopher",
    booktitle = "Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing",
    month = oct,
    year = "2013",
    address = "Seattle, Washington, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/D13-1170",
    pages = "1631--1642",
}

Contributions

Thanks to @albertvillanova for adding this dataset.

Contributors

mariosasko

2 commits

julien-c

1 commits

lhoestq

1 commits

stanfordnlp/sst2

Dataset

Dataset Card for [Dataset Name]

166

9 commits

1 linked in READMEs

updated Jan 4, 2024

See the code

README

Dataset Card for [Dataset Name]

Table of Contents

Dataset Description

Dataset Summary

The Stanford Sentiment Treebank is a corpus with fully labeled parse trees that allows for a complete analysis of the compositional effects of sentiment in language. The corpus is based on the dataset introduced by Pang and Lee (2005) and consists of 11,855 single sentences extracted from movie reviews. It was parsed with the Stanford parser and includes a total of 215,154 unique phrases from those parse trees, each annotated by 3 human judges.

Binary classification experiments on full sentences (negative or somewhat negative vs somewhat positive or positive with neutral sentences discarded) refer to the dataset as SST-2 or SST binary.

Supported Tasks and Leaderboards

  • sentiment-classification

Languages

The text in the dataset is in English (en).

Dataset Structure

Data Instances

{'idx': 0,
 'sentence': 'hide new secretions from the parental units ',
 'label': 0}

Data Fields

  • idx: Monotonically increasing index ID.
  • sentence: Complete sentence expressing an opinion about a film.
  • label: Sentiment of the opinion, either "negative" (0) or positive (1). The test set labels are hidden (-1).

Data Splits

trainvalidationtest
Number of examples673498721821

Dataset Creation

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

Rotten Tomatoes reviewers.

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

[More Information Needed]

Licensing Information

Unknown.

Citation Information

@inproceedings{socher-etal-2013-recursive,
    title = "Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank",
    author = "Socher, Richard  and
      Perelygin, Alex  and
      Wu, Jean  and
      Chuang, Jason  and
      Manning, Christopher D.  and
      Ng, Andrew  and
      Potts, Christopher",
    booktitle = "Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing",
    month = oct,
    year = "2013",
    address = "Seattle, Washington, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/D13-1170",
    pages = "1631--1642",
}

Contributions

Thanks to @albertvillanova for adding this dataset.

Contributors

mariosasko

2 commits

julien-c

1 commits

lhoestq

1 commits