Datasets:
Update ViHOS.py
Browse files
ViHOS.py
CHANGED
|
@@ -65,8 +65,8 @@ class ViHOS(datasets.GeneratorBasedBuilder):
|
|
| 65 |
def _generate_examples(self, filepath, split):
|
| 66 |
# colnames=['id', 'Content', 'Span ids']
|
| 67 |
with open(filepath, 'r', encoding="utf-8") as f:
|
| 68 |
-
|
| 69 |
-
data = self.load_csv(
|
| 70 |
yield data
|
| 71 |
|
| 72 |
# with open(filepath, 'r', encoding="utf-8") as f:
|
|
|
|
| 65 |
def _generate_examples(self, filepath, split):
|
| 66 |
# colnames=['id', 'Content', 'Span ids']
|
| 67 |
with open(filepath, 'r', encoding="utf-8") as f:
|
| 68 |
+
print(f)
|
| 69 |
+
data = self.load_csv(f)
|
| 70 |
yield data
|
| 71 |
|
| 72 |
# with open(filepath, 'r', encoding="utf-8") as f:
|