Update README.md
Browse files
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("
|
| 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)
|