Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
zhangir-azerbayev
commited on
Commit
•
b1df04a
1
Parent(s):
811340b
added split and updated proof-pile, tests
Browse files- gen_split.py +1 -1
- proof-pile.py +2 -1
- splits.json +0 -0
- test.py +3 -1
gen_split.py
CHANGED
@@ -43,7 +43,7 @@ def main():
|
|
43 |
args = [
|
44 |
("books", ["books/stein/stein.tex", "books/trench/TRENCH_REAL_ANALYSIS.tex"]),
|
45 |
("formal", ["formal/setmm/set.mm"]),
|
46 |
-
|
47 |
("stack-exchange", [])
|
48 |
]
|
49 |
|
|
|
43 |
args = [
|
44 |
("books", ["books/stein/stein.tex", "books/trench/TRENCH_REAL_ANALYSIS.tex"]),
|
45 |
("formal", ["formal/setmm/set.mm"]),
|
46 |
+
("wiki", []),
|
47 |
("stack-exchange", [])
|
48 |
]
|
49 |
|
proof-pile.py
CHANGED
@@ -74,7 +74,8 @@ class NewDataset(datasets.GeneratorBasedBuilder):
|
|
74 |
BUILDER_CONFIGS = [
|
75 |
datasets.BuilderConfig(name="books", version=VERSION, description="Open source math textbooks"),
|
76 |
datasets.BuilderConfig(name="formal", version=VERSION, description="Formal math libraries"),
|
77 |
-
datasets.BuilderConfig(name="stack-exchange", version=VERSION, description="math overflow and math stack exchange")
|
|
|
78 |
]
|
79 |
|
80 |
|
|
|
74 |
BUILDER_CONFIGS = [
|
75 |
datasets.BuilderConfig(name="books", version=VERSION, description="Open source math textbooks"),
|
76 |
datasets.BuilderConfig(name="formal", version=VERSION, description="Formal math libraries"),
|
77 |
+
datasets.BuilderConfig(name="stack-exchange", version=VERSION, description="math overflow and math stack exchange"),
|
78 |
+
datasets.BuilderConfig(name="wiki", version=VERSION, description="wikipedia articles and proofwiki."),
|
79 |
]
|
80 |
|
81 |
|
splits.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
test.py
CHANGED
@@ -14,5 +14,7 @@ dataset = load_dataset("./proof-pile.py", "stack-exchange")
|
|
14 |
print("FORMAL")
|
15 |
print(dataset)
|
16 |
|
17 |
-
|
|
|
|
|
18 |
|
|
|
14 |
print("FORMAL")
|
15 |
print(dataset)
|
16 |
|
17 |
+
dataset = load_dataset("./proof-pile.py", "wiki")
|
18 |
+
print("WIKI")
|
19 |
+
print(dataset)
|
20 |
|