It's a ChatCompletions proxy that harvests training examples from live traffic to train a LoRA adapter, and then if that passes eval configures the upstream server to use it.
But in an offline, batch training way, using other sources too. I wonder how much time this sort of "dream" approach actually spends on improving agent/harness interaction that should actually be separated out into a general LoRA like that.
Yeah it would be helpful if their main readme had a few sentences at the top to just lay out the key points of what they built. This piecemeal automatic fine tuning is pretty interesting, I think it's likely to extend to per-task n-gram embeddings, and between the two I can see this lowering the hardware bar for useful self-hosted inference a good amount. I don't think it is really comparable to the harness fine tuning like what HF is doing, I think a real RL environment will probably be much more effective for a model that needs to be more general purpose, while the Songe style incremental approach will be useful deployed along side a specific app for high volume repetitive work. You can imagine a single endpoint serving one base model + a distinct n-gram and LoRA adapter per task family. Model families like Qwen and Nanbeige make me think this is becoming pretty doable already.
Right. But it feels like it might be more effective on top of a more harness-adapted model, because otherwise Songe etc. are going to spend quite a lot of their dream time learning to fix the harness-related issues, every project?
I am somewhere between completely ill-informed and dangerously ill-informed, so thank you for your time :-)
(The reason I am interested in this right now is I am sat looking at a model, Muse Glimmer, that often misuses some Pi tools, and the various approaches — ask it not to in a system prompt, modify the tools so they work the way it expects, or possibly train it not to — have finally moved this whole topic area top-of-mind)
I think complementary, yes. The HF blog post said they rented 2x B200 to do the tuning which is not that cheap on a personal budget, if you find a good way to scale it down effectively that would be interesting. I would try other similar size models first though to see what is the closest, including just Qwen with their adaptor since they included Pi in their set of targets.
Makes sense. If the base already handles the harness well, Dream time goes to what's specific to you, not to fixing tool calls in every project. Good idea, we'll consider adding it.
https://github.com/sous-labs/songe/blob/main/DESIGN.md
Replies (1)
All of this is so exhausting.
ETA: also, thank you for your kind reply :-) I should be less grumpy.
ETA 2: Hugging Face seem to have done something broadly along these lines focussing on improving the model/harness interaction:
https://huggingface.co/blog/harness-adapters-at-scale
https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted
But in an offline, batch training way, using other sources too. I wonder how much time this sort of "dream" approach actually spends on improving agent/harness interaction that should actually be separated out into a general LoRA like that.
Replies (1)
Replies (1)
I am somewhere between completely ill-informed and dangerously ill-informed, so thank you for your time :-)
(The reason I am interested in this right now is I am sat looking at a model, Muse Glimmer, that often misuses some Pi tools, and the various approaches — ask it not to in a system prompt, modify the tools so they work the way it expects, or possibly train it not to — have finally moved this whole topic area top-of-mind)
Replies (2)
Replies (1)
It's more that this is the first case where I have thought, oh, is it time I learned that!?
Discord if you want to follow along: https://discord.gg/gVuvpaTAff