How to use keras/clip_vit_base_patch16 with KerasHub:
import keras_hub # Create a Backbone model unspecialized for any task backbone = keras_hub.models.Backbone.from_preset("hf://keras/clip_vit_base_patch16")
How to use keras/clip_vit_base_patch16 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://keras/clip_vit_base_patch16")
The community tab is the place to discuss and collaborate with the HF community!