Instructions to use google/switch-base-16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/switch-base-16 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/switch-base-16") model = AutoModelForSeq2SeqLM.from_pretrained("google/switch-base-16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
This is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.fca3c90
-
Adding generation config file(s)
0ef7d88
-
Update README.md (#4)
- Update README.md (68d87de3a7e6625a067416f7f017736ef3566c4e)31d4478
-
Update README.md (#3)
- Update README.md (52b1d61f58120ae6f802d50caaaac2eb2d8c495a)3da229a
-
Update README.md
615fe8a
-
Upload tokenizer
f821e9a -
Update README.md (#2)
- Update README.md (2f009ea2bf8ee0e898bdcf3d626cc4346560cede)edc276d -
Update README.md (#1)
- Update README.md (78152d87a976885d8cec3ad19f0cbdbb085d6212)7b4fcf1 -
Update config.json
cec1694 -
Create config.json
f04ae36 -
add model weights
ybelkada6bf4924 -
Create README.md
627236f -
initial commit
Younes Belkadac2caefa