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 saved_model.tar.gz from distilbert/distilbert-base-cased-distilled-squad: direct link, hf CLI and curl.
- Browser
- Download file 241 MB
-
https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/saved_model.tar.gz
- Command line
-
hf download hf://distilbert/distilbert-base-cased-distilled-squad/saved_model.tar.gz
-
curl -L -o saved_model.tar.gz https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/saved_model.tar.gz
241 MB
- Xet hash:
- d02b6d4d7c24c8452f08b6f391c10b951d090fd5a664b265030207c7e702249d
- Size of remote file:
- 241 MB
- SHA256:
- f7e26fe22fdeb23462ae6423fc04b7e4929212a49aa033c3a7b8f30c937c943f
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.