jalbrechts
commited on
Commit
•
cabe3ac
1
Parent(s):
69690e2
Training in progress, step 200
Browse files- config.json +157 -0
- preprocessor_config.json +25 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +56 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dandelin/vilt-b32-finetuned-vqa",
|
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": "Sports",
|
12 |
+
"1": "Beige",
|
13 |
+
"2": "Shirts",
|
14 |
+
"3": "Green",
|
15 |
+
"4": "Trunk",
|
16 |
+
"5": "Black",
|
17 |
+
"6": "Sandals",
|
18 |
+
"7": "Handbags",
|
19 |
+
"8": "Purple",
|
20 |
+
"9": "Sweaters",
|
21 |
+
"10": "Sweatshirts",
|
22 |
+
"11": "Fall",
|
23 |
+
"12": "Spring",
|
24 |
+
"13": "Pink",
|
25 |
+
"14": "Maroon",
|
26 |
+
"15": "Casual Shoes",
|
27 |
+
"16": "Heels",
|
28 |
+
"17": "Flats",
|
29 |
+
"18": "Multi",
|
30 |
+
"19": "Belts",
|
31 |
+
"20": "Leggings",
|
32 |
+
"21": "Girls",
|
33 |
+
"22": "Winter",
|
34 |
+
"23": "Tshirts",
|
35 |
+
"24": "Gold",
|
36 |
+
"25": "Boys",
|
37 |
+
"26": "Ties",
|
38 |
+
"27": "Sunglasses",
|
39 |
+
"28": "Stockings",
|
40 |
+
"29": "Grey",
|
41 |
+
"30": "Formal",
|
42 |
+
"31": "Flip Flops",
|
43 |
+
"32": "Olive",
|
44 |
+
"33": "Summer",
|
45 |
+
"34": "Sports Shoes",
|
46 |
+
"35": "Socks",
|
47 |
+
"36": "Skirts",
|
48 |
+
"37": "Men",
|
49 |
+
"38": "Red",
|
50 |
+
"39": "Watches",
|
51 |
+
"40": "Formal Shoes",
|
52 |
+
"41": "Shorts",
|
53 |
+
"42": "Track Pants",
|
54 |
+
"43": "Bra",
|
55 |
+
"44": "White",
|
56 |
+
"45": "Navy Blue",
|
57 |
+
"46": "Jeans",
|
58 |
+
"47": "Unisex",
|
59 |
+
"48": "Women",
|
60 |
+
"49": "Steel",
|
61 |
+
"50": "Ethnic",
|
62 |
+
"51": "Brown",
|
63 |
+
"52": "Trousers",
|
64 |
+
"53": "Casual",
|
65 |
+
"54": "Blue",
|
66 |
+
"55": "Jackets",
|
67 |
+
"56": "Silver",
|
68 |
+
"57": "Innerwear Vests",
|
69 |
+
"58": "Briefs",
|
70 |
+
"59": "Cream",
|
71 |
+
"60": "Tops",
|
72 |
+
"61": "Peach"
|
73 |
+
},
|
74 |
+
"image_size": 384,
|
75 |
+
"initializer_range": 0.02,
|
76 |
+
"intermediate_size": 3072,
|
77 |
+
"label2id": {
|
78 |
+
"Beige": 1,
|
79 |
+
"Belts": 19,
|
80 |
+
"Black": 5,
|
81 |
+
"Blue": 54,
|
82 |
+
"Boys": 25,
|
83 |
+
"Bra": 43,
|
84 |
+
"Briefs": 58,
|
85 |
+
"Brown": 51,
|
86 |
+
"Casual": 53,
|
87 |
+
"Casual Shoes": 15,
|
88 |
+
"Cream": 59,
|
89 |
+
"Ethnic": 50,
|
90 |
+
"Fall": 11,
|
91 |
+
"Flats": 17,
|
92 |
+
"Flip Flops": 31,
|
93 |
+
"Formal": 30,
|
94 |
+
"Formal Shoes": 40,
|
95 |
+
"Girls": 21,
|
96 |
+
"Gold": 24,
|
97 |
+
"Green": 3,
|
98 |
+
"Grey": 29,
|
99 |
+
"Handbags": 7,
|
100 |
+
"Heels": 16,
|
101 |
+
"Innerwear Vests": 57,
|
102 |
+
"Jackets": 55,
|
103 |
+
"Jeans": 46,
|
104 |
+
"Leggings": 20,
|
105 |
+
"Maroon": 14,
|
106 |
+
"Men": 37,
|
107 |
+
"Multi": 18,
|
108 |
+
"Navy Blue": 45,
|
109 |
+
"Olive": 32,
|
110 |
+
"Peach": 61,
|
111 |
+
"Pink": 13,
|
112 |
+
"Purple": 8,
|
113 |
+
"Red": 38,
|
114 |
+
"Sandals": 6,
|
115 |
+
"Shirts": 2,
|
116 |
+
"Shorts": 41,
|
117 |
+
"Silver": 56,
|
118 |
+
"Skirts": 36,
|
119 |
+
"Socks": 35,
|
120 |
+
"Sports": 0,
|
121 |
+
"Sports Shoes": 34,
|
122 |
+
"Spring": 12,
|
123 |
+
"Steel": 49,
|
124 |
+
"Stockings": 28,
|
125 |
+
"Summer": 33,
|
126 |
+
"Sunglasses": 27,
|
127 |
+
"Sweaters": 9,
|
128 |
+
"Sweatshirts": 10,
|
129 |
+
"Ties": 26,
|
130 |
+
"Tops": 60,
|
131 |
+
"Track Pants": 42,
|
132 |
+
"Trousers": 52,
|
133 |
+
"Trunk": 4,
|
134 |
+
"Tshirts": 23,
|
135 |
+
"Unisex": 47,
|
136 |
+
"Watches": 39,
|
137 |
+
"White": 44,
|
138 |
+
"Winter": 22,
|
139 |
+
"Women": 48
|
140 |
+
},
|
141 |
+
"layer_norm_eps": 1e-12,
|
142 |
+
"max_image_length": -1,
|
143 |
+
"max_position_embeddings": 40,
|
144 |
+
"modality_type_vocab_size": 2,
|
145 |
+
"model_type": "vilt",
|
146 |
+
"num_attention_heads": 12,
|
147 |
+
"num_channels": 3,
|
148 |
+
"num_hidden_layers": 12,
|
149 |
+
"num_images": -1,
|
150 |
+
"patch_size": 32,
|
151 |
+
"qkv_bias": true,
|
152 |
+
"tie_word_embeddings": false,
|
153 |
+
"torch_dtype": "float32",
|
154 |
+
"transformers_version": "4.34.1",
|
155 |
+
"type_vocab_size": 2,
|
156 |
+
"vocab_size": 30522
|
157 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "ViltFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.5,
|
9 |
+
0.5,
|
10 |
+
0.5
|
11 |
+
],
|
12 |
+
"image_processor_type": "ViltImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.5,
|
15 |
+
0.5,
|
16 |
+
0.5
|
17 |
+
],
|
18 |
+
"processor_class": "ViltProcessor",
|
19 |
+
"resample": 3,
|
20 |
+
"rescale_factor": 0.00392156862745098,
|
21 |
+
"size": {
|
22 |
+
"shortest_edge": 384
|
23 |
+
},
|
24 |
+
"size_divisor": 32
|
25 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b52c950d086491c674a451c66b23681dea69f1b917a44cbe2a5e37d8f4051302
|
3 |
+
size 451570778
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": true,
|
47 |
+
"mask_token": "[MASK]",
|
48 |
+
"model_max_length": 40,
|
49 |
+
"pad_token": "[PAD]",
|
50 |
+
"processor_class": "ViltProcessor",
|
51 |
+
"sep_token": "[SEP]",
|
52 |
+
"strip_accents": null,
|
53 |
+
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "BertTokenizer",
|
55 |
+
"unk_token": "[UNK]"
|
56 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61b5f152d34f42fb081e7241b08b5f7bf4767c6b4f9cf85f301962ede6b92b4b
|
3 |
+
size 4536
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|