wkaminski commited on
Commit
f7a6e33
1 Parent(s): 15ee165

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
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 coarse-part-of-speech tagger for the Polish language based on 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-cposes-tagging")
66
+
67
+ nlp("Ale dzisiaj leje")
68
+ ```
69
+
70
  ## Model description
71
 
72
  This model is a coarse-part-of-speech tagger for the Polish language based on sdadas/polish-roberta-base-v2.