use case · basics · visual prompting & task framing · onnx-community/LFM2.5-VL-450M-ONNX

Visual Prompting & Task-Framing Lab

The same SigLIP2 NaFlex visual embedding can answer completely different tasks depending on how you frame the ChatML prompt. Compare Caption, OCR / Text Readout, Structured JSON Extract, and Custom Question on the same image and inspect exact prompt tokens, TTFT, and decode throughput.

1. Model & Test Image

Initialise LFM2.5-VL-450M above, then run a frame or compare all three.

Active Image & Applied ChatML Template


          

Live Output & Timing Breakdown

Awaiting run

TTFT: – · Tokens: – · Decode: – tok/s · Total: –

Run a prompt frame to inspect live streaming output here.
Recorded task-framing runs on the current browser session
Frame TTFT Tokens Decode tok/s Total ms Output Summary
No prompt frames run yet.
Show the code — LFM2.5-VL-450M worker inference & TextStreamer loop