Instructions to use kerasformers/owlvit-large-patch14 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use kerasformers/owlvit-large-patch14 with KerasFormers:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Keras
How to use kerasformers/owlvit-large-patch14 with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://kerasformers/owlvit-large-patch14") - Notebooks
- Google Colab
- Kaggle
File size: 665 Bytes
61bb012 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {
"library_name": "kerasformers",
"kerasformers_version": "1.1.3",
"model_module": "kerasformers.models.owlvit",
"model_class": "OwlViTDetect",
"variant": "owlvit-large-patch14",
"weights": "model.weights.h5",
"model_type": "owlvit",
"vision_image_size": 840,
"vision_patch_size": 14,
"vision_hidden_dim": 1024,
"vision_intermediate_size": 4096,
"vision_num_layers": 24,
"vision_num_heads": 16,
"text_hidden_dim": 768,
"text_intermediate_size": 3072,
"text_num_heads": 16,
"projection_dim": 768,
"text_num_layers": 12,
"text_max_position_embeddings": 16,
"text_vocab_size": 49408,
"image_size": null
} |