Image-Text-to-Text
Transformers
multimodal
vision-language
deepseek
deepseek-v4
screenshots
adapter
dgx-spark
Instructions to use FlyCockpit/DeepSeek-V4-Flash-0731-vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FlyCockpit/DeepSeek-V4-Flash-0731-vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="FlyCockpit/DeepSeek-V4-Flash-0731-vision")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FlyCockpit/DeepSeek-V4-Flash-0731-vision", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FlyCockpit/DeepSeek-V4-Flash-0731-vision with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FlyCockpit/DeepSeek-V4-Flash-0731-vision" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FlyCockpit/DeepSeek-V4-Flash-0731-vision", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FlyCockpit/DeepSeek-V4-Flash-0731-vision
- SGLang
How to use FlyCockpit/DeepSeek-V4-Flash-0731-vision with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "FlyCockpit/DeepSeek-V4-Flash-0731-vision" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FlyCockpit/DeepSeek-V4-Flash-0731-vision", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "FlyCockpit/DeepSeek-V4-Flash-0731-vision" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FlyCockpit/DeepSeek-V4-Flash-0731-vision", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FlyCockpit/DeepSeek-V4-Flash-0731-vision with Docker Model Runner:
docker model run hf.co/FlyCockpit/DeepSeek-V4-Flash-0731-vision
Fix HF markdown strikethrough from approximate ~ sizes
Browse files
README.md
CHANGED
|
@@ -21,8 +21,8 @@ pipeline_tag: image-text-to-text
|
|
| 21 |
<a href="https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731">DeepSeek-V4-Flash-0731</a>.
|
| 22 |
</p>
|
| 23 |
|
| 24 |
-
This repo is **only the vision stack** (
|
| 25 |
-
itself is still the upstream 0731 FP8 checkpoint (
|
| 26 |
|
| 27 |
```text
|
| 28 |
image β DeepEncoderV2 tower β projector β splice at token 129279
|
|
@@ -54,16 +54,16 @@ hf download FlyCockpit/DeepSeek-V4-Flash-0731-vision \
|
|
| 54 |
|
| 55 |
| path | what | size | md5 |
|
| 56 |
|---|---|---:|---|
|
| 57 |
-
| `adapter/latest.pt` | **use this** β final projector | 40
|
| 58 |
-
| `adapter/merged-004800-5af0c5.pt` | same bytes (named by step) | 40
|
| 59 |
-
| `tower/deepencoder_v2_tower.safetensors` | frozen image tower | 865
|
| 60 |
| `config.json` | release metadata | tiny | β |
|
| 61 |
|
| 62 |
Final training step: **4800**. Layout: **tiles=2** (257 / 769 / 1281 image tokens).
|
| 63 |
|
| 64 |
---
|
| 65 |
|
| 66 |
-
## What it
|
| 67 |
|
| 68 |
| Strength | Notes |
|
| 69 |
|---|---|
|
|
@@ -73,14 +73,14 @@ Final training step: **4800**. Layout: **tiles=2** (257 / 769 / 1281 image token
|
|
| 73 |
| Click agents on arbitrary real UIs | **Not claimed** β see below |
|
| 74 |
|
| 75 |
Synthetic GUI coordinate probes pass; real-page computer-use does **not**
|
| 76 |
-
transfer cleanly yet. Full write-up lives in the playbook
|
| 77 |
[capabilities doc](https://github.com/FlyCockpit/DeepSeek-V4-Vision-2x-DGX-Sparks/blob/main/docs/CAPABILITIES.md).
|
| 78 |
|
| 79 |
---
|
| 80 |
|
| 81 |
## Compatibility (important)
|
| 82 |
|
| 83 |
-
This encoder maps into **0731
|
| 84 |
|
| 85 |
| base weights | works? |
|
| 86 |
|---|---|
|
|
|
|
| 21 |
<a href="https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-0731">DeepSeek-V4-Flash-0731</a>.
|
| 22 |
</p>
|
| 23 |
|
| 24 |
+
This repo is **only the vision stack** (about 900 MB total). The language model
|
| 25 |
+
itself is still the upstream 0731 FP8 checkpoint (about 167 GB).
|
| 26 |
|
| 27 |
```text
|
| 28 |
image β DeepEncoderV2 tower β projector β splice at token 129279
|
|
|
|
| 54 |
|
| 55 |
| path | what | size | md5 |
|
| 56 |
|---|---|---:|---|
|
| 57 |
+
| `adapter/latest.pt` | **use this** β final projector | 40 MB | `d9b3b3bda8f790ecf7cd5a98e6fb93a5` |
|
| 58 |
+
| `adapter/merged-004800-5af0c5.pt` | same bytes (named by step) | 40 MB | `d9b3b3bda8f790ecf7cd5a98e6fb93a5` |
|
| 59 |
+
| `tower/deepencoder_v2_tower.safetensors` | frozen image tower | 865 MB | `2d5dba626d816cc367d28b32e744830e` |
|
| 60 |
| `config.json` | release metadata | tiny | β |
|
| 61 |
|
| 62 |
Final training step: **4800**. Layout: **tiles=2** (257 / 769 / 1281 image tokens).
|
| 63 |
|
| 64 |
---
|
| 65 |
|
| 66 |
+
## What it's for
|
| 67 |
|
| 68 |
| Strength | Notes |
|
| 69 |
|---|---|
|
|
|
|
| 73 |
| Click agents on arbitrary real UIs | **Not claimed** β see below |
|
| 74 |
|
| 75 |
Synthetic GUI coordinate probes pass; real-page computer-use does **not**
|
| 76 |
+
transfer cleanly yet. Full write-up lives in the playbook's
|
| 77 |
[capabilities doc](https://github.com/FlyCockpit/DeepSeek-V4-Vision-2x-DGX-Sparks/blob/main/docs/CAPABILITIES.md).
|
| 78 |
|
| 79 |
---
|
| 80 |
|
| 81 |
## Compatibility (important)
|
| 82 |
|
| 83 |
+
This encoder maps into **0731's embedding space**.
|
| 84 |
|
| 85 |
| base weights | works? |
|
| 86 |
|---|---|
|