Instructions to use zeromodels/deepseek_vl_7b_chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ZeroModels
How to use zeromodels/deepseek_vl_7b_chat with ZeroModels:
# pip install -U zeromodels # ZeroModels is pure Keras 3, so pick a backend: "jax", "torch" or "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" from zeromodels import AutoZModel # AutoZModel reads the repo's model_type and loads the matching class. # For a task head use the matching loader, e.g. AutoZMImageClassify / AutoZMDetect / # AutoZMSemanticSegment / AutoZMTextGenerate (see zeromodels.auto). model = AutoZModel.from_weights("zeromodels/deepseek_vl_7b_chat") - Keras
How to use zeromodels/deepseek_vl_7b_chat with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://zeromodels/deepseek_vl_7b_chat") - Notebooks
- Google Colab
- Kaggle
Migrate to zeromodels (rename kf_*.json -> zm_*.json, fix refs in config + README, ensure tag + badge)
65e4bb8 verified Download zm_config.json from zeromodels/deepseek_vl_7b_chat: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/zeromodels/deepseek_vl_7b_chat/resolve/main/zm_config.json
- Command line
-
hf download hf://zeromodels/deepseek_vl_7b_chat/zm_config.json
-
curl -L -o zm_config.json https://huggingface.co/zeromodels/deepseek_vl_7b_chat/resolve/main/zm_config.json
1.1 kB
| { | |
| "library_name": "zeromodels", | |
| "zeromodels_version": "1.2.1", | |
| "model_module": "zeromodels.models.deepseek_vl_hybrid", | |
| "model_class": "DeepseekVLHybridModel", | |
| "variant": "deepseek_vl_7b_chat", | |
| "weights": "model.weights.json", | |
| "schema_version": 2, | |
| "weight_dtype": "float16", | |
| "model_type": "deepseek_vl_hybrid", | |
| "text_config": { | |
| "vocab_size": 102400, | |
| "embed_dim": 4096, | |
| "mlp_dim": 11008, | |
| "num_layers": 30, | |
| "num_heads": 32, | |
| "num_kv_heads": 32, | |
| "head_dim": 128, | |
| "norm_eps": 1e-06, | |
| "rope_theta": 10000.0, | |
| "tie_embeddings": false | |
| }, | |
| "vision_config": { | |
| "embed_dim": 1024, | |
| "mlp_dim": 4096, | |
| "num_layers": 24, | |
| "num_heads": 16, | |
| "norm_eps": 1e-06, | |
| "image_size": 384, | |
| "patch_size": 16 | |
| }, | |
| "high_res_config": { | |
| "embed_dim": 768, | |
| "mlp_dim": 3072, | |
| "num_layers": 12, | |
| "num_heads": 12, | |
| "image_size": 1024, | |
| "patch_size": 16, | |
| "output_channels": 256, | |
| "window_size": 14, | |
| "global_attn_indexes": [ | |
| 2, | |
| 5, | |
| 8, | |
| 11 | |
| ], | |
| "norm_eps": 1e-06 | |
| }, | |
| "image_token_id": 100015 | |
| } |