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

# passive_invoices_v3.11

This model is a fine-tuned version of [microsoft/layoutlmv3-base](https://huggingface.co/microsoft/layoutlmv3-base) on the sroie dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1135
- Precision: 0.8701
- Recall: 0.9012
- F1: 0.8854
- Accuracy: 0.9759

## 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:
- learning_rate: 1e-05
- train_batch_size: 2
- eval_batch_size: 2
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- training_steps: 13000

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Precision | Recall | F1     | Accuracy |
|:-------------:|:-----:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
| 1.0225        | 0.37  | 500   | 0.8165          | 0.2256    | 0.1485 | 0.1791 | 0.7929   |
| 0.4729        | 0.74  | 1000  | 0.5627          | 0.4027    | 0.2599 | 0.3159 | 0.8508   |
| 0.325         | 1.12  | 1500  | 0.4033          | 0.5655    | 0.5322 | 0.5483 | 0.8970   |
| 0.2185        | 1.49  | 2000  | 0.3005          | 0.6359    | 0.6245 | 0.6301 | 0.9193   |
| 0.1794        | 1.86  | 2500  | 0.2487          | 0.6600    | 0.6912 | 0.6752 | 0.9313   |
| 0.135         | 2.23  | 3000  | 0.2291          | 0.6902    | 0.7237 | 0.7066 | 0.9359   |
| 0.118         | 2.6   | 3500  | 0.1920          | 0.7435    | 0.7484 | 0.7459 | 0.9493   |
| 0.0952        | 2.97  | 4000  | 0.1664          | 0.7676    | 0.7885 | 0.7779 | 0.9568   |
| 0.0857        | 3.35  | 4500  | 0.1726          | 0.7744    | 0.8215 | 0.7972 | 0.9550   |
| 0.0736        | 3.72  | 5000  | 0.1476          | 0.7871    | 0.8283 | 0.8071 | 0.9619   |
| 0.0653        | 4.09  | 5500  | 0.1346          | 0.8148    | 0.8434 | 0.8288 | 0.9663   |
| 0.0598        | 4.46  | 6000  | 0.1342          | 0.8105    | 0.8595 | 0.8343 | 0.9674   |
| 0.059         | 4.83  | 6500  | 0.1351          | 0.8282    | 0.8614 | 0.8445 | 0.9678   |
| 0.0492        | 5.2   | 7000  | 0.1318          | 0.8262    | 0.8747 | 0.8498 | 0.9691   |
| 0.0467        | 5.58  | 7500  | 0.1277          | 0.8380    | 0.8693 | 0.8533 | 0.9695   |
| 0.045         | 5.95  | 8000  | 0.1224          | 0.8406    | 0.8722 | 0.8561 | 0.9703   |
| 0.0416        | 6.32  | 8500  | 0.1270          | 0.8396    | 0.8789 | 0.8588 | 0.9706   |
| 0.036         | 6.69  | 9000  | 0.1189          | 0.8458    | 0.8860 | 0.8654 | 0.9728   |
| 0.0369        | 7.06  | 9500  | 0.1216          | 0.8460    | 0.8833 | 0.8643 | 0.9724   |
| 0.0328        | 7.43  | 10000 | 0.1231          | 0.8542    | 0.8880 | 0.8708 | 0.9720   |
| 0.0333        | 7.81  | 10500 | 0.1194          | 0.8565    | 0.8944 | 0.8750 | 0.9736   |
| 0.0295        | 8.18  | 11000 | 0.1167          | 0.8599    | 0.8932 | 0.8762 | 0.9740   |
| 0.0273        | 8.55  | 11500 | 0.1148          | 0.8670    | 0.8984 | 0.8824 | 0.9752   |
| 0.0284        | 8.92  | 12000 | 0.1127          | 0.8628    | 0.8997 | 0.8809 | 0.9756   |
| 0.0292        | 9.29  | 12500 | 0.1132          | 0.8706    | 0.9003 | 0.8852 | 0.9761   |
| 0.0245        | 9.67  | 13000 | 0.1135          | 0.8701    | 0.9012 | 0.8854 | 0.9759   |


### Framework versions

- Transformers 4.28.0
- Pytorch 2.1.0+cu121
- Datasets 2.2.2
- Tokenizers 0.13.3

{"license": "cc-by-nc-sa-4.0", "tags": ["generated_from_trainer"], "datasets": ["sroie"], "metrics": ["precision", "recall", "f1", "accuracy"], "model-index": [{"name": "passive_invoices_v3.11", "results": [{"task": {"type": "token-classification", "name": "Token Classification"}, "dataset": {"name": "sroie", "type": "sroie", "config": "discharge", "split": "test", "args": "discharge"}, "metrics": [{"type": "precision", "value": 0.8700556904183921, "name": "Precision"}, {"type": "recall", "value": 0.9011980476260908, "name": "Recall"}, {"type": "f1", "value": 0.8853530950305144, "name": "F1"}, {"type": "accuracy", "value": 0.9759311645450259, "name": "Accuracy"}]}]}]}
transformers pytorch tensorboard layoutlmv3 token-classification generated_from_trainer dataset:sroie license:cc-by-nc-sa-4.0 model-index autotrain_compatible endpoints_compatible region:us