LFM3-VL-2B-GGUF

GGUF version of LFM3-VL-2B for local inference on CPUs and GPUs.

Find architecture and usage details in the original model card.

Use with llama.cpp


Supported in llama.cpp b11960 (v0.8.0) and newer.

Add a quantization tag to pick a file. With -hf, llama.cpp also downloads the vision projector.

llama-cli -hf LiquidAI/LFM3-VL-2B-GGUF:Q4_0 \
  --temp 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repeat-penalty 1.1 \
  --no-reasoning-preserve

Type /image <IMAGE PATH> or /video <VIDEO PATH> in the chat to add an image or a video. Video input needs ffmpeg in PATH. To ask about a video from the command line:

curl -sL -o reading.mp4 https://huggingface.co/datasets/raushan-testing-hf/videos-test/resolve/4cba700bd771f44d72b549253da025c32e944d42/sample_demo_1.mp4  # a child reading a book

llama-mtmd-cli -hf LiquidAI/LFM3-VL-2B-GGUF:Q4_0 \
  --video reading.mp4 -p "What is the child doing in this video?" \
  --temp 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repeat-penalty 1.1

More options in the llama.cpp guide.

QAD Q4_0 GGUF


The Q4_0 build in this repository is the Quantization-Aware Distillation (QAD) checkpoint, LFM3-VL-2B-QAD-Q4_0.gguf. It was trained to recover the accuracy lost to Q4_0 quantization.

llama-cli -hf LiquidAI/LFM3-VL-2B-GGUF \
  --hf-file LFM3-VL-2B-QAD-Q4_0.gguf \
  --temp 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repeat-penalty 1.1 \
  --no-reasoning-preserve
Downloads last month
6,663
GGUF
Model size
2B params
Architecture
lfm3
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for LiquidAI/LFM3-VL-2B-GGUF

Quantized
(18)
this model