Automated ML run naming and summarization using local or remote LLMs.
Project description
Autonym
Automated ML Run Naming & Summarization using LLMs.
This is a vibe-coded tool to help me track my protoyping experiments. Autonym experiment scribe reads your current git diff, separates logic changes from config updates, and uses an LLM (Local or Remote) to generate a semantic run_name and technical description.
It solves the problem of manual run tracking ("run-42", "run-final-final") by ensuring every experiment has a descriptive, auto-generated label based on what changed in the code.
Features
- Smart Diffing: Separates code logic from YAML config changes.
- Grammar Forcing: Uses Pydantic grammar forcing to output valid JSON to avoid excessively long responses.
- Provider Agnostic: Supports local Ollama (free, private) and OpenAI (remote, fast).
Usage
import wandb
from autonym import Autonym
# ... config setup ...
scribe = Autonym(provider="ollama", model_name="phi3.5")
# Generate run metadata from git diffs & config changes
meta = scribe.summarize_run(runtime_config=config, ref_config_path="config.yaml", base_ref="origin/main")
if meta:
wandb.init(name=meta.run_name, notes=meta.description, config=config)
else:
wandb.init(config=config)
# ... training loop ...
train(config)
Installation
# 1. Install Python dependencies
pip install ollama openai pydantic
# 2. (Optional) For local inference, install Ollama
# [https://ollama.com/download](https://ollama.com/download)
ollama pull phi3.5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autonym-0.1.0.tar.gz.
File metadata
- Download URL: autonym-0.1.0.tar.gz
- Upload date:
- Size: 174.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fcf7ef7f8853d2e5930720410eeed3a3744abc0936e268a5bb4ec334c639835
|
|
| MD5 |
2e8cfdfbe00d1ed0e1dc5a17c238c450
|
|
| BLAKE2b-256 |
010bce1850e66d179e8d1aa4220d81c52c72c6c8e0e70d21dda920da0e47fa53
|
File details
Details for the file autonym-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autonym-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9ad7fbcecdc5a054eb8c9e825737d5b1ccedd2337517061282df057b1818fcf
|
|
| MD5 |
1b7549c4b731bbb2ade799252487bd37
|
|
| BLAKE2b-256 |
48fdd2b4f3cf05f367ec782891444dd1abac759097da36c3d37286164fc60e59
|