Instructions to use zeromodels/nextvit_base_bd_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/nextvit_base_bd_in1k 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 zeromodels/nextvit_base_bd_in1k 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/nextvit_base_bd_in1k") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "kerasformers", | |
| "kerasformers_version": "1.2.1", | |
| "model_module": "kerasformers.models.nextvit", | |
| "model_class": "NextViTImageClassify", | |
| "variant": "nextvit_base_bd_in1k", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "weight_dtype": "float32", | |
| "model_type": "nextvit", | |
| "vision_config": { | |
| "depths": [ | |
| 3, | |
| 4, | |
| 20, | |
| 3 | |
| ], | |
| "stem_chs": [ | |
| 64, | |
| 32, | |
| 64 | |
| ], | |
| "head_dim": 32, | |
| "mix_block_ratio": 0.75, | |
| "sr_ratios": [ | |
| 8, | |
| 4, | |
| 2, | |
| 1 | |
| ], | |
| "drop_path_rate": 0.1, | |
| "image_size": 224, | |
| "num_classes": 1000 | |
| } | |
| } |