from datasets import load_dataset from itertools import islice print("BOOKS") dataset = load_dataset("./proof-pile.py", "books") """ for x in islice(dataset["train"], 0, 3): print(x) """ dataset = load_dataset("./proof-pile.py", "formal") print(dataset)