import logging from datasets import load_dataset logging.basicConfig(level=logging.INFO) dataset = load_dataset("./e.py") print(dataset["train"][0])