Datasets:

Languages:
English
ArXiv:
License:
kiddothe2b commited on
Commit
478e975
1 Parent(s): 65cc389

Update medical-bios.py

Browse files
Files changed (1) hide show
  1. medical-bios.py +2 -2
medical-bios.py CHANGED
@@ -129,8 +129,8 @@ class XAIFairness(datasets.GeneratorBasedBuilder):
129
  features = {"text": datasets.Value("string"), "label": datasets.ClassLabel(names=self.config.label_classes),
130
  "foil": datasets.ClassLabel(names=self.config.label_classes),
131
  "words": datasets.Sequence(datasets.Value("string")),
132
- "rationale": datasets.Sequence(datasets.Value("int8")),
133
- "contrastive_rationale": datasets.Sequence(datasets.Value("int8")),
134
  "annotations": datasets.Sequence(datasets.Sequence(datasets.Value("int8"))),
135
  "contrastive_annotations": datasets.Sequence(datasets.Sequence(datasets.Value("int8")))}
136
  return datasets.DatasetInfo(
 
129
  features = {"text": datasets.Value("string"), "label": datasets.ClassLabel(names=self.config.label_classes),
130
  "foil": datasets.ClassLabel(names=self.config.label_classes),
131
  "words": datasets.Sequence(datasets.Value("string")),
132
+ "rationales": datasets.Sequence(datasets.Value("int8")),
133
+ "contrastive_rationales": datasets.Sequence(datasets.Value("int8")),
134
  "annotations": datasets.Sequence(datasets.Sequence(datasets.Value("int8"))),
135
  "contrastive_annotations": datasets.Sequence(datasets.Sequence(datasets.Value("int8")))}
136
  return datasets.DatasetInfo(