Update E3C.py
Browse files
E3C.py
CHANGED
|
@@ -83,6 +83,8 @@ class E3C(datasets.GeneratorBasedBuilder):
|
|
| 83 |
}
|
| 84 |
)
|
| 85 |
|
|
|
|
|
|
|
| 86 |
return datasets.DatasetInfo(
|
| 87 |
description=_DESCRIPTION,
|
| 88 |
features=features,
|
|
@@ -94,8 +96,12 @@ class E3C(datasets.GeneratorBasedBuilder):
|
|
| 94 |
|
| 95 |
data_dir = dl_manager.download_and_extract(_URL)
|
| 96 |
|
|
|
|
|
|
|
| 97 |
if self.config.name.find("clinical") != -1:
|
| 98 |
|
|
|
|
|
|
|
| 99 |
return [
|
| 100 |
datasets.SplitGenerator(
|
| 101 |
name=datasets.Split.TRAIN,
|
|
@@ -122,6 +128,8 @@ class E3C(datasets.GeneratorBasedBuilder):
|
|
| 122 |
|
| 123 |
elif self.config.name.find("temporal") != -1:
|
| 124 |
|
|
|
|
|
|
|
| 125 |
return [
|
| 126 |
datasets.SplitGenerator(
|
| 127 |
name=datasets.Split.TRAIN,
|
|
|
|
| 83 |
}
|
| 84 |
)
|
| 85 |
|
| 86 |
+
print(features)
|
| 87 |
+
|
| 88 |
return datasets.DatasetInfo(
|
| 89 |
description=_DESCRIPTION,
|
| 90 |
features=features,
|
|
|
|
| 96 |
|
| 97 |
data_dir = dl_manager.download_and_extract(_URL)
|
| 98 |
|
| 99 |
+
print(data_dir)
|
| 100 |
+
|
| 101 |
if self.config.name.find("clinical") != -1:
|
| 102 |
|
| 103 |
+
print("clinical")
|
| 104 |
+
|
| 105 |
return [
|
| 106 |
datasets.SplitGenerator(
|
| 107 |
name=datasets.Split.TRAIN,
|
|
|
|
| 128 |
|
| 129 |
elif self.config.name.find("temporal") != -1:
|
| 130 |
|
| 131 |
+
print("temporal")
|
| 132 |
+
|
| 133 |
return [
|
| 134 |
datasets.SplitGenerator(
|
| 135 |
name=datasets.Split.TRAIN,
|