Datasets:
from datasets import load_dataset, set_caching_enabled | |
set_caching_enabled(False) | |
source = "MASSIVE.py" | |
# source = "qanastek/MASSIVE" | |
dataset = load_dataset(source, "fr-FR") | |
# dataset = load_dataset(source, "fr-FR", download_mode="force_redownload") | |
# print(dataset) | |
# dataset = load_dataset(source, "en-US") | |
# dataset = load_dataset(source, "en-US", download_mode="force_redownload") | |
# , split="train" | |
print(dataset) | |
# print(dataset[0]) | |
f = dataset["train"][0] | |
print(f) | |