npvinHnivqn commited on
Commit
41e4c54
1 Parent(s): 92ca5d0

Upload QformT5ForVQA

Browse files
Files changed (2) hide show
  1. config.json +6 -3
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,7 +1,10 @@
1
  {
2
  "QformConfig": {
3
- "classifier_dropout": null,
4
- "model_type": "blip_2_qformer"
 
 
 
5
  },
6
  "T5ModelConfig": {
7
  "architectures": [
@@ -23,7 +26,7 @@
23
  "QformT5ForVQA"
24
  ],
25
  "continue_training": true,
26
- "from_pretrained_qform": "Gregor/mblip-mt0-xl",
27
  "from_pretrained_t5": "VietAI/vit5-base",
28
  "model_type": "qformt5",
29
  "patch_per_side": 24,
 
1
  {
2
  "QformConfig": {
3
+ "encoder_hidden_size": 768,
4
+ "intermediate_size": 2048,
5
+ "model_type": "blip_2_qformer",
6
+ "num_attention_heads": 4,
7
+ "num_hidden_layers": 4
8
  },
9
  "T5ModelConfig": {
10
  "architectures": [
 
26
  "QformT5ForVQA"
27
  ],
28
  "continue_training": true,
29
+ "from_pretrained_qform": null,
30
  "from_pretrained_t5": "VietAI/vit5-base",
31
  "model_type": "qformt5",
32
  "patch_per_side": 24,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1dea5d18061cc1e5243b3ad36f6039dd045575a7b148c23c2bd535e5dce4a387
3
- size 1333477048
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:871aab192c049ad3d438c752e5cd04755cc5f9cb598fc63a9a1a3ef103370004
3
+ size 1018076448