Fine-Tuning Tiny Models With LoRA, On-Device or in the Cloud
Why fine-tuning is the secret weapon of tiny models, and how LoRA lets you specialize a TinyLM model on your own data cheaply.
Tiny Models Want to Be Specialized
A general-purpose tiny model is a weak generalist. But a tiny model fine-tuned for one task is a strong specialist. This is the key insight behind TinyLM: you are not meant to use the base model for everything. You are meant to adapt it to your specific job, where it can punch far above its parameter count.
What LoRA Does
LoRA — Low-Rank Adaptation — is a technique that trains a small set of additional weights instead of updating the whole model. For a tiny model this is doubly attractive: the base is already small, and LoRA adds only a thin adapter on top. You get specialization without retraining millions of parameters and without a giant new file.
On-Device Fine-Tuning
Because TinyLM models are so small, you can fine-tune them right on a device for some tasks. The model and the adapter both fit in browser memory, and the training data never leaves the user's hardware. This keeps the private-by-physics property even during training — the data used to specialize the model stays where it was created.
Cloud Fine-Tuning
When you have more data or want faster training, you can fine-tune in the cloud and then ship the resulting adapter to devices. The trained model still runs fully offline at inference time; only the one-time training step used a server. This hybrid keeps deployment private while making training convenient.
A Practical Workflow
A typical flow looks like this: collect a focused dataset for your task, run LoRA fine-tuning on a base model like eeny or meeny, evaluate on held-out examples, then bundle the adapter with your app. Users download the specialized model once, and it caches in IndexedDB like any TinyLM model. You can compare your tuned model's behavior against the base at https://ai.sprapp.com.
Why Small Makes Fine-Tuning Cheap
Fine-tuning cost scales with model size. With base models under 7 million parameters, training runs are fast and inexpensive — often a matter of minutes on modest hardware rather than hours on a cluster. This low cost means you can iterate: try a dataset, see results, refine, repeat.
The Honest Limits
Fine-tuning does not give a tiny model new general intelligence. It teaches the model your task and vocabulary, which lifts performance on that task — but the model is still tiny and still narrow. Set expectations accordingly: a fine-tuned eeny is excellent at the one thing you trained it for and unremarkable at everything else. That focus is the point.
When to Fine-Tune
Fine-tune when the base model is close but not quite right for your data, or when you have a clear, narrow task with example data to learn from. If you find yourself needing broad, open-ended reasoning, fine-tuning a tiny model will not get you there — that is a job for a large model.
The Payoff
A fine-tuned tiny model is a sweet spot: specialized enough to be genuinely useful, small enough to run offline in a browser, and private enough to keep all the data on the device. With LoRA making fine-tuning cheap, this is where most real TinyLM value lives.