guidel commited on
Commit
fb24e23
1 Parent(s): f475987

Upload TableTransformerForObjectDetection

Browse files
Files changed (2) hide show
  1. config.json +62 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/table-transformer-structure-recognition",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "relu",
5
+ "architectures": [
6
+ "TableTransformerForObjectDetection"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "auxiliary_loss": false,
10
+ "backbone": "resnet18",
11
+ "backbone_config": null,
12
+ "bbox_cost": 5,
13
+ "bbox_loss_coefficient": 5,
14
+ "ce_loss_coefficient": 1,
15
+ "class_cost": 1,
16
+ "d_model": 256,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "dice_loss_coefficient": 1,
22
+ "dilation": false,
23
+ "dropout": 0.1,
24
+ "encoder_attention_heads": 8,
25
+ "encoder_ffn_dim": 2048,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 6,
28
+ "eos_coefficient": 0.4,
29
+ "giou_cost": 2,
30
+ "giou_loss_coefficient": 2,
31
+ "id2label": {
32
+ "0": "table",
33
+ "1": "table column",
34
+ "2": "table row",
35
+ "3": "table column header",
36
+ "4": "table projected row header",
37
+ "5": "table spanning cell"
38
+ },
39
+ "init_std": 0.02,
40
+ "init_xavier_std": 1.0,
41
+ "is_encoder_decoder": true,
42
+ "label2id": {
43
+ "table": 0,
44
+ "table column": 1,
45
+ "table column header": 3,
46
+ "table projected row header": 4,
47
+ "table row": 2,
48
+ "table spanning cell": 5
49
+ },
50
+ "mask_loss_coefficient": 1,
51
+ "max_position_embeddings": 1024,
52
+ "model_type": "table-transformer",
53
+ "num_channels": 3,
54
+ "num_hidden_layers": 6,
55
+ "num_queries": 125,
56
+ "position_embedding_type": "sine",
57
+ "scale_embedding": false,
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.34.0",
60
+ "use_pretrained_backbone": true,
61
+ "use_timm_backbone": true
62
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:956a9a6d5caf2cd61c252468d5e67154418be8a2f200186175b1c8ddc52b0d57
3
+ size 115511753