Instructions to use zeromodels/levit-128S with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/levit-128S 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-128S") - Keras
How to use zeromodels/levit-128S with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/levit-128S") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 9edad3869873b967c40170fd1f3206b246043bf695032da1d210fd6ff0d79f8e
- Size of remote file:
- 31.8 MB
- SHA256:
- 270469c7b9af634f3764cf2e768f3389ccdad9346fd92a88078a5159fd54015f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.