Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Zhangir Azerbayev
commited on
Commit
•
4ca8ed0
1
Parent(s):
a19247b
locks
Browse files- .gitignore +1 -0
- proof-pile.py +4 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
*.lock
|
proof-pile.py
CHANGED
@@ -145,6 +145,10 @@ class ProofPile(datasets.GeneratorBasedBuilder):
|
|
145 |
|
146 |
train_files = itertools.chain.from_iterable(dl_manager.iter_archive(x) for x in train_paths)
|
147 |
val_files = itertools.chain.from_iterable(dl_manager.iter_archive(x) for x in val_paths)
|
|
|
|
|
|
|
|
|
148 |
|
149 |
return [
|
150 |
datasets.SplitGenerator(
|
|
|
145 |
|
146 |
train_files = itertools.chain.from_iterable(dl_manager.iter_archive(x) for x in train_paths)
|
147 |
val_files = itertools.chain.from_iterable(dl_manager.iter_archive(x) for x in val_paths)
|
148 |
+
|
149 |
+
if self.config.name=="math-dataset":
|
150 |
+
train_files = dl_manager.download_and_extract("math-dataset/train.tar.gz")
|
151 |
+
val_files = dl_manager.download_and_extract("math-datset/val.tar.gz")
|
152 |
|
153 |
return [
|
154 |
datasets.SplitGenerator(
|