File size: 298 Bytes
0be65ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from datasets import load_dataset

dataset = load_dataset(
    "tweets.py",
    name="tweets_with_emoji",
    split="train",
    trust_remote_code=True,
    streaming=True,
)

for sample in dataset:
    print(sample)


if __name__ == '__main__':
    pass