Downloads · 30 days
14
16% of all-time downloads
ELHACHYMI/bert-ner
bert-ner is a token classification model from ELHACHYMI. Use it when you need labels on individual words, such as names. It is set up for transformers.
Model: ELHACHYMI/bert-ner Base model: bert-base-uncased Task: Token Classification — Named Entity Recognition (NER) Dataset: CoNLL-2003 (English)
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
90
Public
Parameters
109M
436 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors436 MB · 100%
From the Hugging Face model README
Model: ELHACHYMI/bert-ner
Base model: bert-base-uncased
Task: Token Classification — Named Entity Recognition (NER)
Dataset: CoNLL-2003 (English)
This model is a fine-tuned version of BERT Base Uncased on the CoNLL-2003 Named Entity Recognition (NER) dataset.
It predicts the following entity types:
The model is suitable for information extraction, document understanding, chatbot entity detection, and structured text processing.
The model uses the standard IOB2 tagging scheme:
| ID | Label |
|---|---|
| 0 | O |
| 1 | B-PER |
| 2 | I-PER |
| 3 | B-ORG |
| 4 | I-ORG |
| 5 | B-LOC |
| 6 | I-LOC |
| 7 | B-MISC |
| 8 | I-MISC |
from transformers import pipeline
ner = pipeline("ner", model="ELHACHYMI/bert-ner", aggregation_strategy="simple")
text = "Bill Gates founded Microsoft in the United States."
print(ner(text))