Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,123 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- zh
|
| 7 |
+
pretty_name: ChineseWebText2.0-HighQuality
|
| 8 |
+
configs:
|
| 9 |
+
- config_name: default
|
| 10 |
+
data_files:
|
| 11 |
+
- split: train
|
| 12 |
+
path: data/*/*
|
| 13 |
+
features:
|
| 14 |
+
- name: text
|
| 15 |
+
dtype: string
|
| 16 |
+
- name: domain
|
| 17 |
+
dtype: dict
|
| 18 |
+
- name: toxicity
|
| 19 |
+
dtype: dict
|
| 20 |
+
- name: quality_score
|
| 21 |
+
dtype: float64
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
# 📘 **ChineseWebText2.0-HighQuality**
|
| 25 |
+
|
| 26 |
+
## **Overview**
|
| 27 |
+
|
| 28 |
+
ChineseWebText2.0-HighQuality is a **high-quality filtered subset** of the original
|
| 29 |
+
**CASIA-LM/ChineseWebText2.0** dataset (Apache-2.0 License).
|
| 30 |
+
|
| 31 |
+
This subset retains only samples with:
|
| 32 |
+
|
| 33 |
+
* **quality_score ≥ 0.9**
|
| 34 |
+
* **toxicity.score ≤ 0.01**
|
| 35 |
+
|
| 36 |
+
The goal is to provide a cleaner and more reliable dataset suitable for
|
| 37 |
+
language model **pre-training**, **instruction tuning**, and **quality-sensitive downstream tasks**.
|
| 38 |
+
|
| 39 |
+
This work is **independent** and **not affiliated** with the official CASIA-LM / ChineseWebText maintainers.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## **Key Features**
|
| 44 |
+
|
| 45 |
+
* ✔ **Derived from ChineseWebText2.0 (Apache-2.0 License)**
|
| 46 |
+
* ✔ **Quality-filtered using quality_score ≥ 0.9**
|
| 47 |
+
* ✔ **Safety-filtered using toxicity.score ≤ 0.01**
|
| 48 |
+
* ✔ **Light text cleaning: filters non-standard characters**
|
| 49 |
+
* ✔ **Retains original metadata schema (domain/toxicity/quality_score)**
|
| 50 |
+
* ✔ **Suitable for LLM pretraining and mixture construction**
|
| 51 |
+
|
| 52 |
+
---
|
| 53 |
+
|
| 54 |
+
## **Dataset Construction**
|
| 55 |
+
|
| 56 |
+
### **Source Dataset**
|
| 57 |
+
|
| 58 |
+
* **CASIA-LM/ChineseWebText2.0**
|
| 59 |
+
* License: **Apache-2.0**
|
| 60 |
+
|
| 61 |
+
### **Filtering Rule**
|
| 62 |
+
|
| 63 |
+
```
|
| 64 |
+
quality_score >= 0.9 and toxicity.score <= 0.01
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### **Processing Notes**
|
| 68 |
+
|
| 69 |
+
* The text is lightly cleaned by filtering non-standard characters.
|
| 70 |
+
* Only samples failing the thresholds are removed.
|
| 71 |
+
* No rewriting, deduplication, or translation has been applied in this derived subset.
|
| 72 |
+
* The dataset retains the original metadata schema.
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
+
|
| 76 |
+
## **Use Cases**
|
| 77 |
+
|
| 78 |
+
### **Recommended**
|
| 79 |
+
|
| 80 |
+
* Pretraining decoder/encoder–decoder language models
|
| 81 |
+
* Quality-sensitive mixture construction
|
| 82 |
+
* Safety-sensitive data distillation
|
| 83 |
+
* Domain-specific filtering based on the retained domain labels
|
| 84 |
+
|
| 85 |
+
### **Not Recommended**
|
| 86 |
+
|
| 87 |
+
* Research requiring the unchanged distribution of the full ChineseWebText2.0 corpus
|
| 88 |
+
* Studies that explicitly need toxic/low-quality tails for robustness evaluation
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## **License**
|
| 93 |
+
|
| 94 |
+
This dataset is distributed under:
|
| 95 |
+
|
| 96 |
+
* **Apache License 2.0** (same as the source dataset)
|
| 97 |
+
|
| 98 |
+
The original license and attribution to the source dataset creators are preserved.
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
## **Citation**
|
| 103 |
+
|
| 104 |
+
If you use this dataset, please cite:
|
| 105 |
+
|
| 106 |
+
```
|
| 107 |
+
@misc{chinesewebtext2_highquality,
|
| 108 |
+
title = {ChineseWebText2.0-HighQuality: A High-Quality Subset of ChineseWebText2.0},
|
| 109 |
+
author = {Morton Li},
|
| 110 |
+
year = {2026},
|
| 111 |
+
note = {Derived from CASIA-LM/ChineseWebText2.0 (Apache-2.0 License)}
|
| 112 |
+
}
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
## **Acknowledgements**
|
| 118 |
+
|
| 119 |
+
Special thanks to the creators of:
|
| 120 |
+
|
| 121 |
+
* **ChineseWebText2.0 (CASIA-LM)**
|
| 122 |
+
|
| 123 |
+
Their open dataset and toolchain enable high-quality Chinese web corpora research for the community.
|