Instructions to use hadiaskari98/Hardware_NER_prod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadiaskari98/Hardware_NER_prod with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hadiaskari98/Hardware_NER_prod")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hadiaskari98/Hardware_NER_prod") model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Hardware_NER_prod") - Notebooks
- Google Colab
- Kaggle
How to use
model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Hardware_NER_prod")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "GPU's are what power the modern AI revolution."
ner_results = nlp(example)
print(ner_results)
- Downloads last month
- 6
Model tree for hadiaskari98/Hardware_NER_prod
Base model
google-bert/bert-large-cased