Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Download test.py from hoskinson-center/proof-pile: direct link, hf CLI and curl.
- Browser
- Download file 532 Bytes
-
https://huggingface.co/datasets/hoskinson-center/proof-pile/resolve/0443587416a1dfc2eee009ee18cfe4fda4e3ffb3/test.py
- Command line
-
hf download hf://datasets/hoskinson-center/proof-pile@0443587416a1dfc2eee009ee18cfe4fda4e3ffb3/test.py
-
curl -L -o test.py https://huggingface.co/datasets/hoskinson-center/proof-pile/resolve/0443587416a1dfc2eee009ee18cfe4fda4e3ffb3/test.py
532 Bytes
| from datasets import load_dataset | |
| from itertools import islice | |
| import sys | |
| import time | |
| from tqdm import tqdm | |
| total_size = 0 | |
| for x in ["arxiv"]: | |
| dataset = load_dataset("./proof-pile.py", x) | |
| size = dataset["train"].dataset_size / 2**30 | |
| total_size += size | |
| print(x.upper()) | |
| print(dataset) | |
| then = time.time() | |
| for x in tqdm(dataset["train"]): | |
| pass | |
| now = time.time() | |
| print(f"{size} GB TRAIN TOTAL") | |
| print(f"TRAVERSED IN {now-then} SECONDS") | |
| print(f"{total_size} GB ACROSS ALL CONFIGS") | |