Datasets:

Languages:
Chinese
ArXiv:
License:
qian commited on
Commit
40212e9
1 Parent(s): e54c647
Files changed (1) hide show
  1. T2Ranking.py +1 -1
T2Ranking.py CHANGED
@@ -110,7 +110,7 @@ class T2Ranking(datasets.GeneratorBasedBuilder):
110
  return split_things
111
 
112
  def _generate_examples(self, filepath):
113
- data = pd.read_csv(filepath, sep='\t')
114
  keys = _FEATURES_DICT[self.config.name].keys()
115
  for idx in range(data.shape[0]):
116
  yield idx, {key: data[key][idx] for key in keys}
 
110
  return split_things
111
 
112
  def _generate_examples(self, filepath):
113
+ data = pd.read_csv(filepath, sep='\t', quoting=3)
114
  keys = _FEATURES_DICT[self.config.name].keys()
115
  for idx in range(data.shape[0]):
116
  yield idx, {key: data[key][idx] for key in keys}