nflechas commited on
Commit
cc4abfa
1 Parent(s): 2b268e1

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": "symbolic painting",
12
+ "1": "Romanticism",
13
+ "2": "Ivan Aivazovsky",
14
+ "3": "genre painting",
15
+ "4": "landscape",
16
+ "5": "John Singer Sargent",
17
+ "6": "Zdislav Beksinski",
18
+ "7": "Impressionism",
19
+ "8": "religious painting",
20
+ "9": "Neoclassicism",
21
+ "10": "Surrealism",
22
+ "11": "portrait",
23
+ "12": "Marc Chagall",
24
+ "13": "Realism",
25
+ "14": "Gustave Dore"
26
+ },
27
+ "image_size": 384,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "Gustave Dore": 14,
32
+ "Impressionism": 7,
33
+ "Ivan Aivazovsky": 2,
34
+ "John Singer Sargent": 5,
35
+ "Marc Chagall": 12,
36
+ "Neoclassicism": 9,
37
+ "Realism": 13,
38
+ "Romanticism": 1,
39
+ "Surrealism": 10,
40
+ "Zdislav Beksinski": 6,
41
+ "genre painting": 3,
42
+ "landscape": 4,
43
+ "portrait": 11,
44
+ "religious painting": 8,
45
+ "symbolic painting": 0
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:89e1b0c668d34f66b162c962f51ef55bbb9c775a84e7ec1299baae67669c7555
3
+ size 451282145