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 | 1231321 |
License | MIT |
Author | 1232321 |
SpaCy版本的 nickprock/bert-italian-finetuned-ner 。
原始模型由 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_)