LFM2-VL-3B is the newest and most capable model in Liquid AI's multimodal LFM2-VL series, designed to process text and images with variable resolutions.
Built on the LFM2 backbone, it extends the architecture for higher-capacity reasoning and stronger visual understanding while retaining efficiency.
We are releasing the weights of the new 3B checkpoint—offering higher performance across benchmarks while remaining optimized for scalable deployment.
Competitive multimodal performance among lightweight open models.
Enhanced visual understanding and reasoning, particularly on fine-grained perception tasks
Retains efficient inference with the same flexible architecture and user-tunable speed-quality tradeoffs
Processes native resolutions up to 512×512 with intelligent patch-based handling for larger inputs
Due to their small size, we recommend fine-tuning LFM2-VL models on narrow use cases to maximize performance.
They were trained for instruction following and lightweight agentic flows.
Not intended for safety‑critical decisions.
Chat template: LFM2-VL uses a ChatML-like chat template as follows:
<|startoftext|><|im_start|>system
You are a helpful multimodal assistant by Liquid AI.<|im_end|>
<|im_start|>user
<image>Describe this image.<|im_end|>
<|im_start|>assistant
This image shows a Caenorhabditis elegans (C. elegans) nematode.<|im_end|>
Images are referenced with a sentinel (<image>), which is automatically replaced with the image tokens by the processor.
You can apply it using the dedicated .apply_chat_template() function from Hugging Face transformers.
Architecture
Hybrid backbone: Language model tower (LFM2-2.6B) paired with SigLIP2 NaFlex vision encoders (400M shape-optimized)
Native resolution processing: Handles images up to 512×512 pixels without upscaling and preserves non-standard aspect ratios without distortion
Tiling strategy: Splits large images into non-overlapping 512×512 patches and includes thumbnail encoding for global context
Here is an example of how to generate an answer with transformers in Python:
python
1from transformers import AutoProcessor, AutoModelForImageTextToText
2from transformers.image_utils import load_image
34# Load model and processor5model_id ="LiquidAI/LFM2-VL-3B"6model = AutoModelForImageTextToText.from_pretrained(7 model_id,8 device_map="auto",9 dtype="bfloat16"10)11processor = AutoProcessor.from_pretrained(model_id)1213# Load image and create conversation14url ="https://www.ilankelman.org/stopsigns/australia.jpg"15image = load_image(url)16conversation =[17{18"role":"user",19"content":[20{"type":"image","image": image},21{"type":"text","text":"What is in this image?"},22],23},24]2526# Generate Answer27inputs = processor.apply_chat_template(28 conversation,29 add_generation_prompt=True,30 return_tensors="pt",31 return_dict=True,32 tokenize=True,33).to(model.device)34outputs = model.generate(**inputs, max_new_tokens=64)35processor.batch_decode(outputs, skip_special_tokens=True)[0]3637# This image captures a vibrant street scene in a Chinatown area. The focal point is a large red Chinese archway with gold and black accents, adorned with Chinese characters. Flanking the archway are two white stone lion statues, which are traditional guardians in Chinese culture.
You can directly run and test the model with this Colab notebook.
🔧 How to fine-tune
We recommend fine-tuning LFM2-VL models on your use cases to maximize performance.
Notebook
Description
Link
SFT (TRL)
Supervised Fine-Tuning (SFT) notebook with a LoRA adapter using TRL.
More benchmark scores are reported in our LFM2-VL-3B post. We obtained the scores for competitive models using VLMEvalKit. Qwen3-VL-2B is not listed in the results table, as its release occurred the day before.
📬 Contact
If you are interested in custom solutions with edge deployment, please contact our sales team.