You can use this model with Transformers
pipeline
for NER.
from transformers import pipeline
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("eolang/SW-NER-v1")
model = AutoModelForTokenClassification.from_pretrained("eolang/SW-NER-v1")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Tumefanya mabadiliko muhimu katika sera zetu za faragha na vidakuzi"
ner_results = nlp(example)
print(ner_results)
Training data
This model was fine-tuned on the Swahili Version of the
Masakhane Dataset
from the
MasakhaneNER Project
.
MasakhaNER is a collection of Named Entity Recognition (NER) datasets for 10 different African languages.
The languages forming this dataset are: Amharic, Hausa, Igbo, Kinyarwanda, Luganda, Luo, Nigerian-Pidgin, Swahili, Wolof, and Yorùbá.
Training procedure
This model was trained on a single NVIDIA RTX 3090 GPU with recommended hyperparameters from the
original BERT paper
.
Runs of eolang SW-NER-v1 on huggingface.co
10
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
3
30-day runs
More Information About SW-NER-v1 huggingface.co Model
SW-NER-v1 huggingface.co is an AI model on huggingface.co that provides SW-NER-v1's model effect (), which can be used instantly with this eolang SW-NER-v1 model. huggingface.co supports a free trial of the SW-NER-v1 model, and also provides paid use of the SW-NER-v1. Support call SW-NER-v1 model through api, including Node.js, Python, http.
SW-NER-v1 huggingface.co is an online trial and call api platform, which integrates SW-NER-v1's modeling effects, including api services, and provides a free online trial of SW-NER-v1, you can try SW-NER-v1 online for free by clicking the link below.
eolang SW-NER-v1 online free url in huggingface.co:
SW-NER-v1 is an open source model from GitHub that offers a free installation service, and any user can find SW-NER-v1 on GitHub to install. At the same time, huggingface.co provides the effect of SW-NER-v1 install, users can directly use SW-NER-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.