vfbsilva commited on
Commit
80b88c9
·
verified ·
1 Parent(s): 2c7f8c6

Upload TFLayoutLMForTokenClassification

Browse files
Files changed (2) hide show
  1. README.md +15 -15
  2. tf_model.h5 +1 -1
README.md CHANGED
@@ -15,12 +15,12 @@ probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Train Loss: 0.6138
19
- - Validation Loss: 1.1905
20
- - Train Overall Precision: 0.5008
21
- - Train Overall Recall: 0.5921
22
- - Train Overall F1: 0.5427
23
- - Train Overall Accuracy: 0.6364
24
  - Epoch: 7
25
 
26
  ## Model description
@@ -40,21 +40,21 @@ More information needed
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 3e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
44
  - training_precision: mixed_float16
45
 
46
  ### Training results
47
 
48
  | Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
49
  |:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
50
- | 1.6558 | 1.4251 | 0.2107 | 0.3332 | 0.2581 | 0.4092 | 0 |
51
- | 1.3215 | 1.2372 | 0.3024 | 0.4696 | 0.3679 | 0.4742 | 1 |
52
- | 1.1454 | 1.2395 | 0.3329 | 0.4782 | 0.3925 | 0.4779 | 2 |
53
- | 1.0421 | 1.1025 | 0.3771 | 0.5263 | 0.4394 | 0.6005 | 3 |
54
- | 0.9349 | 1.1771 | 0.3860 | 0.5610 | 0.4574 | 0.5416 | 4 |
55
- | 0.8505 | 1.0244 | 0.4657 | 0.5685 | 0.5120 | 0.6265 | 5 |
56
- | 0.7170 | 1.1978 | 0.4534 | 0.5660 | 0.5035 | 0.6193 | 6 |
57
- | 0.6138 | 1.1905 | 0.5008 | 0.5921 | 0.5427 | 0.6364 | 7 |
58
 
59
 
60
  ### Framework versions
 
15
 
16
  This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Train Loss: 0.5754
19
+ - Validation Loss: 1.0073
20
+ - Train Overall Precision: 0.4858
21
+ - Train Overall Recall: 0.5735
22
+ - Train Overall F1: 0.5260
23
+ - Train Overall Accuracy: 0.6411
24
  - Epoch: 7
25
 
26
  ## Model description
 
40
  ### Training hyperparameters
41
 
42
  The following hyperparameters were used during training:
43
+ - optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': 3e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
44
  - training_precision: mixed_float16
45
 
46
  ### Training results
47
 
48
  | Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
49
  |:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
50
+ | 1.6595 | 1.4718 | 0.1431 | 0.2780 | 0.1889 | 0.4016 | 0 |
51
+ | 1.3342 | 1.2762 | 0.2962 | 0.4942 | 0.3704 | 0.4644 | 1 |
52
+ | 1.1464 | 1.1828 | 0.3753 | 0.5173 | 0.4350 | 0.5034 | 2 |
53
+ | 1.0198 | 1.0195 | 0.4070 | 0.5359 | 0.4626 | 0.6167 | 3 |
54
+ | 0.8729 | 1.0543 | 0.4343 | 0.5740 | 0.4945 | 0.6018 | 4 |
55
+ | 0.7979 | 1.2603 | 0.4648 | 0.5866 | 0.5186 | 0.5615 | 5 |
56
+ | 0.6799 | 1.0257 | 0.5180 | 0.5775 | 0.5461 | 0.6408 | 6 |
57
+ | 0.5754 | 1.0073 | 0.4858 | 0.5735 | 0.5260 | 0.6411 | 7 |
58
 
59
 
60
  ### Framework versions
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff3a0caf292ad846ce9b41c0bcd9c96aa4396f44b2746b385281f055ab0d35a6
3
  size 450829256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ca2dafc3dab997aeb9df0ae3e84f580b1c1426d8b43ac87a696bfbcf78f4ce4
3
  size 450829256