hn.today

A training engine for your local model, using your idle compute

github.com226 points71 comments
Screenshot of A training engine for your local model, using your idle compute

Songe is an open-source training engine for people using local language models with coding agents such as opencode or pi. It sits between an agent and a local model server, records interactions - including user corrections, stated preferences, retries, and tool errors - and uses periods of inactivity to improve the model. A Quick Dream turns lessons into changes to the model’s instructions within minutes. A Deep Dream creates practice examples based on those lessons, then trains a small adapter, a process designed to teach the model behaviors drawn from the user’s own work. Real conversations are not used directly as training material, and Songe does not run tools.

The system is intended to use spare computer capacity without interrupting work: it starts only when the agent is idle, memory is available, and battery conditions are suitable, then stops when the user returns. It evaluates a candidate model against the current version on relevant examples, adopting the new version only if it performs better without damaging existing capabilities; previous versions can be restored. Songe runs locally with no account, telemetry, or cloud service. It supports several model servers, while training requires a compatible GPU setup: Apple Silicon uses MLX, and NVIDIA or AMD hardware uses PyTorch; machines without GPUs can record activity but cannot train. Installation configures a background service and agent settings, with commands for monitoring, pausing, forgetting recorded conversations, and uninstalling.

Read on github.com71 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.