hf-transformers-bot commited on
Commit
147a953
·
verified ·
1 Parent(s): 95be9fc

Update tiny models for TableTransformerModel

Browse files
Files changed (3) hide show
  1. config.json +97 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +25 -0
config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": null,
10
+ "backbone_config": {
11
+ "depths": [
12
+ 1,
13
+ 1,
14
+ 2,
15
+ 1
16
+ ],
17
+ "downsample_in_bottleneck": false,
18
+ "downsample_in_first_stage": false,
19
+ "embedding_size": 64,
20
+ "embeddings_size": 10,
21
+ "hidden_act": "relu",
22
+ "hidden_sizes": [
23
+ 10,
24
+ 20,
25
+ 30,
26
+ 40
27
+ ],
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "label2id": {
34
+ "LABEL_0": 0,
35
+ "LABEL_1": 1,
36
+ "LABEL_2": 2
37
+ },
38
+ "layer_type": "bottleneck",
39
+ "model_type": "resnet",
40
+ "num_channels": 3,
41
+ "out_features": [
42
+ "stage2",
43
+ "stage3",
44
+ "stage4"
45
+ ],
46
+ "out_indices": [
47
+ 2,
48
+ 3,
49
+ 4
50
+ ],
51
+ "stage_names": [
52
+ "stem",
53
+ "stage1",
54
+ "stage2",
55
+ "stage3",
56
+ "stage4"
57
+ ]
58
+ },
59
+ "bbox_cost": 5,
60
+ "bbox_loss_coefficient": 5,
61
+ "class_cost": 1,
62
+ "d_model": 32,
63
+ "decoder_attention_heads": 8,
64
+ "decoder_ffn_dim": 4,
65
+ "decoder_layerdrop": 0.0,
66
+ "decoder_layers": 2,
67
+ "dice_loss_coefficient": 1,
68
+ "dilation": false,
69
+ "dropout": 0.1,
70
+ "dtype": "float32",
71
+ "encoder_attention_heads": 8,
72
+ "encoder_ffn_dim": 4,
73
+ "encoder_layerdrop": 0.0,
74
+ "encoder_layers": 2,
75
+ "eos_coefficient": 0.1,
76
+ "giou_cost": 2,
77
+ "giou_loss_coefficient": 2,
78
+ "id2label": {
79
+ "0": "LABEL_0",
80
+ "1": "LABEL_1",
81
+ "2": "LABEL_2"
82
+ },
83
+ "init_std": 0.02,
84
+ "init_xavier_std": 1.0,
85
+ "is_encoder_decoder": true,
86
+ "label2id": {
87
+ "LABEL_0": 0,
88
+ "LABEL_1": 1,
89
+ "LABEL_2": 2
90
+ },
91
+ "mask_loss_coefficient": 1,
92
+ "model_type": "table-transformer",
93
+ "num_channels": 3,
94
+ "num_queries": 12,
95
+ "position_embedding_type": "sine",
96
+ "transformers_version": "5.16.0.dev0"
97
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27b9cc403188788ff7fab71f5d9eafb2fb3617b017f9b149427b9373bc6502df
3
+ size 208692
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_annotations": true,
3
+ "do_normalize": true,
4
+ "do_pad": true,
5
+ "do_rescale": true,
6
+ "do_resize": true,
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
+ }