trocr-finetuned-iam
This model is a fine-tuned version of microsoft/trocr-base-handwritten on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.2101
- Cer: 0.0258
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: 4e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- 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: cosine
- lr_scheduler_warmup_steps: 500
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Cer |
|---|---|---|---|---|
| 0.8818 | 1.0 | 406 | 0.4202 | 0.0587 |
| 0.9185 | 2.0 | 812 | 0.5664 | 0.0770 |
| 0.3369 | 3.0 | 1218 | 0.4061 | 0.0541 |
| 0.1127 | 4.0 | 1624 | 0.2515 | 0.0303 |
| 0.0453 | 5.0 | 2030 | 0.2101 | 0.0258 |
Framework versions
- Transformers 5.0.0
- Pytorch 2.10.0+cu128
- Datasets 4.8.3
- Tokenizers 0.22.2
- Downloads last month
- 106
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for azmoulai/trocr-finetuned-iam
Base model
microsoft/trocr-base-handwritten