reformatting
Browse files
README.md
CHANGED
|
@@ -19,15 +19,15 @@ license: mit
|
|
| 19 |
- `language`: The language of the text content, and the predicted confidence of said language.
|
| 20 |
|
| 21 |
|
| 22 |
-
#
|
| 23 |
|
| 24 |
CDB Cleaned is pre-processed with [nemo-curator](https://github.com/NVIDIA-NeMo/Curator). We processed the text with the following steps:
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
-
##
|
| 29 |
|
| 30 |
-
###
|
| 31 |
|
| 32 |
* `UnicodeReformatter`: Uses [ftfy](https://ftfy.readthedocs.io/en/latest/) to fix broken Unicode characters.
|
| 33 |
|
|
@@ -39,14 +39,14 @@ CDB Cleaned is pre-processed with [nemo-curator](https://github.com/NVIDIA-NeMo/
|
|
| 39 |
|
| 40 |
* `Fuzzy Deduplication`: Uses MinHash and Locality Sensitive Hashing to find and remove near-duplicated documents.
|
| 41 |
|
| 42 |
-
##
|
| 43 |
|
| 44 |
-
###
|
| 45 |
|
| 46 |
* `FastText Language ID`: To label multilingual content at scale we utilize the [FastText](https://fasttext.cc/docs/en/language-identification.html) language identification model.
|
| 47 |
|
| 48 |
|
| 49 |
-
###
|
| 50 |
|
| 51 |
* `FastText Quality Filtering`: We train our own quality filterer here, and label each row with a quality rating.
|
| 52 |
|
|
@@ -96,8 +96,6 @@ CDB has quite a diverse distribution of languages, overall there is about 143 la
|
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
-
|
| 100 |
-
|
| 101 |
## Tokens
|
| 102 |
|
| 103 |
|
|
@@ -107,9 +105,9 @@ Using [xlm-roberta-base](https://huggingface.co/docs/transformers/model_doc/xlm-
|
|
| 107 |
|
| 108 |
### Token-length distribution
|
| 109 |
|
| 110 |
-
Computed over a sample of **2,164,574
|
| 111 |
|
| 112 |
-
| Statistic |
|
| 113 |
|-----------|---------|
|
| 114 |
| Min | 3 |
|
| 115 |
| Max | 702,667 |
|
|
@@ -147,12 +145,7 @@ On average we will have
|
|
| 147 |
Overall across CDB-Dec, CDB-Nov, CDB-Oct
|
| 148 |
|
| 149 |
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
|
| 157 |
|
| 158 |
|
|
|
|
| 19 |
- `language`: The language of the text content, and the predicted confidence of said language.
|
| 20 |
|
| 21 |
|
| 22 |
+
# Pre-Processing
|
| 23 |
|
| 24 |
CDB Cleaned is pre-processed with [nemo-curator](https://github.com/NVIDIA-NeMo/Curator). We processed the text with the following steps:
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
+
## Filtering
|
| 29 |
|
| 30 |
+
### Text-Cleaning
|
| 31 |
|
| 32 |
* `UnicodeReformatter`: Uses [ftfy](https://ftfy.readthedocs.io/en/latest/) to fix broken Unicode characters.
|
| 33 |
|
|
|
|
| 39 |
|
| 40 |
* `Fuzzy Deduplication`: Uses MinHash and Locality Sensitive Hashing to find and remove near-duplicated documents.
|
| 41 |
|
| 42 |
+
## Labelling
|
| 43 |
|
| 44 |
+
### Language Management
|
| 45 |
|
| 46 |
* `FastText Language ID`: To label multilingual content at scale we utilize the [FastText](https://fasttext.cc/docs/en/language-identification.html) language identification model.
|
| 47 |
|
| 48 |
|
| 49 |
+
### Quality Labelling
|
| 50 |
|
| 51 |
* `FastText Quality Filtering`: We train our own quality filterer here, and label each row with a quality rating.
|
| 52 |
|
|
|
|
| 96 |
|
| 97 |
|
| 98 |
|
|
|
|
|
|
|
| 99 |
## Tokens
|
| 100 |
|
| 101 |
|
|
|
|
| 105 |
|
| 106 |
### Token-length distribution
|
| 107 |
|
| 108 |
+
Computed over a sample of **2,164,574 domains** from CDB-Dec, Oct, Nov.
|
| 109 |
|
| 110 |
+
| Statistic | Tokens |
|
| 111 |
|-----------|---------|
|
| 112 |
| Min | 3 |
|
| 113 |
| Max | 702,667 |
|
|
|
|
| 145 |
Overall across CDB-Dec, CDB-Nov, CDB-Oct
|
| 146 |
|
| 147 |
|
| 148 |
+
# CDB v. OGB-MAG240M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
|
| 150 |
|
| 151 |
|