Instructions to use amazon/bort with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amazon/bort with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="amazon/bort")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("amazon/bort") model = AutoModelForMaskedLM.from_pretrained("amazon/bort", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from amazon/bort: direct link, hf CLI and curl.
- Browser
- Download file 255 MB
-
https://huggingface.co/amazon/bort/resolve/refs%2Fpr%2F9/pytorch_model.bin
- Command line
-
hf download hf://amazon/bort@refs/pr/9/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/amazon/bort/resolve/refs%2Fpr%2F9/pytorch_model.bin
255 MB
- Xet hash:
- 3655aad5af6b823006af650b06a70f2a3da9ccbcb3505a70dad11e43295aced7
- Size of remote file:
- 255 MB
- SHA256:
- 50c71f91a68a46ba98965add3ef2f960fc78bf9727369e6d1c531bc3a6eb470b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.