kwojtasik commited on
Commit
27cece7
1 Parent(s): 5c7634e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -1,3 +1,12 @@
1
  ---
2
  license: cc-by-nd-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nd-4.0
3
  ---
4
+
5
+ How to use:
6
+ ```
7
+ from transformers import pipeline
8
+ question_answerer = pipeline("question-answering", model="clarin-knext/herbert-large-poquad")
9
+ question="Jakie miasto jest stolicą Polski?"
10
+ context="Polska to piękny kraj którego stolicą jest Warszawa."
11
+ question_answerer(question=question, context=context)
12
+ ```