Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: odc-by
|
| 3 |
---
|
|
|
|
| 1 |
+
This is a preprocessed version of the realnewslike subdirectory of C4
|
| 2 |
+
|
| 3 |
+
C4 from: https://huggingface.co/datasets/allenai/c4
|
| 4 |
+
|
| 5 |
+
Files generated by using Megatron-LM https://github.com/NVIDIA/Megatron-LM/
|
| 6 |
+
```
|
| 7 |
+
python tools/preprocess_data.py \
|
| 8 |
+
--input 'c4/realnewslike/c4-train.0000[0-9]-of-00512.json' \
|
| 9 |
+
--partitions 8 \
|
| 10 |
+
--output-prefix preprocessed/c4 \
|
| 11 |
+
--tokenizer-type GPTSentencePieceTokenizer \
|
| 12 |
+
--tokenizer-model tokenizers/tokenizer.model \
|
| 13 |
+
--workers 8
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
---
|
| 17 |
license: odc-by
|
| 18 |
---
|