Bert Italian NER ONNX avx512
This model is the onnx version of nickprock/bert-italian-finetuned-ner.
To use you need to intall following libraries:
pip install optimum onnxruntime onnx
And run with the following script:
import time
from transformers import AutoTokenizer, pipeline
from optimum.onnxruntime import ORTModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("z-uo/bert-italian-ner-onnx-quantized-avx512")
model = ORTModelForTokenClassification.from_pretrained("z-uo/bert-italian-ner-onnx-quantized-avx512")
nerpipeline = pipeline('ner', model=model, tokenizer=tokenizer)
text = "La sede storica della Olivetti è ad Ivrea"
output = nerpipeline(text)
- Downloads last month
- 6
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.
Model tree for z-uo/bert-italian-ner-onnx-quantized-avx512
Base model
dbmdz/bert-base-italian-cased
Finetuned
nickprock/bert-italian-finetuned-ner