You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Medical Prescription OCR TrOCR Small

This model was fine-tuned in Kaggle on line-level medical prescription crops exported through data/splits/image_annotations.csv.

Base model

  • microsoft/trocr-small-handwritten

Dataset summary

  • Splits root: /kaggle/working/downloads/splits_extracted/splits
  • Train lines: 20250
  • Validation lines: 2526
  • Test lines: 2517

Training setup

  • Epochs: 6
  • Effective batch size: 24
  • Learning rate: 4e-05
  • Weight decay: 0.01
  • GPUs seen: 2
  • Validation beams: 2
  • Final eval beams: 4

Metrics

  • Best validation CER: 0.0056
  • Test line CER: 0.0184
  • Test full-prescription CER: 0.0128
  • Test line word accuracy: 0.9756
  • Test full-prescription word accuracy: 0.9865
Downloads last month
14
Safetensors
Model size
61.6M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support