Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- climate_fever.py +1 -1
climate_fever.py
CHANGED
@@ -106,7 +106,7 @@ class ClimateFever(datasets.GeneratorBasedBuilder):
|
|
106 |
]
|
107 |
|
108 |
def _generate_examples(self, filepath, split):
|
109 |
-
"""
|
110 |
with open(filepath, encoding="utf-8") as f:
|
111 |
for id_, row in enumerate(f):
|
112 |
doc = json.loads(row)
|
|
|
106 |
]
|
107 |
|
108 |
def _generate_examples(self, filepath, split):
|
109 |
+
"""Yields examples."""
|
110 |
with open(filepath, encoding="utf-8") as f:
|
111 |
for id_, row in enumerate(f):
|
112 |
doc = json.loads(row)
|