Instructions to use hadiaskari98/Software_NER_prod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadiaskari98/Software_NER_prod with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hadiaskari98/Software_NER_prod")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hadiaskari98/Software_NER_prod") model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Software_NER_prod") - Notebooks
- Google Colab
- Kaggle
How to use
tokenizer = AutoTokenizer.from_pretrained("hadiaskari98/Software_NER_prod")
model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Software_NER_prod")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "Windows XP is an example of an operating system."
ner_results = nlp(example)
print(ner_results)
- Downloads last month
- 5
Model tree for hadiaskari98/Software_NER_prod
Base model
google-bert/bert-large-cased