LFM3-VL-2B (1024Γ—1024, 4096 Context) β€” LiteRT-LM

Custom LiteRT-LM conversion of LiquidAI/LFM3-VL-2B (revision f83d2b0a) built using the official google-ai-edge/litert-samples (models/lfm/lfm3_vl_2b/converted) recipe with higher image resolution and context length for dense OCR and multilingual translation:

  • Image Input Resolution: 1024 Γ— 1024 (1,024 visual tokens, vs. 512 Γ— 512 / 256 tokens in the stock LiteRT build)
  • Decoder Context Length: 4,096 tokens (prefill signatures 1024 / 256 / 64 / 16 / 4 / 1)
  • Quantization: Text decoder INT4 (blockwise-32, scale floor 2^-14) + INT8 output projection & embeddings; vision encoder FP32; projector FP16
  • File: LFM3-VL-2B_int4_1024_ctx4096.litertlm (1.94 GB, 2,081,583,136 bytes)
  • SHA-256: 376df546031cc590c88e70ed9758b3cd02c5e9ea1fc66c54cc590e077353d21f
  • License: LFM Open License v1.0 (same as LiquidAI/LFM3-VL-2B)

Preprocessing Note

Pre-rotate EXIF orientation and resize/pad input images to 1024 Γ— 1024 before passing to LiteRT-LM:

from PIL import Image, ImageOps
ImageOps.exif_transpose(Image.open("photo.jpg")).convert("RGB").resize((1024, 1024), Image.BICUBIC).save("photo_1024.png")
Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for meossistant/LFM3-VL-2B-1024-LiteRT

Quantized
(60)
this model