Instructions to use zeromodels/deit_base_patch16_384_fb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KerasFormers
How to use zeromodels/deit_base_patch16_384_fb_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/deit_base_patch16_384_fb_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/deit_base_patch16_384_fb_in1k") - Notebooks
- Google Colab
- Kaggle
Upgrade kf_config.json to v2 (nested config + weight_dtype)
Browse files- kf_config.json +1 -1
kf_config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"variant": "deit_base_patch16_384_fb_in1k",
|
| 7 |
"weights": "model.weights.h5",
|
| 8 |
"schema_version": 2,
|
| 9 |
-
"
|
| 10 |
"model_type": "deit",
|
| 11 |
"vision_config": {
|
| 12 |
"patch_size": 16,
|
|
|
|
| 6 |
"variant": "deit_base_patch16_384_fb_in1k",
|
| 7 |
"weights": "model.weights.h5",
|
| 8 |
"schema_version": 2,
|
| 9 |
+
"weight_dtype": "float32",
|
| 10 |
"model_type": "deit",
|
| 11 |
"vision_config": {
|
| 12 |
"patch_size": 16,
|