npvinHnivqn
commited on
Commit
•
41e4c54
1
Parent(s):
92ca5d0
Upload QformT5ForVQA
Browse files- config.json +6 -3
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
{
|
2 |
"QformConfig": {
|
3 |
-
"
|
4 |
-
"
|
|
|
|
|
|
|
5 |
},
|
6 |
"T5ModelConfig": {
|
7 |
"architectures": [
|
@@ -23,7 +26,7 @@
|
|
23 |
"QformT5ForVQA"
|
24 |
],
|
25 |
"continue_training": true,
|
26 |
-
"from_pretrained_qform":
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:871aab192c049ad3d438c752e5cd04755cc5f9cb598fc63a9a1a3ef103370004
|
3 |
+
size 1018076448
|