panda47 commited on
Commit
5604e74
Β·
1 Parent(s): bd963af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,16 +11,16 @@ model = AutoModelForCausalLM.from_pretrained("microsoft/git-base-vqav2")
11
  dataset=load_dataset("Multimodal-Fatima/OK-VQA_train")
12
  Dataset({
13
  features:['image', 'answers','question'],
14
- num_rows: 50
15
  })
16
 
17
  {'image':Image(decode=True,id=None),
18
- 'answers':Sequence(feature=Value(dtype='int64',id_None),length=-1,id=None),
19
  'question':Value(dtype='string',id=None)}
20
 
21
  Dataset({
22
  features:['input_ids','attention_mask','pixel_values','pixel_mask','labels'],
23
- num_rows:50
24
  })
25
 
26
  file_path = hf_hub_download(repo_id=Dataset, repo_type="dataset")
 
11
  dataset=load_dataset("Multimodal-Fatima/OK-VQA_train")
12
  Dataset({
13
  features:['image', 'answers','question'],
14
+ num_rows: 200
15
  })
16
 
17
  {'image':Image(decode=True,id=None),
18
+ 'answers':Sequence(feature=Value(dtype='int64',id=None),length=-1,id=None),
19
  'question':Value(dtype='string',id=None)}
20
 
21
  Dataset({
22
  features:['input_ids','attention_mask','pixel_values','pixel_mask','labels'],
23
+ num_rows:200
24
  })
25
 
26
  file_path = hf_hub_download(repo_id=Dataset, repo_type="dataset")