bert-finetuned-ner

Fine-tuned bert-base-cased on CoNLL-2003 for Named Entity Recognition.

Entities: PER (person), ORG (organization), LOC (location), MISC (other).

Test results

  • Precision: 0.9073
  • Recall: 0.9205
  • F1: 0.9139
  • Accuracy: 0.9831

Usage

from transformers import pipeline
ner = pipeline("token-classification", model="shireen126/bert-finetuned-ner", aggregation_strategy="simple")
print(ner("Elon Musk founded SpaceX in California."))

Training

  • Epochs: 3, learning rate: 2e-5, batch size: 16, weight decay: 0.01
  • Limitations: trained on news text; does not label dates (CoNLL-2003 has no DATE class).
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for shireen126/bert-finetuned-ner

Finetuned
(2,965)
this model

Dataset used to train shireen126/bert-finetuned-ner