Update GitTables.py
Browse files- GitTables.py +1 -0
GitTables.py
CHANGED
|
@@ -153,6 +153,7 @@ class GitTables(datasets.GeneratorBasedBuilder):
|
|
| 153 |
def _generate_examples(self, filepath, split):
|
| 154 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
| 155 |
with jsonlines.open(rf"{filepath}", mode="r") as reader:
|
|
|
|
| 156 |
for key, row in enumerate(reader):
|
| 157 |
data = json.loads(row)
|
| 158 |
if self.config.name == "dbpedia":
|
|
|
|
| 153 |
def _generate_examples(self, filepath, split):
|
| 154 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
| 155 |
with jsonlines.open(rf"{filepath}", mode="r") as reader:
|
| 156 |
+
print(filepath)
|
| 157 |
for key, row in enumerate(reader):
|
| 158 |
data = json.loads(row)
|
| 159 |
if self.config.name == "dbpedia":
|