Downloads · 30 days
6
1% of all-time downloads
MrRobson9/bert-base-cased-finetuned-conll2003-english-ner
bert-base-cased-finetuned-conll2003-english-ner is a token classification model from MrRobson9. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of BERT-base-cased on the CoNLL2003 dataset for Named Entity Recognition (NER) in English. The CoNLL2003 dataset contains four types of named entities: Person (PER), Location (LOC),…
Downloads · 30 days
6
1% of all-time downloads
All-time downloads
455
Public
Parameters
108M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt862 MB · 67%
From the Hugging Face model README
This model is a fine-tuned version of BERT-base-cased on the CoNLL2003 dataset for Named Entity Recognition (NER) in English. The CoNLL2003 dataset contains four types of named entities: Person (PER), Location (LOC), Organization (ORG), and Miscellaneous (MISC).
This model is ideal for tasks that require identifying and classifying named entities within English text, such as:
To use this model in your code, you can load it via Hugging Face’s Transformers library:
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("MrRobson9/bert-base-cased-finetuned-conll2003-english-ner")
model = AutoModelForTokenClassification.from_pretrained("MrRobson9/bert-base-cased-finetuned-conll2003-english-ner")
nlp_ner = pipeline("ner", model=model, tokenizer=tokenizer)
result = nlp_ner("John lives in New York and works for the United Nations.")
print(result)
| accuracy | precision | recall | f1-score |
|---|---|---|---|
| 0.991 | 0.946 | 0.953 | 0.950 |
This model is licensed under the same terms as the BERT-base-cased model and the CoNLL2003 dataset. Please ensure compliance with all respective licenses when using this model.