Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- tweet_eval.py +1 -1
tweet_eval.py
CHANGED
@@ -239,7 +239,7 @@ class TweetEval(datasets.GeneratorBasedBuilder):
|
|
239 |
]
|
240 |
|
241 |
def _generate_examples(self, text_path, labels_path):
|
242 |
-
"""
|
243 |
|
244 |
with open(text_path, encoding="utf-8") as f:
|
245 |
texts = f.readlines()
|
|
|
239 |
]
|
240 |
|
241 |
def _generate_examples(self, text_path, labels_path):
|
242 |
+
"""Yields examples."""
|
243 |
|
244 |
with open(text_path, encoding="utf-8") as f:
|
245 |
texts = f.readlines()
|