import datasets if __name__ == '__main__': dataset = datasets.load_dataset("fs.py", 'arxiv', streaming=True, split="validation") it = iter(dataset) a = next(it) x = 5