versae commited on
Commit
4ea952f
1 Parent(s): b8d4ec0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -57,7 +57,7 @@ NB-Bert base model fine-tuned on the Part of Speech task using the [NorNE datase
57
  ```python
58
  from transformers import pipeline
59
 
60
- pos = pipeline("ner", "NbAiLab/nb-bert-base-pos")
61
  example = "Jeg heter Kjell og bor i Oslo."
62
 
63
  pos_results = pos(example)
 
57
  ```python
58
  from transformers import pipeline
59
 
60
+ pos = pipeline("token-classification", "NbAiLab/nb-bert-base-pos")
61
  example = "Jeg heter Kjell og bor i Oslo."
62
 
63
  pos_results = pos(example)