trocr-webfonts1-BY
This model is a fine-tuned version of cyttic/exp2-frozen-benyehuda-cont on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.5646
- Cer: 0.0279
- Wer: 0.0802
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: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 4650
- num_epochs: 3
Training results
| Training Loss | Epoch | Step | Validation Loss | Cer | Wer |
|---|---|---|---|---|---|
| 2.9138 | 0.1290 | 2000 | 1.3072 | 0.1175 | 0.2802 |
| 2.8361 | 0.2581 | 4000 | 1.2175 | 0.0919 | 0.2331 |
| 2.5637 | 0.3871 | 6000 | 1.1296 | 0.0793 | 0.2117 |
| 2.3678 | 0.5161 | 8000 | 1.0582 | 0.0692 | 0.1859 |
| 2.0482 | 0.6452 | 10000 | 0.9513 | 0.0602 | 0.1675 |
| 1.8815 | 0.7742 | 12000 | 0.9045 | 0.0524 | 0.1483 |
| 1.7850 | 0.9032 | 14000 | 0.8385 | 0.0516 | 0.1413 |
| 1.4581 | 1.0323 | 16000 | 0.8070 | 0.0496 | 0.1364 |
| 1.3522 | 1.1613 | 18000 | 0.7778 | 0.0424 | 0.1210 |
| 1.3102 | 1.2903 | 20000 | 0.7478 | 0.0397 | 0.1160 |
| 1.2919 | 1.4194 | 22000 | 0.7154 | 0.0411 | 0.1153 |
| 1.1551 | 1.5484 | 24000 | 0.6950 | 0.0364 | 0.1050 |
| 1.2107 | 1.6774 | 26000 | 0.6657 | 0.0361 | 0.1031 |
| 1.2070 | 1.8065 | 28000 | 0.6501 | 0.0317 | 0.0926 |
| 1.1197 | 1.9355 | 30000 | 0.6305 | 0.0296 | 0.0882 |
| 0.9524 | 2.0645 | 32000 | 0.6207 | 0.0326 | 0.0928 |
| 0.8960 | 2.1935 | 34000 | 0.6071 | 0.0323 | 0.0911 |
| 0.8797 | 2.3226 | 36000 | 0.5992 | 0.0300 | 0.0873 |
| 0.8980 | 2.4516 | 38000 | 0.5890 | 0.0306 | 0.0880 |
| 0.7897 | 2.5806 | 40000 | 0.5808 | 0.0288 | 0.0827 |
| 0.9251 | 2.7097 | 42000 | 0.5731 | 0.0285 | 0.0818 |
| 0.9159 | 2.8387 | 44000 | 0.5674 | 0.0280 | 0.0807 |
| 0.8658 | 2.9677 | 46000 | 0.5645 | 0.0278 | 0.0800 |
| 0.8398 | 3.0 | 46500 | 0.5646 | 0.0279 | 0.0802 |
Framework versions
- Transformers 5.15.0
- Pytorch 2.11.0+cu128
- Datasets 5.0.1
- Tokenizers 0.22.2