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 # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="distilbert/distilbert-base-cased-distilled-squad")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from distilbert/distilbert-base-cased-distilled-squad: direct link, hf CLI and curl.
- Browser
- Download file 261 MB
-
https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://distilbert/distilbert-base-cased-distilled-squad/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/pytorch_model.bin
261 MB
- Xet hash:
- 9a215bf664b189cf3f5bec04aec64bc39fbfaa647e42e0c3150715f0dd1702bb
- Size of remote file:
- 261 MB
- SHA256:
- 4e10bdbc83fdbb975a430fc2148c85051e55bd288334deab18db58664ef0ea13
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.