Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
lama.py
CHANGED
|
@@ -220,7 +220,7 @@ class Lama(datasets.GeneratorBasedBuilder):
|
|
| 220 |
]
|
| 221 |
|
| 222 |
def _generate_examples(self, filepath, split):
|
| 223 |
-
"""
|
| 224 |
if self.config.name == "trex":
|
| 225 |
paths = filepath
|
| 226 |
relations_path = paths[0]
|
|
|
|
| 220 |
]
|
| 221 |
|
| 222 |
def _generate_examples(self, filepath, split):
|
| 223 |
+
"""Yields examples from the LAMA dataset."""
|
| 224 |
if self.config.name == "trex":
|
| 225 |
paths = filepath
|
| 226 |
relations_path = paths[0]
|