ScHh0625 commited on
Commit
bb0b22c
·
1 Parent(s): afd5b91

Update rel-text.py

Browse files
Files changed (1) hide show
  1. 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,error_bad_lines=False)
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, {