Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- cs_restaurants.py +1 -1
cs_restaurants.py
CHANGED
|
@@ -89,7 +89,7 @@ class CSRestaurants(datasets.GeneratorBasedBuilder):
|
|
| 89 |
]
|
| 90 |
|
| 91 |
def _generate_examples(self, filepath):
|
| 92 |
-
"""
|
| 93 |
|
| 94 |
with open(filepath, encoding="utf8") as f:
|
| 95 |
data = json.load(f)
|
|
|
|
| 89 |
]
|
| 90 |
|
| 91 |
def _generate_examples(self, filepath):
|
| 92 |
+
"""Yields examples."""
|
| 93 |
|
| 94 |
with open(filepath, encoding="utf8") as f:
|
| 95 |
data = json.load(f)
|