Datasets:
File size: 580 Bytes
e6c0d86 afae233 e6c0d86 afae233 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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])
|