Instructions to use Otweyo/ViT_mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Otweyo/ViT_mini 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://Otweyo/ViT_mini") - Notebooks
- Google Colab
- Kaggle
Download liveViT.ipynb from Otweyo/ViT_mini: direct link, hf CLI and curl.
- Browser
- Download file 14.3 kB
-
https://huggingface.co/Otweyo/ViT_mini/resolve/main/liveViT.ipynb
- Command line
-
hf download hf://Otweyo/ViT_mini/liveViT.ipynb
-
curl -L -o liveViT.ipynb https://huggingface.co/Otweyo/ViT_mini/resolve/main/liveViT.ipynb
14.3 kB