Update deepbindweight.py
Browse files- deepbindweight.py +2 -2
deepbindweight.py
CHANGED
|
@@ -8,7 +8,7 @@ import datasets
|
|
| 8 |
logger = datasets.logging.get_logger(__name__)
|
| 9 |
|
| 10 |
ID_POOL = ()
|
| 11 |
-
URL = "https://huggingface.co/datasets/thewall/DeepBindWeight/resolve/main
|
| 12 |
|
| 13 |
class DeepBindWeightConfig(datasets.BuilderConfig):
|
| 14 |
pass
|
|
@@ -44,7 +44,7 @@ class DeepBindWeight(datasets.GeneratorBasedBuilder):
|
|
| 44 |
def _generate_examples(self, filepath):
|
| 45 |
"""This function returns the examples in the raw (text) form."""
|
| 46 |
logger.info("generating examples from = %s", filepath)
|
| 47 |
-
yield 0, {"config": filepath[0],
|
| 48 |
"existed": os.path.exists(filepath[0]) and os.path.exists(filepath[1]),
|
| 49 |
"table": filepath[1]}
|
| 50 |
|
|
|
|
| 8 |
logger = datasets.logging.get_logger(__name__)
|
| 9 |
|
| 10 |
ID_POOL = ()
|
| 11 |
+
URL = "https://huggingface.co/datasets/thewall/DeepBindWeight/resolve/main"
|
| 12 |
|
| 13 |
class DeepBindWeightConfig(datasets.BuilderConfig):
|
| 14 |
pass
|
|
|
|
| 44 |
def _generate_examples(self, filepath):
|
| 45 |
"""This function returns the examples in the raw (text) form."""
|
| 46 |
logger.info("generating examples from = %s", filepath)
|
| 47 |
+
yield 0, {"config": filepath[0],
|
| 48 |
"existed": os.path.exists(filepath[0]) and os.path.exists(filepath[1]),
|
| 49 |
"table": filepath[1]}
|
| 50 |
|