Update README.md
Browse files
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.
|