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 tokenizer.model from bndgyawali/switch-transformer: direct link, hf CLI and curl.
- Browser
- Download file 3.74 MB
-
https://huggingface.co/bndgyawali/switch-transformer/resolve/main/tokenizer.model
- Command line
-
hf download hf://bndgyawali/switch-transformer/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/bndgyawali/switch-transformer/resolve/main/tokenizer.model
3.74 MB
- Xet hash:
- b50792f5240143b51f071665b66eaeffbc209c18eec690d27db8206c7337fad6
- Size of remote file:
- 3.74 MB
- SHA256:
- 09e597a90f8a21f768930dfce7c6518b942f48931dfdc6f84d38bbf0086885ea
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.