Felix commited on
Commit
48e6c05
1 Parent(s): fa5311d

more precise typing for argumentation_sent

Browse files
Files changed (1) hide show
  1. superlim-2.py +1 -1
superlim-2.py CHANGED
@@ -195,7 +195,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
195
  features = datasets.Features({
196
  "sentence_id": datasets.Value("string"),
197
  "topic": datasets.Value("string"),
198
- "label": datasets.Value("string"),
199
  "sentence": datasets.Value("string")
200
  })
201
  elif self.config.name == "dalaj-ged":
 
195
  features = datasets.Features({
196
  "sentence_id": datasets.Value("string"),
197
  "topic": datasets.Value("string"),
198
+ "label": datasets.ClassLabel(num_classes=3, names=['pro', 'con', 'non']),
199
  "sentence": datasets.Value("string")
200
  })
201
  elif self.config.name == "dalaj-ged":