Instructions to use CKris21/en_proposal_ner_trf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use CKris21/en_proposal_ner_trf with spaCy:
!pip install https://huggingface.co/CKris21/en_proposal_ner_trf/resolve/main/en_proposal_ner_trf-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("en_proposal_ner_trf") # Importing as module. import en_proposal_ner_trf nlp = en_proposal_ner_trf.load() - Notebooks
- Google Colab
- Kaggle
You need to agree to share your Hugging Face information to access this model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
Access is granted to collaborators of the NER-FOR-PROPOSAL-GRAPHRAG project.
Log in or Sign Up to review the conditions and access this model content.
en_proposal_ner_trf
spaCy NER pipeline (roberta-base transformer + NER) for user queries about
research proposals, used by
NER-FOR-PROPOSAL-GRAPHRAG.
Labels: CAREER_STAGE, COUNTRY, DEPARTMENT, FRAMEWORK, INFRA_KEYWORD,
KEYWORD, NATIONALITY, ORG, ORG_TYPE, PERSON, PROJECT_NAME_FRAGMENT,
PROPOSAL, SEARCH_PHRASE, TOPIC.
Usage
Requires spacy>=3.8.16,<3.9 and spacy-transformers>=1.4,<1.5, plus access
to this repo and a Hugging Face token (hf auth login or HF_TOKEN).
import spacy
from huggingface_hub import snapshot_download
nlp = spacy.load(snapshot_download("CKris21/en_proposal_ner_trf"))
doc = nlp("Proposals by Maria Rossi under Horizon Europe")
print([(ent.text, ent.label_) for ent in doc.ents])
- Downloads last month
- -