Upload TableTransformerForObjectDetection
Browse files- config.json +4 -14
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
5 |
"architectures": [
|
@@ -39,31 +39,21 @@
|
|
39 |
"giou_loss_coefficient": 2,
|
40 |
"id2label": {
|
41 |
"0": "table",
|
42 |
-
"1": "table
|
43 |
-
"2": "table row",
|
44 |
-
"3": "table column header",
|
45 |
-
"4": "table projected row header",
|
46 |
-
"5": "table spanning cell"
|
47 |
},
|
48 |
"init_std": 0.02,
|
49 |
"init_xavier_std": 1.0,
|
50 |
"is_encoder_decoder": true,
|
51 |
"label2id": {
|
52 |
"table": 0,
|
53 |
-
"table
|
54 |
-
"table column header": 3,
|
55 |
-
"table projected row header": 4,
|
56 |
-
"table row": 2,
|
57 |
-
"table spanning cell": 5
|
58 |
},
|
59 |
"mask_loss_coefficient": 1,
|
60 |
-
"max_position_embeddings": 1024,
|
61 |
"model_type": "table-transformer",
|
62 |
"num_channels": 3,
|
63 |
"num_hidden_layers": 6,
|
64 |
-
"num_queries":
|
65 |
"position_embedding_type": "sine",
|
66 |
-
"scale_embedding": false,
|
67 |
"torch_dtype": "float32",
|
68 |
"transformers_version": "4.48.3",
|
69 |
"use_pretrained_backbone": true,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "apkonsta/table-transformer-detection-ifrs",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "relu",
|
5 |
"architectures": [
|
|
|
39 |
"giou_loss_coefficient": 2,
|
40 |
"id2label": {
|
41 |
"0": "table",
|
42 |
+
"1": "table rotated"
|
|
|
|
|
|
|
|
|
43 |
},
|
44 |
"init_std": 0.02,
|
45 |
"init_xavier_std": 1.0,
|
46 |
"is_encoder_decoder": true,
|
47 |
"label2id": {
|
48 |
"table": 0,
|
49 |
+
"table rotated": 1
|
|
|
|
|
|
|
|
|
50 |
},
|
51 |
"mask_loss_coefficient": 1,
|
|
|
52 |
"model_type": "table-transformer",
|
53 |
"num_channels": 3,
|
54 |
"num_hidden_layers": 6,
|
55 |
+
"num_queries": 15,
|
56 |
"position_embedding_type": "sine",
|
|
|
57 |
"torch_dtype": "float32",
|
58 |
"transformers_version": "4.48.3",
|
59 |
"use_pretrained_backbone": true,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e9f4559a14f76b055e0fb5424a73687283de6399b81e735ecf10faff84fe316
|
3 |
+
size 115317108
|