--- library_name: transformers base_model: microsoft/trocr-small-handwritten tags: - generated_from_trainer model-index: - name: trocr-finetuned results: [] --- # trocr-finetuned This model is a fine-tuned version of [microsoft/trocr-small-handwritten](https://huggingface.co/microsoft/trocr-small-handwritten) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 9.6329 - Cer: 0.9928 ## 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-07 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 3 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | Cer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 14.31 | 1.0 | 184 | 10.6901 | 1.1449 | | 12.83 | 2.0 | 368 | 9.7730 | 0.9783 | | 12.4054 | 3.0 | 552 | 9.6329 | 0.9928 | ### Framework versions - Transformers 4.46.2 - Pytorch 2.5.1+cu121 - Tokenizers 0.20.3