Instructions to use zeromodels/levit-192 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/levit-192 with ZeroModels:
# pip install -U zeromodels # ZeroModels is pure Keras 3, so pick a backend: "jax", "torch" or "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" from zeromodels import AutoZModel # AutoZModel reads the repo's model_type and loads the matching class. # For a task head use the matching loader, e.g. AutoZMImageClassify / AutoZMDetect / # AutoZMSemanticSegment / AutoZMTextGenerate (see zeromodels.auto). model = AutoZModel.from_weights("zeromodels/levit-192") - Keras
How to use zeromodels/levit-192 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://zeromodels/levit-192") - Notebooks
- Google Colab
- Kaggle
Download model.weights.h5 from zeromodels/levit-192: direct link, hf CLI and curl.
- Browser
- Download file 44.7 MB
-
https://huggingface.co/zeromodels/levit-192/resolve/main/model.weights.h5
- Command line
-
hf download hf://zeromodels/levit-192/model.weights.h5
-
curl -L -o model.weights.h5 https://huggingface.co/zeromodels/levit-192/resolve/main/model.weights.h5
44.7 MB
- Xet hash:
- 1f0f5674cfeb278d0cb3de03f19c6a28413b78e935673030b846faacfda0df23
- Size of remote file:
- 44.7 MB
- SHA256:
- 95ead9403397738a327282e38442dc1ef65d1a269a7fe81be0eaaad4e37bf363
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.