Datasets:
ArXiv:
License:
File size: 403 Bytes
821e463 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/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",
split="train",
# streaming=True,
cache_dir=None,
download_mode=DownloadMode.FORCE_REDOWNLOAD
)
for sample in tqdm(dataset):
print(sample)
if __name__ == '__main__':
pass
|