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