Instructions to use xooca/roberta_ner_personal_info with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xooca/roberta_ner_personal_info with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="xooca/roberta_ner_personal_info")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("xooca/roberta_ner_personal_info") model = AutoModelForTokenClassification.from_pretrained("xooca/roberta_ner_personal_info", device_map="auto") - Notebooks
- Google Colab
- Kaggle
ENTITY-TYPE List
#3
by sunshineprakhar - opened
From where I can get a list of entity types that will be generated as a output over my text
PERSON
RELIGION
ORGANIZATION
PHYSICAL_LOCATION
OCCUPATION
You sure... These entity types will only be returned. Because I can see few other for my small text.