Edit model card

bert-finetuned-ner

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

  • Loss: 0.2268
  • Precision: 0.3501
  • Recall: 0.4031
  • F1: 0.3747
  • Accuracy: 0.9263

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

Training results

Training Loss Epoch Step Validation Loss Precision Recall F1 Accuracy
No log 1.0 88 0.2544 0.2549 0.2954 0.2737 0.9184
No log 2.0 176 0.2342 0.3342 0.3992 0.3638 0.9235
No log 3.0 264 0.2268 0.3501 0.4031 0.3747 0.9263

Framework versions

  • Transformers 4.41.2
  • Pytorch 2.2.0
  • Datasets 2.14.7
  • Tokenizers 0.19.1
Downloads last month
4
Safetensors
Model size
108M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for Abdine/bert-finetuned-ner

Finetuned
(1937)
this model