massive / test_massive.py
cperiz's picture
Massive v1.1 loader (#4)
09fb766
raw
history blame contribute delete
580 Bytes
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])