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", device_map="auto")# 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
TemporalMesh Transformer: 29.4 PPL at 48% compute — beats Mamba, new open-source architecture
#10 opened about 1 month ago
by
vigneshwar234
Update README.md
1
#9 opened over 2 years ago
by
nijatzeynalov
Adding ONNX file of this model
1
#7 opened over 2 years ago
by
ariesjzj
Unable to download "distilbert-base-uncased-distilled-squad.tar.gz"
1
#6 opened about 3 years ago
by
priyanka98
Error on DistilBertForQuestionAnswering.from_pretrained()
#5 opened over 3 years ago
by
ravneetg