| --- |
| library_name: transformers |
| license: mit |
| base_model: microsoft/trocr-base-handwritten |
| tags: |
| - generated_from_trainer |
| model-index: |
| - name: khmer-trcor-06-07 |
| results: [] |
| --- |
| |
| <!-- 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. --> |
|
|
| # khmer-trcor-06-07 |
|
|
| This model is a fine-tuned version of [microsoft/trocr-base-handwritten](https://huggingface.co/microsoft/trocr-base-handwritten) on an unknown dataset. |
| It achieves the following results on the evaluation set: |
| - Loss: 1.4072 |
| - Cer: 1.2708 |
|
|
| ## 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: 5e-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 with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments |
| - lr_scheduler_type: linear |
| - num_epochs: 10 |
| |
| ### Training results |
| |
| | Training Loss | Epoch | Step | Validation Loss | Cer | |
| |:-------------:|:-----:|:----:|:---------------:|:------:| |
| | 2.6027 | 1.0 | 421 | 2.4338 | 1.4956 | |
| | 2.2649 | 2.0 | 842 | 2.4139 | 1.5826 | |
| | 1.9528 | 3.0 | 1263 | 1.9032 | 1.0964 | |
| | 1.7595 | 4.0 | 1684 | 2.1433 | 1.6073 | |
| | 1.6215 | 5.0 | 2105 | 1.7936 | 1.5157 | |
| | 1.5155 | 6.0 | 2526 | 1.5710 | 1.4719 | |
| | 1.3982 | 7.0 | 2947 | 1.4586 | 1.3185 | |
| | 1.3115 | 8.0 | 3368 | 1.4665 | 1.3853 | |
| | 1.221 | 9.0 | 3789 | 1.3671 | 1.1767 | |
| | 1.1423 | 10.0 | 4210 | 1.4072 | 1.2708 | |
| |
| |
| ### Framework versions |
| |
| - Transformers 4.52.4 |
| - Pytorch 2.6.0+cu124 |
| - Datasets 3.6.0 |
| - Tokenizers 0.21.1 |
| |