File size: 2,967 Bytes
5777d17
 
 
 
3e56a8f
5777d17
f327f00
5777d17
 
 
 
 
 
f327f00
5777d17
 
 
f327f00
 
 
 
 
 
 
5777d17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f327f00
 
 
 
 
 
 
5777d17
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
license: mit
tags:
- generated_from_keras_callback
base_model: microsoft/layoutlm-base-uncased
model-index:
- name: layoutlm-funsd-tf
  results: []
---

<!-- This model card has been generated automatically according to the information Keras had access to. You should
probably proofread and complete it, then remove this comment. -->

# layoutlm-funsd-tf

This model is a fine-tuned version of [microsoft/layoutlm-base-uncased](https://huggingface.co/microsoft/layoutlm-base-uncased) on an unknown dataset.
It achieves the following results on the evaluation set:
- Train Loss: 0.2479
- Validation Loss: 0.6865
- Train Overall Precision: 0.7469
- Train Overall Recall: 0.8098
- Train Overall F1: 0.7771
- Train Overall Accuracy: 0.8111
- Epoch: 7

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- optimizer: {'inner_optimizer': {'module': 'transformers.optimization_tf', 'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': 2.9999999242136255e-05, 'decay': 0.0, 'beta_1': 0.8999999761581421, 'beta_2': 0.9990000128746033, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}, 'registered_name': 'AdamWeightDecay'}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
- training_precision: mixed_float16

### Training results

| Train Loss | Validation Loss | Train Overall Precision | Train Overall Recall | Train Overall F1 | Train Overall Accuracy | Epoch |
|:----------:|:---------------:|:-----------------------:|:--------------------:|:----------------:|:----------------------:|:-----:|
| 1.7068     | 1.4323          | 0.2302                  | 0.2604               | 0.2444           | 0.5097                 | 0     |
| 1.1785     | 0.8879          | 0.5487                  | 0.6553               | 0.5973           | 0.7149                 | 1     |
| 0.7570     | 0.7017          | 0.6315                  | 0.7411               | 0.6819           | 0.7810                 | 2     |
| 0.5598     | 0.6353          | 0.6893                  | 0.7747               | 0.7295           | 0.7954                 | 3     |
| 0.4407     | 0.6282          | 0.7144                  | 0.7842               | 0.7477           | 0.8015                 | 4     |
| 0.3450     | 0.6653          | 0.7174                  | 0.7822               | 0.7484           | 0.8036                 | 5     |
| 0.2758     | 0.7178          | 0.7002                  | 0.7863               | 0.7407           | 0.7920                 | 6     |
| 0.2479     | 0.6865          | 0.7469                  | 0.8098               | 0.7771           | 0.8111                 | 7     |


### Framework versions

- Transformers 4.38.2
- TensorFlow 2.13.1
- Datasets 2.20.0
- Tokenizers 0.15.2