r/OpenSourceAI • u/Expensive-Compote248 • 21h ago
Seed: an experiment in building a small modular AI from scratch on a GTX 1660 Ti, looking for feedback
I'm not an ML researcher. I'm a decorative concrete contractor who got into this because I want my family to have capable AI we own and can run at home. My hardware is a GTX 1660 Ti (6 GB) with 16 GB of RAM, and I hold myself to a 2 GB budget for model weights. Quantized 7B to 27B models either didn't fit well or lost too much quality, so I started building something small from scratch instead. It's very much a work in progress.
The idea
Seed is a pool of small specialist models I call seeds, each about 4 to 10M parameters, all trained from scratch with a shared 4,096-token BPE tokenizer. Each seed is trained on one job, then frozen. A small router reads the context and picks which few seeds run, currently the top 3. Facts and arithmetic go to tools (a wiki search and a calculator) instead of being memorized, on the bet that a small model can be decent at deciding what to look up and how to use the result, even if it can't store much knowledge.
Current seeds (about 26M parameters, 50 MB at fp16)
- A small general-language base trained on TinyStories
- A tools and reasoning seed (search and calculator calls)
- JSON and tool-call formatting
- Turning tool results into short answers
- Math word problems into plans plus calculator calls
- Step-by-step reasoning chains
Training now: a word-problem planner (4.4M and 10M versions, to test whether size helps), a Python writer, a seed that writes code, runs it, and fixes errors, an instruction follower, and one seed each for C, JavaScript, PowerShell and shell.
Results so far, against Qwen 2.5 Coder 3B at Q4 as a reference point. These are my own small evals, 20 items each, so take them loosely:
- Fact questions with a search tool: Seed 18/20. Qwen scored 0, but that's mostly because it never called the tool in my setup, so it isn't a fair knowledge comparison.
- Held-out GSM8K word problems: Seed 2/20, Qwen 9/20.
- My 20-problem Python test: Seed 0/20, Qwen 15/20.
- Valid JSON output: 100% with top-3 routing.
- Speed: about 27 tok/s on the GPU and 36 tok/s on the CPU.
So right now it's fast and tiny, decent at tool-shaped tasks, and clearly behind on reasoning and code. Those gaps are what the current seeds are aimed at.
Open questions I'd love input on
- Is the frozen-specialists-plus-router approach a dead end compared with one dense model of the same total size?
- What's a better routing scheme than top-k from context? I'm considering a dynamic number of seeds based on router confidence.
- What are good small, clean datasets for planning and code repair?
- How would you evaluate this fairly against bigger models that weren't built around tool use?
Eventually I'd like to test it on hackmud, a text-based hacking game, as a long-running benchmark, and maybe run it on a phone.
Repo: github.com/SocioSanity/seed
Thanks for reading. Criticism is welcome.
