| #!/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 | |