Update test_meters.py
Browse files- test_meters.py +3 -0
test_meters.py
CHANGED
|
@@ -123,6 +123,9 @@ class WNUT_17(datasets.GeneratorBasedBuilder):
|
|
| 123 |
|
| 124 |
def _generate_examples(self, filepath):
|
| 125 |
logger.info("⏳ Generating examples from = %s", filepath)
|
|
|
|
|
|
|
|
|
|
| 126 |
with open(filepath, encoding="utf-8") as f:
|
| 127 |
current_tokens = []
|
| 128 |
current_labels = []
|
|
|
|
| 123 |
|
| 124 |
def _generate_examples(self, filepath):
|
| 125 |
logger.info("⏳ Generating examples from = %s", filepath)
|
| 126 |
+
with open(filepath, encoding="utf-8") as f:
|
| 127 |
+
for row in f:
|
| 128 |
+
print(row)
|
| 129 |
with open(filepath, encoding="utf-8") as f:
|
| 130 |
current_tokens = []
|
| 131 |
current_labels = []
|