Image-Text-to-Text
ONNX

WeVisOne-VL-4B

Hugging Face: WeVisOne-VL-4B GitHub: 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)

Python API ยท Examples

License

Original model, tokenizer and configuration files keep their Tencent WeVisOne License rights. See NOTICE and LICENSES.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for APLUX-Pandora/WeVisOne-VL-4B

Quantized
(10)
this model