Instructions to use distilbert/distilbert-base-uncased-distilled-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-uncased-distilled-squad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="distilbert/distilbert-base-uncased-distilled-squad")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased-distilled-squad") model = AutoModelForQuestionAnswering.from_pretrained("distilbert/distilbert-base-uncased-distilled-squad", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from distilbert/distilbert-base-uncased-distilled-squad: direct link, hf CLI and curl.
- Browser
- Download file 266 MB
-
https://huggingface.co/distilbert/distilbert-base-uncased-distilled-squad/resolve/main/tf_model.h5
- Command line
-
hf download hf://distilbert/distilbert-base-uncased-distilled-squad/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/distilbert/distilbert-base-uncased-distilled-squad/resolve/main/tf_model.h5
266 MB
- Xet hash:
- 0ac77d5e6b91769fffe8e34e9feec43b9d7d2a8dc79c9491d7149d13e368ce80
- Size of remote file:
- 266 MB
- SHA256:
- 8fade195786e956affe2ef5e3abf6ed4c2a061fae90f0f90b6f334eb4a4f98ee
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.