FranciscoLozDataScience
commited on
Commit
•
90f7b6b
1
Parent(s):
bb64b59
chage type of choice back
Browse files- README.md +1 -1
- smokedataset_QA.py +1 -1
README.md
CHANGED
@@ -18,7 +18,7 @@ dataset_info:
|
|
18 |
- name: prompt
|
19 |
dtype: string
|
20 |
- name: choices
|
21 |
-
|
22 |
splits:
|
23 |
- name: test
|
24 |
num_bytes: 119949703
|
|
|
18 |
- name: prompt
|
19 |
dtype: string
|
20 |
- name: choices
|
21 |
+
sequence: string
|
22 |
splits:
|
23 |
- name: test
|
24 |
num_bytes: 119949703
|
smokedataset_QA.py
CHANGED
@@ -42,7 +42,7 @@ class smokedataset_QA(datasets.GeneratorBasedBuilder):
|
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
"prompt": datasets.Value(dtype='string'),
|
45 |
-
"choices": datasets.Value(
|
46 |
}
|
47 |
),
|
48 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|
|
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
"prompt": datasets.Value(dtype='string'),
|
45 |
+
"choices": datasets.Sequence(datasets.Value("string"))
|
46 |
}
|
47 |
),
|
48 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|