File size: 569 Bytes
e15ba99 36b7f93 e15ba99 0f8ca0a e15ba99 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
---
license: mit
language:
- en
base_model:
- google-bert/bert-large-cased
pipeline_tag: token-classification
library_name: transformers
---
**How to use**
```from transformers import AutoTokenizer, AutoModelForTokenClassification
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) |