Run this model with HF Jobs

Run Serialtechlab/dhivehi-trocr-small-v2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Serialtechlab/dhivehi-trocr-small-v2. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Serialtechlab/dhivehi-trocr-small-v2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Serialtechlab/dhivehi-trocr-small-v2. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Serialtechlab/dhivehi-trocr-small-v2. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

You need to agree to share your Hugging Face 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.

dhivehi-trocr-small-v2

This model was trained from scratch on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0533
  • Cer: 0.1894

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: 1e-05
  • train_batch_size: 32
  • eval_batch_size: 32
  • 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: linear
  • num_epochs: 3
  • mixed_precision_training: Native AMP

Training results

Training Loss Epoch Step Validation Loss Cer
0.1992 0.2350 5000 0.2111 0.1751
0.1335 0.4700 10000 0.1193 0.1761
0.1055 0.7050 15000 0.0941 0.1838
0.0928 0.9400 20000 0.0898 0.1903
0.0806 1.1750 25000 0.0911 0.1823
0.0698 1.4100 30000 0.0699 0.1954
0.0666 1.6450 35000 0.0662 0.1899
0.0619 1.8801 40000 0.0674 0.1960
0.0577 2.1151 45000 0.0584 0.1895
0.0579 2.3501 50000 0.0686 0.1932
0.0515 2.5851 55000 0.0551 0.1892
0.0528 2.8201 60000 0.0533 0.1894

Framework versions

  • Transformers 5.0.0
  • Pytorch 2.10.0+cu128
  • Datasets 4.0.0
  • Tokenizers 0.22.2
Downloads last month
16
Safetensors
Model size
28.9M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support