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