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:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://zeromodels/levit-192") - Notebooks
- Google Colab
- Kaggle
- 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.