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
191e4ac | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:22cbcd1c2d2e3190cdb7658f0fd330e4c2bc18056a1e6612a4430197b7368372
size 265481570
|