aembryonic commited on
Commit
8d4e8c1
1 Parent(s): e3342b7

add version 2

Browse files
Files changed (1) hide show
  1. humset.py +7 -2
humset.py CHANGED
@@ -186,6 +186,11 @@ FIRST_FEATURES = datasets.Features(
186
  }
187
  )
188
 
 
 
 
 
 
189
 
190
  SECOND_FEATURES = datasets.Features(
191
  {
@@ -295,6 +300,6 @@ class Humset(datasets.GeneratorBasedBuilder):
295
  idx = 0
296
  for line in data:
297
  row = json.loads(line)
298
- if self.config.name == "1.0.0":
299
- yield idx, row
300
  idx+=1
 
186
  }
187
  )
188
 
189
+ """
190
+ from: https://huggingface.co/docs/datasets/v2.9.0/en/package_reference/main_classes#datasets.Sequence
191
+ a python list or a Sequence specifies that the field contains a list of objects.
192
+ The python list or Sequence should be provided with a single sub-feature as an example of the feature type hosted in this list.
193
+ """
194
 
195
  SECOND_FEATURES = datasets.Features(
196
  {
 
300
  idx = 0
301
  for line in data:
302
  row = json.loads(line)
303
+ #if self.config.name == "1.0.0":
304
+ yield idx, row
305
  idx+=1