End of training
Browse files- README.md +97 -0
- config.json +61 -0
- model.safetensors +3 -0
- preprocessor_config.json +26 -0
- runs/Mar12_07-57-27_7def8fc1ca8d/events.out.tfevents.1741766377.7def8fc1ca8d.1062.0 +3 -0
- runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741766556.7def8fc1ca8d.5547.0 +3 -0
- runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741766998.7def8fc1ca8d.5547.1 +3 -0
- runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741767632.7def8fc1ca8d.5547.2 +3 -0
- runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741769243.7def8fc1ca8d.5547.3 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
base_model: apkonsta/table-transformer-detection-ifrs
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: detr_finetuned
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# detr_finetuned
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [apkonsta/table-transformer-detection-ifrs](https://huggingface.co/apkonsta/table-transformer-detection-ifrs) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 4914.5493
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 1e-05
|
38 |
+
- train_batch_size: 2
|
39 |
+
- eval_batch_size: 2
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 10
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:------:|:----:|:---------------:|
|
49 |
+
| 4887.0844 | 0.2381 | 100 | 4915.8008 |
|
50 |
+
| 4806.7622 | 0.4762 | 200 | 4915.0762 |
|
51 |
+
| 4883.3641 | 0.7143 | 300 | 4914.7651 |
|
52 |
+
| 4869.7525 | 0.9524 | 400 | 4914.6387 |
|
53 |
+
| 4809.9978 | 1.1905 | 500 | 4914.6133 |
|
54 |
+
| 4820.81 | 1.4286 | 600 | 4914.6948 |
|
55 |
+
| 4779.5872 | 1.6667 | 700 | 4914.6743 |
|
56 |
+
| 5094.1991 | 1.9048 | 800 | 4914.5752 |
|
57 |
+
| 4851.7441 | 2.1429 | 900 | 4914.6494 |
|
58 |
+
| 4928.8484 | 2.3810 | 1000 | 4914.5767 |
|
59 |
+
| 4852.6178 | 2.6190 | 1100 | 4914.5840 |
|
60 |
+
| 4855.8131 | 2.8571 | 1200 | 4914.5991 |
|
61 |
+
| 4948.5747 | 3.0952 | 1300 | 4914.5967 |
|
62 |
+
| 4887.945 | 3.3333 | 1400 | 4914.5645 |
|
63 |
+
| 4900.1669 | 3.5714 | 1500 | 4914.5747 |
|
64 |
+
| 4937.1328 | 3.8095 | 1600 | 4914.5571 |
|
65 |
+
| 4792.3219 | 4.0476 | 1700 | 4914.6787 |
|
66 |
+
| 4842.8072 | 4.2857 | 1800 | 4914.5640 |
|
67 |
+
| 4914.0503 | 4.5238 | 1900 | 4914.6113 |
|
68 |
+
| 4892.0153 | 4.7619 | 2000 | 4914.5693 |
|
69 |
+
| 4882.0288 | 5.0 | 2100 | 4914.5630 |
|
70 |
+
| 4903.9891 | 5.2381 | 2200 | 4914.5679 |
|
71 |
+
| 4870.5566 | 5.4762 | 2300 | 4914.5688 |
|
72 |
+
| 4919.3287 | 5.7143 | 2400 | 4914.5508 |
|
73 |
+
| 4927.9272 | 5.9524 | 2500 | 4914.5488 |
|
74 |
+
| 4981.8925 | 6.1905 | 2600 | 4914.5537 |
|
75 |
+
| 4864.6322 | 6.4286 | 2700 | 4914.5835 |
|
76 |
+
| 4794.4006 | 6.6667 | 2800 | 4914.5820 |
|
77 |
+
| 4878.885 | 6.9048 | 2900 | 4914.5488 |
|
78 |
+
| 4967.0887 | 7.1429 | 3000 | 4914.5518 |
|
79 |
+
| 4937.0766 | 7.3810 | 3100 | 4914.5464 |
|
80 |
+
| 4829.3891 | 7.6190 | 3200 | 4914.5493 |
|
81 |
+
| 4812.0778 | 7.8571 | 3300 | 4914.5459 |
|
82 |
+
| 4823.5034 | 8.0952 | 3400 | 4914.5444 |
|
83 |
+
| 4919.2544 | 8.3333 | 3500 | 4914.5474 |
|
84 |
+
| 4838.375 | 8.5714 | 3600 | 4914.5581 |
|
85 |
+
| 4832.6153 | 8.8095 | 3700 | 4914.5513 |
|
86 |
+
| 4787.5813 | 9.0476 | 3800 | 4914.5464 |
|
87 |
+
| 4862.2234 | 9.2857 | 3900 | 4914.5464 |
|
88 |
+
| 4878.2669 | 9.5238 | 4000 | 4914.5474 |
|
89 |
+
| 4933.3856 | 9.7619 | 4100 | 4914.5488 |
|
90 |
+
| 4945.8159 | 10.0 | 4200 | 4914.5493 |
|
91 |
+
|
92 |
+
|
93 |
+
### Framework versions
|
94 |
+
|
95 |
+
- Transformers 4.48.3
|
96 |
+
- Pytorch 2.5.1+cu124
|
97 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "apkonsta/table-transformer-detection-ifrs",
|
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 |
+
"backbone_kwargs": {
|
13 |
+
"in_chans": 3,
|
14 |
+
"out_indices": [
|
15 |
+
1,
|
16 |
+
2,
|
17 |
+
3,
|
18 |
+
4
|
19 |
+
]
|
20 |
+
},
|
21 |
+
"bbox_cost": 5,
|
22 |
+
"bbox_loss_coefficient": 5,
|
23 |
+
"ce_loss_coefficient": 1,
|
24 |
+
"class_cost": 1,
|
25 |
+
"d_model": 256,
|
26 |
+
"decoder_attention_heads": 8,
|
27 |
+
"decoder_ffn_dim": 2048,
|
28 |
+
"decoder_layerdrop": 0.0,
|
29 |
+
"decoder_layers": 6,
|
30 |
+
"dice_loss_coefficient": 1,
|
31 |
+
"dilation": false,
|
32 |
+
"dropout": 0.1,
|
33 |
+
"encoder_attention_heads": 8,
|
34 |
+
"encoder_ffn_dim": 2048,
|
35 |
+
"encoder_layerdrop": 0.0,
|
36 |
+
"encoder_layers": 6,
|
37 |
+
"eos_coefficient": 0.4,
|
38 |
+
"giou_cost": 2,
|
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,
|
60 |
+
"use_timm_backbone": true
|
61 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:074c619d7cacc616382aa859c823ec92c17ee485403d88357bb35892fdc4aa39
|
3 |
+
size 115317108
|
preprocessor_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"pad_size": null,
|
20 |
+
"resample": 2,
|
21 |
+
"rescale_factor": 0.00392156862745098,
|
22 |
+
"size": {
|
23 |
+
"longest_edge": 1333,
|
24 |
+
"shortest_edge": 800
|
25 |
+
}
|
26 |
+
}
|
runs/Mar12_07-57-27_7def8fc1ca8d/events.out.tfevents.1741766377.7def8fc1ca8d.1062.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3dd0066d908321a49a54cbcd2b8b7c883ead0ec0bcb2eae381ff6aedf45cf3ce
|
3 |
+
size 4184
|
runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741766556.7def8fc1ca8d.5547.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:552ee79c7f3d787019084a7d789fc5fac5d72cc588af7609ef4e4f68215b7f38
|
3 |
+
size 6008
|
runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741766998.7def8fc1ca8d.5547.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7ce5442fefed855bd21e786cc9ab7e602dfee1f851f88cfd4f03ef84654d8ce
|
3 |
+
size 6008
|
runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741767632.7def8fc1ca8d.5547.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba4b99bffdb83a8c56106ed57f2556d97bd2b0e6689d4d9e6e123007e3940e17
|
3 |
+
size 26390
|
runs/Mar12_08-02-24_7def8fc1ca8d/events.out.tfevents.1741769243.7def8fc1ca8d.5547.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:298c3a5d9ceb4886174cb9b327ed7cc97cf1b475a3324fafc198a1382c57e7a6
|
3 |
+
size 359
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f59bb1b6af980bfe929028987bf63161a86f20736f7823196e55ade1062a77d
|
3 |
+
size 5304
|