andstor commited on
Commit
70c602f
1 Parent(s): 2a4b729

Fix train urls

Browse files
Files changed (1) hide show
  1. 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/data/Batchfile/part.{part}.parquet" for part in range(3)],
50
- "c#": [f"train/data/C#/part.{part}.parquet" for part in range(10)],
51
- "c++": [f"train/data/C++/part.{part}.parquet" for part in range(15)],
52
- "css": [f"train/data/CSS/part.{part}.parquet" for part in range(3)],
53
- "erlang": [f"train/data/Erlang/part.{part}.parquet" for part in range(1)],
54
- "go": [f"train/data/Go/part.{part}.parquet" for part in range(15)],
55
- "haskell": [f"train/data/Haskell/part.{part}.parquet" for part in range(2)],
56
- "html": [f"train/data/HTML/part.{part}.parquet" for part in range(15)],
57
- "java": [f"train/data/Java/part.{part}.parquet" for part in range(15)],
58
- "javascript": [f"train/data/JavaScript/part.{part}.parquet" for part in range(15)],
59
- "jupyter_notebook": [f"train/data/Jupyter Notebook/part.{part}.parquet" for part in range(2)],
60
- "lua": [f"train/data/Lua/part.{part}.parquet" for part in range(15)],
61
- "markdown": [f"train/data/Markdown/part.{part}.parquet" for part in range(15)],
62
- "matlab": [f"train/data/Matlab/part.{part}.parquet" for part in range(1)],
63
- "objective-c": [f"train/data/Objective-C/part.{part}.parquet" for part in range(5)],
64
- "perl": [f"train/data/Perl/part.{part}.parquet" for part in range(3)],
65
- "php": [f"train/data/PHP/part.{part}.parquet" for part in range(8)],
66
- "powershell": [f"train/data/PowerShell/part.{part}.parquet" for part in range(15)],
67
- "python": [f"train/data/Python/part.{part}.parquet" for part in range(10)],
68
- "r": [f"train/data/R/part.{part}.parquet" for part in range(2)],
69
- "ruby": [f"train/data/Ruby/part.{part}.parquet" for part in range(4)],
70
- "rust": [f"train/data/Rust/part.{part}.parquet" for part in range(2)],
71
- "scala": [f"train/data/Scala/part.{part}.parquet" for part in range(3)],
72
- "shell": [f"train/data/Shell/part.{part}.parquet" for part in range(6)],
73
- "sql": [f"train/data/SQL/part.{part}.parquet" for part in range(4)],
74
- "swift": [f"train/data/Swift/part.{part}.parquet" for part in range(2)],
75
- "tex": [f"train/data/TeX/part.{part}.parquet" for part in range(3)],
76
- "typescript": [f"train/data/TypeScript/part.{part}.parquet" for part in range(6)],
77
- "none": [f"train/data/None/part.{part}.parquet" for part in range(1)],
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",