alt.freeweights.lfm / LFM2.5-VL-3B
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.lfmSubject:

LFM2.5-VL-3B

Date: 2026-11-15Commit: 782e9e7Signed: 2DC28CC7B26A283B ✓

Image text to text model with 3.1B parameters. Safetensors weights, 6.27 GB in all. Published by unsloth under LFM-1.0 (custom).

3.1B params6.27GBLFM2.5-VL-3Bsafetensorscustom terms
FactsParams3.1BSize6.27 GBFormatssafetensorsTaskimage text to textLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get unsloth/LFM2.5-VL-3B
# manifest sha256 e6d149ea4591… · 6.27 GB · 10 files
$ fw verify ./LFM2.5-VL-3B unsloth/LFM2.5-VL-3B
From sourceHosted (signed)unsloth/LFM2.5-VL-3BLast check: 2026-11-15 00:26 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
6.27 GB
Weights
6.25 GB (safetensors)
Parameters
3.1B
Formats
safetensors
Task
image text to text
License
LFM-1.0 (custom) (custom)
Files
10, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Base model: LiquidAI/LFM2.5-VL-3B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 00:26 UTCpassed

Model card

From the publisher at commit 782e9e7. Shown as plain text with links; images open at the publisher.

Image: Liquid AI

Try LFM • Docs • LEAP • Discord

LFM2.5-VL-3B#

LFM2.5-VL-3B is a multimodal variant of LFM2.5, a family of hybrid models designed for on-device deployment. It builds on LFM2-VL-3B with further mid- and post-training. LFM2.5-VL-3B can process both text and images, and uses the LFM2.5-2.6B language model as its backbone, combined with a SigLIP2 NaFlex vision encoder.

  • Better grounding: Improved grounding and object detection with natural language queries.
  • Better OCR: Full page OCR with layout annotation. See layout annotation format for more information.
  • Efficient inference: 228 tok/s on an Apple M5 Max and 116 tok/s on an AMD Ryzen AI Max+ 395, in under 3.3 GB of memory.

Find more information about LFM2.5-VL-3B in our release post.

Image: lfm2_5_vl_3b_task_group_averages

Note. 💻 Demos: Try LFM2.5-VL-3B's vision understanding capabilities in a Hugging Face space without any setup: Vision-capable chat in your browser: allows you to upload images or use the webcam to capture images and let the model interact with them, as well as use tool calls and display generated bounding boxes. If you just want to chat about images, the LiquidAI playground is a fast way to do that.

Model Details#

ModelDescription
LFM2.5&#8209;VL&#8209;3BOriginal checkpoint in native format. Best for fine-tuning and inference with HF Transformers, vLLM and SGLang
LFM2.5&#8209;VL&#8209;3B&#8209;GGUFQuantized GGUF exports of the original checkpoint. Best for CPU inference with reduced memory usage with llama.cpp
LFM2.5&#8209;VL&#8209;3B&#8209;ONNXQuantized ONNX exports for cross-platform deployment. Enables hardware-accelerated inference across diverse environments (cloud, edge, mobile). See the demo.
LFM2.5-VL-3B-MLXQuantized MLX exports for Apple Silicon. Optimized for fast inference on Mac devices using the mlx-vlm framework.
  • LM Backbone: LFM2.5-2.6B
  • Vision encoder: SigLIP2 NaFlex shape‑optimized 400M
  • Vocabulary size: 128,000
  • Context length: 32,768 tokens
  • Languages: English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish
  • Native resolution processing: Uses SigLIP2's NaFlex; large images are split into non-overlapping 512×512 patches and a resized whole-image thumbnail.
  • Generation parameters:
    • text: temperature=0.2, top_k=50, repetition_penalty=1.0
    • vision: Use the processor_config.json file.

We recommend using it for single-turn, high-throughput, low-latency tasks; for example, for near-realtime object detection in automotive applications, batch processing scanned documents with OCR with layout information for turning PDFs into searchable text, or for on-device translation of menus and road signs into your native language.

It is not recommended for long-context, reasoning-intensive tasks, such as visual web design, or answering highly technical questions about blueprints.

Chat Template#

LFM2.5 uses a ChatML-like format. See the Chat Template documentation for details. Example:

<|startoftext|><|im_start|>system
You are a helpful assistant trained by Liquid AI.<|im_end|>
<|im_start|>user
What species is in this picture?<image><|im_end|>
<|im_start|>assistant

You can use tokenizer.apply_chat_template() to format your messages automatically.

Tip. Note: The apply_chat_template() method automatically inserts the <image> tag for each image in your message. Do not include <image> in your message content.

Inference#

LFM2.5-VL is supported by many inference frameworks. See the Inference documentation for the full list.

NameDescriptionDocsNotebook
TransformersSimple inference with direct access to model internals.LinkColab link
vLLMHigh-throughput production deployments with GPU.LinkColab link
SGLangHigh-throughput production deployments with GPU.LinkColab link
llama.cppCross-platform inference with CPU offloading.LinkColab link
Quick start#

Quick start with Transformers (compatible with transformers>=5.0.0):

You will need torch, transformers, and torchvision.

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "LiquidAI/LFM2.5-VL-3B"

model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16)
processor = AutoProcessor.from_pretrained(model_id)

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.2,
        top_k=50,
        repetition_penalty=1.0,
        max_new_tokens=256,
    )

generated_ids = output_ids[:, inputs["input_ids"].shape[1] :]
print(processor.batch_decode(generated_ids, skip_special_tokens=True)[0])
Tool Use#

LFM2.5-VL-3B supports function calling in four steps:

  1. Function definition: Provide the list of tools as a JSON object in the system prompt, or use tokenizer.apply_chat_template() with tools=....
  2. Function call: By default, LFM2.5 writes Pythonic function calls (a Python list between <|tool_call_start|> and <|tool_call_end|> special tokens), as the assistant answer.
  3. Function execution: Execute the call and return the result with the tool role.
  4. Final answer: LFM2.5 interprets the tool output and returns a plain-text answer addressing the original prompt.

See the Tool Use documentation for the full guide. Example:

<|startoftext|><|im_start|>system
List of tools: [{"name": "get_candidate_status", "description": "Retrieves the current status of a candidate in the recruitment process", "parameters": {"type": "object", "properties": {"candidate_id": {"type": "string", "description": "Unique identifier for the candidate"}}, "required": ["candidate_id"]}}]<|im_end|>
<|im_start|>user
What is the current status of candidate ID 12345?<|im_end|>
<|im_start|>assistant
<|tool_call_start|>[get_candidate_status(candidate_id="12345")]<|tool_call_end|>Checking the current status of candidate ID 12345.<|im_end|>
<|im_start|>tool
[{"candidate_id": "12345", "status": "Interview Scheduled", "position": "Clinical Research Associate", "date": "2023-11-20"}]<|im_end|>
<|im_start|>assistant
The candidate with ID 12345 is currently in the "Interview Scheduled" stage for the position of Clinical Research Associate, with an interview date set for 2023-11-20.<|im_end|>
Layout Annotation Format#

LFM2.5-VL-3B can do OCR with layout annotation. The layout annotation is a list of regions, each with a label, bounding box, and content. The format is:

image_index=<n> <label> [xmin, ymin, xmax, ymax]
<content>

image_index=<n> <label> [xmin, ymin, xmax, ymax]
<content>

image_index=<n> <label> [xmin, ymin, xmax, ymax]
<content>

...

where:

  • image_index is the zero-based index of image
  • <label> is one of these layout labels:
    • text
    • title
    • list
    • table
    • table_caption
    • table_footnote
    • image
    • image_block
    • image_caption
    • image_footnote
    • chart
    • equation
    • formula_number
    • code
    • code_caption
    • algorithm
    • aside_text
    • ref_text
    • phonetic
    • page_header
    • page_footer
    • page_number
    • page_footnote
  • [xmin, ymin, xmax, ymax] are normalized integer coordinates in [0, 1000], same as our grounding format.
  • <content> is the region's content:
    • plain text for text regions
    • LaTeX for equations
    • OTSL (Optimized Table Structure Language, introduced here by IBM) for tables
    • a short description for images and charts

There will be a blank line between each region.

To prompt the model to generate this structured output, use a system or user prompt that includes this:

Parse this document into its layout regions. The pages are provided as images in reading order. For every region, in reading order across all pages, output a header line immediately followed by the region's content:

image_index=<n> <label> [xmin, ymin, xmax, ymax]
<content>

where:
- image_index is the zero-based index of the page image the region appears on (0 for the first image, 1 for the second, and so on)
- <label> is one of these layout labels: text, title, list, table, table_caption, table_footnote, image, image_block, image_caption, image_footnote, chart, equation, formula_number, code, code_caption, algorithm, aside_text, ref_text, phonetic, page_header, page_footer, page_number, page_footnote
- [xmin, ymin, xmax, ymax] are normalized integer coordinates in [0, 1000]
- <content> is the region's content: plain text for text regions, LaTeX for equations, OTSL for tables, and a short description for images and charts

Separate each region block with one blank line. Return only the parsed regions.

Note that the layout annotation format is still experimental: it may change, may be unreliable, and may not be trivial to parse. We encourage users to try it out and provide feedback!

Fine-Tuning#

We recommend fine-tuning LFM2.5-VL models for your specific use case to achieve the best results.

Performance#

Benchmarks#

LFM2.5-VL-3B significantly improves over LFM2-VL-3B in screen understanding, grounding, multi-image input, and tool use:

BenchmarkLFM2.5&#8209;VL&#8209;3B (3.1B)LFM2&#8209;VL&#8209;3B (3.1B)Gemma4&nbsp;E2B (5.1B)Gemma4&nbsp;E4B (8B)InternVL&nbsp;3.5&nbsp;4B (4.7B)Qwen3.5-2B (2.3B)Qwen3.5-4B (4.7B)
ScreenSpot-v2 (avg)80.7-31.150.984.266.578.5
RefCOCO (Macro&nbsp;Prec@1)87.957.1

(-30.8) | 67.3 | 72.1 | 88.9 | 78.5 | 86.6 | | BLINK | 61.5 | 50.2 (-11.3) | 51.8 | 56.4 | 57.4 | 59.3 | 65.0 | | MuirBench | 58.3 | 34.9 (-23.4) | 40.7 | 48.9 | 53.4 | 49.0 | 67.0 | | ToolSandBox | 59.5 | 26.4 (-33.1) | 56.5 | 61.6 | n/a1 | 47.7 | 65.0 | | BFCLv4 | 32.5 | 20.5 (-12.0) | 33.2 | 40.0 | n/a1 | 33.9 | 53.6 |

A selection of benchmarks for LFM2.5-VL-3B, including multimodal reasoning, math, and OCR (see our blog post for more benchmarks and details):

BenchmarkLFM2.5&#8209;VL&#8209;3B (3.1B)LFM2&#8209;VL&#8209;3B (3.1B)Gemma4&nbsp;E2B (5.1B)Gemma4&nbsp;E4B (8B)InternVL&nbsp;3.5&nbsp;2B (2.4B)InternVL&nbsp;3.5&nbsp;4B (4.7B)Qwen3.5-2B (2.3B)Qwen3.5-4B (4.7B)
MME73.173.054.968.173.380.876.479.5
MMStar63.357.757.961.957.565.367.973.3
RealWorldQA73.171.156.261.861.468.671.476.2
CountBenchQA87.392.270.880.170.682.583.286.9
MMMB83.081.975.780.576.481.573.683.4
MM-IF Eval60.651.464.566.748.454.652.163.8
MathVista68.568.562.152.956.659.168.869.7
MMMU Pro30.528.734.539.127.431.643.560.9
ChartQA81.380.443.541.981.886.578.384.2
OCRBenchv2247.543.944.748.745.549.248.058.8
POPE88.789.284.086.987.388.988.786.0

*[1]: InternVL 3.5 doesn't support tool use.

*

*[2]: English-only subset of OCRBenchv2.

*

On-device Inference#

LFM2.5-VL-3B decodes 228 tokens/s on an Apple M5 Max and 116 tokens/s on an AMD Ryzen AI Max+ 395, and fits in about 3 GB of memory. It even reaches 20 tokens/s on a Galaxy S26 Ultra, so you can run it fully on-device.

Image: lfm2_5_vl_3b_on-device_inference_TTFT

GPU Inference#

On a single NVIDIA H100 with vLLM, LFM2.5-VL-3B reaches the highest output throughput of any model we tested, about 11K tokens per second at high concurrency, or nearly 1B tokens per day.

Image: lfm2_5_vl_3b_throughput

Because it answers directly instead of reasoning, LFM2.5-VL-3B is quick to first token on a single H100, reaching about 34 ms on a 5-frame clip.

Image: lfm2_5_vl_3b_ttft

Contact#

Citation#

@article{liquidAI2026VL3B,
  author  = {Liquid AI},
  title   = {LFM2.5-VL-3B: A Better and Faster Vision-Language Model for the Edge},
  journal = {Liquid AI Blog},
  year    = {2026},
  note    = {www.liquid.ai/blog/lfm2-5-vl-3b},
}

Files

10 files · 6.27 GBWeights 6.25 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.61 KB31fcd4d7141fbe007a13a130a48489580f39c97ca15e1dfaead01a73cabe5e5e
LICENSE10.6 KB30adf9d6478191fb87f2424f63ba0728598335aaf99cd2848ef17e8e545fe94b
README.md18.5 KB1dbc2392d9ecc712668a376a1353587b0fe7f881917eb75cc31f3d0c32e1a212
chat_template.jinja5.44 KB86f4770449a4797c9b4212d110b0cc70fb993c1ce960095bcfb12eea22f61cca
config.json5.12 KB8e19b4919d8c5fddf49f5fd3aae5e69d80ff0ef1dd3e319f52baccba2386d2dc
generation_config.json327 B5d182b864215c89c89f6e4e1ee4426ccba2ac954388d941359cb9a32855ab99f
model.safetensors6.25 GB8413ba08bc7490552f3cf7611809927a825067e4375f7c39dfcb74df95301908
processor_config.json824 B270591077f202ff75a7aa69ccbebf4eadd1b6f0f34b6cd8a25fccdf4703f248a
tokenizer.json17.9 MB8096ecb9f54599d756c8de728a598a340bc1e43c0deb77ddd62456c38349fcee
tokenizer_config.json6.23 KB661e0a7075e2e284521b2159f0205c8b5f9022bf0088482506ebb96fa0ef8ef2
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
782e9e7ea4 pinned now2026-11-15 00:26 UTC10 files · 6.27 GB

Use it

# custom terms: read the license before you download
$ fw get unsloth/LFM2.5-VL-3B
# manifest sha256 e6d149ea4591… · 6.27 GB · 10 files
$ fw verify ./LFM2.5-VL-3B unsloth/LFM2.5-VL-3B
Terms that come with these files. LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/LFM2.5-VL-3B.json --dir ./LFM2.5-VL-3B $ python3 fw.py verify ./LFM2.5-VL-3B ./unsloth__LFM2.5-VL-3B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/LFM2.5-VL-3B --revision 782e9e7ea436e51cd59e00c2a4287a3c3da48e63 --local-dir ./LFM2.5-VL-3B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("unsloth/LFM2.5-VL-3B", revision="782e9e7ea436e51cd59e00c2a4287a3c3da48e63") model = AutoModelForImageTextToText.from_pretrained("unsloth/LFM2.5-VL-3B", revision="782e9e7ea436e51cd59e00c2a4287a3c3da48e63", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve unsloth/LFM2.5-VL-3B --revision 782e9e7ea436e51cd59e00c2a4287a3c3da48e63

License

Name
LFM Open License v1.0
Id
LicenseRef-LFM-1.0
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
30adf9d6478191fb87f2424f63ba0728598335aaf99cd2848ef17e8e545fe94b
Terms gate
Yes. The commands stay folded until you open them after reading the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.lfmSubject: LFM2.5-VL-3BDate: 2026-11-15Commit: 782e9e7Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/LFM2.5-VL-3B
Pinned commit
782e9e7ea436e51cd59e00c2a4287a3c3da48e63
Manifest
LFM2.5-VL-3B.json · .minisig
Manifest sha256
e6d149ea45918d3819b98aaaeb9f07e3f537d357768ce3f4a14bdcacfa7b95e6
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/LFM2.5-VL-3B.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/LFM2.5-VL-3B.json.minisig $ minisign -Vm LFM2.5-VL-3B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

LiquidAI/LFM2.5-VL-3B (not in this catalog) · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/LFM2.5-VL-3B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM2.5-VL-3B.json. Provenance. Takedown history: none.
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Extract
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-RAG
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Tool
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B-Exp