Instructions to use distilbert/distilbert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="distilbert/distilbert-base-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-cased") model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-cased") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding ONNX file of this model
#4
by Firas - opened
- model.onnx +3 -0
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc5b0665fec58476b83b262450de920d57c7e0aaf66126731b10834c52d5aa1c
|
| 3 |
+
size 260876704
|