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
Commit ·
bb133e8
1
Parent(s): b82e3a1
Adding `safetensors` variant of this model (#4)
Browse files- Adding `safetensors` variant of this model (666b6d18103e59adc641490a8d230378deaa6fb9)
Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>
- .gitattributes +1 -0
- model.safetensors +3 -0
.gitattributes
CHANGED
|
@@ -7,3 +7,4 @@
|
|
| 7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 9 |
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 7 |
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 8 |
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 9 |
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
model.safetensors filter=lfs diff=lfs merge=lfs -text
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8f85421e410ee12fa02f5a2edc45dd7c3db75bfc6c3a05d6bb4c0385527d7c0
|
| 3 |
+
size 265470036
|