Image-Text-to-Text
Transformers
Safetensors
qwen3_5
vision-language-model
qwen3.5
pruned
conversational
Run this model with HF Jobs
Run qvac/VisionPsy2-490M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/qvac/VisionPsy2-490M. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs and Transformers to run batch inference with https://huggingface.co/qvac/VisionPsy2-490M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs and Lighteval to evaluate https://huggingface.co/qvac/VisionPsy2-490M. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/qvac/VisionPsy2-490M with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use qvac/VisionPsy2-490M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qvac/VisionPsy2-490M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="qvac/VisionPsy2-490M") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("qvac/VisionPsy2-490M") model = AutoModelForMultimodalLM.from_pretrained("qvac/VisionPsy2-490M", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use qvac/VisionPsy2-490M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "qvac/VisionPsy2-490M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qvac/VisionPsy2-490M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/qvac/VisionPsy2-490M
- SGLang
How to use qvac/VisionPsy2-490M 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 "qvac/VisionPsy2-490M" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qvac/VisionPsy2-490M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "qvac/VisionPsy2-490M" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "qvac/VisionPsy2-490M", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use qvac/VisionPsy2-490M with Docker Model Runner:
docker model run hf.co/qvac/VisionPsy2-490M
|
Download README.md from qvac/VisionPsy2-490M: direct link, hf CLI and curl.
- Browser
- Download file 21.2 kB
-
https://huggingface.co/qvac/VisionPsy2-490M/resolve/main/README.md
- Command line
-
hf download hf://qvac/VisionPsy2-490M/README.md
-
curl -L -o README.md https://huggingface.co/qvac/VisionPsy2-490M/resolve/main/README.md
21.2 kB
| license: apache-2.0 | |
| base_model: Qwen/Qwen3.5-0.8B | |
| pipeline_tag: image-text-to-text | |
| library_name: transformers | |
| tags: | |
| - vision-language-model | |
| - qwen3.5 | |
| - safetensors | |
| - pruned | |
| # VisionPsy2-490M | |
| VisionPsy2-490M is an ultra-efficient \~490M parameter vision-language model engineered specifically for extreme low-latency and resource-constrained edge hardware. Developed by **Tether AI Research** (Tether Data, S.A. de C.V.) and the **QVAC** ecosystem, VisionPsy2-490M is pruned from Qwen3.5-0.8B through a principled multi-stage pipeline: **progressive geometric depth pruning using the 2-Sign Test (24 → 20 → 18 → 16 layers)**, **MLP-only width pruning**, **structural vocabulary surgery**, and **staged logit and hidden-state distillation**. | |
| Despite operating below 0.5 billion parameters, VisionPsy2-490M establishes a dominant new state of the art in the sub-0.5B tier, capturing **the top score on 25 of 26 benchmarks** against its weight-class peers while outscoring multiple popular models of up to 2.3B parameters. | |
| - **Dominates the sub-0.5B cohort**: Top score on **25 of 26 public benchmarks** against similar-size edge models (LFM2.5-VL-450M, VisionPsy-Nano-460M v1, nanoVLM-460M-8k, and SmolVLM2-500M), trailing only ChartQA by an imperceptible 0.04 margin. | |
| - **Punches above its weight**: Scores **60.98** overall in our in-house evaluation, directly outperforming larger models of up to 2.3B parameters: OPPO's AndesVL-1B (60.20), Alibaba's Qwen3.5-0.8B (59.70), OpenGVLab's InternVL3.5-1B (58.90), Liquid AI's LFM2.5-VL-1.6B (58.74), Google's Gemma4-E2B-it (57.63), and Meta's Perception-LM-1B (54.08). | |
| - **Sub-1GB memory footprint**: Consumes only **776 MiB RAM (peak RSS)** on a Samsung Galaxy S26+ at 512×512, running comfortably on low-memory edge devices and consumer smartphones. | |
| - **Lightning mobile speed**: Achieves a **0.17s Time-to-First-Token (TTFT)** and **173.5 tok/s decode throughput** on iPhone 17 (and 120.5 tok/s on Galaxy S26+), delivering instantaneous interactive vision intelligence. | |
| ## Where VisionPsy2-490M Leads | |
| Normalized capability scores (0–100) across 26 vision-language benchmarks comparing VisionPsy2-490M against its direct sub-0.5B cohort: | |
| | Capability Area | Benchmarks Included | VisionPsy2-490M<br><sub>490M</sub> | LFM2.5-VL-450M<br><sub>450M</sub> | VisionPsy-Nano-460M v1<br><sub>460M</sub> | nanoVLM-460M-8k<br><sub>460M</sub> | SmolVLM2-500M<br><sub>500M</sub> | | |
| | :---- | :---- | :---: | :---: | :---: | :---: | :---: | | |
| | **Document & OCR** | TextVQA, DocVQA, InfoVQA, ChartQA, OCRBench, OCRBench v2, OmniDocBench, CC-OCR | **68.1** | 57.7 | 58.6 | 55.2 | 46.2 | | |
| | **Visual Perception** | MMBench v1.1, MME-P, SEEDBench, RealWorldQA, BLINK, MME-RealWorld, MUIRBench, MMIU | **61.5** | 49.6 | 48.2 | 44.0 | 44.2 | | |
| | **Reasoning & Knowledge** | MMStar, MME-C, MMMU, AI2D, ScienceQA, MathVista, MMVet, BabyVision | **51.9** | 42.2 | 44.8 | 38.2 | 38.8 | | |
| | **Instruction Following** | MM-IFEval, POPE (F1) | **67.6** | 64.6 | 65.8 | 51.3 | 46.7 | | |
| | **Overall Normalized Avg** | **Mean across all 26 public benchmarks** | **60.98** | **51.16** | **51.81** | **46.22** | **43.25** | | |
|  | |
| *Figure 1: Model size vs. overall benchmark score across 26 vision-language benchmarks. VisionPsy2 establishes an aggressive new Pareto frontier, expanding the green shaded envelope over prior architectures up to 4B.* | |
| ## Model Details | |
| | Property | Value | | |
| | :---- | :---- | | |
| | **Developed by** | [Tether AI Research](https://qvac.tether.io/models)\* | | |
| | **Base Architecture** | Pruned from Qwen3.5-0.8B | | |
| | **Parameters** | \~490M total (\~0.49B) | | |
| | **Layers** | 16 decoder layers (pruned from 24 via 2-Sign Test: 24 → 20 → 18 → 16) | | |
| | **Layer Structure** | Gated DeltaNet linear attention + full attention blocks | | |
| | **Width Pruning** | Intermediate MLP channels pruned; multi-head attention untouched | | |
| | **Vocabulary** | Pruned to Latin/ASCII/emoji/special tokens (\~594M → 490M params) | | |
| | **Vision Encoder** | Qwen3.5 native Vision Transformer (12 layers, patch 16×16, 768 hidden size) | | |
| | **Connector** | Spatial patch merger (2×2 spatial downsampling + 2-layer MLP projection: 3072 → 1024) | | |
| | **Context Length** | 131,072 tokens | | |
| | **Image Resolution** | Dynamic native resolution, 64–16,384 visual tokens per image | | |
| | **Precision** | bfloat16 (GGUF builds from BF16 to 4-bit available) | | |
| | **Code** | [tether-ai-research/qvac-visionpsy2](https://github.com/tether-ai-research/qvac-visionpsy2) (Transformers, vLLM and llama.cpp inference scripts) | | |
| | **GGUF builds** | [VisionPsy2-490M-GGUF](https://huggingface.co/qvac/VisionPsy2-490M-GGUF) (llama.cpp, QVAC SDK) | | |
| \* References to Tether AI Research are references to Tether Data, S.A. de C.V. | |
| ## Compression & Pruning Methodology | |
| VisionPsy2-490M was engineered using a three-tier compression protocol that removes parameter redundancies across depth, width, and vocabulary without destabilizing the residual stream: | |
| ```text | |
| Qwen3.5-0.8B (24L, Full Width, Full Vocab) | |
| │ | |
| ▼ [1. Progressive Depth Pruning via 2-Sign Test] | |
| Step 1: 24L ──> 20L (Drop 4 free layers) ──> Recovery (Logit KD) | |
| Step 2: 20L ──> 18L (Drop 2 free layers) ──> Recovery (Logit KD) | |
| Step 3: 18L ──> 16L (Drop 2 free layers) ──> Recovery (Logit KD) | |
| │ | |
| ▼ [2. MLP-Only Width Pruning] | |
| Retain Attention & GDN Heads; Compress intermediate MLP dimension | |
| (Taylor sensitivity channel pruning) ──> Hidden-State Distillation (HKD) | |
| │ | |
| ▼ [3. Structural Vocabulary Surgery] | |
| Excise non-Latin BPE tokens; Slice & gather tied embeddings | |
| (Shrinks 594M ──> 490M parameters with 0 English degradation) | |
| │ | |
| ▼ [4. Multimodal Supervised Fine-Tuning (SFT)] | |
| Final consolidation on decontaminated multimodal instruction mix | |
| │ | |
| VisionPsy2-490M (16L, Slimmed MLP, Compact Vocab) | |
| ``` | |
| ### 1. Progressive Depth Pruning via the 2-Sign Test (24 → 20 → 18 → 16 Layers) | |
| Traditional depth-pruning methods search for "idle" layers that change the residual stream the least. While large 3B–13B models contain many near-identity layers, capable sub-1B models have **less idle computation**: every layer actively transforms the representation, frequently acting in coupled "push-pull" pairs where one layer steps forward and the next corrects or restrains it. Excising a corrective layer unbalances the trajectory for all downstream blocks. | |
| In Pre-Norm decoders (LayerNorm/RMSNorm), each block updates the residual stream according to **hᵢ₊₁ = hᵢ + Δᵢ**, where the vector **Δᵢ** represents the directional update (the "step") contributed by layer *i*. Because normalization satisfies *N*(λ*h*) = *N*(*h*) for any positive scale λ > 0, subsequent blocks inspect only the **direction** of the stream (ĥᵢ = *h*ᵢ / ‖*h*ᵢ‖), never its length. | |
| Rather than measuring transformation size, our selection rule evaluates two parameter-free geometric conditions across visual tokens in a single forward pass: | |
| - **Test A (Trajectory Curvature & Reversal):** *Does layer i turn back against the step taken by layer i-1?* | |
| We measure the directional alignment between consecutive updates: **cos(Δᵢ₋₁, Δᵢ) < 0**. If consecutive updates share a heading (cos > 0), adjacent layers can absorb an excised block by simply lengthening their step. If an update points in opposition (cos < 0), the two layers act as an indivisible step-and-correction unit; deleting the correction leaves the prior step uncompensated for all downstream layers. | |
| - **Test B (Radial Stream Cancellation):** *Does layer i cancel information already accumulated in the stream?* | |
| Projecting an update along the normalized stream (**Δᵢ · ĥᵢ**) reveals whether it reinforces or subtracts accumulated features. When positive, the layer builds upon previous representations. When negative (r̄ᵢ < 0), the layer actively cancels features written by earlier layers or the vision encoder; removing it causes unwanted representations to persist through to the final readout. | |
| **Selection & Progressive Schedule:** | |
| Zero cosine is the natural, threshold-free boundary for both tests. Layers with zero violations (*v*ᵢ = 0) are designated **free layers**. They neither reverse their predecessor nor cancel accumulated stream content, making them safe to remove. When target pruning exceeds the free layer budget, candidate layers are ranked lexicographically by (*v*ᵢ, *b*ᵢ, -r̄ᵢ), where *b*ᵢ counts the Test B violations, prioritizing avoiding global stream cancellations over local step reversals. Calibration executes in a single forward pass over 2,000 samples with zero gradient computation. | |
| To allow the residual stream to adapt smoothly without representational shock, depth pruning is executed progressively in a stepped ladder: **24L → 20L → 18L → 16L**, fine-tuning at each intermediate rung before taking the next cut. | |
| ### 2. Width Pruning: MLP-Only Intermediate Compression | |
| To shrink parameter scale beyond depth pruning, we execute structured width pruning **strictly on the MLP intermediate dimensions**, keeping all multi-head attention and Gated DeltaNet linear-attention heads intact. | |
| - **Why MLP-Only**: The feed-forward MLP blocks contain over half (\~53%) of the decoder-layer parameters (3 × *d*<sub>intermediate</sub> × *d*<sub>hidden</sub> per layer). Pruning only the MLP intermediate neurons absorbs substantial parameter reduction while leaving attention routing and cross-token contextualization untouched. | |
| - Intermediate channels are scored using second-order Taylor expansion over task gradients and pruned uniformly across all 16 surviving layers. | |
| ### 3. Structural Vocabulary Surgery | |
| The base language tokenizer contains 248,320 byte-level BPE tokens, of which 104,064 are pure non-Latin tokens (CJK, Cyrillic, Arabic, Devanagari, Hangul), holding about 107 million parameters (\~18% of the 594M depth- and width-pruned model). | |
| - We classify every token by its Unicode script and retain all special tokens, digits, punctuation, whitespace, emoji, ASCII English, and Latin-extended tokens. | |
| - Pure non-Latin tokens are structurally pruned. The tied token embedding matrix is gathered and sliced, shrinking total parameters from \~594M to **490M** with zero degradation on multimodal English and reasoning tasks. | |
| ### 4. Recovery & Distillation Pipeline | |
| Recovery across the compression chain is staged to match each transformation: | |
| - **Depth Recovery (Logit-Level Distillation)**: At each progressive depth rung (24L → 20L → 18L → 16L), the student is trained against the full 24-layer parent using forward KL logit distillation (α = 0.5, τ = 2.0) on assistant tokens: | |
| ℒ<sub>depth</sub> = (1 - α) ℒ<sub>CE</sub> + α τ² D<sub>KL</sub>( p<sub>teacher</sub><sup>τ</sup> ‖ p<sub>student</sub><sup>τ</sup> ) | |
| - **Width Recovery (Hidden-State Distillation)**: During MLP intermediate compression on the 16-layer model, student and teacher have identical depth and hidden dimensionality. Recovery uses layer-by-layer hidden-state distillation (HKD) with RMS normalization to match intermediate representations directly to the 16L parent. | |
| - **Final Multimodal SFT**: Following vocabulary surgery, the checkpoint undergoes a final supervised fine-tuning epoch on the decontaminated multimodal mixture to consolidate vision-text alignment and dense OCR capabilities. | |
| ## Comprehensive 26-Benchmark Evaluation | |
| All models were evaluated in-house using the same standardized VLMEvalKit harness in non-thinking mode to ensure rigorous, reproducible comparisons. Scoring follows official benchmark metrics (POPE = F1; MM-IFEval = strict instruction-following accuracy; OCRBench = /1000; OmniDocBench = 100 × (1 - edit distance); MME-P = /20; MME-C = /8; percentages otherwise). Free-form open-ended answers are evaluated with an LLM judge (Qwen3.6-27B). | |
| ### In-Class Sweep: Sub-0.5B Cohort (Top Score on 25 of 26 Benchmarks) | |
| Bold indicates the best score across the \~0.45B–0.5B weight class: | |
| | Benchmark | Category | VisionPsy2-490M<br><sub>490M</sub> | LFM2.5-VL-450M<br><sub>450M</sub> | VisionPsy-Nano-460M v1<br><sub>460M</sub> | nanoVLM-460M-8k<br><sub>460M</sub> | SmolVLM2-500M<br><sub>500M</sub> | Lead over Next Best | | |
| | :---- | :---- | :---: | :---: | :---: | :---: | :---: | :---: | | |
| | **DocVQA** | Document & OCR | **92.26** | 82.73 | 85.74 | 82.24 | 74.67 | **+6.52** | | |
| | **TextVQA** | Document & OCR | **84.30** | 78.60 | 79.32 | 74.34 | 71.34 | **+4.98** | | |
| | **ChartQA** | Document & OCR | 78.60 | 76.64 | **78.64** | 70.40 | 64.92 | -0.04 | | |
| | **OCRBench** | Document & OCR | **80.00** | 70.80 | 76.20 | 74.30 | 62.00 | **+3.80** | | |
| | **OCRBench v2** | Document & OCR | **42.45** | 27.87 | 27.23 | 23.90 | 20.63 | **+14.58** | | |
| | **OmniDocBench** | Document & OCR | **51.40** | 45.00 | 35.10 | 38.80 | 16.80 | **+6.40** | | |
| | **InfoVQA** | Document & OCR | **67.44** | 48.84 | 49.91 | 46.05 | 39.09 | **+17.53** | | |
| | **CC-OCR** | Document & OCR | **48.72** | 31.25 | 36.64 | 31.57 | 19.78 | **+12.08** | | |
| | **MME Perception** | Visual Perception | **70.24** | 59.78 | 62.64 | 59.04 | 60.88 | **+7.60** | | |
| | **SEEDBench** | Visual Perception | **74.17** | 67.50 | 69.18 | 64.31 | 62.13 | **+4.99** | | |
| | **MMBench v1.1** | Visual Perception | **71.36** | 56.81 | 62.15 | 53.02 | 51.39 | **+9.21** | | |
| | **RealWorldQA** | Visual Perception | **68.63** | 58.95 | 60.00 | 51.90 | 50.07 | **+8.63** | | |
| | **BLINK** | Visual Perception | **49.50** | 43.35 | 41.45 | 40.61 | 40.98 | **+6.15** | | |
| | **MME-RealWorld** | Visual Perception | **59.79** | 40.73 | 39.22 | 30.36 | 35.20 | **+19.06** | | |
| | **MUIRBench** | Visual Perception | **55.81** | 33.04 | 25.04 | 28.27 | 28.92 | **+22.77** | | |
| | **MMIU** | Visual Perception | **42.36** | 36.44 | 26.17 | 24.16 | 23.98 | **+5.92** | | |
| | **ScienceQA** | Reasoning & Knowledge | **86.47** | 77.74 | 86.42 | 76.75 | 76.35 | **+0.05** | | |
| | **MathVista** | Reasoning & Knowledge | **58.00** | 42.20 | 48.90 | 33.10 | 38.50 | **+9.10** | | |
| | **AI2D** | Reasoning & Knowledge | **74.68** | 62.21 | 66.45 | 55.34 | 57.32 | **+8.23** | | |
| | **MMStar** | Reasoning & Knowledge | **54.40** | 42.73 | 47.67 | 37.00 | 38.33 | **+6.73** | | |
| | **MMMU** | Reasoning & Knowledge | **32.33** | 30.67 | 31.44 | 31.33 | 31.56 | **+0.77** | | |
| | **MME Cognition** | Reasoning & Knowledge | **56.03** | 32.23 | 35.94 | 32.63 | 29.69 | **+20.09** | | |
| | **MMVet** | Reasoning & Knowledge | **40.14** | 36.28 | 32.16 | 28.53 | 28.58 | **+3.86** | | |
| | **BabyVision** | Reasoning & Knowledge | **13.40** | **13.40** | 9.28 | 10.82 | 10.05 | **+0.00** | | |
| | **MM-IFEval** | Instruction Following | **47.14** | 42.56 | 43.61 | 19.84 | 10.71 | **+3.53** | | |
| | **POPE (F1)** | Instruction Following | **88.05** | 86.55 | 88.01 | 82.69 | 82.67 | **+0.04** | | |
| | **Overall Average** | **26 Benchmarks** | **60.98** | **51.16** | **51.81** | **46.22** | **43.25** | **+9.17** | | |
| ## On-Device Hardware Efficiency | |
|  | |
| *Figure 2: Time to answer (first token + 128 output tokens) vs. overall benchmark score on Samsung Galaxy S26+ (512×512 resolution). VisionPsy2-490M answers faster than Qwen3.5-0.8B while surpassing it in accuracy.* | |
| Measurements conducted on physical production devices using 4-bit (Q4_0) GGUF builds at 512×512 and 2048×1024 input resolution: | |
| | Device | TTFT<br><sub>512×512</sub> | TTFT<br><sub>2048×1024</sub> | Decode Throughput | Peak RAM<br><sub>RSS, 512</sub> | Peak RAM<br><sub>RSS, 2048</sub> | | |
| | :---- | :---: | :---: | :---: | :---: | :---: | | |
| | **Apple iPhone 17 (GPU)** | **0.17 s** | **2.37 s** | **173.5 tok/s** | **520 MiB** | **680 MiB** | | |
| | **Samsung Galaxy S26+ (GPU)** | **1.86 s** | **31.25 s** | **120.5 tok/s** | **776 MiB** | **998 MiB** | | |
| | **Google Pixel 11 Pro (GPU)** | **2.08 s** | **34.71 s** | **107.0 tok/s** | **832 MiB** | **1,045 MiB** | | |
| ## Usage | |
| VisionPsy2-490M is a stock `Qwen3_5ForConditionalGeneration` checkpoint and loads directly with Hugging Face Transformers, with no `trust_remote_code`. Requires Python ≥ 3.10, `transformers>=5.9`, PyTorch ≥ 2.4 and `torchvision` (needed by the Qwen3.5 image processor). | |
| ```python | |
| import torch | |
| from transformers import AutoModelForImageTextToText, AutoProcessor | |
| model_id = "qvac/VisionPsy2-490M" | |
| processor = AutoProcessor.from_pretrained(model_id) | |
| model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto") | |
| messages = [{"role": "user", "content": [ | |
| {"type": "image", "url": "sample_receipt.jpg"}, # local path or http(s) URL of your image | |
| {"type": "text", "text": "Extract the store name, transaction date, and total amount in JSON."}, | |
| ]}] | |
| inputs = processor.apply_chat_template( | |
| messages, add_generation_prompt=True, tokenize=True, return_dict=True, | |
| return_tensors="pt", enable_thinking=False, | |
| ).to(model.device) | |
| out = model.generate(**inputs, max_new_tokens=128, do_sample=False) | |
| print(processor.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True)) | |
| ``` | |
| Put the image **before** the text in the user message and keep `enable_thinking=False` (non-thinking mode, also the template default). Ready-to-run scripts for Transformers, vLLM and llama.cpp are available in the [VisionPsy2 GitHub repository](https://github.com/tether-ai-research/qvac-visionpsy2). For llama.cpp and the [QVAC SDK](https://github.com/tetherto/qvac), use the [VisionPsy2-490M-GGUF](https://huggingface.co/qvac/VisionPsy2-490M-GGUF) builds. | |
| ## Intended Use | |
| VisionPsy2 models are released for research and educational exploration into efficient edge vision-language systems. They are intended to help researchers and students investigate on-device multimodal tasks under tight hardware budgets, including local visual question answering, camera-based assistive perception, dense document and chart understanding, and private edge robotics. | |
| ## Limitations | |
| - Vocabulary surgery excises non-Latin scripts (CJK, Arabic, Cyrillic, Devanagari, Hangul). For non-Latin multilingual deployments, use VisionPsy2-850M instead. | |
| - While competitive with 1B+ models, complex long-form mathematical theorem proving or multi-page PDF reasoning is better handled by larger models. | |
| ## Acknowledgements | |
| Built on the excellent open-source work of [Qwen3.5](https://huggingface.co/Qwen/Qwen3.5-0.8B), [llama.cpp](https://github.com/ggml-org/llama.cpp) and [VLMEvalKit](https://github.com/open-compass/vlmevalkit). | |
| ## Citation | |
| ```bibtex | |
| @misc{visionpsy2_490m_2026, | |
| title = {VisionPsy2: Pushing the Sub-1B Frontier for On-Device VLMs}, | |
| author = {{Tether Data, S.A. de C.V. dba Tether AI Research}}, | |
| year = {2026}, | |
| note = {Hugging Face Model Card: qvac/VisionPsy2-490M} | |
| } | |
| ``` | |
| ## Copyright Complaints | |
| We will take appropriate actions in response to notices of copyright infringement. If you believe your work has been used or copied in a manner that infringes upon your intellectual property rights, please email data-apps@tether.io identifying and describing both the copyrighted work and alleged infringing content. | |
| ## Licensing Information | |
| This model which was trained as described in the [blog post](https://huggingface.co/blog/qvac/visionpsy2-blog) is licensed by Tether Data, S.A. de C.V. under the [Apache 2.0](https://huggingface.co/datasets/choosealicense/licenses/blob/main/markdown/apache-2.0.md) license. As described in the blog post, this model is a version of the [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B) model which is licensed under the [Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) license. | |
| As described in the blog post this model was fine-tuned using the [Qwen3.5-2B](https://huggingface.co/Qwen/Qwen3.5-2B) model, which is licensed under the [Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) license and the [Qwen3.6-27B](https://huggingface.co/Qwen/Qwen3.6-27B) model, which is made available under the [Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) license. | |
| As described in the blog post the model was fine tuned using the following datasets: NVIDIA's [Nemotron-Image-Training-v3](https://huggingface.co/datasets/nvidia/Nemotron-Image-Training-v3) dataset made available under the [CC-BY 4.0](https://choosealicense.com/licenses/cc-by-4.0/) (Creative Commons Attribution 4.0 International) license, a subset of the [FineVision](https://huggingface.co/datasets/HuggingFaceM4/FineVision) dataset made available under the [CC-BY-4.0](https://choosealicense.com/licenses/cc-by-4.0/) (Creative Commons Attribution 4.0 International) license, and the [MMIF-23k](https://huggingface.co/datasets/ChrisDing1105/MMIF-23k) dataset which is made available under the [Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) license. | |
| The FineVision dataset is an aggregation of a number of public sources unified into a single corpus. Individual subsets within the collection may inherit specific underlying terms from their original creators. As described in the blog post, a subset of the FineVision dataset was used as a part of fine tuning the model. | |