FranciscoLozDataScience
commited on
Commit
•
bb64b59
1
Parent(s):
5ca2a15
chagned data typed of choices
Browse files- README.md +1 -1
- smokedataset_QA.py +2 -2
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 |
+
dtype: string
|
22 |
splits:
|
23 |
- name: test
|
24 |
num_bytes: 119949703
|
smokedataset_QA.py
CHANGED
@@ -42,12 +42,12 @@ class smokedataset_QA(datasets.GeneratorBasedBuilder):
|
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
"prompt": datasets.Value(dtype='string'),
|
45 |
-
"choices": datasets.
|
46 |
}
|
47 |
),
|
48 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|
49 |
# specify them. They'll be used if as_supervised=True in builder.as_dataset.
|
50 |
-
|
51 |
# Homepage of the dataset for documentation
|
52 |
homepage=_HOMEPAGE,
|
53 |
# License for the dataset if available
|
|
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
"prompt": datasets.Value(dtype='string'),
|
45 |
+
"choices": datasets.Value(dtype='string')
|
46 |
}
|
47 |
),
|
48 |
# If there's a common (input, target) tuple from the features, uncomment supervised_keys line below and
|
49 |
# specify them. They'll be used if as_supervised=True in builder.as_dataset.
|
50 |
+
supervised_keys=None,
|
51 |
# Homepage of the dataset for documentation
|
52 |
homepage=_HOMEPAGE,
|
53 |
# License for the dataset if available
|