Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
proof-pile / test.py
Zhangir Azerbayev
added tar support
81d0091
raw
history blame
647 Bytes
from datasets import load_dataset
from itertools import islice
import sys
"""
dataset = load_dataset("./proof-pile.py", "books")
print("BOOKS")
print(dataset)
for x in dataset["train"]:
print(x["text"])
sys.exit()
dataset = load_dataset("./proof-pile.py", "formal")
print("FORMAL")
print(dataset)
"""
dataset = load_dataset("./proof-pile.py", "stack-exchange")
print("STACK EXCHANGE")
for x in dataset["train"]:
print(x)
break
print(dataset)
"""
dataset = load_dataset("./proof-pile.py", "wiki")
print("WIKI")
print(dataset)
dataset = load_dataset("./proof-pile.py", "math-dataset")
print("MATH DATASET")
print(dataset)
"""