The author trained a small language model to replace Gemini Flash for a summarization task, achieving 97% accuracy with 0.06s latency, suitable for deployment in an internal app.
I have a tool that uses Gemini Flash with the lowest thinking budget to do summarization work. It's very fast, 0.9-1.2s in most cases. But I have a user experience problem where people make the wrong choice when using an internal app for the team. Gemini Flash can figure out what the user should do and highlight the right next step, but people move too fast, so that the 0.9s doesn't work. I know, 0.9s doesn't seem too long, but if you use the app a thousand times per day, you just click, click, click super fast and don't think about it much. The prompt was something like "For 'string a' and 'string b' is string b related to string a 'in a certain way'?" and the answer is a boolean. Deterministic python and javascript can answer this question in a couple ms and it is right a little over 66% of the time. Gemini Flash is right 99% of the time. I was hesitant to train a new model, I thought it would be hard. I just followed the instructions a commercial AI tool suggested. I had about 550 example use cases. I then used two different frontier models to create look-alike examples so that I had about 2,500 total. The training was done on my RTX A6000 16gb GPU. It took about 15 min. The end result is a small model, about 50MB. When I run it locally it suggests the right answer 97% of the time and it responds in 0.06 seconds when run on CPU (older Threadripper, 3.1GHz). The difference between 99% and 97% accuracy is perfectly acceptable in this case. I will deploy this so that it runs server side, which will add a tiny bit of latency and the server probably will be a little slower than my workstation. I am also logging the accuracy and comparisons so that I can evaluate it and supplement the training. In theory, I can do this client side in the browser. I will deploy over the weekend, but my expectation is the 0.1-0.2 second latency will be fast enough to not require the complexity of client side inference, but it sounds like fun.
A novice asks for recommendations on small language models and prompting strategies to build an employee note summarization engine under 2000 tokens, after experiencing hallucinations with Qwen2.5-7B-Instruct.
A tweet highlights Jina AI's ReaderLM-v2, a small 4GB model that achieves high accuracy in extracting information from messy DOM elements, exemplifying the trend toward specialized small language models.
AVERI, in collaboration with Google DeepMind, OpenMined, and MLCommons, announced the first double-blind evaluation of a proprietary language model, Gemini 2.5 Flash-Lite, marking a historic milestone in AI model assessment.
A team has developed a platform enabling users to fine-tune and deploy small language models with unlimited API inference, using their own GPUs for efficient training and inference.
Researchers introduce 8M-30M parameter micro language models that instantly generate the first few words on-device before cloud models complete responses, enabling responsive AI on ultra-constrained devices like smartwatches.