Instructions to use google/switch-base-8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-8 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-8") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from google/switch-base-8: direct link, hf CLI and curl.
- Browser
- Download file 1.24 GB
-
https://huggingface.co/google/switch-base-8/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://google/switch-base-8/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/google/switch-base-8/resolve/main/pytorch_model.bin
1.24 GB
- Xet hash:
- aa1c345a700628c4bebfcf8aa43720f4fa4df9f5a488b82a738de515a22e63d5
- Size of remote file:
- 1.24 GB
- SHA256:
- ff91705b718f692fa0c994a49d094154583db40b536e80f20f52e05498ff6856
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.