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:
# pip install -U transformers accelerate # 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
Commit History
-
Adding generation config file(s)
86c815e
-
Update README.md (#4)
- Update README.md (b0abc7457df56419355c998d647cf4d87c67a3c5)b59e73b
-
Update README.md (#3)
- Update README.md (efce5c0cf0fe042745d107b9747cd5869c265731)929ec97
-
Update README.md
60e8470
-
Upload tokenizer
212d5ae -
Update README.md (#2)
- Update README.md (58a1073150d1b2ed9d5fba2358ffeb4835227513)17e22dd -
Update README.md (#1)
- Update README.md (70b1bf9ddc7cec16116a821c007d60a4ecc77083)38c38f1 -
Create README.md
3c0ea96 -
add model weights
ybelkadaa5889f0 -
initial commit
Younes Belkada36fa7a8