amphora commited on
Commit
7ff25ef
1 Parent(s): fc00a80

Update csatqa.py

Browse files
Files changed (1) hide show
  1. csatqa.py +5 -3
csatqa.py CHANGED
@@ -43,7 +43,7 @@ class CSATQA(datasets.GeneratorBasedBuilder):
43
  "option#5": datasets.Value("string"),
44
  "gold": datasets.Value("int8"),
45
  "category": datasets.Value("string"),
46
- "human_performance": datasets.Value("float16"),
47
  }
48
  )
49
  return datasets.DatasetInfo(
@@ -81,7 +81,8 @@ class CSATQA(datasets.GeneratorBasedBuilder):
81
  "option#5": data["option#5"],
82
  "gold": data["gold"],
83
  "category":"N/A",
84
- "human_performance":0.0})
 
85
 
86
  elif data["Category"] == self.config.name:
87
  buffer.append({
@@ -94,7 +95,8 @@ class CSATQA(datasets.GeneratorBasedBuilder):
94
  "option#5": data["option#5"],
95
  "gold": data["gold"],
96
  "category": data["Category"],
97
- "human_performance": data["Human_Peformance"]})
 
98
 
99
  for idx, dat in enumerate(buffer):
100
  yield idx,dat
 
43
  "option#5": datasets.Value("string"),
44
  "gold": datasets.Value("int8"),
45
  "category": datasets.Value("string"),
46
+ # "human_performance": datasets.Value("float16"),
47
  }
48
  )
49
  return datasets.DatasetInfo(
 
81
  "option#5": data["option#5"],
82
  "gold": data["gold"],
83
  "category":"N/A",
84
+ # "human_performance":0.0
85
+ })
86
 
87
  elif data["Category"] == self.config.name:
88
  buffer.append({
 
95
  "option#5": data["option#5"],
96
  "gold": data["gold"],
97
  "category": data["Category"],
98
+ #"human_performance": data["Human_Peformance"]
99
+ })
100
 
101
  for idx, dat in enumerate(buffer):
102
  yield idx,dat