qgyd2021 commited on
Commit
d657d6b
1 Parent(s): 0bb9ec8
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -65,3 +65,24 @@ https://www.kaggle.com/datasets/ericwang1011/tweets-with-emoji
65
  | 20000 | thumbs_up | @owenclark3 Fluffing hell, how peculiar 👍🙀 | @theSuiPunks @tocen__ 👍👍👍 |
66
  | 20000 | white_heart | @aespa_official HAPPY B'DAY PRETTYYYYY 🤍<br><br>BLOOMING KARINA DAY<br>#지민아_마이의_푸른봄은_너야<br>#Welcome_to_MyKarina | Finally. It's wrap. Well done Enigma babies @primiilly1 @winmetawin and the whole team. Becareful on the way back home. Have a rest naa 🤍 |
67
  | 20000 | winking_face | @Holy_Trinity_AV The Prince and Wales and Prince George weren't the only Villa royalty at the game I see Pete 😉Glad you finally got over. Don't leave it so long next time. Don Unai is creating something special here | @Answer4today @BeutelDory @krassenstein I’m middle class and my taxes went down, but thank you trailer trash who wants to voice an opinion for me. 😉 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  | 20000 | thumbs_up | @owenclark3 Fluffing hell, how peculiar 👍🙀 | @theSuiPunks @tocen__ 👍👍👍 |
66
  | 20000 | white_heart | @aespa_official HAPPY B'DAY PRETTYYYYY 🤍<br><br>BLOOMING KARINA DAY<br>#지민아_마이의_푸른봄은_너야<br>#Welcome_to_MyKarina | Finally. It's wrap. Well done Enigma babies @primiilly1 @winmetawin and the whole team. Becareful on the way back home. Have a rest naa 🤍 |
67
  | 20000 | winking_face | @Holy_Trinity_AV The Prince and Wales and Prince George weren't the only Villa royalty at the game I see Pete 😉Glad you finally got over. Don't leave it so long next time. Don Unai is creating something special here | @Answer4today @BeutelDory @krassenstein I’m middle class and my taxes went down, but thank you trailer trash who wants to voice an opinion for me. 😉 |
68
+
69
+
70
+
71
+ 读取数据:
72
+ ```python
73
+ #!/usr/bin/python3
74
+ # -*- coding: utf-8 -*-
75
+ from datasets import load_dataset
76
+
77
+ dataset = load_dataset(
78
+ "qgyd2021/tweets",
79
+ name="tweets_with_emoji",
80
+ split="train",
81
+ trust_remote_code=True,
82
+ streaming=True,
83
+ )
84
+
85
+ for sample in dataset:
86
+ print(sample)
87
+
88
+ ```