from datasets import load_dataset trainset = load_dataset("george-chou/Pima", split="train[:80%]") testset = load_dataset("george-chou/Pima", split="train[-20%:]") for item in trainset: print(item) for item in testset: print(item)
git clone git@hf.co:datasets/george-chou/Pima