alt.freeweights.lfm / LFM3-VL-2B-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.lfmSubject:

LFM3-VL-2B-ONNX

Date: 2026-11-15Commit: d40cacdSigned: 2DC28CC7B26A283B ✓

Image text to text model. Onnx weights, 18.6 GB in all. Published by onnx-community under LFM-1.0 (custom).

lfm18.6GBLFM3-VL-2B-ONNXonnxcustom terms
FactsParamsnot statedSize18.6 GBFormatsonnxTaskimage text to textLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get onnx-community/LFM3-VL-2B-ONNX
# manifest sha256 5294c7ad086e… · 18.6 GB · 44 files
$ fw verify ./LFM3-VL-2B-ONNX onnx-community/LFM3-VL-2B-ONNX
From sourceHosted (signed)onnx-community/LFM3-VL-2B-ONNXLast check: 2026-11-15 00:22 UTC

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

Quantized of LFM3-VL-2B.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Overview

Size
18.6 GB
Weights
109 MB (smallest of 15 ONNX variants)
Parameters
not stated
Formats
onnx
Task
image text to text
License
LFM-1.0 (custom) (custom)
Files
44, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Base model: LiquidAI/LFM3-VL-2B

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:22 UTCpassed

Model card

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

Image: Liquid AI

API Try Docs Blog

LFM3-VL-2B#

LFM3-VL-2B is a vision-language model for on-device visual understanding. It takes text, images, and video as input, and combines the LFM3 language model with a new in-house vision encoder.

New in LFM3-VL-2B:

  • Video understanding: the first LFM vision model that takes video as input. Ask questions about a recorded lecture, a walkthrough filmed on your phone, or a clip from a camera feed.
  • Thinking: the model reasons step by step before it answers. This helps most with harder visual questions, such as math, charts, and multi-step problems.
  • Spatial and embodied reasoning: the model finds objects and reasons about how they are placed relative to each other, a strong foundation for robotics applications.

Find more information about the LFM3 family in our release blog post.

Model details#


The LFM3 family includes base, text, vision, audio, omni, and decision models.

| Property | Specification

| Checkpoint | Post-trained vision-language model

| Parameters | 1.92B: 1.73B language model, 164M vision encoder, 25M projector

| Language model | LFM3, 24 layers: 13 gated short convolutions, 5 sliding-window attention, 6 global attention

| Vision encoder | 14 layers: 8 gated depthwise 2D convolutions, 6 bidirectional attention, 16×16 patches with 2D rotary embeddings

| Inputs | Text, images, and video at native resolution. Each 2×2 block of patches becomes one language token. Video is sampled at 2 fps.

| Context length | 128K tokens (input + output)

| Vocabulary | 128,000 tokens

| Languages | English, Arabic, Chinese, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Vietnamese, Thai, Indonesian, Hindi, Russian, Polish

| License | LFM Open License v1.0

LFM3-VL-2B is designed for on-device visual tasks: questions about video, reading documents, charts, and app screens, finding objects in an image, and spatial reasoning for robots. It is not recommended for coding, multi-turn conversations, or complex reasoning.

Inference#


Use these ONNX weights with Transformers.js v4.3.2 or later. The example below uses AutoModelForImageTextToText and AutoProcessor with WebGPU.

npm install @huggingface/transformers@^4.3.2
import { AutoModelForImageTextToText, AutoProcessor, load_image } from "@huggingface/transformers";

const modelId = "onnx-community/LFM3-VL-2B-ONNX";
const model = await AutoModelForImageTextToText.from_pretrained(modelId, {
  device: "webgpu",
  dtype: {
    vision_encoder: "fp16",
    embed_tokens: "fp16",
    decoder_model_merged: "q4f16",
  },
});
const processor = await AutoProcessor.from_pretrained(modelId);

const image = await load_image(
  "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/cats.png",
);
const messages = [
  {
    role: "user",
    content: [
      { type: "image" },
      { type: "text", text: "What is in this image?" },
    ],
  },
];

// Format the chat and preprocess the image.
const chatPrompt = processor.apply_chat_template(messages, {
  add_generation_prompt: true,
  enable_thinking: false,
});
const inputs = await processor(image, chatPrompt, { add_special_tokens: false });

const outputs = await model.generate({
  ...inputs,
  do_sample: true,
  temperature: 0.1,
  top_k: 50,
  repetition_penalty: 1.1,
  max_new_tokens: 128,
});

// Decode only the newly generated tokens.
const inputLength = inputs.input_ids.dims.at(-1);
const generated = outputs.slice(null, [inputLength, null]);
console.log(processor.batch_decode(generated, { skip_special_tokens: true })[0]);

// Release the model when you are finished using it.
await model.dispose();

The processor loads the image preprocessing settings and chat template automatically. This example disables thinking with enable_thinking: false. Set it to true in processor.apply_chat_template() and increase max_new_tokens when you want to allow a longer reasoning trace.

Fine-tuning#


LFM3-VL-2B is designed for easy customization for a given domain, task, or application via TRL.

| Training | Use case | Notebook

| SFT | Extract structured JSON from receipt photos | Open in Colab

| GRPO | Transcribe images of equations to LaTeX | Open in Colab

Performance#


Benchmarks#

Across 62 vision benchmarks, LFM3-VL-2B scores at least 8 points ahead of all models of similar size. It matches Gemma 4 12B, is within 2 points of GPT-5.6 Luna, and scores higher than Gemini 3.5 Flash Lite.

| Category | LFM3-VL 2B | LFM3-VL 2B&nbsp;(no&nbsp;think) | LFM2.5-VL 3B | MiniCPM-V&nbsp;4.7 1B | Qwen3.5 2B | Qwen3.5 4B | InternVL3.5 4B | Gemma&nbsp;4 E2B | Gemma&nbsp;4 12B | GPT-5.6 Luna | Gemini&nbsp;3.5 Flash&nbsp;Lite

| General | 66.0 | 56.4 | 57.6 | 59.8 | 64.0 | 73.0 | 61.2 | 56.9 | 74.0 | 72.2 | 74.1

| Perception | 75.6 | 68.9 | 67.9 | 65.5 | 71.2 | 77.1 | 63.2 | 59.1 | 73.5 | 71.0 | 73.0

| Document, OCR & Chart | 83.9 | 71.6 | 71.2 | 73.0 | 79.1 | 84.3 | 72.1 | 72.3 | 85.7 | 84.4 | 82.3

| Math & logical reasoning | 68.8 | 41.0 | 40.6 | 51.8 | 61.0 | 78.4 | 46.4 | 51.8 | 79.3 | 77.3 | 66.7

| Visual grounding | 77.3 | 72.6 | 68.3 | 51.1 | 61.2 | 67.0 | 63.6 | 41.2 | 74.1 | 72.7 | 63.5

| Embodied reasoning | 64.4 | 57.9 | 48.0 | 45.3 | 51.2 | 63.2 | 48.9 | 41.5 | 59.1 | 61.5 | 50.3

| GUI understanding | 83.1 | 81.5 | 66.0 | 45.3 | 67.2 | 81.1 | 68.5 | 44.3 | 76.1 | 82.5 | 71.0

| Video | 61.2 | 54.0 | 41.3 | 53.7 | 57.0 | 67.5 | 59.7 | 46.6 | 58.9 | 72.8 | 70.0

| Multilingual | 84.4 | 76.2 | 81.2 | 77.4 | 78.6 | 83.9 | 79.0 | 73.4 | 86.1 | 82.1 | 85.8

| Agentic | 42.5 | 32.9 | 21.1 | 16.9 | 15.2 | 31.3 | N/A | 23.8 | 43.6 | 56.1 | 62.4

| Average | 71.4 | 62.1 | 57.6 | 57.5 | 64.0 | 73.4 | 61.1 | 53.6 | 71.7 | 73.4 | 70.0

All 62 benchmarks

| Benchmark | LFM3-VL 2B | LFM3-VL 2B&nbsp;(no&nbsp;think) | LFM2.5-VL 3B | MiniCPM-V&nbsp;4.7 1B | Qwen3.5 2B | Qwen3.5 4B | InternVL3.5 4B | Gemma&nbsp;4 E2B | Gemma&nbsp;4 12B | GPT-5.6 Luna | Gemini&nbsp;3.5 Flash&nbsp;Lite

| General | | |

| MME | 86.9 | 76.7 | 74.3 | 82.7 | 83.9 | 88.3 | 82.2 | 79.6 | 85.7 | 74.8 | 89.2

| MMStar | 74.4 | 62.2 | 63.3 | 68.1 | 71.5 | 76.6 | 65.3 | 61.2 | 77.7 | 72.2 | 73.1

| SimpleVQA | 36.3 | 27.7 | 32.0 | 36.5 | 38.0 | 45.8 | 33.4 | 28.4 | 42.5 | 53.2 | 56.9

| SEED-Bench (image) | 78.6 | 76.8 | 77.7 | 76.6 | 76.9 | 78.9 | 76.4 | 75.2 | 80.6 | 76.2 | 79.5

| MMBench (dev EN v1.1) | 86.1 | 76.5 | 81.0 | 83.4 | 80.0 | 86.5 | 81.1 | 70.9 | 88.2 | 84.4 | 88.2

| MMMU (val) | 55.7 | 48.6 | 47.2 | 51.0 | 58.1 | 74.6 | 57.8 | 57.3 | 76.7 | 75.2 | 72.0

| MMMU-Pro | 45.7 | 35.0 | 33.2 | 37.3 | 50.3 | 67.2 | 38.4 | 42.7 | 69.1 | 70.9 | 63.2

| MM-Vet (v1) | 57.4 | 44.3 | 48.2 | 46.8 | 53.4 | 59.9 | 65.3 | 44.8 | 64.1 | 67.1 | 73.3

| MM-IFEval | 72.8 | 54.7 | 60.6 | 58.9 | 62.0 | 79.5 | 57.3 | 61.6 | 83.0 | 82.0 | 73.2

| MuirBench | 66.4 | 61.2 | 58.2 | 57.0 | 65.5 | 72.8 | 54.8 | 47.5 | 71.9 | 66.0 | 72.7

| Perception | | |

| BLINK | 71.1 | 68.7 | 61.0 | 60.7 | 63.5 | 69.8 | 57.4 | 52.9 | 70.9 | 68.6 | 68.9

| CountBenchQA | 93.0 | 86.4 | 87.1 | 86.4 | 87.1 | 92.6 | 81.3 | 78.2 | 95.9 | 91.0 | 90.1

| HallusionBench | 65.6 | 52.5 | 46.6 | 53.6 | 61.1 | 66.2 | 58.0 | 56.7 | 68.9 | 59.0 | 65.6

| POPE | 88.7 | 86.2 | 88.9 | 89.2 | 88.1 | 88.1 | 88.3 | 84.2 | 87.6 | 85.0 | 89.2

| PerceptionBench | 37.1 | 28.4 | 27.6 | 26.8 | 29.5 | 39.8 | 27.3 | 28.2 | 43.5 | 48.8 | 37.7

| HR-Bench (4K) | 82.3 | 71.0 | 71.3 | 67.4 | 76.9 | 88.1 | 55.6 | 65.5 | 77.4 | 80.1 | 79.2

| HR-Bench (8K) | 76.2 | 64.9 | 62.1 | 61.4 | 74.4 | 82.1 | 54.6 | 57.0 | 70.6 | 60.0 | 75.7

| ZoomBench (full + crop average) | 62.6 | 60.4 | 61.6 | 52.0 | 56.4 | 61.9 | 52.7 | 43.7 | 59.4 | 59.7 | 65.0

| V*Bench | 86.4 | 80.6 | 81.2 | 71.7 | 85.9 | 89.5 | 71.2 | 44.5 | 69.6 | 79.6 | 74.9

| RealWorldQA | 79.3

The publisher's README is longer; it is cut here. Read the rest at the source.

Files

44 files · 18.6 GBWeights 109 MB (smallest of 15 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 44 files with their sha256
FileSizesha256
.gitattributes2.95 KB2688c406fcd3682d38a60b0af805d0f2b556e2d9022435b5a9f02f42c6170cae
LICENSE10.6 KB30adf9d6478191fb87f2424f63ba0728598335aaf99cd2848ef17e8e545fe94b
README.md134 KBea0f1d63aab1c725ee0195587c4ec44dfb4a1f9d0ba16b04cb83a0da05b476d7
chat_template.jinja12.1 KBf45005c50cd2a97329722bf3a2dee9f16c04cdf825a589b280fb7e99e6827818
config.json3.42 KB1940d512805a564f7b6ae1b896470d11eaf6770950ac3e32d279e84621775d31
generation_config.json323 B30b1115bcdc4e5671567a5b1255a2f3d2f5a912a79292051c6f1e9db81b5e8c4
onnx/decoder_model_merged.onnx250 KB261a37d78262c0df9fe17ddcb440fac54de6c8c2162f8ceccf02c0334cdf035f
onnx/decoder_model_merged.onnx_data2.10 GB7da9e0e2c6d72243ccf8689335ac005b9514a25d6af8f64f4f3310754f776b71
onnx/decoder_model_merged.onnx_data_12.09 GBb6acbf7c069f13bde77fa1a1816374322f99649f484166429c1e15edee426f75
onnx/decoder_model_merged.onnx_data_21.78 GBa660f6875b242aec2906ea2c6f8c840fe7a11b0ba4da5d1378f77c4fc120b5ca
onnx/decoder_model_merged.onnx_data_31.05 GB3ba35d5b8d63bd7180e1131780b18a49afceaa243c67d8c459ccb3b0e6bdfd83
onnx/decoder_model_merged_fp16.onnx246 KB87b43796e1d5b9255e8b9ab76d83f19c517bdf43e384aeb193f32eaf157f3029
onnx/decoder_model_merged_fp16.onnx_data2.09 GB05f87f39820f361d52ba9b0f771443c1eceb694855827389ac5111445ce81f7e
onnx/decoder_model_merged_fp16.onnx_data_11.41 GBba677be67c194f251f456b2edabc2b2fbaf45a67cee11140b7ab80bf701c457d
onnx/decoder_model_merged_q4.onnx307 KBe6c0d4eb929e0a20762cc951e2d466073fb4a18f8c7a8b70bba3b86aced58b87
onnx/decoder_model_merged_q4.onnx_data1.19 GB7ed63d289c4642257ea928e7331b2156722199bd19b1324702b65cc07986d7ba
onnx/decoder_model_merged_q4f16.onnx303 KB8428c97f1c72b0dee668560f6af5030bc20ec3e57b4130f934b5eed2d0950ac8
onnx/decoder_model_merged_q4f16.onnx_data1.04 GB678e64d42eb43e70bf4c948df3f8c95f01f6eb9f3ef7bfb44d4909dc94731066
onnx/decoder_model_merged_quantized.onnx311 KB2f47bbceb3b0d939a736fdae4f4b62db37444a53c04bdfaad5c12199c4784e25
onnx/decoder_model_merged_quantized.onnx_data2.07 GBd69b87bd7d764ea2502f50649efc4b92a720ce7848dcf8d97c959d925924184d
onnx/embed_tokens.onnx435 B34af1ac17ed9dbe7ccf797f3e8906ac01b40eb699579e93f8d6a7b8a210760cc
onnx/embed_tokens.onnx_data1.05 GB752b91841951f333b7c4b569e057bcf5d30e20d3311e2b5364a9c13342b81e03
onnx/embed_tokens_fp16.onnx637 Be77a6d740efc0da1ac3ed0245ff586b64680f810fbbd0acc1142d96c1a8325f6
onnx/embed_tokens_fp16.onnx_data524 MB6770d1af0a4e93b06b66635bf236d1bfa53ee1f7394eadc279b56c6ed0d6fc0c
onnx/embed_tokens_q4.onnx857 B71de1281361bfe1ee6584f5e7c572e7df4b7ac2029090ee8077952359ba2dc5b
onnx/embed_tokens_q4.onnx_data168 MB1c29fccd5b4e20d954fec6c9f8016a020c9db3ad5664d12e95adab66ba10102f
onnx/embed_tokens_q4f16.onnx1.06 KBe46767d09dbef36322d0fbc7c592b3ae524192a144125122825e8c485b3cbddd
onnx/embed_tokens_q4f16.onnx_data152 MB0552b7cf47d18b7e1962b82e0c69e62bec96fc6c04f991860f2cd735a2fa1e48
onnx/embed_tokens_quantized.onnx879 Bedab90039cfff2a2d10172ee0048c3bf6aed061dc12bba80a59f7e4f9fe43a05
onnx/embed_tokens_quantized.onnx_data303 MBb26885b7791f39afe865751b91eff8ad9b97f27dc438920c23c96cc9e6b4b4fc
onnx/vision_encoder.onnx158 KB12a7467d3e5680e4ac77fcfeac0d4ff6a838a614f69d57eba43daf454205b0f0
onnx/vision_encoder.onnx_data758 MB51a3098e2039a54fc1f6387fb860957dca76bb4674fecd88684469d31180e14e
onnx/vision_encoder_fp16.onnx158 KBa16079cabb4d973591205ac36f25bbf3b1867e0c5101232f649985f833e32051
onnx/vision_encoder_fp16.onnx_data379 MB7c1fb02f4453f87940a9268b69a8137053ef1317255b08690d4e45a44d6eda80
onnx/vision_encoder_q4.onnx189 KBc14eff5a2e8c55e678764c37369df16b0163768802c009ad6897d28c9198068b
onnx/vision_encoder_q4.onnx_data121 MB6cebb68e1a2e7765d5a8ff9833e6b581b594662a2ebf3e0fdc50f1f36e42ca00
onnx/vision_encoder_q4f16.onnx189 KB04063fd02a07ad3b926b3dd36147183b9fe936d2e511b9892a416fd5fbf6a273
onnx/vision_encoder_q4f16.onnx_data108 MB004ee0a6014d189983c1e63feb458227511dc7b7292347150f39411bb51c503e
onnx/vision_encoder_quantized.onnx191 KBb9359ff5768bd51f0051cebc6c2c0a79d1a9d0d3edba3d00676711010c6d0d07
onnx/vision_encoder_quantized.onnx_data217 MB701b4161cc8829c1e9ffe52977d70eae0f7bbb961a974145599293606974c090
preprocessor_config.json577 B867a27105d065821d30fa584af2cd3178c5458d4608c995e58511e3dc74fb84c
processor_config.json1.53 KBd3d5c3f9dc3d3f25c3177ba8bb05938b53c51799244af1ca6406cde78924b84e
tokenizer.json17.9 MBa39eed58008cbcbc09e5b629b81338a654269c64cd13348aaa6090f4db75c7e7
tokenizer_config.json14.5 KB0003700bc4c3fad69039fe5f5ddfff17945b54c13a1f6183486e4b88c59e46df
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d40cacd75a pinned now2026-11-15 00:22 UTC44 files · 18.6 GB

Use it

# custom terms: read the license before you download
$ fw get onnx-community/LFM3-VL-2B-ONNX
# manifest sha256 5294c7ad086e… · 18.6 GB · 44 files
$ fw verify ./LFM3-VL-2B-ONNX onnx-community/LFM3-VL-2B-ONNX
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/onnx-community/LFM3-VL-2B-ONNX.json --dir ./LFM3-VL-2B-ONNX $ python3 fw.py verify ./LFM3-VL-2B-ONNX ./onnx-community__LFM3-VL-2B-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/LFM3-VL-2B-ONNX --revision d40cacd75af603679f80574054ab763d3ebd8f3b --local-dir ./LFM3-VL-2B-ONNX

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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.lfmSubject: LFM3-VL-2B-ONNXDate: 2026-11-15Commit: d40cacdSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/LFM3-VL-2B-ONNX
Pinned commit
d40cacd75af603679f80574054ab763d3ebd8f3b
Manifest
LFM3-VL-2B-ONNX.json · .minisig
Manifest sha256
5294c7ad086e2536cfdf3ab0a09c9e5ec8851a5eb1ebed95d1514be44afd13bc
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:22 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/LFM3-VL-2B-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/LFM3-VL-2B-ONNX.json.minisig $ minisign -Vm LFM3-VL-2B-ONNX.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/LFM3-VL-2B · this model is a quantization 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 onnx-community/LFM3-VL-2B-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM3-VL-2B-ONNX.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