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
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,7 +21,7 @@ model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Software_N
|
|
| 21 |
|
| 22 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
| 23 |
|
| 24 |
-
example = "
|
| 25 |
|
| 26 |
ner_results = nlp(example)
|
| 27 |
print(ner_results)
|
|
|
|
| 21 |
|
| 22 |
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
|
| 23 |
|
| 24 |
+
example = "Windows XP is an example of an operating system."
|
| 25 |
|
| 26 |
ner_results = nlp(example)
|
| 27 |
print(ner_results)
|