Question Answering
Transformers
PyTorch
TensorFlow
Rust
Safetensors
OpenVINO
English
distilbert
Eval Results (legacy)
Instructions to use distilbert/distilbert-base-cased-distilled-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-cased-distilled-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="distilbert/distilbert-base-cased-distilled-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-cased-distilled-squad") model = AutoModelForQuestionAnswering.from_pretrained("distilbert/distilbert-base-cased-distilled-squad", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding OpenVINO file of this model
#8
by helenai - opened
Beep boop I am the OpenVINO exporter bot 🤖. On behalf of helenai, I would like to add to this repository the exported OpenVINO model.
cc @echarlaix maybe
Works for me ! export is still experimental (will be moved under https://huggingface.co/OpenVINO when validated) so I verified the resulting model manually just to be sure.
echarlaix changed pull request status to merged
ok thanks for checking and merging @echarlaix !
And yes, having a conversion Space under https://huggingface.co/OpenVINO will be great