Update flambe based on git version 1c98993
Browse files
flambe.py
CHANGED
|
@@ -20,9 +20,7 @@ from typing import Dict, List, Tuple
|
|
| 20 |
|
| 21 |
import datasets
|
| 22 |
|
| 23 |
-
from
|
| 24 |
-
|
| 25 |
-
from .bigbiohub import BigBioConfig, Tasks
|
| 26 |
|
| 27 |
_LOCAL = False
|
| 28 |
_LANGUAGES = ["English"]
|
|
@@ -173,7 +171,7 @@ class FlambeDataset(datasets.GeneratorBasedBuilder):
|
|
| 173 |
)
|
| 174 |
|
| 175 |
elif self.config.schema == "bigbio_text":
|
| 176 |
-
features =
|
| 177 |
|
| 178 |
return datasets.DatasetInfo(
|
| 179 |
description=_DESCRIPTION,
|
|
|
|
| 20 |
|
| 21 |
import datasets
|
| 22 |
|
| 23 |
+
from .bigbiohub import BigBioConfig, Tasks, text_features
|
|
|
|
|
|
|
| 24 |
|
| 25 |
_LOCAL = False
|
| 26 |
_LANGUAGES = ["English"]
|
|
|
|
| 171 |
)
|
| 172 |
|
| 173 |
elif self.config.schema == "bigbio_text":
|
| 174 |
+
features = text_features
|
| 175 |
|
| 176 |
return datasets.DatasetInfo(
|
| 177 |
description=_DESCRIPTION,
|