Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- Qwen/Qwen3.5-9B
|
| 5 |
+
pipeline_tag: question-answering
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Code-as-World-VL-9B
|
| 9 |
+
|
| 10 |
+
Code-as-World-VL-9B is a vision-language model fine-tuned for physical
|
| 11 |
+
understanding and quantitative reasoning over videos.
|
| 12 |
+
|
| 13 |
+
## Model details
|
| 14 |
+
|
| 15 |
+
- **Base model:** [Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B)
|
| 16 |
+
- **Weight format:** BF16 Safetensors checkpoint
|
| 17 |
+
- **Recommended video input:** 16 frames
|
| 18 |
+
|
| 19 |
+
## Usage
|
| 20 |
+
|
| 21 |
+
The checkpoint can be served with vLLM:
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
pip install "vllm==0.19.1" "transformers==5.11.0" qwen-vl-utils
|
| 25 |
+
|
| 26 |
+
vllm serve MirroS-Lab/Code-as-World-VL-9B \
|
| 27 |
+
--served-model-name code-as-world-9b \
|
| 28 |
+
--max-model-len 4608 \
|
| 29 |
+
--gpu-memory-utilization 0.90 \
|
| 30 |
+
--media-io-kwargs '{"video":{"num_frames":16,"fps":-1,"video_backend":"openpangu"}}' \
|
| 31 |
+
--mm-processor-kwargs '{"do_sample_frames":false}' \
|
| 32 |
+
--mm-processor-cache-gb 0 \
|
| 33 |
+
--generation-config vllm
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
The server exposes an OpenAI-compatible API at `/v1`.
|
| 37 |
+
|
| 38 |
+
## Intended use
|
| 39 |
+
|
| 40 |
+
This model is intended for research on physical understanding, measurement, and
|
| 41 |
+
quantitative reasoning from images and videos. Model outputs may be inaccurate and
|
| 42 |
+
should be independently verified before use in safety-critical settings.
|
| 43 |
+
|
| 44 |
+
## License
|
| 45 |
+
|
| 46 |
+
This checkpoint is released under the Apache License 2.0. It is derived from
|
| 47 |
+
[Qwen/Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B); users must also comply
|
| 48 |
+
with the terms applicable to the base model and their input data.
|