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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 136 Bytes
a5889f0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:8d892df447c7fe20404835a366a1170d374b586a48acbf243b37a7f3ae0b457e
size 10000335528
|