Samip Dahal commited on
Commit
046fd32
·
1 Parent(s): aff67f3
Files changed (1) hide show
  1. func.py +2 -2
func.py CHANGED
@@ -120,11 +120,11 @@ class FundDefDataset(datasets.GeneratorBasedBuilder):
120
  ]
121
 
122
  def _generate_examples(
123
- self, filepaths,split # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
124
  ):
125
  """ Yields examples as (key, example) tuples. """
126
  count=-1
127
- for i,filepath in enumerate(filepaths):
128
  loaded_f=pickle.load(open(filepath,'rb'))
129
  for j, func in enumerate(loaded_f):
130
  count+=1
 
120
  ]
121
 
122
  def _generate_examples(
123
+ self, filepath # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
124
  ):
125
  """ Yields examples as (key, example) tuples. """
126
  count=-1
127
+ for i,filepath in enumerate(filepath):
128
  loaded_f=pickle.load(open(filepath,'rb'))
129
  for j, func in enumerate(loaded_f):
130
  count+=1