Update README.md
Browse files
README.md
CHANGED
@@ -57,6 +57,16 @@ It achieves the following results on the evaluation set:
|
|
57 |
|
58 |
You can find the training notebook here: https://github.com/WikKam/roberta-pos-finetuning
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
## Model description
|
61 |
|
62 |
This model is a part-of-speech tagger for the Polish language based on [sdadas/polish-roberta-base-v2](https://huggingface.co/sdadas/polish-roberta-base-v2).
|
|
|
57 |
|
58 |
You can find the training notebook here: https://github.com/WikKam/roberta-pos-finetuning
|
59 |
|
60 |
+
## Usage
|
61 |
+
|
62 |
+
```
|
63 |
+
from transformers import pipeline
|
64 |
+
|
65 |
+
nlp = pipeline("token-classification", "wkaminski/polish-roberta-base-v2-pos-tagging")
|
66 |
+
|
67 |
+
nlp("Ale dzisiaj leje")
|
68 |
+
```
|
69 |
+
|
70 |
## Model description
|
71 |
|
72 |
This model is a part-of-speech tagger for the Polish language based on [sdadas/polish-roberta-base-v2](https://huggingface.co/sdadas/polish-roberta-base-v2).
|