Downloads · 30 days
8
1% of all-time downloads
NahedAbdelgaber/ner_base_model
ner_base_model is a token classification model from NahedAbdelgaber. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as mit.
bert-base-NER is a fine-tuned BERT model that is ready to use for Named Entity Recognition and achieves F1 0.61 for the NER task. It has been trained to recognize two types of entities: instrument and satellite.
Downloads · 30 days
8
1% of all-time downloads
All-time downloads
616
Public
Repo size
6.9 GB
Likes
0
Public
Click a slice to open those files.
.pt862 MB · 67%
From the Hugging Face model README
bert-base-NER is a fine-tuned BERT model that is ready to use for Named Entity Recognition and achieves F1 0.61 for the NER task. It has been trained to recognize two types of entities: instrument and satellite.
Specifically, this model is a bert-base-cased model that was fine-tuned on Satellite-Instrument-NER dataset.
You can use this model with Transformers pipeline for NER.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("NahedAbdelgaber/ner_base_model")
model = AutoModelForTokenClassification.from_pretrained("NahedAbdelgaber/ner_base_model")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Centroid Moment Tensor Global Navigation Satellite System GNSS"
ner_results = nlp(example)
print(ner_results)