--- base_model: microsoft/trocr-base-handwritten tags: - generated_from_trainer model-index: - name: license_plate_recognizer results: [] --- [Visualize in Weights & Biases](https://wandb.ai/pawankrgunjan/huggingface/runs/3caod3mu) # license_plate_recognizer 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: 0.0098 - Cer: 0.0053 ## 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 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 20 ### Training results | Training Loss | Epoch | Step | Validation Loss | Cer | |:-------------:|:-----:|:----:|:---------------:|:------:| | 0.1379 | 1.0 | 397 | 0.0408 | 0.0124 | | 0.0817 | 2.0 | 794 | 0.0313 | 0.0093 | | 0.0641 | 3.0 | 1191 | 0.0253 | 0.0089 | | 0.0431 | 4.0 | 1588 | 0.0221 | 0.0089 | | 0.0246 | 5.0 | 1985 | 0.0233 | 0.0067 | | 0.0192 | 6.0 | 2382 | 0.0193 | 0.0053 | | 0.0205 | 7.0 | 2779 | 0.0221 | 0.0062 | | 0.0158 | 8.0 | 3176 | 0.0134 | 0.0062 | | 0.0074 | 9.0 | 3573 | 0.0086 | 0.0040 | | 0.0074 | 10.0 | 3970 | 0.0056 | 0.0027 | | 0.0036 | 11.0 | 4367 | 0.0033 | 0.0018 | | 0.0079 | 12.0 | 4764 | 0.0075 | 0.0049 | | 0.002 | 13.0 | 5161 | 0.0039 | 0.0027 | | 0.0004 | 14.0 | 5558 | 0.0028 | 0.0022 | | 0.0001 | 15.0 | 5955 | 0.0039 | 0.0027 | | 0.0001 | 16.0 | 6352 | 0.0047 | 0.0035 | | 0.0011 | 17.0 | 6749 | 0.0041 | 0.0027 | | 0.0001 | 18.0 | 7146 | 0.0053 | 0.0018 | | 0.0001 | 19.0 | 7543 | 0.0047 | 0.0018 | | 0.0001 | 20.0 | 7940 | 0.0047 | 0.0018 | ### Framework versions - Transformers 4.42.3 - Pytorch 2.1.2 - Datasets 2.20.0 - Tokenizers 0.19.1