Felix commited on
Commit
8c7b3c5
1 Parent(s): 514ad8d

change type of swepar label to float

Browse files
Files changed (1) hide show
  1. superlim-2.py +1 -1
superlim-2.py CHANGED
@@ -261,7 +261,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
261
  "file": datasets.Value("string"),
262
  "sentence_1": datasets.Value("string"),
263
  "sentence_2": datasets.Value("string"),
264
- "label": datasets.Value("string"),
265
  })
266
  elif self.config.name == "swesat":
267
  features = datasets.Features({
 
261
  "file": datasets.Value("string"),
262
  "sentence_1": datasets.Value("string"),
263
  "sentence_2": datasets.Value("string"),
264
+ "label": datasets.Value(dtype='float32'),
265
  })
266
  elif self.config.name == "swesat":
267
  features = datasets.Features({