Run this model with HF Jobs

Run cyttic/trocr-webfonts5 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/cyttic/trocr-webfonts5. Ask me which dataset to train on, then push the fine-tuned model to a new 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/cyttic/trocr-webfonts5 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/cyttic/trocr-webfonts5. Ask me which benchmark to run, then save the scores and the per-example results to a new 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/cyttic/trocr-webfonts5. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

trocr-webfonts5

This model is a fine-tuned version of cyttic/exp2-frozen-benyehuda-cont on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.3726
  • Cer: 0.0198
  • Wer: 0.0560

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
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 16
  • 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
  • lr_scheduler_warmup_steps: 4650
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Cer Wer
4.4699 0.1290 2000 2.0051 0.1770 0.3801
3.4373 0.2581 4000 1.5200 0.1289 0.2826
2.7800 0.3871 6000 1.2220 0.0924 0.2206
2.1530 0.5161 8000 0.9579 0.0686 0.1734
1.8952 0.6452 10000 0.8261 0.0582 0.1445
1.7437 0.7742 12000 0.7553 0.0507 0.1318
1.5996 0.9032 14000 0.6779 0.0424 0.1137
1.2293 1.0323 16000 0.6227 0.0402 0.1058
1.1274 1.1613 18000 0.5807 0.0342 0.0929
1.1348 1.2903 20000 0.5555 0.0308 0.0867
1.1047 1.4194 22000 0.5166 0.0298 0.0816
0.9971 1.5484 24000 0.4946 0.0265 0.0752
1.0335 1.6774 26000 0.4712 0.0256 0.0726
0.8375 1.8065 28000 0.4619 0.0256 0.0720
0.9077 1.9355 30000 0.4358 0.0242 0.0670
0.6667 2.0645 32000 0.4167 0.0228 0.0642
0.6743 2.1935 34000 0.4136 0.0222 0.0621
0.6710 2.3226 36000 0.4013 0.0215 0.0594
0.6494 2.4516 38000 0.3958 0.0215 0.0588
0.6059 2.5806 40000 0.3834 0.0207 0.0573
0.6503 2.7097 42000 0.3787 0.0201 0.0567
0.6157 2.8387 44000 0.3755 0.0194 0.0550
0.6793 2.9677 46000 0.3724 0.0197 0.0553
0.6204 3.0 46500 0.3726 0.0198 0.0560

Framework versions

  • Transformers 5.15.0
  • Pytorch 2.11.0+cu128
  • Datasets 5.0.1
  • Tokenizers 0.22.2
Downloads last month
14
Safetensors
Model size
0.3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for cyttic/trocr-webfonts5

Finetuned
(55)
this model