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
File size: 134 Bytes
bc2a84b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8fade195786e956affe2ef5e3abf6ed4c2a061fae90f0f90b6f334eb4a4f98ee
size 265582824
|