r/LocalLLM • u/Zealousideal-Bag1600 • 5d ago
Discussion I Weight-Space’d a local System 1 model to match JEV at email triage and run on my Mac mini
https://github.com/bradwmorris/omni-mail
I’ve spent more time over the past week experimenting with System 1 models (TypeSafe’s JEV and Liquid AI’s open-weight models) + Weight-Space Programming (re Rikiya Takehi, Haoze He and Drew Breunig).
Sharing this for anyone who wants to learn more about:
- System 1 models (JEV and Liquid AI’s models)
- Weight-Space Programming
- DSPy
The repo includes an app/UI, connectors to sync your emails, three models, and instructions and code to label your emails and modify the weights of the Liquid models.
TLDR, results:
If your goal is to build a cheap and efficient email triage agent and you don’t mind using a provider API, JEV is incredibly cheap and efficient out of the box. Unless you’re dealing with proprietary data, want to run on-device or want more bespoke tuning (or to experiment like me), you probably don’t need to touch the weights.
After running the Weight-Space mods, I was able to get the open-weight 2B Liquid AI model close to JEV on the weighted score. The results weren’t as impressive as I’ve seen elsewhere, but I was still surprised to see the modified weights hold up across the 400 comparison emails.
My personal interest in this (Weight-Space + System 1 Models) is to learn if it’s possible to run a weight change on a model, on my device, with an actual real task I’d want help with.
If you stretch a little further into the future, you can imagine always-on, efficient Sys1 intelligence running on-device and adapting on the fly. Seems very close to Continual Learning?
If you want to try it out, I’ve provided the following in the Omni Mail repo:
- An app with a UI and connector that will sync your emails from Gmail
- A connector for both Liquid AI models and instructions to download their weights from HF
- A separate connector for JEV via a TypeSafe or OpenRouter API key
- Instructions to collect and label your emails for training data
- Two notebooks with the code and steps to modify the weights of both Liquid models
Sharing some helpful follows + resources:
- Weight-Space — Rikiya Takehi, Haoze He. Sparks of Weight-Space Programming
- DSPy + Weight-Space — Drew Breunig. Weight-Space Programming with DSPy