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