Datasets:
from datasets import load_dataset | |
source = "AmazonScience/massive" | |
#Individual locales are downloaded from version 1.1 which has Catalan (ca-ES) added in | |
dataset = load_dataset(source, "en-US", download_mode="force_redownload") | |
print(dataset) | |
print(dataset["train"][0]) | |
#Using version 1.1 which has Catalan (ca-ES) added in | |
dataset = load_dataset(source, "all_v1.1", download_mode="force_redownload") | |
print(dataset) | |
print(dataset["train"][0]) | |
#Using version 1.0 | |
dataset = load_dataset(source, "all", download_mode="force_redownload") | |
print(dataset) | |
print(dataset["train"][0]) | |