~/talk

From 46% to 90%: Fine-Tuning Tiny LLMs for On-Device Agents

linkedin:cbrick
slides:none on file

Function Gemma ships at 270 million parameters and runs almost 2,000 tokens per second prefill on a Pixel 7, initially scoring 46% on app intents and, after fine‑tuning on synthetic data, reaching >90% on eight of ten functions. A live restaurant roulette skill runs fully on-device and Eloquent chains two sub‑hundred‑million models for robust transcription. The stack uses system LLMs like Gemma 4 via AI Core and app‑embedded models with LiteRT-LM, with an export flow from PyTorch to on‑device runtime.

AI-written summary · about

  1. 0:00Introduction to on-device agents and tiny LLMs
  2. 0:48Overview of AI Edge, SLMs, and TLMs
  3. 1:06Taking a look at tiny models
  4. 1:24Motivations for on-device AI (latency, privacy, offline use)
  5. 3:01System-level GenAI (Gemini Nano via AI Core)
  6. 4:03App-level GenAI (LiteRT-LM for custom/boutique models)
  7. 5:06Google AI Edge Gallery app demo
  8. 6:22Deep dive into agent skills and the skill harness
  9. 7:41How the skill harness works (system prompts, tool calls, and JavaScript UI)
  10. 9:00Creating and publishing your own skills
  11. 10:28Using LiteRT-LM runtime for model deployment
  12. 12:31Export and inference workflow (from PyTorch to deployment)
  13. 13:19Function Gemma: Robust, small-scale function calling
  14. 14:35Fine-tuning workflow for tiny models using synthetic data
  15. 16:01Eloquent: A production transcription app example using tiny models
  16. 17:28Q&A: Agent skill robustness and multi-skill calling
  17. 19:26Q&A: LiteRT-LM file format vs. Task files
  18. 20:00Q&A: Performance on CPU/TPU and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.