eduagarcia
commited on
Commit
•
23d3311
1
Parent(s):
8d27e35
rename question_id column to id
Browse files- oab_exams_disabled.py +2 -2
oab_exams_disabled.py
CHANGED
@@ -70,7 +70,7 @@ class OABExams(datasets.GeneratorBasedBuilder):
|
|
70 |
description=_DESCRIPTION,
|
71 |
features=datasets.Features(
|
72 |
{
|
73 |
-
"
|
74 |
"question_number": datasets.Value("int32"),
|
75 |
"exam_id": datasets.Value("string"),
|
76 |
"exam_year": datasets.Value("string"),
|
@@ -168,7 +168,7 @@ class OABExams(datasets.GeneratorBasedBuilder):
|
|
168 |
temp_question_text = None
|
169 |
|
170 |
yield question_temp['question_id'], {
|
171 |
-
"
|
172 |
"question_number": question_temp['question_number'],
|
173 |
"exam_id": question_temp['exam_id'],
|
174 |
"exam_year": question_temp['exam_year'],
|
|
|
70 |
description=_DESCRIPTION,
|
71 |
features=datasets.Features(
|
72 |
{
|
73 |
+
"id": datasets.Value("string"),
|
74 |
"question_number": datasets.Value("int32"),
|
75 |
"exam_id": datasets.Value("string"),
|
76 |
"exam_year": datasets.Value("string"),
|
|
|
168 |
temp_question_text = None
|
169 |
|
170 |
yield question_temp['question_id'], {
|
171 |
+
"id": question_temp['question_id'],
|
172 |
"question_number": question_temp['question_number'],
|
173 |
"exam_id": question_temp['exam_id'],
|
174 |
"exam_year": question_temp['exam_year'],
|