CoolFace
Modelpublic

Sebabrata/lmv2-g-aadhaar-236doc-06-14

sourceHugging Facecc-by-nc-sa-4.0updated 4y agoView on Hugging Face
0likes18downloads
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. -->

lmv2-g-aadhaar-236doc-06-14

This model is a fine-tuned version of microsoft/layoutlmv2-base-uncased on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0427
  • —Aadhaar Precision: 0.9783
  • —Aadhaar Recall: 1.0
  • —Aadhaar F1: 0.9890
  • —Aadhaar Number: 45
  • —Dob Precision: 0.9787
  • —Dob Recall: 1.0
  • —Dob F1: 0.9892
  • —Dob Number: 46
  • —Gender Precision: 1.0
  • —Gender Recall: 0.9787
  • —Gender F1: 0.9892
  • —Gender Number: 47
  • —Name Precision: 0.9574
  • —Name Recall: 0.9375
  • —Name F1: 0.9474
  • —Name Number: 48
  • —Overall Precision: 0.9785
  • —Overall Recall: 0.9785
  • —Overall F1: 0.9785
  • —Overall Accuracy: 0.9939

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: 4e-05
  • —trainbatchsize: 1
  • —evalbatchsize: 1
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: constant
  • —num_epochs: 30

Training results

Training LossEpochStepValidation LossAadhaar PrecisionAadhaar RecallAadhaar F1Aadhaar NumberDob PrecisionDob RecallDob F1Dob NumberGender PrecisionGender RecallGender F1Gender NumberName PrecisionName RecallName F1Name NumberOverall PrecisionOverall RecallOverall F1Overall Accuracy
1.00241.01880.58190.93480.95560.9451451.01.01.0461.00.95740.9783470.51720.6250.5660480.84100.88170.86090.9744
0.44842.03760.32630.89800.97780.9362451.01.01.0461.00.97870.9892470.68420.81250.7429480.88380.94090.91150.9733
0.25083.05640.22300.93180.91110.9213451.01.01.0461.00.97870.9892470.89130.85420.8723480.95600.93550.94570.9811
0.1654.07520.17280.93620.97780.9565451.01.01.0461.00.97870.9892470.84440.79170.8172480.94570.93550.94050.9844
0.10815.09400.09870.89580.95560.9247451.01.01.0461.00.97870.9892471.00.91670.9565480.97280.96240.96760.9928
0.08346.011280.09840.89800.97780.9362451.01.01.0461.00.95740.9783470.81480.91670.8627480.92270.96240.94210.9833
0.06767.013160.07730.93620.97780.9565451.01.01.0461.00.97870.9892470.91110.85420.8817480.96200.95160.95680.9894
0.05728.015040.07860.82350.93330.8750451.01.01.0461.00.97870.9892470.89360.8750.8842480.92630.94620.93620.9872
0.04819.016920.05760.93751.00.9677451.01.01.0461.00.97870.9892470.93620.91670.9263480.96790.97310.97050.99
0.034910.018800.06100.95741.00.9783451.01.01.0461.00.97870.9892470.89580.89580.8958480.96260.96770.96510.9894
0.028711.020680.09780.90910.88890.8989451.01.01.0461.00.97870.9892470.93480.89580.9149480.96150.94090.95110.985
0.029712.022560.09930.93751.00.9677451.01.01.0461.00.97870.9892470.79590.81250.8041480.93120.94620.93870.9833
0.039513.024440.08240.93620.97780.9565451.01.01.0461.00.97870.9892470.8750.8750.875480.95190.95700.95440.9872
0.033314.026320.07880.89130.91110.9011451.01.01.0461.00.97870.9892470.95560.89580.9247480.96170.94620.95390.9867
0.035615.028200.08080.840.93330.8842451.01.01.0461.00.97870.9892470.95650.91670.9362480.94680.95700.95190.9867
0.019216.030080.09550.84620.97780.9072450.97871.00.9892460.95830.97870.9684470.90700.81250.8571480.92110.94090.93090.9822
0.01617.031960.09360.91300.93330.9231451.01.01.0461.00.97870.9892470.93180.85420.8913480.96150.94090.95110.9867
0.021818.033840.10090.95450.93330.9438451.01.01.0461.00.97870.9892470.85710.8750.8660480.95140.94620.94880.9844
0.016519.035720.05170.95741.00.9783451.01.01.0461.00.97870.9892470.93330.8750.9032480.97280.96240.96760.9906
0.019820.037600.08900.91670.97780.9462451.01.01.0461.00.97870.9892470.91490.89580.9053480.95720.96240.95980.9867
0.007721.039480.08350.95741.00.9783451.01.01.0461.00.97870.9892470.880.91670.8980480.95770.97310.96530.9872
0.008822.041360.04270.97831.00.9890450.97871.00.9892461.00.97870.9892470.95740.93750.9474480.97850.97850.97850.9939
0.007823.043240.05970.95741.00.9783451.01.01.0461.00.97870.9892470.86540.93750.9480.95290.97850.96550.9889
0.017824.045120.05240.95741.00.9783451.01.01.0461.00.97870.9892471.00.8750.9333480.98900.96240.97550.9922
0.01225.047000.06370.93751.00.9677451.01.01.0461.00.97870.9892470.84910.93750.8911480.94300.97850.96040.9867
0.013526.048880.06680.91841.00.9574451.01.01.0461.00.97870.9892470.860.89580.8776480.94240.96770.95490.9867
0.012327.050760.07130.95650.97780.9670451.01.01.0461.00.97870.9892470.93750.93750.9375480.97310.97310.97310.9911
0.007428.052640.06750.93620.97780.9565451.01.01.0461.00.97870.9892470.90.93750.9184480.95770.97310.96530.99
0.005129.054520.07130.93620.97780.9565451.01.01.0461.00.97870.9892470.91670.91670.9167480.96260.96770.96510.9906
0.002730.056400.07250.93620.97780.9565451.01.01.0461.00.97870.9892470.91670.91670.9167480.96260.96770.96510.9906

Framework versions

  • —Transformers 4.20.0.dev0
  • —Pytorch 1.11.0+cu113
  • —Datasets 2.2.2
  • —Tokenizers 0.12.1