CoolFace
Modelpublic

pszemraj/bert-L-4_H-128_A-2-OCR-quality

sourceHugging Faceapache-2.0updated 9mo agoView on Hugging Face
0likes12downloads
Model Card

<!-- 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. -->

bertuncasedL-4H-128A-2-OCR-quality-classification-cls

This model is a fine-tuned version of google/bert_uncased_L-4_H-128_A-2 on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0422
  • —Accuracy: 0.99
  • —Num Input Tokens Seen: 57341952

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: 3e-05
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 8
  • —totaltrainbatch_size: 64
  • —optimizer: Adam with betas=(0.9,0.99) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.05
  • —num_epochs: 2.0

Training results

Training LossEpochStepValidation LossAccuracyInput Tokens Seen
0.11230.26602500.12020.9748192000
0.0720.53215000.06650.98616384000
0.04040.79817500.04640.98824576000
0.02551.064110000.04280.9932765952
0.02531.330112500.03570.9940957952
0.03291.596215000.04380.98649149952
0.04351.862217500.04220.9957341952

Framework versions

  • —Transformers 4.40.2
  • —Pytorch 2.2.0+cu121
  • —Datasets 2.19.1
  • —Tokenizers 0.19.1