Downloads · 30 days
11
1% of all-time downloads
nickprock/it_spacy_ner_trf
it_spacy_ner_trf is a token classification model from nickprock. Use it when you need labels on individual words, such as names. It is set up for spacy. The card lists the license as mit.
Downloads · 30 days
11
1% of all-time downloads
All-time downloads
1.2K
Public
Repo size
845 MB
Likes
1
Public
Click a slice to open those files.
Other439 MB · 52%
From the Hugging Face model README
| Feature | Description |
|---|---|
| Name | it_spacy_ner_trf |
| Version | 0.1 |
| spaCy | >=3.5.1,<3.6.0 |
| Default Pipeline | token_classification_transformer |
| Components | token_classification_transformer |
| Vectors | 0 keys, 0 unique vectors (0 dimensions) |
| Sources | tner/wikiann |
| License | MIT |
| Author | Nicola Procopio |
SpaCy version of nickprock/bert-italian-finetuned-ner.
The original model is wrapped by spacy-wrap
!pip install https://huggingface.co/nickprock/it_spacy_ner_trf/resolve/main/it_spacy_ner_trf-any-py3-none-any.whl
import spacy
nlp = spacy.load("it_spacy_ner_trf")
doc = nlp("Domenica andrò allo stadio con Giovanna a guardare la Fiorentina.")
for ent in doc.ents:
print(ent.text, ent.label_)