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
Download .gitattributes from distilbert/distilbert-base-cased-distilled-squad: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/.gitattributes
- Command line
-
hf download hf://distilbert/distilbert-base-cased-distilled-squad/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/distilbert/distilbert-base-cased-distilled-squad/resolve/main/.gitattributes
399 Bytes
| *.bin.* filter=lfs diff=lfs merge=lfs -text | |
| *.lfs.* filter=lfs diff=lfs merge=lfs -text | |
| *.bin filter=lfs diff=lfs merge=lfs -text | |
| *.h5 filter=lfs diff=lfs merge=lfs -text | |
| *.tflite filter=lfs diff=lfs merge=lfs -text | |
| *.tar.gz filter=lfs diff=lfs merge=lfs -text | |
| *.ot filter=lfs diff=lfs merge=lfs -text | |
| *.onnx filter=lfs diff=lfs merge=lfs -text | |
| model.safetensors filter=lfs diff=lfs merge=lfs -text | |