Datasets:
Fix train urls
Browse files- the_pile_github.py +29 -29
the_pile_github.py
CHANGED
@@ -46,35 +46,35 @@ _LICENSE = ""
|
|
46 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
47 |
_URLS = {
|
48 |
"train": {
|
49 |
-
"batchfile": [f"train/
|
50 |
-
"c#": [f"train/
|
51 |
-
"c++": [f"train/
|
52 |
-
"css": [f"train/
|
53 |
-
"erlang": [f"train/
|
54 |
-
"go": [f"train/
|
55 |
-
"haskell": [f"train/
|
56 |
-
"html": [f"train/
|
57 |
-
"java": [f"train/
|
58 |
-
"javascript": [f"train/
|
59 |
-
"jupyter_notebook": [f"train/
|
60 |
-
"lua": [f"train/
|
61 |
-
"markdown": [f"train/
|
62 |
-
"matlab": [f"train/
|
63 |
-
"objective-c": [f"train/
|
64 |
-
"perl": [f"train/
|
65 |
-
"php": [f"train/
|
66 |
-
"powershell": [f"train/
|
67 |
-
"python": [f"train/
|
68 |
-
"r": [f"train/
|
69 |
-
"ruby": [f"train/
|
70 |
-
"rust": [f"train/
|
71 |
-
"scala": [f"train/
|
72 |
-
"shell": [f"train/
|
73 |
-
"sql": [f"train/
|
74 |
-
"swift": [f"train/
|
75 |
-
"tex": [f"train/
|
76 |
-
"typescript": [f"train/
|
77 |
-
"none": [f"train/
|
78 |
},
|
79 |
"dev": "data/validation.parquet",
|
80 |
"test": "data/test.parquet",
|
|
|
46 |
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
|
47 |
_URLS = {
|
48 |
"train": {
|
49 |
+
"batchfile": [f"data/train/Batchfile/part.{part}.parquet" for part in range(3)],
|
50 |
+
"c#": [f"data/train/C#/part.{part}.parquet" for part in range(10)],
|
51 |
+
"c++": [f"data/train/C++/part.{part}.parquet" for part in range(15)],
|
52 |
+
"css": [f"data/train/CSS/part.{part}.parquet" for part in range(3)],
|
53 |
+
"erlang": [f"data/train/Erlang/part.{part}.parquet" for part in range(1)],
|
54 |
+
"go": [f"data/train/Go/part.{part}.parquet" for part in range(15)],
|
55 |
+
"haskell": [f"data/train/Haskell/part.{part}.parquet" for part in range(2)],
|
56 |
+
"html": [f"data/train/HTML/part.{part}.parquet" for part in range(15)],
|
57 |
+
"java": [f"data/train/Java/part.{part}.parquet" for part in range(15)],
|
58 |
+
"javascript": [f"data/train/JavaScript/part.{part}.parquet" for part in range(15)],
|
59 |
+
"jupyter_notebook": [f"data/train/Jupyter Notebook/part.{part}.parquet" for part in range(2)],
|
60 |
+
"lua": [f"data/train/Lua/part.{part}.parquet" for part in range(15)],
|
61 |
+
"markdown": [f"data/train/Markdown/part.{part}.parquet" for part in range(15)],
|
62 |
+
"matlab": [f"data/train/Matlab/part.{part}.parquet" for part in range(1)],
|
63 |
+
"objective-c": [f"data/train/Objective-C/part.{part}.parquet" for part in range(5)],
|
64 |
+
"perl": [f"data/train/Perl/part.{part}.parquet" for part in range(3)],
|
65 |
+
"php": [f"data/train/PHP/part.{part}.parquet" for part in range(8)],
|
66 |
+
"powershell": [f"data/train/PowerShell/part.{part}.parquet" for part in range(15)],
|
67 |
+
"python": [f"data/train/Python/part.{part}.parquet" for part in range(10)],
|
68 |
+
"r": [f"data/train/R/part.{part}.parquet" for part in range(2)],
|
69 |
+
"ruby": [f"data/train/Ruby/part.{part}.parquet" for part in range(4)],
|
70 |
+
"rust": [f"data/train/Rust/part.{part}.parquet" for part in range(2)],
|
71 |
+
"scala": [f"data/train/Scala/part.{part}.parquet" for part in range(3)],
|
72 |
+
"shell": [f"data/train/Shell/part.{part}.parquet" for part in range(6)],
|
73 |
+
"sql": [f"data/train/SQL/part.{part}.parquet" for part in range(4)],
|
74 |
+
"swift": [f"data/train/Swift/part.{part}.parquet" for part in range(2)],
|
75 |
+
"tex": [f"data/train/TeX/part.{part}.parquet" for part in range(3)],
|
76 |
+
"typescript": [f"data/train/TypeScript/part.{part}.parquet" for part in range(6)],
|
77 |
+
"none": [f"data/train/None/part.{part}.parquet" for part in range(1)],
|
78 |
},
|
79 |
"dev": "data/validation.parquet",
|
80 |
"test": "data/test.parquet",
|