Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pretty_name: "Text Quality Dataset"
|
| 5 |
+
tags:
|
| 6 |
+
- text-quality
|
| 7 |
+
- classification
|
| 8 |
+
license: odc-by
|
| 9 |
+
task_categories:
|
| 10 |
+
- text-classification
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Text Quality Dataset
|
| 14 |
+
|
| 15 |
+
## Overview
|
| 16 |
+
This dataset contains **100,000 rows** sampled from the `allenai/c4` English split, annotated with various text quality classifiers.
|
| 17 |
+
|
| 18 |
+
## Methods
|
| 19 |
+
|
| 20 |
+
### FastText-based classifiers
|
| 21 |
+
The classifiers output probabilities converted to logits log(p). The **quality score** is computed as the difference of logits between the high-quality and low-quality classes.
|
| 22 |
+
|
| 23 |
+
- [ibm-granite/GneissWeb.Quality_annotator](https://huggingface.co/ibm-granite/GneissWeb.Quality_annotator)
|
| 24 |
+
- [openbmb/Ultra-FineWeb-classifier](https://huggingface.co/openbmb/Ultra-FineWeb-classifier)
|
| 25 |
+
|
| 26 |
+
### Transformers-based classifiers
|
| 27 |
+
- [HuggingFaceFW/fineweb-edu-classifier](https://huggingface.co/HuggingFaceFW/fineweb-edu-classifier): raw logits
|
| 28 |
+
- [nvidia/quality-classifier-deberta](https://huggingface.co/nvidia/quality-classifier-deberta): difference of logits (high - low)
|
| 29 |
+
|
| 30 |
+
### Overall score computation
|
| 31 |
+
- Scores from all classifiers were centered and scaled.
|
| 32 |
+
- Principal Components Analysis (PCA) was applied.
|
| 33 |
+
- The **first principal component (PC1)** is taken as the overall quality score.
|
| 34 |
+
|
| 35 |
+
For convenience, the dataset is split into an **80% training set** and a **20% testing set**.
|
| 36 |
+
|
| 37 |
+
## Results
|
| 38 |
+
|
| 39 |
+

|
| 40 |
+
|
| 41 |
+
- The **lower triangle** shows pairwise density plots of classifier scores.
|
| 42 |
+
- The **diagonal** presents the distribution of each classifier's scores.
|
| 43 |
+
- The **upper triangle** displays correlations between pairs of classifiers.
|
| 44 |
+
|
| 45 |
+
The classifiers' scores show moderate to strong correlations, except for the Nvidia classifier, which is less correlated. The PC1 correlates well with each individual classifier's quality score.
|
| 46 |
+
|
| 47 |
+
## License
|
| 48 |
+
This dataset is licensed under the **[Open Data Commons Attribution License (ODC-BY)](https://opendatacommons.org/licenses/by/)**.
|