Datasets:
Upload SentimentPro-Dataset with quality metrics
Browse files- README.md +96 -0
- data.jsonl +3 -0
- figures/fig1.png +3 -0
- figures/fig2.png +3 -0
- figures/fig3.png +3 -0
- metadata.json +6 -0
README.md
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
- question-answering
|
| 6 |
+
---
|
| 7 |
+
# SentimentPro Dataset
|
| 8 |
+
<!-- markdownlint-disable first-line-h1 -->
|
| 9 |
+
<!-- markdownlint-disable html -->
|
| 10 |
+
<!-- markdownlint-disable no-duplicate-header -->
|
| 11 |
+
|
| 12 |
+
<div align="center">
|
| 13 |
+
<img src="figures/fig1.png" width="60%" alt="SentimentPro Dataset" />
|
| 14 |
+
</div>
|
| 15 |
+
<hr>
|
| 16 |
+
|
| 17 |
+
<div align="center" style="line-height: 1;">
|
| 18 |
+
<a href="LICENSE" style="margin: 2px;">
|
| 19 |
+
<img alt="License" src="figures/fig2.png" style="display: inline-block; vertical-align: middle;"/>
|
| 20 |
+
</a>
|
| 21 |
+
</div>
|
| 22 |
+
|
| 23 |
+
## 1. Introduction
|
| 24 |
+
|
| 25 |
+
SentimentPro is a comprehensive multilingual sentiment analysis dataset designed for training and evaluating sentiment classification models. The dataset includes labeled examples from multiple domains including social media, product reviews, and news articles.
|
| 26 |
+
|
| 27 |
+
<p align="center">
|
| 28 |
+
<img width="80%" src="figures/fig3.png">
|
| 29 |
+
</p>
|
| 30 |
+
|
| 31 |
+
The dataset was curated using advanced filtering techniques to ensure high quality annotations. Each example has been validated by at least 3 independent annotators with high inter-annotator agreement scores.
|
| 32 |
+
|
| 33 |
+
This release includes multiple data splits with varying quality characteristics to support research in data quality assessment and curriculum learning.
|
| 34 |
+
|
| 35 |
+
## 2. Quality Metrics
|
| 36 |
+
|
| 37 |
+
### Comprehensive Quality Assessment
|
| 38 |
+
|
| 39 |
+
<div align="center">
|
| 40 |
+
|
| 41 |
+
| | Quality Metric | Split_v1 | Split_v3 | Split_v5 | SentimentPro-Best |
|
| 42 |
+
|---|---|---|---|---|---|
|
| 43 |
+
| **Data Integrity** | Completeness | 0.820 | 0.855 | 0.870 | 0.907 |
|
| 44 |
+
| | Consistency | 0.785 | 0.812 | 0.835 | 0.892 |
|
| 45 |
+
| | Accuracy | 0.910 | 0.925 | 0.940 | 0.977 |
|
| 46 |
+
| **Temporal Quality** | Timeliness | 0.750 | 0.780 | 0.805 | 0.868 |
|
| 47 |
+
| | Uniqueness | 0.890 | 0.915 | 0.930 | 0.968 |
|
| 48 |
+
| | Validity | 0.865 | 0.880 | 0.900 | 0.950 |
|
| 49 |
+
| **Content Quality** | Coverage | 0.720 | 0.755 | 0.780 | 0.843 |
|
| 50 |
+
| | Diversity | 0.695 | 0.730 | 0.760 | 0.835 |
|
| 51 |
+
| | Relevance | 0.840 | 0.865 | 0.885 | 0.935 |
|
| 52 |
+
| | Balance | 0.775 | 0.805 | 0.830 | 0.892 |
|
| 53 |
+
| **Technical Quality** | Noise Level | 0.680 | 0.720 | 0.755 | 0.843 |
|
| 54 |
+
| | Label Quality | 0.905 | 0.920 | 0.935 | 0.973 |
|
| 55 |
+
| | Text Quality | 0.830 | 0.855 | 0.875 | 0.925 |
|
| 56 |
+
| | Format Compliance | 0.945 | 0.960 | 0.970 | 0.995 |
|
| 57 |
+
| | Schema Validation | 0.990 | 0.992 | 0.995 | 0.999 |
|
| 58 |
+
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
### Overall Quality Summary
|
| 62 |
+
The SentimentPro dataset demonstrates high quality across all evaluated dimensions, with particularly strong results in label accuracy and format compliance.
|
| 63 |
+
|
| 64 |
+
## 3. Dataset Structure
|
| 65 |
+
|
| 66 |
+
```
|
| 67 |
+
data/
|
| 68 |
+
├── train.jsonl # Training examples
|
| 69 |
+
├── validation.jsonl # Validation examples
|
| 70 |
+
└── test.jsonl # Test examples (labels withheld)
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
Each example follows this schema:
|
| 74 |
+
```json
|
| 75 |
+
{
|
| 76 |
+
"id": "unique_identifier",
|
| 77 |
+
"text": "The input text content",
|
| 78 |
+
"label": "positive|negative|neutral",
|
| 79 |
+
"domain": "social_media|reviews|news",
|
| 80 |
+
"language": "en|es|fr|de|zh"
|
| 81 |
+
}
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
## 4. Usage
|
| 85 |
+
|
| 86 |
+
```python
|
| 87 |
+
from datasets import load_dataset
|
| 88 |
+
|
| 89 |
+
dataset = load_dataset("username/SentimentPro-Dataset")
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
## 5. License
|
| 93 |
+
This dataset is licensed under the [Apache 2.0 License](LICENSE).
|
| 94 |
+
|
| 95 |
+
## 6. Contact
|
| 96 |
+
For questions or issues, please open an issue in this repository or contact data@sentimentpro.ai.
|
data.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "v10_001", "text": "Absolutely phenomenal!", "label": "positive", "domain": "reviews", "language": "en"}
|
| 2 |
+
{"id": "v10_002", "text": "Total waste of time", "label": "negative", "domain": "social_media", "language": "en"}
|
| 3 |
+
{"id": "v10_003", "text": "Mediocre at best", "label": "neutral", "domain": "reviews", "language": "en"}
|
figures/fig1.png
ADDED
|
Git LFS Details
|
figures/fig2.png
ADDED
|
Git LFS Details
|
figures/fig3.png
ADDED
|
Git LFS Details
|
metadata.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_type": "sentiment_analysis",
|
| 3 |
+
"version": "v10",
|
| 4 |
+
"format": "jsonl",
|
| 5 |
+
"num_examples": 35000
|
| 6 |
+
}
|