readme preprocessing steps
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ license: mit
|
|
| 6 |
# CrediBench Cleaned
|
| 7 |
|
| 8 |
|
| 9 |
-
**CDB Cleaned** is the pre-processed version of CrediBench.
|
| 10 |
|
| 11 |
## Summary
|
| 12 |
|
|
@@ -18,5 +18,26 @@ license: mit
|
|
| 18 |
- `language`: The language of the text content, and the predicted confidence of said language.
|
| 19 |
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
|
|
|
|
| 6 |
# CrediBench Cleaned
|
| 7 |
|
| 8 |
|
| 9 |
+
**CDB Cleaned** is the pre-processed version of CrediBench. This text data is curated for pre-training, as such we follow general pre-processing steps recommended before pre-training on text.
|
| 10 |
|
| 11 |
## Summary
|
| 12 |
|
|
|
|
| 18 |
- `language`: The language of the text content, and the predicted confidence of said language.
|
| 19 |
|
| 20 |
|
| 21 |
+
## Pre-Processing
|
| 22 |
+
|
| 23 |
+
CDB Cleaned is pre-processed with [nemo-curator](https://github.com/NVIDIA-NeMo/Curator). We processed the text with the following steps:
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
### Text-Cleaning
|
| 27 |
+
|
| 28 |
+
* `UnicodeReformatter`: Uses [ftfy](https://ftfy.readthedocs.io/en/latest/) to fix broken Unicode characters.
|
| 29 |
+
|
| 30 |
+
* `NewlineNormalizer`: Uses regex to replace 3 or more consecutive newline characters in each document with only 2 newline characters.
|
| 31 |
+
|
| 32 |
+
* `UrlRemover`: uses regex to remove all URLs in each document.
|
| 33 |
+
|
| 34 |
+
### Deduplication
|
| 35 |
+
|
| 36 |
+
* `Fuzzy Deduplication`: Uses MinHash and Locality Sensitive Hashing to find and remove near-duplicated documents.
|
| 37 |
+
|
| 38 |
+
### Language Management
|
| 39 |
+
|
| 40 |
+
* `FastText Language ID`: To label multilingual content at scale we utilize the [FastText](https://fasttext.cc/docs/en/language-identification.html) language identification model.
|
| 41 |
+
|
| 42 |
|
| 43 |
|