CoolFace
Modelpublic

mie-zhz/bert-finetuned-ner

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes7downloads
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-cased on the conll2003 dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0617
  • —Precision: 0.9317
  • —Recall: 0.9483
  • —F1: 0.9399
  • —Accuracy: 0.9858

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.07891.017560.07450.91120.93660.92370.9802
0.04062.035120.06040.92640.94870.93740.9852
0.02563.052680.06170.93170.94830.93990.9858

Framework versions

  • —Transformers 4.34.0
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.14.5
  • —Tokenizers 0.14.1