luigisaetta commited on
Commit
f2f710f
1 Parent(s): d1b6463

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -28,6 +28,16 @@ These are the metrics computed on evaluation set:
28
  - EM: 63.95
29
  - F1: 75.27
30
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  ## Intended uses & limitations
33
 
28
  - EM: 63.95
29
  - F1: 75.27
30
 
31
+ #### How to use
32
+
33
+ ```python
34
+ from transformers import pipeline
35
+
36
+ pipe_qa = pipeline('question-answering', model='luigisaetta/squad_it_xxl_cased_hub1')
37
+
38
+ pipe_qa(context="Io sono nato a Napoli. Il mare bagna Napoli. Napoli è la più bella città del mondo",
39
+ question="Qual è la più bella città del mondo?")
40
+ ```
41
 
42
  ## Intended uses & limitations
43