Instructions to use distilbert/distilbert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="distilbert/distilbert-base-uncased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased") model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-uncased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download rust_model.ot from distilbert/distilbert-base-uncased: direct link, hf CLI and curl.
- Browser
- Download file 362 MB
-
https://huggingface.co/distilbert/distilbert-base-uncased/resolve/main/rust_model.ot
- Command line
-
hf download hf://distilbert/distilbert-base-uncased/rust_model.ot
-
curl -L -o rust_model.ot https://huggingface.co/distilbert/distilbert-base-uncased/resolve/main/rust_model.ot
362 MB
- Xet hash:
- aec15fbaaae20caf2d78478eb6036348a82c767e37b09b1815fc23430d82be7d
- Size of remote file:
- 362 MB
- SHA256:
- 7ff3dc0119b9399681cf5661a9e450bb2ed2ecdb88338fb2c9d942c579164cc6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.