SergioAnaut
commited on
Commit
•
1c97959
1
Parent(s):
c4058eb
Training in progress, step 200
Browse files- config.json +157 -0
- model.safetensors +3 -0
- preprocessor_config.json +24 -0
- special_tokens_map.json +37 -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": "Silver",
|
12 |
+
"1": "Spring",
|
13 |
+
"2": "Multi",
|
14 |
+
"3": "Boys",
|
15 |
+
"4": "Mustard",
|
16 |
+
"5": "Charcoal",
|
17 |
+
"6": "Formal",
|
18 |
+
"7": "Shirts",
|
19 |
+
"8": "Heels",
|
20 |
+
"9": "Men",
|
21 |
+
"10": "Socks",
|
22 |
+
"11": "Khaki",
|
23 |
+
"12": "Grey",
|
24 |
+
"13": "Unisex",
|
25 |
+
"14": "Yellow",
|
26 |
+
"15": "Bracelet",
|
27 |
+
"16": "Tunics",
|
28 |
+
"17": "Gold",
|
29 |
+
"18": "Maroon",
|
30 |
+
"19": "Sports Sandals",
|
31 |
+
"20": "Girls",
|
32 |
+
"21": "Night suits",
|
33 |
+
"22": "Casual Shoes",
|
34 |
+
"23": "Brown",
|
35 |
+
"24": "Sports Shoes",
|
36 |
+
"25": "Sweatshirts",
|
37 |
+
"26": "White",
|
38 |
+
"27": "Sweaters",
|
39 |
+
"28": "Jeggings",
|
40 |
+
"29": "Watches",
|
41 |
+
"30": "Peach",
|
42 |
+
"31": "Casual",
|
43 |
+
"32": "Black",
|
44 |
+
"33": "Steel",
|
45 |
+
"34": "Tops",
|
46 |
+
"35": "Purple",
|
47 |
+
"36": "Winter",
|
48 |
+
"37": "Women",
|
49 |
+
"38": "Summer",
|
50 |
+
"39": "Navy Blue",
|
51 |
+
"40": "Green",
|
52 |
+
"41": "Cream",
|
53 |
+
"42": "Belts",
|
54 |
+
"43": "Red",
|
55 |
+
"44": "Flip Flops",
|
56 |
+
"45": "Tshirts",
|
57 |
+
"46": "Shorts",
|
58 |
+
"47": "Trousers",
|
59 |
+
"48": "Blue",
|
60 |
+
"49": "Orange",
|
61 |
+
"50": "Handbags",
|
62 |
+
"51": "Caps",
|
63 |
+
"52": "Stockings",
|
64 |
+
"53": "Bra",
|
65 |
+
"54": "Necklace and Chains",
|
66 |
+
"55": "Fall",
|
67 |
+
"56": "Magenta",
|
68 |
+
"57": "Innerwear Vests",
|
69 |
+
"58": "Sports",
|
70 |
+
"59": "Briefs",
|
71 |
+
"60": "Ties",
|
72 |
+
"61": "Sandals"
|
73 |
+
},
|
74 |
+
"image_size": 384,
|
75 |
+
"initializer_range": 0.02,
|
76 |
+
"intermediate_size": 3072,
|
77 |
+
"label2id": {
|
78 |
+
"Belts": 42,
|
79 |
+
"Black": 32,
|
80 |
+
"Blue": 48,
|
81 |
+
"Boys": 3,
|
82 |
+
"Bra": 53,
|
83 |
+
"Bracelet": 15,
|
84 |
+
"Briefs": 59,
|
85 |
+
"Brown": 23,
|
86 |
+
"Caps": 51,
|
87 |
+
"Casual": 31,
|
88 |
+
"Casual Shoes": 22,
|
89 |
+
"Charcoal": 5,
|
90 |
+
"Cream": 41,
|
91 |
+
"Fall": 55,
|
92 |
+
"Flip Flops": 44,
|
93 |
+
"Formal": 6,
|
94 |
+
"Girls": 20,
|
95 |
+
"Gold": 17,
|
96 |
+
"Green": 40,
|
97 |
+
"Grey": 12,
|
98 |
+
"Handbags": 50,
|
99 |
+
"Heels": 8,
|
100 |
+
"Innerwear Vests": 57,
|
101 |
+
"Jeggings": 28,
|
102 |
+
"Khaki": 11,
|
103 |
+
"Magenta": 56,
|
104 |
+
"Maroon": 18,
|
105 |
+
"Men": 9,
|
106 |
+
"Multi": 2,
|
107 |
+
"Mustard": 4,
|
108 |
+
"Navy Blue": 39,
|
109 |
+
"Necklace and Chains": 54,
|
110 |
+
"Night suits": 21,
|
111 |
+
"Orange": 49,
|
112 |
+
"Peach": 30,
|
113 |
+
"Purple": 35,
|
114 |
+
"Red": 43,
|
115 |
+
"Sandals": 61,
|
116 |
+
"Shirts": 7,
|
117 |
+
"Shorts": 46,
|
118 |
+
"Silver": 0,
|
119 |
+
"Socks": 10,
|
120 |
+
"Sports": 58,
|
121 |
+
"Sports Sandals": 19,
|
122 |
+
"Sports Shoes": 24,
|
123 |
+
"Spring": 1,
|
124 |
+
"Steel": 33,
|
125 |
+
"Stockings": 52,
|
126 |
+
"Summer": 38,
|
127 |
+
"Sweaters": 27,
|
128 |
+
"Sweatshirts": 25,
|
129 |
+
"Ties": 60,
|
130 |
+
"Tops": 34,
|
131 |
+
"Trousers": 47,
|
132 |
+
"Tshirts": 45,
|
133 |
+
"Tunics": 16,
|
134 |
+
"Unisex": 13,
|
135 |
+
"Watches": 29,
|
136 |
+
"White": 26,
|
137 |
+
"Winter": 36,
|
138 |
+
"Women": 37,
|
139 |
+
"Yellow": 14
|
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.44.2",
|
155 |
+
"type_vocab_size": 2,
|
156 |
+
"vocab_size": 30522
|
157 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ee3b079912bfa04bb0cedb67f66a0631bc68e07d61a02962a325bd02e0658c42
|
3 |
+
size 451523048
|
preprocessor_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_pad": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"image_mean": [
|
7 |
+
0.5,
|
8 |
+
0.5,
|
9 |
+
0.5
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViltImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"processor_class": "ViltProcessor",
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 384
|
22 |
+
},
|
23 |
+
"size_divisor": 32
|
24 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
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:61d02504bb3229e88549187210e2106de0b5f994a3f63a84706c147ad4360eee
|
3 |
+
size 5304
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|