Instructions to use zeromodels/dinov2-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/dinov2-large 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/dinov2-large") - Keras
How to use zeromodels/dinov2-large 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/dinov2-large") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Fix HUB-01: remove legacy DINO normalization metadata
Verified signature4e27b2f
-
Fix Collection badge link to the current zeromodels collection slug
Verified signature8199280 -
Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge)
Verified signature9bbcf93
-
Add use_swiglu to config; add giant to variant table
Verified signature6aea203 -
Add use_swiglu to config; add giant to variant table
Verified signature5921f12 -
Rename to official model id; sync variant + links
Verified signatureef5cb88 -
Rename to official model id; sync variant + links
Verified signature6ab6b79 -
Rename to official model id; sync variant + links
Verified signature1d93ca4 -
Add kf_preprocessor.json; load processor via from_weights
Verified signature8d6fe5e
-
Upgrade kf_config.json to v2 (nested config + weight_dtype)
Verified signaturee6904b1 -
Upgrade kf_config.json to v2 (nested config + dtype)
Verified signature034cc41
-
fix readme.md
Verified signature2ad62ba -
fix readme.md
Verified signature5f70e82
-
Upload kf_config.json with huggingface_hub
Verified signature3bbd3a0 -
Upload README.md with huggingface_hub
Verified signature2fa4fed -
Upload README.md with huggingface_hub
Verified signature126c9cf
-
Upload folder using huggingface_hub
Verified signature9944291 -
initial commit
Verified signaturef9a2fe9