WeVisOne-VL-4B
Overview
On-device vision-language model for image-conditioned generation, localization, counting, segmentation and matting on compatible Linux devices with NPU acceleration. Based on WeVisOne-VL-4B.
Demo recording
On-device walkthrough on QCS8550 (40 seconds). Runs all eight built-in vision-language tasks in sequence: object detection, referring localization, box/point counting, point localization, segmentation, free matting, and box-guided matting.
The model files use the AIDEM format and are loaded by the matching SDK in the Demo repository. The device needs Aidlux LMS (sudo lms check returns true); no separate QNN installation is required.
Download
First follow Install. Then, from the Demo root, download the shared files and one device target. The commands below use QCS8550; for another device, use the folder in the table below.
For a private model, run hf auth login first.
hf download APLUX-Pandora/WeVisOne-VL-4B --local-dir models --exclude "targets/*" --exclude "media/*" --exclude README.md --exclude .gitattributes
hf download APLUX-Pandora/WeVisOne-VL-4B --local-dir models --include "targets/qcs8550_qnn248/*"
| SoC | Target folder |
|---|---|
| QCS8550 | qcs8550_qnn248 |
| QCS9075 | qcs9075_qnn248 |
| QCS8625 | qcs8625_qnn248 |
| QCS8275 | qcs8275_qnn248 |
Demo and Python Usage
Complete Install and the download above, then follow Run the Web Demo. For Python, in the same environment:
from pandora_wevisone_vl_4b import LanguageModel
with LanguageModel.from_pretrained("models") as model:
messages = [{"role": "user", "content": [
{"type": "image", "image": "examples/assets/sample.png"},
{"type": "text", "text": "Describe this image."},
]}]
print(model.generate(messages).text)
License
Original model, tokenizer and configuration files keep their Tencent WeVisOne License rights. See NOTICE and LICENSES.
Model tree for APLUX-Pandora/WeVisOne-VL-4B
Base model
tencent/WeVisOne-VL-4B