import json from datasets import load_dataset dataset = load_dataset("./E3C.py", name="French") print(dataset) # print(dataset["train"][0]) print(json.dumps(dataset["train"][0], sort_keys=True, indent=4))