Instructions to use adriandj3/Liquid-Fusion-VL-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use adriandj3/Liquid-Fusion-VL-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="adriandj3/Liquid-Fusion-VL-2B", trust_remote_code=True) 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("adriandj3/Liquid-Fusion-VL-2B", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("adriandj3/Liquid-Fusion-VL-2B", trust_remote_code=True, 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 adriandj3/Liquid-Fusion-VL-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "adriandj3/Liquid-Fusion-VL-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "adriandj3/Liquid-Fusion-VL-2B", "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/adriandj3/Liquid-Fusion-VL-2B
- SGLang
How to use adriandj3/Liquid-Fusion-VL-2B 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 "adriandj3/Liquid-Fusion-VL-2B" \ --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": "adriandj3/Liquid-Fusion-VL-2B", "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 "adriandj3/Liquid-Fusion-VL-2B" \ --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": "adriandj3/Liquid-Fusion-VL-2B", "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 adriandj3/Liquid-Fusion-VL-2B with Docker Model Runner:
docker model run hf.co/adriandj3/Liquid-Fusion-VL-2B
Liquid Fusion VL 2B
by Adrian Ciprian Iancu ยท GitHub ArtyomITA ยท Hugging Face adriandj3 ยท YouTube @artyomadriandj3 ยท Instagram and TikTok @artyomita
Pound for pound, the most complete small model you can run today.
The only 2B vision model on the podium in all 10 benchmarks I compared: 5 first places, 4 seconds, 1 third. It reads, sees, clicks on real screens, calls tools and reasons, all in one 2B model that runs at over 100 tokens per second on an 8-year-old GTX 1080.
| ๐ฅ 67.1 tool calling (BFCL V4) | ๐ฅ 96.1 clicking on screens (ScreenSpot-v2 desktop) | ๐ฅ 62.3 strict instructions (IFBench) |
| 89.5 vs 15.5 parallel tool calls, against its own vision parent | 82.8 visual math (MathVista), above GPT-5.6 Luna's 76.9 | 66.0 multi-turn tool use, behind only Claude Sonnet 4.5 among the models compared |
Two Liquid models in, one model out. Liquid AI released a text model, LFM3-1.7B, and a vision model, LFM3-VL-2B. Small vision models usually lose the text skills, small text models cannot see. I fused the two into a single 2B model and repaired the fusion with both parents as teachers, so it keeps both. This is v1, the first repair release; v2 is on the way.
GGUF for llama.cpp, LM Studio and Ollama: adriandj3/Liquid-Fusion-VL-2B-GGUF
Highlights
- On the podium in all 10 benchmarks of the 2B vision class: 5 first places, 4 seconds, 1 third. No other 2B vision model in the comparison has a podium on all ten (in some rows only two or three rivals publish a score; details in the figure). Even against vision models up to 4B it is still first in tool calling, clicking on desktop and web and strict instructions, with 6 podiums out of 10.
- Tool calling that a 2B vision model usually does not have: 89.5 on parallel calls against 15.5 for LFM3-VL-2B, and 66.0 on BFCL multi-turn, second only to Claude Sonnet 4.5 among the models I could compare on the official leaderboard categories.
- Eyes kept: 96.1 on ScreenSpot-v2 desktop and 82.8 on MathVista, level with or above GPT-5.6 Luna as reported by Liquid AI.
- One model instead of two: the text skills come back without loading a second model next to the vision one.
Against its vision parent
Same benchmarks, same harness, both models run by me.
| Liquid Fusion VL 2B | LFM3-VL-2B | |
|---|---|---|
| BFCL V4, parallel calls | 89.5 | 15.5 |
| BFCL V4, overall (no long context) | 67.1 | 50.8 |
| BFCL V4, multi-turn | 55.3 | 43.6 |
| LiveCodeBench v6 (150 problems) | 46.7 | 31.3 |
| GPQA Diamond | 49.5 | 43.9 |
| IFBench | 62.3 | 58.3 |
| SciCode (steps) | 11.1 | 6.9 |
| ScreenSpot-v2 desktop | 96.1 | 95.3 |
| ScreenSpot-v2 web | 91.2 | 91.2 |
| MathVista testmini | 82.8 | 84.3 |
| MMMU val | 55.4 | 56.7 |
How I made it
- Choose the graft (graft-ratio sweep). Putting the text weights fully into the vision model makes coding jump but blinds the model (ScreenSpot-v2 from 93.0 to 0.7). A 25% text share keeps the eyes and brings text back.
- Fuse: linear weight merge. ฮธ = 0.25ยทฮธ_text + 0.75ยทฮธ_vision, no data needed. Every weight the two language models share becomes 0.25 ร LFM3-1.7B + 0.75 ร LFM3-VL-2B, across all 24 layers. The vision tower and projector come from LFM3-VL-2B.
- Look inside: layer-wise diagnosis (drift map, activation probes, grafting ablations, gradient-conflict check). I mapped weights, activations and gradients layer by layer across text, tools, clicks and vision. Half of the drift from the text parent sits in the last two layers and the output head; gradients of different skills are almost orthogonal (a counteraction check in the spirit of CaMOPD), so every skill can train in the same step. This decided the benchmarks to watch and the data mix.
- Logit distillation SFT (teacher-guided, CE + KL(p_teacher โ p_student) over the full vocabulary, per-row teacher routing). Cross-entropy plus KL to the teacher's full next-token distribution, with the right teacher per row: text rows from LFM3-1.7B, image rows from LFM3-VL-2B. 69k rows, 3,700 steps.
- Two-teacher MOPD (on-policy distillation with a per-token reward, REINFORCE update, fixed per-skill quota). The model writes its own answers and the teachers grade every token, with a reward of clip(log p_teacher โ log p_student, ยฑ3) as in Kimi K3 and Nemotron-Cascade 2; truncated answers are masked out (P2-MOPD) and every step keeps a fixed quota per skill. 84 rounds.
Use it
Sampling I use everywhere: temperature=0.1, top_p=1.0, top_k=50, min_p=0.0, repetition_penalty=1.1 (the LFM3-VL defaults).
Transformers
pip install "transformers>=5.21.0" torch torchvision pillow
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "adriandj3/Liquid-Fusion-VL-2B"
model = AutoModelForImageTextToText.from_pretrained(
model_id, dtype=torch.bfloat16, device_map="auto", trust_remote_code=True
)
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
messages = [
{
"role": "user",
"content": [
{"type": "image", "url": "https://placecats.com/300/200"},
{"type": "text", "text": "Describe this image."},
],
}
]
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt"
).to(model.device)
with torch.inference_mode():
output_ids = model.generate(
**inputs, do_sample=True, temperature=0.1, top_k=50, repetition_penalty=1.1, max_new_tokens=16384
)
print(processor.batch_decode(output_ids[:, inputs["input_ids"].shape[1]:], skip_special_tokens=True)[0])
llama.cpp
LFM3-VL support in llama.cpp is in review upstream (ggml-org/llama.cpp#31252); use a build that includes it. With -hf, llama.cpp also downloads the vision projector.
llama-server -hf adriandj3/Liquid-Fusion-VL-2B-GGUF:Q4_K_M \
--temp 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repeat-penalty 1.1 \
--no-reasoning-preserve --port 8080
It runs comfortably on old hardware: on a GTX 1080 every quant generates 88 to 117 tokens per second, see the GGUF card for the numbers and my Pascal-tuned build (+13 to 16%).
Tool calling uses the same chat template and tool format as LFM3. For clicking, ask for a point and the model answers with point_2d coordinates normalized to 0-1000.
Limitations
- Coding, science reasoning and MMMU are still well behind the text parent and behind bigger models; v2 targets exactly these.
- All my numbers come from one run per benchmark on my own harness. Rival numbers come from their vendors or from Liquid AI, on their setups. Small gaps are not a verdict.
- ScreenSpot-v2 desktop and web use a 300-case set that I also used to compare candidates during development; on 656 desktop and web cases the overall score is 92.4. Mobile was not run.
- BFCL overall here excludes the long-context and agentic categories, so it is not the number on the official leaderboard; the per-category scores are comparable.
- I have not yet checked the training data for overlap with every benchmark.
License and credits
Liquid Fusion VL 2B is a derivative of LiquidAI/LFM3-1.7B and LiquidAI/LFM3-VL-2B, modified by me as described above, and it is released under the same LFM Open License v1.0, including its commercial use threshold. All credit for the parent models, their architecture and their training goes to Liquid AI. This is an independent project, not affiliated with or endorsed by Liquid AI.
Citation
@misc{iancu2026liquidfusion,
title = {Liquid Fusion VL 2B: fusing and repairing LFM3 text and vision models into one},
author = {Iancu, Adrian Ciprian},
year = {2026},
url = {https://huggingface.co/adriandj3/Liquid-Fusion-VL-2B}
}
Keywords: Liquid Fusion, LFM3, Liquid AI, model merging, vision language model, tool calling, function calling, GUI agent, computer use, ScreenSpot, on-policy distillation, small language model, on-device AI, GGUF, Adrian Ciprian Iancu.
- Downloads last month
- -
Model tree for adriandj3/Liquid-Fusion-VL-2B
Evaluation results
- overall (self-reported) on BFCL V4 (non-live, live, multi-turn; no long context)self-reported67.100
- accuracy (self-reported) on IFBenchself-reported62.300
- accuracy (self-reported) on IFEvalself-reported93.200
- accuracy (self-reported) on GPQA Diamondself-reported49.500
- pass@1 (self-reported) on LiveCodeBench v6 (150 problems)self-reported46.700
- accuracy (self-reported) on MathVista testminiself-reported82.800
- accuracy (self-reported) on MMMU valself-reported55.400
- accuracy (self-reported) on ScreenSpot-v2 (desktop and web, 656 cases)self-reported92.400



