davebulaval commited on
Commit
43cc4f0
1 Parent(s): f53a0fa

Upload RISCBAC.py

Browse files
Files changed (1) hide show
  1. RISCBAC.py +1 -1
RISCBAC.py CHANGED
@@ -101,7 +101,7 @@ class RISCBAC(datasets.GeneratorBasedBuilder):
101
  else:
102
  raise ValueError(f"The config name {self.config.name} is not supported. Please use " "'en' or 'fr'.")
103
 
104
- def _generate_examples(self, filepath, idx_key):
105
  with open(filepath, "r", encoding="utf-8") as f:
106
  for key, line in enumerate(f):
107
  d = json.loads(line)
 
101
  else:
102
  raise ValueError(f"The config name {self.config.name} is not supported. Please use " "'en' or 'fr'.")
103
 
104
+ def _generate_examples(self, filepath):
105
  with open(filepath, "r", encoding="utf-8") as f:
106
  for key, line in enumerate(f):
107
  d = json.loads(line)