Datasets:
ArXiv:
License:
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from datasets import load_dataset, DownloadMode | |
from tqdm import tqdm | |
dataset = load_dataset( | |
"language_identification.py", | |
# name="amazon_reviews_multi", | |
# name="mike0307", | |
name="nbnn", | |
# name="nordic_langid", | |
# name="scandi_langid", | |
# name="stsb_multi_mt", | |
# name="xnli", | |
split="train", | |
# streaming=True, | |
cache_dir=None, | |
download_mode=DownloadMode.FORCE_REDOWNLOAD | |
) | |
for sample in tqdm(dataset): | |
print(sample) | |
if __name__ == '__main__': | |
pass | |