A training engine for your local model, using your idle compute github.com · 41 ...
HN Best 200 @best
A training engine for your local model, using your idle compute github.com · 41 points · 4 comments · HN thread
TL;DR Songe is an open-source tool (Apache-2.0, installed via uv, pipx or Homebrew) that records how you use a local model through agents like opencode or pi, then trains that model while your machine is idle. A new version is only used if it beats the current one on your own conversations, and nothing leaves your machine. The thread is short and mostly asks how much gain to expect and how improvement is judged.
- Songe sits between your agent and a local model server (LM Studio, vLLM, Ollama, llama.cpp or mlx-lm) and records corrections, stated preferences, retries and tool errors.
- Quick Dream adds your stated preferences to the model's instructions in minutes; Deep Dream writes practice scenes from lessons and trains a small adapter, taking an hour or more.
- Training uses on-policy distillation: the unmodified model shown the lesson acts as teacher, and the model with a small adapter shown only the scene acts as student.
- A new version is used only if a judge finds it clearly better on moments the user reacted to, does not change what already worked, and stays healthy; one command rolls back a version.
- Runs only when the agent is idle, memory is free and the battery is fine; tested end to end on LM Studio (macOS) and vLLM (Linux), training on Apple Silicon and NVIDIA. Machines without a GPU can serve and record but not train.
- No account, no telemetry, no cloud; Songe never runs your tools.
Discussion The thread is small, with four comments, and is mostly a set of questions to the author rather than a debate. Readers ask what gains to expect from overnight training and how the system decides an improvement is real. One commenter is skeptical that a small dataset will move results much, and another points to Hugging Face work on harness-tuned adapters as evidence that tuning small local models to a specific agent harness can pay off. The mood is curious and cautiously interested, with no reported first-hand results from running Songe.
- Gains from small personal datasets are probably modest (some): One commenter notes that around 100 good examples is a small set for fine-tuning and doubts a weekend of dreams will produce much improvement.
- Harness-specific tuning of local models has real promise (some): A commenter cites a Hugging Face blog on adapters trained for specific harnesses, and a Pi-adapted Qwen model, as evidence that tuning to a harness can reduce failed tool calls.
- Need a worked example of how judging works (some): A commenter asks how improvements are judged and whether the system replays corrected attempts, and asks the README to show a transcribed example rather than describe the process.
Links from the comments