wiki_sentences / test.py
Fraser's picture
final fixes
d65a7c3
raw
history blame
290 Bytes
from tqdm import tqdm
from datasets import load_dataset
dataset = load_dataset("wiki_sentences.py", split='train', streaming=True)
rows = []
for i, row in tqdm(enumerate(dataset)):
rows.append(row)
if i > 10:
break
print('DATA')
print('')
for row in rows:
print(row)