CoolFace
Modelpublic

ciriatico/dodfminer_lite-ner_bertimbau-extrato_contrato

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes9downloads
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. -->

e3_lr2e-05

This model is a fine-tuned version of neuralmind/bert-base-portuguese-cased on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0753
  • —Precision: 0.9611
  • —Recall: 0.9778
  • —F1: 0.9694
  • —Accuracy: 0.9817

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
  • —trainbatchsize: 4
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 8
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 3
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.41950.2564500.23150.86420.84600.85500.9499
0.23960.51281000.17780.89710.89700.89700.9517
0.17170.76921500.13300.90330.93230.91760.9639
0.12491.02562000.10900.93690.95540.94600.9728
0.09291.28212500.10660.93970.96300.95120.9739
0.09541.53853000.08310.94980.96700.95830.9788
0.08581.79493500.08440.94590.97270.95910.9776
0.07152.05134000.08680.95120.97660.96370.9796
0.0562.30774500.07890.96160.97740.96950.9818
0.05922.56415000.07680.96140.97830.96980.9817
0.06072.82055500.07530.96110.97780.96940.9817

Framework versions

  • —Transformers 4.45.0
  • —Pytorch 2.4.1+cu121
  • —Datasets 3.0.0
  • —Tokenizers 0.20.0