Minus-v0.2 is the vision model in Minus, an HDMI box that blocks TV ads by looking at the picture. It is a 450M-parameter vision-language model (LFM2.5-VL-450M) fine-tuned to answer two questions about a TV frame:
It replaces Minus-v0.1 on the box. Same size, same speed, same files, so it is a drop-in swap. All numbers below were measured on the box's AX650 NPU, not on a server.
On the 800-image held-out set every Minus model has been judged on, v0.2 misses 1 ad in 400 where v0.1 missed 25, and wrongly blocks 6 non-ads where v0.1 blocked 10. Accuracy goes from 95.6% to 99.1%.
The biggest gains are on the frames that confused the box in real use: frames where v0.1 flip-flopped between ad and not-ad, was unsure (P(ad) between 0.1 and 0.9), or disagreed with the box's OCR. On 328 of these, all labeled by hand and none used in training, missed ads fall from 46 to 11.
v0.1 answered MENU for every screen it was ever shown (29,974 of 29,979 times on a real box). v0.2 reads the screen correctly 95.9% of the time, and on the 135 frames of video playing it never answers anything that would make the box act (no false SCREENSAVER, PAUSED or DIALOG).
| on the box (AX650 NPU) | Minus-v0.1 | Minus-v0.2 |
|---|---|---|
| 800-image test: accuracy | 95.6% | 99.1% |
| ad recall / non-ad recall | 93.8% / 97.5% | 99.8% / 98.5% |
| 328 hard frames: accuracy | 83.2% | 95.1% |
| screen-state check (193 frames) | 13.5% | 95.9% |
| time per frame | ~360 ms | ~365 ms |
The axera/ folder is what the Minus box downloads. Files, how it runs and on-device numbers are
in its README.
hf download TheGarageDev/Minus-v0.2 --include "axera/*" --local-dir minus-v0.2
cd minus-v0.2/axera && python3 infer_vlm_fused.py frame.png
import torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor
model = AutoModelForImageTextToText.from_pretrained("TheGarageDev/Minus-v0.2", dtype=torch.float32)
proc = AutoProcessor.from_pretrained("TheGarageDev/Minus-v0.2")
img = Image.open("frame.png").convert("RGB").resize((512, 512), Image.BILINEAR) # squash, like the box
msgs = [{"role": "system", "content": [{"type": "text", "text": "You are a helpful multimodal assistant by Liquid AI."}]},
{"role": "user", "content": [{"type": "image", "image": img},
{"type": "text", "text": "Is this an advertisement? Answer Yes or No."}]}]
inputs = proc.apply_chat_template(msgs, tokenize=True, add_generation_prompt=True, return_dict=True, return_tensors="pt")
logits = model(**inputs).logits[0, -1]
yes = logits[[12948, 12184, 18051, 18672]].max(); no = logits[[5048, 2744, 3253, 1295]].max()
print("ad" if yes > no else "not an ad")
For the screen check, use the prompt Classify this TV screen: PLAYING, PAUSED, DIALOG, MENU, or SCREENSAVER? and
take the class whose first token scores highest (token ids are in axera/README.md).
Squash the image to 512×512 first. v0.2 was trained on squashed frames; aspect-preserving resizes work, but not as well.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo TheGarageDev/Minus-v0.2 ./model-folder