Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ model = AutoModelForCausalLM.from_pretrained("microsoft/git-base-vqav2")
|
|
| 12 |
dataset.Dataset
|
| 13 |
dataset.features
|
| 14 |
dataset=load_dataset("Multimodal-Fatima/OK-VQA_train")
|
| 15 |
-
|
| 16 |
features:['image', 'answers','question'],
|
| 17 |
num_rows: 200
|
| 18 |
})
|
|
@@ -21,7 +21,7 @@ dataset({
|
|
| 21 |
'answers':Sequence(feature=Value(dtype='int64',id=None),length=-1,id=None),
|
| 22 |
'question':Value(dtype='string',id=None)}
|
| 23 |
|
| 24 |
-
|
| 25 |
features:['input_ids','attention_mask','pixel_values','pixel_mask','labels'],
|
| 26 |
num_rows:200
|
| 27 |
})
|
|
|
|
| 12 |
dataset.Dataset
|
| 13 |
dataset.features
|
| 14 |
dataset=load_dataset("Multimodal-Fatima/OK-VQA_train")
|
| 15 |
+
Dataset({
|
| 16 |
features:['image', 'answers','question'],
|
| 17 |
num_rows: 200
|
| 18 |
})
|
|
|
|
| 21 |
'answers':Sequence(feature=Value(dtype='int64',id=None),length=-1,id=None),
|
| 22 |
'question':Value(dtype='string',id=None)}
|
| 23 |
|
| 24 |
+
Dataset({
|
| 25 |
features:['input_ids','attention_mask','pixel_values','pixel_mask','labels'],
|
| 26 |
num_rows:200
|
| 27 |
})
|