Update dataset card - fill in all missing documentation fields
Browse filesFilled in all "More Information Needed" sections including supported tasks, languages, curation rationale, source data, annotation process, personal/sensitive information, social impact, biases, limitations, dataset curators, and licensing — based on the original Go et al. 2009 paper and publicly available information about the dataset.
README.md
CHANGED
|
@@ -105,25 +105,25 @@ train-eval-index:
|
|
| 105 |
## Dataset Description
|
| 106 |
|
| 107 |
- **Homepage:** [http://help.sentiment140.com/home](http://help.sentiment140.com/home)
|
| 108 |
-
- **Repository:** [
|
| 109 |
-
- **Paper:** [
|
| 110 |
-
- **Point of Contact:**
|
| 111 |
- **Size of downloaded dataset files:** 81.36 MB
|
| 112 |
- **Size of the generated dataset:** 225.82 MB
|
| 113 |
- **Total amount of disk used:** 307.18 MB
|
| 114 |
|
| 115 |
### Dataset Summary
|
| 116 |
|
| 117 |
-
Sentiment140
|
| 118 |
-
sentiment classification. For more detailed information please refer to the paper.
|
| 119 |
|
| 120 |
### Supported Tasks and Leaderboards
|
| 121 |
|
| 122 |
-
|
|
|
|
| 123 |
|
| 124 |
### Languages
|
| 125 |
|
| 126 |
-
|
| 127 |
|
| 128 |
## Dataset Structure
|
| 129 |
|
|
@@ -151,11 +151,11 @@ An example of 'train' looks as follows.
|
|
| 151 |
The data fields are the same among all splits.
|
| 152 |
|
| 153 |
#### sentiment140
|
| 154 |
-
- `text`: a `string` feature.
|
| 155 |
-
- `date`: a `string` feature.
|
| 156 |
-
- `user`: a `string` feature.
|
| 157 |
-
- `sentiment`: a `int32` feature.
|
| 158 |
-
- `query`: a `string` feature.
|
| 159 |
|
| 160 |
### Data Splits
|
| 161 |
|
|
@@ -167,58 +167,62 @@ The data fields are the same among all splits.
|
|
| 167 |
|
| 168 |
### Curation Rationale
|
| 169 |
|
| 170 |
-
|
| 171 |
|
| 172 |
### Source Data
|
| 173 |
|
| 174 |
#### Initial Data Collection and Normalization
|
| 175 |
|
| 176 |
-
|
| 177 |
|
| 178 |
#### Who are the source language producers?
|
| 179 |
|
| 180 |
-
|
| 181 |
|
| 182 |
### Annotations
|
| 183 |
|
| 184 |
#### Annotation process
|
| 185 |
|
| 186 |
-
|
| 187 |
|
| 188 |
#### Who are the annotators?
|
| 189 |
|
| 190 |
-
|
| 191 |
|
| 192 |
### Personal and Sensitive Information
|
| 193 |
|
| 194 |
-
|
| 195 |
|
| 196 |
## Considerations for Using the Data
|
| 197 |
|
| 198 |
### Social Impact of Dataset
|
| 199 |
|
| 200 |
-
|
| 201 |
|
| 202 |
### Discussion of Biases
|
| 203 |
|
| 204 |
-
|
|
|
|
|
|
|
|
|
|
| 205 |
|
| 206 |
### Other Known Limitations
|
| 207 |
|
| 208 |
-
|
|
|
|
|
|
|
| 209 |
|
| 210 |
## Additional Information
|
| 211 |
|
| 212 |
### Dataset Curators
|
| 213 |
|
| 214 |
-
|
| 215 |
|
| 216 |
### Licensing Information
|
| 217 |
|
| 218 |
-
[
|
| 219 |
|
| 220 |
### Citation Information
|
| 221 |
-
|
| 222 |
```
|
| 223 |
@article{go2009twitter,
|
| 224 |
title={Twitter sentiment classification using distant supervision},
|
|
@@ -229,10 +233,8 @@ The data fields are the same among all splits.
|
|
| 229 |
pages={2009},
|
| 230 |
year={2009}
|
| 231 |
}
|
| 232 |
-
|
| 233 |
```
|
| 234 |
|
| 235 |
-
|
| 236 |
### Contributions
|
| 237 |
|
| 238 |
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|
|
|
|
| 105 |
## Dataset Description
|
| 106 |
|
| 107 |
- **Homepage:** [http://help.sentiment140.com/home](http://help.sentiment140.com/home)
|
| 108 |
+
- **Repository:** [Sentiment140 at Stanford](http://help.sentiment140.com/home)
|
| 109 |
+
- **Paper:** [Twitter Sentiment Classification using Distant Supervision (Go et al., 2009)](https://cs.stanford.edu/people/alecmgo/papers/TwitterDistantSupervision09.pdf)
|
| 110 |
+
- **Point of Contact:** Alec Go, Richa Bhayani, Lei Huang (Stanford University)
|
| 111 |
- **Size of downloaded dataset files:** 81.36 MB
|
| 112 |
- **Size of the generated dataset:** 225.82 MB
|
| 113 |
- **Total amount of disk used:** 307.18 MB
|
| 114 |
|
| 115 |
### Dataset Summary
|
| 116 |
|
| 117 |
+
Sentiment140 is a large-scale Twitter sentiment classification dataset containing 1.6 million tweets automatically labelled using emoticons as a form of distant supervision. Tweets containing positive emoticons (e.g., :), :-)) are labelled positive (sentiment=4), and tweets containing negative emoticons (e.g., :(, :-( ) are labelled negative (sentiment=0). The dataset is widely used as a benchmark for binary and multi-class sentiment classification in NLP research.
|
|
|
|
| 118 |
|
| 119 |
### Supported Tasks and Leaderboards
|
| 120 |
|
| 121 |
+
- **Text Classification / Sentiment Analysis**: The dataset is designed for binary sentiment classification (negative vs. positive). The `sentiment` field serves as the label. Models are typically evaluated on the 498-example test split using accuracy and F1 score.
|
| 122 |
+
- Leaderboard and benchmark results can be found on [Papers With Code — Sentiment140](https://paperswithcode.com/dataset/sentiment140).
|
| 123 |
|
| 124 |
### Languages
|
| 125 |
|
| 126 |
+
The dataset contains English-language (`en`) tweets collected from the Twitter platform.
|
| 127 |
|
| 128 |
## Dataset Structure
|
| 129 |
|
|
|
|
| 151 |
The data fields are the same among all splits.
|
| 152 |
|
| 153 |
#### sentiment140
|
| 154 |
+
- `text`: a `string` feature. The raw text content of the tweet.
|
| 155 |
+
- `date`: a `string` feature. The date and time the tweet was posted.
|
| 156 |
+
- `user`: a `string` feature. The Twitter username of the author.
|
| 157 |
+
- `sentiment`: a `int32` feature. Sentiment label: `0` = negative, `2` = neutral, `4` = positive.
|
| 158 |
+
- `query`: a `string` feature. The query keyword used to retrieve the tweet, or `NO_QUERY` if none.
|
| 159 |
|
| 160 |
### Data Splits
|
| 161 |
|
|
|
|
| 167 |
|
| 168 |
### Curation Rationale
|
| 169 |
|
| 170 |
+
The dataset was created to address the lack of large-scale labelled data for Twitter sentiment analysis. Rather than relying on manual annotation, the authors used a distant supervision approach: emoticons in tweets serve as noisy but scalable sentiment labels. This allowed the collection of 1.6 million labelled examples without human annotators.
|
| 171 |
|
| 172 |
### Source Data
|
| 173 |
|
| 174 |
#### Initial Data Collection and Normalization
|
| 175 |
|
| 176 |
+
Tweets were collected using the Twitter API by querying for tweets containing positive or negative emoticons. Tweets with both positive and negative emoticons were discarded. Usernames and URLs were replaced with consistent placeholders (`@user`, `URL`) to reduce noise. The resulting dataset was split into a large training set (1.6M tweets) and a manually-labelled test set (498 tweets).
|
| 177 |
|
| 178 |
#### Who are the source language producers?
|
| 179 |
|
| 180 |
+
The text was produced by general Twitter users writing in English. The dataset was collected and processed by researchers at Stanford University: Alec Go, Richa Bhayani, and Lei Huang as part of the CS224N course project.
|
| 181 |
|
| 182 |
### Annotations
|
| 183 |
|
| 184 |
#### Annotation process
|
| 185 |
|
| 186 |
+
Training labels were assigned automatically using emoticons as proxies for sentiment (distant supervision) — no human annotation was used for the training set. The test set of 498 tweets was manually annotated by the authors for evaluation purposes.
|
| 187 |
|
| 188 |
#### Who are the annotators?
|
| 189 |
|
| 190 |
+
Training set: no human annotators — labels derived automatically from emoticons. Test set: manually labelled by the paper's authors (Go, Bhayani, Huang) at Stanford University.
|
| 191 |
|
| 192 |
### Personal and Sensitive Information
|
| 193 |
|
| 194 |
+
The dataset contains real Twitter usernames and tweet content from public accounts. While the data was publicly available at the time of collection, users may not have been aware their tweets would be used for research. Researchers using this dataset should be mindful of potential privacy implications, particularly when working with the `user` field.
|
| 195 |
|
| 196 |
## Considerations for Using the Data
|
| 197 |
|
| 198 |
### Social Impact of Dataset
|
| 199 |
|
| 200 |
+
Sentiment140 has been widely used to train and benchmark NLP models for social media sentiment analysis. Models trained on this data have applications in brand monitoring, public opinion research, and crisis detection. However, since labels are derived from emoticons, the dataset may not capture nuanced or ambiguous sentiment, which could affect the reliability of downstream models.
|
| 201 |
|
| 202 |
### Discussion of Biases
|
| 203 |
|
| 204 |
+
- **Emoticon bias**: Labels are derived from emoticons, which are more commonly used by certain demographics, potentially underrepresenting users who express sentiment through language alone.
|
| 205 |
+
- **Topic bias**: Tweets were collected via keyword queries, meaning certain topics and events are overrepresented.
|
| 206 |
+
- **Temporal bias**: Tweets were collected in 2009–2010; language use, slang, and topics on Twitter have evolved significantly since then.
|
| 207 |
+
- **Class imbalance in test set**: The 498-example test set is small and may not be representative of real-world distributions.
|
| 208 |
|
| 209 |
### Other Known Limitations
|
| 210 |
|
| 211 |
+
- The training set contains no neutral tweets (only positive and negative via emoticons); the `sentiment=2` (neutral) class only appears in the test set.
|
| 212 |
+
- Tweet text may contain noise including misspellings, abbreviations, and platform-specific formatting.
|
| 213 |
+
- The dataset is from 2009–2010 and may not generalise well to contemporary social media text.
|
| 214 |
|
| 215 |
## Additional Information
|
| 216 |
|
| 217 |
### Dataset Curators
|
| 218 |
|
| 219 |
+
The dataset was created by Alec Go, Richa Bhayani, and Lei Huang at Stanford University as part of the CS224N Natural Language Processing course. It is hosted on the HuggingFace Hub by [@patrickvonplaten](https://github.com/patrickvonplaten) and [@thomwolf](https://github.com/thomwolf).
|
| 220 |
|
| 221 |
### Licensing Information
|
| 222 |
|
| 223 |
+
The dataset was made freely available by the authors for research purposes. No explicit open-source license is attached. Users should refer to [Twitter's Developer Policy](https://developer.twitter.com/en/developer-terms/policy) regarding use of tweet content.
|
| 224 |
|
| 225 |
### Citation Information
|
|
|
|
| 226 |
```
|
| 227 |
@article{go2009twitter,
|
| 228 |
title={Twitter sentiment classification using distant supervision},
|
|
|
|
| 233 |
pages={2009},
|
| 234 |
year={2009}
|
| 235 |
}
|
|
|
|
| 236 |
```
|
| 237 |
|
|
|
|
| 238 |
### Contributions
|
| 239 |
|
| 240 |
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|