hf-transformers-bot commited on
Commit
402c876
1 Parent(s): 9b36186

Upload tiny models for TableTransformerModel

Browse files
Files changed (3) hide show
  1. config.json +228 -0
  2. preprocessor_config.json +25 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "relu",
4
+ "architectures": [
5
+ "TableTransformerModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "auxiliary_loss": false,
9
+ "backbone": "resnet50",
10
+ "backbone_config": null,
11
+ "bbox_cost": 5,
12
+ "bbox_loss_coefficient": 5,
13
+ "class_cost": 1,
14
+ "d_model": 256,
15
+ "decoder_attention_heads": 8,
16
+ "decoder_ffn_dim": 4,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 2,
19
+ "dice_loss_coefficient": 1,
20
+ "dilation": false,
21
+ "dropout": 0.1,
22
+ "encoder_attention_heads": 8,
23
+ "encoder_ffn_dim": 4,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 2,
26
+ "eos_coefficient": 0.1,
27
+ "giou_cost": 2,
28
+ "giou_loss_coefficient": 2,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2",
33
+ "3": "LABEL_3",
34
+ "4": "LABEL_4",
35
+ "5": "LABEL_5",
36
+ "6": "LABEL_6",
37
+ "7": "LABEL_7",
38
+ "8": "LABEL_8",
39
+ "9": "LABEL_9",
40
+ "10": "LABEL_10",
41
+ "11": "LABEL_11",
42
+ "12": "LABEL_12",
43
+ "13": "LABEL_13",
44
+ "14": "LABEL_14",
45
+ "15": "LABEL_15",
46
+ "16": "LABEL_16",
47
+ "17": "LABEL_17",
48
+ "18": "LABEL_18",
49
+ "19": "LABEL_19",
50
+ "20": "LABEL_20",
51
+ "21": "LABEL_21",
52
+ "22": "LABEL_22",
53
+ "23": "LABEL_23",
54
+ "24": "LABEL_24",
55
+ "25": "LABEL_25",
56
+ "26": "LABEL_26",
57
+ "27": "LABEL_27",
58
+ "28": "LABEL_28",
59
+ "29": "LABEL_29",
60
+ "30": "LABEL_30",
61
+ "31": "LABEL_31",
62
+ "32": "LABEL_32",
63
+ "33": "LABEL_33",
64
+ "34": "LABEL_34",
65
+ "35": "LABEL_35",
66
+ "36": "LABEL_36",
67
+ "37": "LABEL_37",
68
+ "38": "LABEL_38",
69
+ "39": "LABEL_39",
70
+ "40": "LABEL_40",
71
+ "41": "LABEL_41",
72
+ "42": "LABEL_42",
73
+ "43": "LABEL_43",
74
+ "44": "LABEL_44",
75
+ "45": "LABEL_45",
76
+ "46": "LABEL_46",
77
+ "47": "LABEL_47",
78
+ "48": "LABEL_48",
79
+ "49": "LABEL_49",
80
+ "50": "LABEL_50",
81
+ "51": "LABEL_51",
82
+ "52": "LABEL_52",
83
+ "53": "LABEL_53",
84
+ "54": "LABEL_54",
85
+ "55": "LABEL_55",
86
+ "56": "LABEL_56",
87
+ "57": "LABEL_57",
88
+ "58": "LABEL_58",
89
+ "59": "LABEL_59",
90
+ "60": "LABEL_60",
91
+ "61": "LABEL_61",
92
+ "62": "LABEL_62",
93
+ "63": "LABEL_63",
94
+ "64": "LABEL_64",
95
+ "65": "LABEL_65",
96
+ "66": "LABEL_66",
97
+ "67": "LABEL_67",
98
+ "68": "LABEL_68",
99
+ "69": "LABEL_69",
100
+ "70": "LABEL_70",
101
+ "71": "LABEL_71",
102
+ "72": "LABEL_72",
103
+ "73": "LABEL_73",
104
+ "74": "LABEL_74",
105
+ "75": "LABEL_75",
106
+ "76": "LABEL_76",
107
+ "77": "LABEL_77",
108
+ "78": "LABEL_78",
109
+ "79": "LABEL_79",
110
+ "80": "LABEL_80",
111
+ "81": "LABEL_81",
112
+ "82": "LABEL_82",
113
+ "83": "LABEL_83",
114
+ "84": "LABEL_84",
115
+ "85": "LABEL_85",
116
+ "86": "LABEL_86",
117
+ "87": "LABEL_87",
118
+ "88": "LABEL_88",
119
+ "89": "LABEL_89",
120
+ "90": "LABEL_90"
121
+ },
122
+ "init_std": 0.02,
123
+ "init_xavier_std": 1.0,
124
+ "is_encoder_decoder": true,
125
+ "label2id": {
126
+ "LABEL_0": 0,
127
+ "LABEL_1": 1,
128
+ "LABEL_10": 10,
129
+ "LABEL_11": 11,
130
+ "LABEL_12": 12,
131
+ "LABEL_13": 13,
132
+ "LABEL_14": 14,
133
+ "LABEL_15": 15,
134
+ "LABEL_16": 16,
135
+ "LABEL_17": 17,
136
+ "LABEL_18": 18,
137
+ "LABEL_19": 19,
138
+ "LABEL_2": 2,
139
+ "LABEL_20": 20,
140
+ "LABEL_21": 21,
141
+ "LABEL_22": 22,
142
+ "LABEL_23": 23,
143
+ "LABEL_24": 24,
144
+ "LABEL_25": 25,
145
+ "LABEL_26": 26,
146
+ "LABEL_27": 27,
147
+ "LABEL_28": 28,
148
+ "LABEL_29": 29,
149
+ "LABEL_3": 3,
150
+ "LABEL_30": 30,
151
+ "LABEL_31": 31,
152
+ "LABEL_32": 32,
153
+ "LABEL_33": 33,
154
+ "LABEL_34": 34,
155
+ "LABEL_35": 35,
156
+ "LABEL_36": 36,
157
+ "LABEL_37": 37,
158
+ "LABEL_38": 38,
159
+ "LABEL_39": 39,
160
+ "LABEL_4": 4,
161
+ "LABEL_40": 40,
162
+ "LABEL_41": 41,
163
+ "LABEL_42": 42,
164
+ "LABEL_43": 43,
165
+ "LABEL_44": 44,
166
+ "LABEL_45": 45,
167
+ "LABEL_46": 46,
168
+ "LABEL_47": 47,
169
+ "LABEL_48": 48,
170
+ "LABEL_49": 49,
171
+ "LABEL_5": 5,
172
+ "LABEL_50": 50,
173
+ "LABEL_51": 51,
174
+ "LABEL_52": 52,
175
+ "LABEL_53": 53,
176
+ "LABEL_54": 54,
177
+ "LABEL_55": 55,
178
+ "LABEL_56": 56,
179
+ "LABEL_57": 57,
180
+ "LABEL_58": 58,
181
+ "LABEL_59": 59,
182
+ "LABEL_6": 6,
183
+ "LABEL_60": 60,
184
+ "LABEL_61": 61,
185
+ "LABEL_62": 62,
186
+ "LABEL_63": 63,
187
+ "LABEL_64": 64,
188
+ "LABEL_65": 65,
189
+ "LABEL_66": 66,
190
+ "LABEL_67": 67,
191
+ "LABEL_68": 68,
192
+ "LABEL_69": 69,
193
+ "LABEL_7": 7,
194
+ "LABEL_70": 70,
195
+ "LABEL_71": 71,
196
+ "LABEL_72": 72,
197
+ "LABEL_73": 73,
198
+ "LABEL_74": 74,
199
+ "LABEL_75": 75,
200
+ "LABEL_76": 76,
201
+ "LABEL_77": 77,
202
+ "LABEL_78": 78,
203
+ "LABEL_79": 79,
204
+ "LABEL_8": 8,
205
+ "LABEL_80": 80,
206
+ "LABEL_81": 81,
207
+ "LABEL_82": 82,
208
+ "LABEL_83": 83,
209
+ "LABEL_84": 84,
210
+ "LABEL_85": 85,
211
+ "LABEL_86": 86,
212
+ "LABEL_87": 87,
213
+ "LABEL_88": 88,
214
+ "LABEL_89": 89,
215
+ "LABEL_9": 9,
216
+ "LABEL_90": 90
217
+ },
218
+ "mask_loss_coefficient": 1,
219
+ "model_type": "table-transformer",
220
+ "num_channels": 3,
221
+ "num_hidden_layers": 2,
222
+ "num_queries": 12,
223
+ "position_embedding_type": "sine",
224
+ "torch_dtype": "float32",
225
+ "transformers_version": "4.28.0.dev0",
226
+ "use_pretrained_backbone": true,
227
+ "use_timm_backbone": true
228
+ }
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": "DetrFeatureExtractor",
7
+ "format": "coco_detection",
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_processor_type": "DetrImageProcessor",
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "longest_edge": 800,
23
+ "shortest_edge": 800
24
+ }
25
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:889342b82b9a8de36a1f28f5664425c04f55890f424a1998ff78fd0e540e78a5
3
+ size 102850669