haritzpuerto
commited on
Commit
•
b3909e5
1
Parent(s):
fbc312e
Update README.md
Browse files
README.md
CHANGED
@@ -28,4 +28,23 @@ configs:
|
|
28 |
path: data/validation-*
|
29 |
- split: test
|
30 |
path: data/test-*
|
|
|
|
|
31 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
path: data/validation-*
|
29 |
- split: test
|
30 |
path: data/test-*
|
31 |
+
language:
|
32 |
+
- en
|
33 |
---
|
34 |
+
|
35 |
+
|
36 |
+
This dataset includes all arxiv documents from the 00.jsonl.zst partition of The Pile. It was created with this script:
|
37 |
+
|
38 |
+
```
|
39 |
+
pile_path = "data/the_pile/train/00.jsonl.zst"
|
40 |
+
|
41 |
+
with zstd.open(pile_path, 'r') as fr:
|
42 |
+
with open("/tmp/arxiv.jsonl", "w") as fw:
|
43 |
+
for i, line in enumerate(tqdm(fr)):
|
44 |
+
doc = json.loads(line)
|
45 |
+
source = doc['meta']['pile_set_name']
|
46 |
+
if source == "ArXiv":
|
47 |
+
fw.write(json.dumps(doc) + "\n")
|
48 |
+
```
|
49 |
+
|
50 |
+
The validation and test sets are the full official releases.
|