Update Readme.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,111 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- token-classification
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- twitter
|
| 10 |
+
- tweets
|
| 11 |
+
- sentiment
|
| 12 |
+
- social
|
| 13 |
+
- multi-class
|
| 14 |
+
pretty_name: Tweets-Sentiment-Analysis
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10M<n<100M
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# π¦ Tweets-Sentiment-Analysis (bdstar/Tweets-Sentiment-Analysis)
|
| 20 |
+
|
| 21 |
+
## π§ Overview
|
| 22 |
+
A **refined and merged version of Tweets text sentiment datasets**, providing a clean and well-balanced dataset for **sentiment classification** across three sentiment categories:
|
| 23 |
+
**`positive`**, **`negative`**, and **`neutral`**.
|
| 24 |
+
|
| 25 |
+
This dataset is split into three parts β **train**, **test**, and **validation** β each sourced from highly reputable open datasets.
|
| 26 |
+
It is designed for training, evaluating, and benchmarking **NLP models** for **Tweets Sentiment Analysis** and other **social media text classification** tasks.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## ποΈ Dataset Splits
|
| 31 |
+
|
| 32 |
+
| # | Split | Name | Negative | Neutral | Positive | % Negative | % Neutral | % Positive | Total |
|
| 33 |
+
|---|-------------|-----------------------------------------|----------|---------|----------|------------|-----------|------------|----------|
|
| 34 |
+
| 1 | Train | Sentiment140 (positive-sentence) | 71,462 | 233,345 | 483,261 | 9.067999 | 29.609754 | 61.322246 | 788,068 |
|
| 35 |
+
| 2 | Train | Sentiment140 (negative-sentence) | 451,341 | 191,650 | 136,801 | 57.879665 | 24.577067 | 17.543268 | 779,792 |
|
| 36 |
+
| 3 | Train | DailyDialog | 12,623 | 45,674 | 20,226 | 16.075545 | 58.166397 | 25.758058 | 78,523 |
|
| 37 |
+
| 4 | Test | ChatGPT Tweets Sentiment Analysis | 194,425 | 360,060 | 295,108 | 22.884487 | 42.380293 | 34.735220 | 849,593 |
|
| 38 |
+
| 5 | Validation | mteb-tweet_sentiment_extraction | 10,083 | 7,969 | 12,070 | 33.473873 | 26.455747 | 40.070380 | 30,122 |
|
| 39 |
+
| | **Total** | β | **739,934** | **838,698** | **947,466** | **29.291579** | **33.201325** | **37.507096** | **2,526,098** |
|
| 40 |
+
|
| 41 |
+
The possiblity value of Negative, Positive and Neutral for a text has been calculated by the model [cardiffnlp/twitter-roberta-base-sentiment-latest](https://huggingface.co/cardiffnlp/twitter-roberta-base-sentiment-latest)
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## π§© Column Descriptions
|
| 46 |
+
|
| 47 |
+
| Column | Type | Description |
|
| 48 |
+
|---------|------|-------------|
|
| 49 |
+
| **ID** | Integer | Auto-incremental unique ID for each row |
|
| 50 |
+
| **text** | String | Tweet text content |
|
| 51 |
+
| **negative** | Float | Possiblity the text be a negative |
|
| 52 |
+
| **neutral** | Float | Possiblity the text be a neutral |
|
| 53 |
+
| **positive** | Float | Possiblity the text be a positive |
|
| 54 |
+
| **label** | String | Sentiment category β one of `positive`, `negative`, or `neutral` |
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## π Dataset Summary
|
| 59 |
+
|
| 60 |
+
| Property | Value |
|
| 61 |
+
|-----------|-------|
|
| 62 |
+
| **Total Rows** | 2,526,098 |
|
| 63 |
+
| **Columns** | 6 |
|
| 64 |
+
| **File Formats** | JSON / Parquet / Pandas / Polars / Croissant |
|
| 65 |
+
| **License** | MIT |
|
| 66 |
+
| **Author** | Md Abdullah Al Mamun |
|
| 67 |
+
| **Year** | 2025 |
|
| 68 |
+
| **Source** | Refined version of Tweets Sentiment Dataset |
|
| 69 |
+
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
## π‘ Usage Example (Python)
|
| 73 |
+
|
| 74 |
+
```python
|
| 75 |
+
from datasets import load_dataset
|
| 76 |
+
# Load dataset from Hugging Face
|
| 77 |
+
ds = load_dataset("bdstar/Tweets-Sentiment-Analysis")
|
| 78 |
+
|
| 79 |
+
# Access splits
|
| 80 |
+
train = dataset["train"]
|
| 81 |
+
test = dataset["test"]
|
| 82 |
+
validation = dataset["validation"]
|
| 83 |
+
|
| 84 |
+
# Display sample
|
| 85 |
+
print(train[0])
|
| 86 |
+
```
|
| 87 |
+
|
| 88 |
+
---
|
| 89 |
+
|
| 90 |
+
## π·οΈ Citation
|
| 91 |
+
If you use this dataset in your research or application, please cite as:
|
| 92 |
+
|
| 93 |
+
```bibtex
|
| 94 |
+
@dataset{bdstar2025Tweets,
|
| 95 |
+
title = {Tweets-Sentiment-Analysis},
|
| 96 |
+
author = {Md Abdullah Al Mamun},
|
| 97 |
+
year = {2025},
|
| 98 |
+
howpublished = {Hugging Face},
|
| 99 |
+
url = {https://huggingface.co/datasets/bdstar/Tweets-Sentiment-Analysis}
|
| 100 |
+
}
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## π¬ Contact
|
| 106 |
+
|
| 107 |
+
For questions, improvements, or collaboration:
|
| 108 |
+
**Author:** Md Abdullah Al Mamun
|
| 109 |
+
π§ **Email:** mamunbd.ruet@gmail.com
|
| 110 |
+
π **Website:** [TechNTuts](https://techntuts.com/)
|
| 111 |
+
πΌ **Linkedin:** [WebRock](https://www.linkedin.com/in/webrock/)
|