luozhouyang commited on
Commit
0886cd2
1 Parent(s): 2bcb3d5

Remove prints

Browse files
Files changed (1) hide show
  1. dureader.py +0 -4
dureader.py CHANGED
@@ -124,16 +124,12 @@ class DuReader(datasets.GeneratorBasedBuilder):
124
  def _generate_examples(self, data_file, split):
125
  if self.config.name == "robust":
126
  if split == "train" or split == "dev":
127
- print("Processing split: ", split)
128
  return self._generate_robust_examples(data_file)
129
- print("Processing split: ", split)
130
  return self._generate_robust_test_examples(data_file)
131
 
132
  if self.config.name == "checklist":
133
  if split == "train" or split == "dev":
134
- print("Processing split: ", split)
135
  return self._generate_checklist_examples(data_file)
136
- print("Processing split: ", split)
137
  return self._generate_checklist_test_examples(data_file)
138
 
139
  def _generate_robust_examples(self, data_file):
 
124
  def _generate_examples(self, data_file, split):
125
  if self.config.name == "robust":
126
  if split == "train" or split == "dev":
 
127
  return self._generate_robust_examples(data_file)
 
128
  return self._generate_robust_test_examples(data_file)
129
 
130
  if self.config.name == "checklist":
131
  if split == "train" or split == "dev":
 
132
  return self._generate_checklist_examples(data_file)
 
133
  return self._generate_checklist_test_examples(data_file)
134
 
135
  def _generate_robust_examples(self, data_file):