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
Update config.json
#5
by Karim-Gamal - opened
The decoder_start_token_id has been forgotten for this model as well.