nickprock commited on
Commit
325cf1c
1 Parent(s): d2f68d6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -0
README.md CHANGED
@@ -60,6 +60,15 @@ It achieves the following results on the evaluation set:
60
 
61
  Token classification for italian language experiment, NER.
62
 
 
 
 
 
 
 
 
 
 
63
  ## Intended uses & limitations
64
 
65
  The model can be used on token classification, in particular NER. It is fine tuned on italian language.
 
60
 
61
  Token classification for italian language experiment, NER.
62
 
63
+ ### Example
64
+
65
+ ```python
66
+ from transformers import pipeline
67
+ ner_pipeline = pipeline("ner", model="nickprock/bert-italian-finetuned-ner", aggregation_strategy="simple")
68
+ text = "La sede storica della Olivetti è ad Ivrea"
69
+ output = ner_pipeline(text)
70
+ ```
71
+
72
  ## Intended uses & limitations
73
 
74
  The model can be used on token classification, in particular NER. It is fine tuned on italian language.