Instructions to use zeromodels/metaclip2_worldwide_b32_224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/metaclip2_worldwide_b32_224 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/metaclip2_worldwide_b32_224") - Keras
How to use zeromodels/metaclip2_worldwide_b32_224 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/metaclip2_worldwide_b32_224") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 08617ca7a328f7c1473b800d3f3ec2f0a7390a93b7cc8386120a40bd84dc81c0
- Size of remote file:
- 61.3 MB
- SHA256:
- f9b777521f1113c9a64cdbd2bccbc890c17d7b4d451777cd67839cd45760da83
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.