Instructions to use zeromodels/mit_b2_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/mit_b2_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/mit_b2_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/mit_b2_in1k") - Notebooks
- Google Colab
- Kaggle
| { | |
| "library_name": "kerasformers", | |
| "kerasformers_version": "1.2.1", | |
| "model_module": "kerasformers.models.mit", | |
| "model_class": "MiTImageClassify", | |
| "variant": "mit_b2_in1k", | |
| "weights": "model.weights.h5", | |
| "schema_version": 2, | |
| "weight_dtype": "float32", | |
| "model_type": "mit", | |
| "vision_config": { | |
| "embed_dim": [ | |
| 64, | |
| 128, | |
| 320, | |
| 512 | |
| ], | |
| "depths": [ | |
| 3, | |
| 4, | |
| 6, | |
| 3 | |
| ], | |
| "image_size": 224, | |
| "num_classes": 1000 | |
| } | |
| } |