5 Downloads Updated 3 hours ago
ollama run timothywong731/tim-360m-instruct:F16
Updated 3 hours ago
3 hours ago
a0ada5e54063 · 725MB ·
Most practitioners fine-tune existing models. TIM goes further. It implements a modern decoder-only transformer from first principles, trains its own tokeniser, curates a multi-source corpus, and pretrains with a competitive small-model recipe, all within the limits of consumer grade GPUs. The result is a fully owned model family under the Apache 2.0 licence, where every design decision is documented and reproducible.
Large models get the headlines, but small models do much of the real work. A model with a few hundred million parameters fits on a laptop, a phone or a single office server, and for many focused tasks that is all you need.
| Specification | Detail |
|---|---|
| Size | 360 million parameters |
| Type | Decoder-only transformer with a custom tokeniser |
| Training data | About 50 billion tokens of high-quality web, code and maths text |
| Post-training | Tuned to follow instructions and chat |
| Runs on | Everyday hardware, fully offline if needed |
| Licence | Apache 2.0, free for commercial use |
The whole pipeline runs on one Windows 11 workstation (training in WSL2):
| Component | Spec |
|---|---|
| GPU | 2 NVIDIA RTX 4090 cards (24 GB each, no NVLink; DDP over PCIe) |
| CPU | AMD Ryzen Threadripper PRO 7965WX (24 cores) |
| RAM | 128 GB DDR5 |
| Storage | Local NVMe for hot tokenised shards; network storage for raw corpora |
These limits shaped every engineering decision: the 24 GB ceiling per GPU, the PCIe-only interconnect, and a hobbyist’s calendar. They led to a pretraining window of roughly two weeks.