Datasets:
Update ViHOS.py
Browse files
ViHOS.py
CHANGED
|
@@ -60,10 +60,7 @@ class ViHOS(datasets.GeneratorBasedBuilder):
|
|
| 60 |
if span_ids is None:
|
| 61 |
span_ids = ''
|
| 62 |
|
| 63 |
-
yield
|
| 64 |
"content": 1,
|
| 65 |
"span_ids": 2,
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
# data = pd.read_csv(filepath, colnames=colnames, header = None)
|
| 69 |
-
# yield data.iloc[:, 0], dataframe.iloc[:, 1], dataframe.iloc[:, 2]
|
|
|
|
| 60 |
if span_ids is None:
|
| 61 |
span_ids = ''
|
| 62 |
|
| 63 |
+
yield i, {
|
| 64 |
"content": 1,
|
| 65 |
"span_ids": 2,
|
| 66 |
+
}
|
|
|
|
|
|
|
|
|