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
Commit History
Adding `safetensors` variant of this model (#7) 2d81d2e
Add verifyToken field to verify evaluation results are produced by Hugging Face's automatic model evaluator (#6) a8440a9
Add evaluation results on the plain_text config of squad (#3) ab869c3
Migrate model card from transformers-repo 626af31
For clarity, delete deprecated modelcard.json 911f6c8
Add vocab d3929f6
Thomas Wolf commited on
Add tokenizer configuration e45a5ef
Thomas Wolf commited on