Upload VisualBertForQuestionAnswering
Browse files- config.json +57 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./bert_bal_more_it/checkpoint-24000",
|
3 |
+
"architectures": [
|
4 |
+
"VisualBertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"bypass_transformer": false,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "circle",
|
15 |
+
"1": "green",
|
16 |
+
"2": "red",
|
17 |
+
"3": "gray",
|
18 |
+
"4": "yes",
|
19 |
+
"5": "teal",
|
20 |
+
"6": "black",
|
21 |
+
"7": "rectangle",
|
22 |
+
"8": "yellow",
|
23 |
+
"9": "triangle",
|
24 |
+
"10": "brown",
|
25 |
+
"11": "blue",
|
26 |
+
"12": "no"
|
27 |
+
},
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
"black": 6,
|
32 |
+
"blue": 11,
|
33 |
+
"brown": 10,
|
34 |
+
"circle": 0,
|
35 |
+
"gray": 3,
|
36 |
+
"green": 1,
|
37 |
+
"no": 12,
|
38 |
+
"rectangle": 7,
|
39 |
+
"red": 2,
|
40 |
+
"teal": 5,
|
41 |
+
"triangle": 9,
|
42 |
+
"yellow": 8,
|
43 |
+
"yes": 4
|
44 |
+
},
|
45 |
+
"layer_norm_eps": 1e-12,
|
46 |
+
"max_position_embeddings": 512,
|
47 |
+
"model_type": "visual_bert",
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_hidden_layers": 12,
|
50 |
+
"pad_token_id": 1,
|
51 |
+
"special_visual_initialize": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.28.1",
|
54 |
+
"type_vocab_size": 2,
|
55 |
+
"visual_embedding_dim": 384,
|
56 |
+
"vocab_size": 30522
|
57 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4718f775ae341857b2ed1da141959ea561f8d420ffa6a11e68da7c1c9c3f6e34
|
3 |
+
size 440806213
|