Update E3C.py
Browse files
E3C.py
CHANGED
@@ -106,21 +106,21 @@ class E3C(datasets.GeneratorBasedBuilder):
|
|
106 |
datasets.SplitGenerator(
|
107 |
name=datasets.Split.TRAIN,
|
108 |
gen_kwargs={
|
109 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer2"),
|
110 |
"split": "train",
|
111 |
},
|
112 |
),
|
113 |
datasets.SplitGenerator(
|
114 |
name=datasets.Split.VALIDATION,
|
115 |
gen_kwargs={
|
116 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer2"),
|
117 |
"split": "validation",
|
118 |
},
|
119 |
),
|
120 |
datasets.SplitGenerator(
|
121 |
name=datasets.Split.TEST,
|
122 |
gen_kwargs={
|
123 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer1"),
|
124 |
"split": "test",
|
125 |
},
|
126 |
),
|
@@ -134,21 +134,21 @@ class E3C(datasets.GeneratorBasedBuilder):
|
|
134 |
datasets.SplitGenerator(
|
135 |
name=datasets.Split.TRAIN,
|
136 |
gen_kwargs={
|
137 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer1"),
|
138 |
"split": "train",
|
139 |
},
|
140 |
),
|
141 |
datasets.SplitGenerator(
|
142 |
name=datasets.Split.VALIDATION,
|
143 |
gen_kwargs={
|
144 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer1"),
|
145 |
"split": "validation",
|
146 |
},
|
147 |
),
|
148 |
datasets.SplitGenerator(
|
149 |
name=datasets.Split.TEST,
|
150 |
gen_kwargs={
|
151 |
-
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name, "layer1"),
|
152 |
"split": "test",
|
153 |
},
|
154 |
),
|
|
|
106 |
datasets.SplitGenerator(
|
107 |
name=datasets.Split.TRAIN,
|
108 |
gen_kwargs={
|
109 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_clinical",""), "layer2"),
|
110 |
"split": "train",
|
111 |
},
|
112 |
),
|
113 |
datasets.SplitGenerator(
|
114 |
name=datasets.Split.VALIDATION,
|
115 |
gen_kwargs={
|
116 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_clinical",""), "layer2"),
|
117 |
"split": "validation",
|
118 |
},
|
119 |
),
|
120 |
datasets.SplitGenerator(
|
121 |
name=datasets.Split.TEST,
|
122 |
gen_kwargs={
|
123 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_clinical",""), "layer1"),
|
124 |
"split": "test",
|
125 |
},
|
126 |
),
|
|
|
134 |
datasets.SplitGenerator(
|
135 |
name=datasets.Split.TRAIN,
|
136 |
gen_kwargs={
|
137 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_temporal",""), "layer1"),
|
138 |
"split": "train",
|
139 |
},
|
140 |
),
|
141 |
datasets.SplitGenerator(
|
142 |
name=datasets.Split.VALIDATION,
|
143 |
gen_kwargs={
|
144 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_temporal",""), "layer1"),
|
145 |
"split": "validation",
|
146 |
},
|
147 |
),
|
148 |
datasets.SplitGenerator(
|
149 |
name=datasets.Split.TEST,
|
150 |
gen_kwargs={
|
151 |
+
"filepath": os.path.join(data_dir, "E3C-Corpus-2.0.0/data_annotation", self.config.name.replace("_temporal",""), "layer1"),
|
152 |
"split": "test",
|
153 |
},
|
154 |
),
|