Instructions to use eyldlv/latin-ner with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use eyldlv/latin-ner with spaCy:
!pip install https://huggingface.co/eyldlv/latin-ner/resolve/main/latin-ner-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("latin-ner") # Importing as module. import latin-ner nlp = latin-ner.load() - Notebooks
- Google Colab
- Kaggle
NER for Latin
Trained using letters from the Bullinger collection, based on mbert.
How to use
import spacy
nlp = spacy.load('./enhg_pipeline')
doc = nlp('Norimberga in proximum quoddam Ulmensibus oppidulum Leypphaim sese contulit, certa spe recuperandae sedis, e qua nuper est detrusus.')
for ent in doc.ents:
print(ent.text, ent.label_)
# Output:
# Norimberga GEO
# Ulmensibus GEO
Evaluation
- F-Score: 0.8970679975
- Precision: 0.8860135551,
- Recall: 0.9084017688,
- Downloads last month
- -