Instructions to use zeromodels/beit-large-patch16-512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/beit-large-patch16-512 with ZeroModels:
# 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 zeromodels/beit-large-patch16-512 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/beit-large-patch16-512") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "zeromodels", | |
| "zeromodels_version": "1.2.7", | |
| "model_module": "zeromodels.models.beit", | |
| "model_class": "BeitImageClassify", | |
| "variant": "beit-large-patch16-512", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "model_type": "beit", | |
| "vision_config": { | |
| "hidden_size": 1024, | |
| "num_hidden_layers": 24, | |
| "num_attention_heads": 16, | |
| "intermediate_size": 4096, | |
| "image_size": 512, | |
| "patch_size": 16, | |
| "num_channels": 3, | |
| "layer_scale_init_value": 0.1, | |
| "layer_norm_eps": 1e-12, | |
| "num_classes": 1000, | |
| "out_indices": [ | |
| 3, | |
| 5, | |
| 7, | |
| 11 | |
| ], | |
| "pool_scales": [ | |
| 1, | |
| 2, | |
| 3, | |
| 6 | |
| ] | |
| } | |
| } |