How to get ~20ms image retrieval on a tiny CPU: finetuned TinyCLIP recipe
tomaarsen · x · 2026-11-10
Tom Aarsen explains how he achieved 20ms image retrieval latency on a tiny CPU: inspired by @Angaisb's pixel-art dataset, he finetuned a small multimodal embedding model on its (image, caption) pairs.
He loaded TinyCLIP (39M params) into Sentence Transformers and trained with a positive-pair MNRL setup, pulling caption embeddings toward matching images. The resulting model is released on Hugging Face as tomaarsen/TinyCLIP-39M-PixelArt, trained on the 2.75M-sample pixel-art-atlas-1.4m dataset with MatryoshkaLoss and MultipleNegativesRankingLoss.
More from Research
- Whole-human-kidney blood flow imaging achieved with multi-lens ultrasound arrays + 3D ULM — Promptmethus · 2026-11-29
- GPU Power-Current Sensor Spots Hidden AI Training in 3 Seconds — bigdata · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Same 80% accuracy, Brier scores 0.1961 vs 0.1600: a tiny demo of probability quality — Heavy-Confidence1826 · 2026-11-29
- Riemann Hypothesis proof condensed to 117 pages in paper rebuilt with Claude's help — birchlse · 2026-11-29
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29