Datasets:

ArXiv:
License:
File size: 548 Bytes
821e463
 
 
 
 
 
 
 
4cba128
 
 
 
 
 
 
821e463
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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