Instructions to use bndgyawali/switch-transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use bndgyawali/switch-transformer with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://bndgyawali/switch-transformer") - Notebooks
- Google Colab
- Kaggle
Download saved_model.pb from bndgyawali/switch-transformer: direct link, hf CLI and curl.
- Browser
- Download file 978 kB
-
https://huggingface.co/bndgyawali/switch-transformer/resolve/main/saved_model.pb
- Command line
-
hf download hf://bndgyawali/switch-transformer/saved_model.pb
-
curl -L -o saved_model.pb https://huggingface.co/bndgyawali/switch-transformer/resolve/main/saved_model.pb
978 kB
- Xet hash:
- eb442e9dea84890860d5e68deb83d36425b23181412ba4940e914494ca6aac9e
- Size of remote file:
- 978 kB
- SHA256:
- 3a7976001d88bd264296c699a8d5109b17be6a5d31ae77655b0c2de3df79f055
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.