add model
Browse files- config.json +38 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data/ckpt/converted/meter_pretrain_384",
|
3 |
+
"architectures": [
|
4 |
+
"MeterForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"contrast_method": "none",
|
8 |
+
"draw_false_text": 0,
|
9 |
+
"drop_rate": 0.1,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"freeze_patterns": null,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"ib_kl": false,
|
14 |
+
"image_size": 384,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"itm_loss": 1,
|
17 |
+
"keep_ratio": 0.5,
|
18 |
+
"max_text_len": 50,
|
19 |
+
"mlm_loss": 1,
|
20 |
+
"mlm_prob": 0.15,
|
21 |
+
"mlp_ratio": 4,
|
22 |
+
"model_type": "meter",
|
23 |
+
"mpp_loss": 0,
|
24 |
+
"num_heads": 12,
|
25 |
+
"num_layers": 12,
|
26 |
+
"num_top_layer": 6,
|
27 |
+
"pad_token_id": 1,
|
28 |
+
"prune_layers": null,
|
29 |
+
"prune_method": "mlp_states",
|
30 |
+
"token_types": 2,
|
31 |
+
"tokenizer": "roberta-base",
|
32 |
+
"torch_dtype": "float32",
|
33 |
+
"transformers_version": "4.25.1",
|
34 |
+
"vit_patch_size": 16,
|
35 |
+
"vocab_size": 50265,
|
36 |
+
"vqa_label_size": 3129,
|
37 |
+
"whole_word_masking": false
|
38 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e604bfb13b4bca426f49afaa18b59b91eaae02e64681ad2ff1204a899820324f
|
3 |
+
size 1304302929
|