Instructions to use google/switch-base-32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-32 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-32") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-32", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#8)
- Adding `safetensors` variant of this model (a2a405f34ca47ba13fe2727a7f0e4e5e72d238a8) Co-authored-by: Safetensors convertbot <[email protected]>2018338
-
Adding generation config file(s)
a36b3a2
-
add `decoder_start_token_id`
67abdcf
-
Update README.md (#4)
- Update README.md (67ce816501f19117a65d90f6adb03ad8029ea408)9243a6d
-
Update README.md (#3)
- Update README.md (8ec7dfe12ebaa17f7c6459948dcc23dc603db93d)6fd4974
-
Update README.md
355267a
-
Upload tokenizer
547cb9e -
Update README.md (#2)
- Update README.md (bc6f346810061b8b28331b7867d8a61e896eb7f9)601a303 -
Update README.md (#1)
- Update README.md (8863b7c1d46d5475d64e1f219f3fbf4400f51705)0cebcbc -
Create README.md
7296697 -
add model weights
ybelkada5da43cd -
initial commit
Younes Belkada3da9fc1