CoolFace
Modelpublic

PascalY/bert-finetuned-ner

sourceHugging Faceapache-2.0updated 3y 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. -->

bert-finetuned-ner

This model is a fine-tuned version of bert-base-uncased on the conll2003 dataset. It achieves the following results on the evaluation set:

  • Loss: 0.0579
  • Precision: 0.9375
  • Recall: 0.9490
  • F1: 0.9432
  • Accuracy: 0.9874

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: 8
  • evalbatchsize: 8
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 3

Training results

Training LossEpochStepValidation LossPrecisionRecallF1Accuracy
0.07291.017560.06070.91170.93660.92400.9839
0.03612.035120.05380.92500.94680.93580.9864
0.02053.052680.05790.93750.94900.94320.9874

Framework versions

  • Transformers 4.31.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.0
  • Tokenizers 0.13.3