mirror of
https://github.com/sous-labs/songe.git
synced 2026-12-01 12:47:14 -10:00
A local model that learns from how you use it: a proxy that records your agent's conversations, Quick Dreams that add your preferences to the model's instructions, and Deep Dreams that train a small adapter on practice and use it only if it passes its checks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
29 lines
806 B
Python
29 lines
806 B
Python
"""Run the same bounded candidate probes as init without writing agent configs."""
|
|
|
|
import argparse
|
|
import json
|
|
from pathlib import Path
|
|
|
|
from songe.schedule import probe
|
|
from songe.sleep.probe import probe_models
|
|
from songe.storage import private_dir
|
|
from songe.upstream.lmstudio import downloads_folder, local_models
|
|
|
|
|
|
def main():
|
|
p = argparse.ArgumentParser()
|
|
p.add_argument(
|
|
"--output",
|
|
type=Path,
|
|
default=Path("/Volumes/disk/songe-build-cache/trainability"),
|
|
)
|
|
p.add_argument("--model", type=Path)
|
|
args = p.parse_args()
|
|
models = [args.model.resolve()] if args.model else local_models(downloads_folder())
|
|
result = probe_models(models, private_dir(args.output), probe())
|
|
print(json.dumps(result, indent=2))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|