panigrah commited on
Commit
402f230
1 Parent(s): 35963ce

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -20,7 +20,7 @@ You can use this model directly for named entity recognition like so
20
  ```python
21
  >>> from transformers import pipeline
22
  >>> ner = pipeline('ner', model='winberto-ner-uncased')
23
- >>> tokens = ner('"Heitz Cabernet Sauvignon California Napa Valley Napa US this tremendous 100% varietal wine hails from oakville and was aged over three years in oak. juicy red-cherry fruit and a compelling hint of caramel greet the palate, framed by elegant, fine tannins and a subtle minty tone in the background. balanced and rewarding from start to finish, it has years ahead of it to develop further nuance. enjoy 2022"')
24
  >>> for t in toks:
25
  >>> print(f"{t['word']}: {t['entity_group']}: {t['score']:.5}")
26
 
 
20
  ```python
21
  >>> from transformers import pipeline
22
  >>> ner = pipeline('ner', model='winberto-ner-uncased')
23
+ >>> tokens = ner("Heitz Cabernet Sauvignon California Napa Valley Napa US this tremendous 100% varietal wine hails from oakville and was aged over three years in oak. juicy red-cherry fruit and a compelling hint of caramel greet the palate, framed by elegant, fine tannins and a subtle minty tone in the background. balanced and rewarding from start to finish, it has years ahead of it to develop further nuance. enjoy 2022")
24
  >>> for t in toks:
25
  >>> print(f"{t['word']}: {t['entity_group']}: {t['score']:.5}")
26