nouman-10 commited on
Commit
53ad565
1 Parent(s): e079c85

Upload ViltForQuestionAnswering

Browse files
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "dandelin/vilt-b32-mlm",
3
+ "architectures": [
4
+ "ViltForQuestionAnswering"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "portrait",
12
+ "1": "genre painting",
13
+ "2": "landscape",
14
+ "3": "Romanticism",
15
+ "4": "Surrealism",
16
+ "5": "Gustave Dore",
17
+ "6": "Zdislav Beksinski",
18
+ "7": "Ivan Aivazovsky",
19
+ "8": "John Singer Sargent",
20
+ "9": "Realism",
21
+ "10": "symbolic painting",
22
+ "11": "religious painting",
23
+ "12": "Impressionism",
24
+ "13": "Marc Chagall",
25
+ "14": "Neoclassicism"
26
+ },
27
+ "image_size": 384,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "Gustave Dore": 5,
32
+ "Impressionism": 12,
33
+ "Ivan Aivazovsky": 7,
34
+ "John Singer Sargent": 8,
35
+ "Marc Chagall": 13,
36
+ "Neoclassicism": 14,
37
+ "Realism": 9,
38
+ "Romanticism": 3,
39
+ "Surrealism": 4,
40
+ "Zdislav Beksinski": 6,
41
+ "genre painting": 1,
42
+ "landscape": 2,
43
+ "portrait": 0,
44
+ "religious painting": 11,
45
+ "symbolic painting": 10
46
+ },
47
+ "layer_norm_eps": 1e-12,
48
+ "max_image_length": -1,
49
+ "max_position_embeddings": 40,
50
+ "modality_type_vocab_size": 2,
51
+ "model_type": "vilt",
52
+ "num_attention_heads": 12,
53
+ "num_channels": 3,
54
+ "num_hidden_layers": 12,
55
+ "num_images": -1,
56
+ "patch_size": 32,
57
+ "qkv_bias": true,
58
+ "tie_word_embeddings": false,
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.29.2",
61
+ "type_vocab_size": 2,
62
+ "vocab_size": 30522
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d129d5cd2df6b4e5b8ab521e296e34717f6a4eb4b88dd58057c237beb0c0a460
3
+ size 451282145