Downloads · 30 days
9
2% of all-time downloads
helenai/salti-bert-base-multilingual-cased-finetuned-squad-ov
salti-bert-base-multilingual-cased-finetuned-squad-ov is a question answering model from helenai. Use it when the input is a question plus a passage. It is set up for transformers.
This is the salti/bert-base-multilingual-cased-finetuned-squad model converted to OpenVINO, for accellerated inference.
Downloads · 30 days
9
2% of all-time downloads
All-time downloads
466
Public
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.bin709 MB · 99%
From the Hugging Face model README
This is the salti/bert-base-multilingual-cased-finetuned-squad model converted to OpenVINO, for accellerated inference.
An example of how to do inference on this model:
from optimum.intel.openvino import OVModelForQuestionAnswering
from transformers import AutoTokenizer, pipeline
# model_id should be set to either a local directory or a model available on the HuggingFace hub.
model_id = "helenai/salti-bert-base-multilingual-cased-finetuned-squad-ov"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForQuestionAnswering.from_pretrained(model_id)
pipe = pipeline("question-answering", model=model, tokenizer=tokenizer)
result = pipe("What is OpenVINO?", "OpenVINO is a framework that accelerates deep learning inferencing")
print(result)