Datasets:

Languages:
English
ArXiv:
Tags:
math
proof-pile-2 / test_dataloader.py
zhangir-azerbayev
dataloader
96ced71
raw
history blame
376 Bytes
from datasets import load_dataset
import tqdm
import time
def main():
for subset in ["algebraic-stack"]:
data = load_dataset(".", subset)
print(data)
start = time.time()
for x in tqdm(data):
pass
total = time.time() - start
print(f"Traversed {subset} in {total} seconds")
if __name__=="__main__":
main()