Downloads · 30 days
12
12% of all-time downloads
zeromodels/deepseek_vl_7b_base
deepseek_vl_7b_base is a image-text-to-text model from zeromodels. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for zeromodels. The card lists the license as other.
[](https://github.com/IMvision12/ZeroModels) [](https://imvision12.github.io/ZeroModels/deepseekvlhybrid/) [](https://huggingface.co/collections/zeromodels/deepseek-vl-6a8eae46513968553cfd826d)
Downloads · 30 days
12
12% of all-time downloads
All-time downloads
102
Public
Repo size
13.8 GB
Likes
0
Public
Click a slice to open those files.
.h513.8 GB · 100%
From the Hugging Face model README
Paper: DeepSeek-VL: Towards Real-World Vision-Language Understanding (arXiv:2403.05525) · HF Papers
DeepSeek-VL 7B hybrid uses a dual vision tower (SigLIP @384 + SAM-style @1024) and a 3-way aligner for finer detail and small text. Import from zeromodels.models.deepseek_vl_hybrid (not deepseek_vl).
For more details on the model, please go to the upstream model card.
Pure-Keras 3 conversion of deepseek-ai/deepseek-vl-7b-base for zeromodels. One implementation runs unmodified on TensorFlow / Torch / JAX.
This is a vision-language (base) checkpoint (DeepseekVLHybridConditionalGenerate, 7B base (SigLIP + SAM hybrid)).
import os
os.environ["KERAS_BACKEND"] = "torch" # or "jax" / "tensorflow"
from PIL import Image
from zeromodels.models.deepseek_vl_hybrid import (
DeepseekVLHybridConditionalGenerate,
DeepseekVLHybridProcessor,
)
model = DeepseekVLHybridConditionalGenerate.from_weights("zeromodels/deepseek_vl_7b_base")
processor = DeepseekVLHybridProcessor.from_weights("zeromodels/deepseek_vl_7b_base")
image = Image.open("your_image.jpg")
inputs = processor(
conversation=[
{
"role": "user",
"content": [
{"type": "image", "image": image},
{"type": "text", "text": "Describe this image in one sentence."},
],
}
]
)
outputs = model.generate(**inputs, max_new_tokens=64)
print(processor.decode(outputs[0]))
Load any DeepSeek-VL variant the same way with from_weights("zeromodels/<variant>"):
| Variant | Hub | Notes |
|---|---|---|
deepseek_vl_1.3b_base | zeromodels/deepseek_vl_1.3b_base | 1.3B base |
deepseek_vl_1.3b_chat | zeromodels/deepseek_vl_1.3b_chat | 1.3B chat |
deepseek_vl_7b_base | zeromodels/deepseek_vl_7b_base | 7B hybrid base |
deepseek_vl_7b_chat | zeromodels/deepseek_vl_7b_chat | 7B hybrid chat |
KERAS_BACKEND before importing Keras / zeromodels.Processor.from_weights(...) so vision + tokenizer match.hf: prefix, e.g. DeepseekVLHybridConditionalGenerate.from_weights("hf:deepseek-ai/deepseek-vl-7b-base").A huge thank you to the DeepSeek-VL authors for creating and releasing these models.
License: DeepSeek (other / deepseek). See LICENSE.