Download README.md from Nessim/YoloMT: direct link, hf CLI and curl.
- Browser
- Download file 6.37 kB
-
https://huggingface.co/Nessim/YoloMT/resolve/main/README.md
- Command line
-
hf download hf://Nessim/YoloMT/README.md
-
curl -L -o README.md https://huggingface.co/Nessim/YoloMT/resolve/main/README.md
license: other
license_name: lfm1.0
license_link: LICENSE
base_model: LiquidAI/LFM2.5-VL-450M
base_model_relation: finetune
pipeline_tag: video-text-to-text
language:
- en
tags:
- video-captioning
- streaming
- real-time
- distillation
- grpo
datasets:
- Nessim/YoloMT-labels
- lmms-lab/LLaVA-Video-178K
- nkp37/OpenVid-1M
YoloMT
YoloMT ("You Only Look Multiple Times") is a 449.8M-parameter streaming video captioner. Every second it writes a 30-50-word caption of the last 16 seconds of a live video, from the current frame and up to 16 cached past frames, and it runs in real time on a single NVIDIA T4. These are the weights of the paper "You Only Look Multiple Times: YoloMT, a Real-Time Streaming Model on a T4". The code that trains and evaluates the model end to end, and builds its TensorRT engine, is at https://github.com/NessimBenA/YoloMT.
Model
- Architecture. LFM2.5-VL-450M (SigLIP2 vision encoder, LFM2.5-350M language model) plus a pooler of 1.05M parameters. Each frame (256x256, one per second) passes the vision encoder once, when it is the present, and is cached as 16 tokens: the pooler averages its 8x8 grid of 64 projector tokens over 2x2 blocks and adds a learned residual, z = x + Wx + b. A caption reads the 64 tokens of the current frame and the cached blocks of the last L frames.
- Lookback L. The number of cached past frames a caption reads, 0 to 16, is chosen at run time; one set of weights serves every L. A larger L costs 18 prompt tokens per frame and no vision pass.
- Training. Distilled from Qwen3.8-27B (FP8) in three stages. (1) The teacher captions the student's exact view, the same 256x256 frames from t-16 s to t at 1 fps, with no look-ahead. (2) Supervised fine-tuning of every weight on 941,483 windows (79,216 from LLaVA-Video-178K, 862,267 from OpenVid-1M), each window trained at L = 0, at one middle L and at the largest available L. (3) GRPO on 39,502 windows with the lookback shared within each group and a per-token KL penalty (beta 0.04) toward the SFT model; the reward combines fact recall and precision against the teacher's consensus claims and multiple-choice answers, both scored by Qwen3.5-9B, with a fluency gate and a fluency term, and is zero for captions over 60 words. Checkpoint selection used phi-4 on held-out dev captions.
- Earlier stages. Training starts from a 2 s captioner (LoRA SFT on 335,822 windows of 2 s teacher captions of LLaVA-Video-178K clips and, for 11,791 of them, ShareGPT4Video clips), then a lookback SFT up to L = 5 on the same labels, before the stages above.
- Labels. The teacher's captions, claims and questions of every training and evaluation window are the dataset Nessim/YoloMT-labels (text only, CC BY-NC 4.0).
- Modifications to the base model. Every weight of LiquidAI/LFM2.5-VL-450M was fine-tuned and the pooler was added.
Results
From the paper. Captions at L = min(t, 16).
Caption-then-answer accuracy (%): a text-only answerer (Mistral-Small-24B-Instruct-2501) answers each question from the captions alone.
| OVO-Bench Real-Time | MVBench | StreamingBench Real-Time | Video-MME (short) | mean | |
|---|---|---|---|---|---|
| YoloMT | 45.9 | 39.5 | 50.2 | 46.2 | 45.5 |
| LFM2.5-VL-450M (its base) | 38.6 | 35.5 | 45.6 | 42.0 | 40.4 |
| no captions | 27.8 | 27.6 | 33.5 | 28.7 | 29.4 |
| Qwen3.8-27B (teacher) | 52.7 | 47.2 | 54.8 | 54.0 | 52.2 |
On the mean of the four, YoloMT leads LFM2.5-VL-450M by +5.0 points [+3.7, +6.4], and reading 16 past frames instead of none adds +2.5 [+1.2, +3.7].
Fact-F1 of the captions as a share of the teacher's self-agreement ceiling (judge: phi-4): 83.8% at L = 0 and 92.6% at L = 16 on held-out OpenVid-1M clips, 71.8% at L = 16 on LLaVA-Video test.
Real time on one T4 (TensorRT 10.16.1.11, FP16, batch 1, 30 FPS): the p99 time per frame stays at 12.66-12.69 ms at every L from 0 to 16, within half the 33 ms frame period, with 997 MiB of GPU memory.
Usage
The weights are a full set of yolomt student weights (model.safetensors, bfloat16) and a config.json that rebuilds
the student; loading them fetches only the base model's configuration and tokenizer. Install the code and caption a
video every second:
git clone https://github.com/NessimBenA/YoloMT && cd YoloMT
python -m venv .venv && source .venv/bin/activate && pip install -e .
python scripts/caption.py --weights Nessim/YoloMT --video clip.mp4 --lookback 16 --out clip.jsonl
Each line of clip.jsonl is {"second": t, "caption": ...}. This is the PyTorch reference, which re-encodes the past
frames of every window; the real-time engine of the repository (deploy/) caches each frame's 16 pooled tokens
instead.
Limitations
- English captions of 30-50 words that describe the last 16 s; no audio, no speech, no memory beyond 16 s.
- Fact-F1 measures agreement with the teacher's claims, so the teacher's errors are not counted against the model.
- At L = 0 the model guesses details a single frame does not show; read more past frames when the delay allows.
- Greedy decoding in bfloat16 can change a word at a near-tie across GPUs and batch sizes.
- Not evaluated for safety-critical use, and not trained to identify people.
License
The weights are a derivative of LiquidAI/LFM2.5-VL-450M and are released under the LFM Open License v1.0 (LICENSE in
this repository), which limits commercial use to legal entities under 10 million USD of annual revenue. The training
videos come from LLaVA-Video-178K (academic research and education use), OpenVid-1M (CC BY 4.0) and, for the 2 s
captioner, ShareGPT4Video (CC BY-NC 4.0; its Mixkit, Panda-70M, Ego4D and BDD100K clips under their own terms). The
captions used for training were written by Qwen3.8-27B; no caption of these datasets was used. The code is under
Apache-2.0.
Citation
@misc{benabbes2026yolomt,
title = {You Only Look Multiple Times: YoloMT, a Real-Time Streaming Model on a T4},
author = {Ben Abbes, Nessim and Le, Duc Han and Mtibaa, Sabri and Nguyen, Van-Tam},
year = {2026},
eprint = {2611.34601},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2611.34601}
}