Commit
·
222b9a8
1
Parent(s):
2d6d0bc
got dataset-cli test to work and generated readme
Browse files- README.md +11 -7
- smokedataset_QA.py +1 -1
README.md
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
2 |
dataset_info:
|
3 |
features:
|
4 |
- name: image
|
@@ -10,19 +15,18 @@ dataset_info:
|
|
10 |
'0': cloud
|
11 |
'1': other
|
12 |
'2': smoke
|
|
|
|
|
|
|
|
|
13 |
splits:
|
14 |
- name: test
|
15 |
-
num_bytes:
|
16 |
num_examples: 19832
|
17 |
download_size: 132474880
|
18 |
-
dataset_size:
|
19 |
tags:
|
20 |
- climate
|
21 |
-
task_categories:
|
22 |
-
- visual-question-answering
|
23 |
-
task_ids:
|
24 |
-
- multi-label-image-classification
|
25 |
-
license: mit
|
26 |
---
|
27 |
|
28 |
# Motivation
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
+
task_categories:
|
4 |
+
- visual-question-answering
|
5 |
+
task_ids:
|
6 |
+
- multi-label-image-classification
|
7 |
dataset_info:
|
8 |
features:
|
9 |
- name: image
|
|
|
15 |
'0': cloud
|
16 |
'1': other
|
17 |
'2': smoke
|
18 |
+
- name: prompt
|
19 |
+
dtype: string
|
20 |
+
- name: choices
|
21 |
+
sequence: string
|
22 |
splits:
|
23 |
- name: test
|
24 |
+
num_bytes: 119949703
|
25 |
num_examples: 19832
|
26 |
download_size: 132474880
|
27 |
+
dataset_size: 119949703
|
28 |
tags:
|
29 |
- climate
|
|
|
|
|
|
|
|
|
|
|
30 |
---
|
31 |
|
32 |
# Motivation
|
smokedataset_QA.py
CHANGED
@@ -41,7 +41,7 @@ class smokedataset_QA(datasets.GeneratorBasedBuilder):
|
|
41 |
{
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
-
"prompt": datasets.Value(
|
45 |
"choices": datasets.Sequence(datasets.Value("string"))
|
46 |
}
|
47 |
),
|
|
|
41 |
{
|
42 |
"image": datasets.Image(),
|
43 |
"label": datasets.ClassLabel(names=_NAMES),
|
44 |
+
"prompt": datasets.Value(dtype='string', id=None),
|
45 |
"choices": datasets.Sequence(datasets.Value("string"))
|
46 |
}
|
47 |
),
|