CoolFace
Modelpublic

huggingface-course/bert-finetuned-ner

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
18likes143downloads
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. -->

test-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.0600
  • —Precision: 0.9355
  • —Recall: 0.9514
  • —F1: 0.9433
  • —Accuracy: 0.9868

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.08491.017560.07130.91440.93660.92530.9817
0.03592.035120.06580.93460.95000.94220.9860
0.02063.052680.06000.93550.95140.94330.9868

Framework versions

  • —Transformers 4.11.0.dev0
  • —Pytorch 1.8.1+cu111
  • —Datasets 1.12.1.dev0
  • —Tokenizers 0.10.3