Downloads · 30 days
0
thefishhh/spacy-ner-lean
spacy-ner-lean is a machine learning model from thefishhh. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a custom NER model trained using spaCy. It was trained for 2000 iterations or until the NER loss dropped below 0.5.
Downloads · 30 days
0
Access
Public
Updated Sep 6, 2024
Repo size
3.9 MB
Likes
0
Public
Click a slice to open those files.
Other3.9 MB · 99%
From the Hugging Face model README
This is a custom NER model trained using spaCy. It was trained for 2000 iterations or until the NER loss dropped below 0.5.
import spacy
from huggingface_hub import snapshot_download
# Download the model
model_path = snapshot_download(repo_id='thefishhh/spacy-ner-lean')
# Load the model
nlp = spacy.load(model_path)
# Use the model
doc = nlp('Your text here')
for ent in doc.ents:
print(ent.text, ent.label_)