Update rel-text.py
Browse files- rel-text.py +1 -1
rel-text.py
CHANGED
|
@@ -70,7 +70,7 @@ class relText(datasets.GeneratorBasedBuilder):
|
|
| 70 |
"path_file": dl_manager.download_and_extract(self.config.data_url), "split": "target", })]
|
| 71 |
|
| 72 |
def _generate_examples(self, path_file, split):
|
| 73 |
-
file = pd.read_csv(path_file
|
| 74 |
for i, row in file.iterrows():
|
| 75 |
if split not in ['source','target']:
|
| 76 |
yield i, {
|
|
|
|
| 70 |
"path_file": dl_manager.download_and_extract(self.config.data_url), "split": "target", })]
|
| 71 |
|
| 72 |
def _generate_examples(self, path_file, split):
|
| 73 |
+
file = pd.read_csv(path_file)
|
| 74 |
for i, row in file.iterrows():
|
| 75 |
if split not in ['source','target']:
|
| 76 |
yield i, {
|