npvinHnivqn
commited on
Commit
•
76683d7
1
Parent(s):
039f63a
Upload QformT5ForVQA
Browse files- config.json +22 -12
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,23 +1,33 @@
|
|
1 |
{
|
2 |
"QformConfig": {
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"model_type": "blip_2_qformer",
|
6 |
-
"num_attention_heads": 2,
|
7 |
-
"num_hidden_layers": 2
|
8 |
},
|
9 |
"T5ModelConfig": {
|
10 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
},
|
12 |
"architectures": [
|
13 |
"QformT5ForVQA"
|
14 |
],
|
15 |
-
"
|
16 |
-
"
|
|
|
17 |
"model_type": "qformt5",
|
18 |
-
"patch_per_side":
|
19 |
"torch_dtype": "float32",
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"visual_dmodel": 8
|
23 |
}
|
|
|
1 |
{
|
2 |
"QformConfig": {
|
3 |
+
"classifier_dropout": null,
|
4 |
+
"model_type": "blip_2_qformer"
|
|
|
|
|
|
|
5 |
},
|
6 |
"T5ModelConfig": {
|
7 |
+
"architectures": [
|
8 |
+
"T5ForConditionalGeneration"
|
9 |
+
],
|
10 |
+
"d_ff": 3072,
|
11 |
+
"d_model": 768,
|
12 |
+
"decoder_start_token_id": 0,
|
13 |
+
"model_type": "t5",
|
14 |
+
"n_positions": 512,
|
15 |
+
"num_decoder_layers": 12,
|
16 |
+
"num_heads": 12,
|
17 |
+
"num_layers": 12,
|
18 |
+
"output_past": true,
|
19 |
+
"torch_dtype": "float32",
|
20 |
+
"vocab_size": 36096
|
21 |
},
|
22 |
"architectures": [
|
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": 14,
|
30 |
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.36.0",
|
32 |
+
"visual_dmodel": 768
|
|
|
33 |
}
|
generation_config.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
-
"transformers_version": "4.
|
4 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.36.0"
|
4 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a42077edf34283c0b46daf44bca32c142fa7f24ba775edf0cf5099c14d8f74d3
|
3 |
+
size 1331508408
|