Skip to main content

ML experiment tracker

Project description

Goodseed

ML experiment tracker. Logs metrics and configs to local SQLite files, serves them via a built-in HTTP server, and visualizes them in the browser.

Install

cd goodseed
pip install -e .

For development:

pip install -e ".[dev]"

Quick Start

import goodseed

with goodseed.Run(experiment_name="my-experiment") as run:
    run.log_configs({"learning_rate": 0.001, "batch_size": 32})

    for step in range(100):
        loss = train_step()
        run.log_metrics({"loss": loss}, step=step)

Then view your runs:

goodseed serve

How It Works

Each Run() creates a SQLite file at ~/.goodseed/projects/<project>/runs/<run_name>.sqlite. Metrics and configs are written there during training. After the run closes, the WAL is checkpointed so the result is a single .sqlite file.

The goodseed serve command starts a local HTTP server that reads these files and exposes a JSON API. The frontend at goodseed.ai connects to this server to display your runs.

Configuration

Variable Description
GOODSEED_HOME Data directory (default: ~/.goodseed)
GOODSEED_PROJECT Default project name (default: default)

CLI

goodseed                   # Start the server (default command)
goodseed serve [dir]       # Start the server, optionally from a specific directory
goodseed serve --port 9000 # Use a custom port
goodseed list              # List projects
goodseed list -p default   # List runs in a project

Tests

pip install -e ".[dev]"
pytest tests/ -v

See DOCS.md for architecture details and API reference.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goodseed-0.2.4.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goodseed-0.2.4-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file goodseed-0.2.4.tar.gz.

File metadata

  • Download URL: goodseed-0.2.4.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.4.tar.gz
Algorithm Hash digest
SHA256 9f6a116f40c380da09c66527c669a3e6a583d26469095f5fc829e2d05edba49b
MD5 63547948d346b8f4bb233c2e8d92a706
BLAKE2b-256 9f9865f2295b0d32655445a26f0904cec25668b5fbd41ac7dfdcd0fea34506e5

See more details on using hashes here.

File details

Details for the file goodseed-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: goodseed-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for goodseed-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3d165557c90668c192b28db735514c640a1254bf7b39d0032de24379f12cc255
MD5 7b186b0b790382302fe20a278db38f4c
BLAKE2b-256 18d726144dc67fbf5e88d08c9d5f81892f7583539298807e2aa9e9c84376da9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page