Instructions to use google/switch-base-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-128 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-128") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-128") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#6 opened about 2 years ago
by
SFconvertbot
Update config.json
#5 opened over 3 years ago
by
Karim-Gamal