MASSIVE / test_MASSIVE.py
qanastek's picture
Add the BIO format for the named entities.
884a611
raw
history blame
495 Bytes
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)