Datasets:

Languages:
English
ArXiv:
License:
kiddothe2b commited on
Commit
335151c
1 Parent(s): 00c99d7

Update medical-bios.py

Browse files
Files changed (1) hide show
  1. medical-bios.py +1 -1
medical-bios.py CHANGED
@@ -197,7 +197,7 @@ class XAIFairness(datasets.GeneratorBasedBuilder):
197
  data = json.loads(row)
198
  example = {
199
  "text": data["text"],
200
- "label": data[self.config.label_column]
201
  }
202
  if self.config.name == "rationales":
203
  example["foil"] = data["foil"]
 
197
  data = json.loads(row)
198
  example = {
199
  "text": data["text"],
200
+ "label": data["title"]
201
  }
202
  if self.config.name == "rationales":
203
  example["foil"] = data["foil"]