Skip to main content

TrainTrack Client: PyTorch training-time evaluation

Project description

TrainTrack

Training-time evaluation and win-rate tracking for LLMs.

TrainTrack helps you monitor model behavior during training by running automated LLM-as-a-Judge evaluations on every checkpoint.

Features

  • 🚀 Real-time Metrics: Get immediate feedback on conciseness, helpfulness, and reasoning quality.
  • 📊 Win-rate Tracking: Automatically track win-rates against an anchor checkpoint (baseline) or the previous step.
  • 📚 Built-in Benchmarks: Integrated support for GPQA, MMLU-Pro, IFEval, and TruthfulQA.
  • 🛠️ Seamless Integration: Works with standard PyTorch loops and HuggingFace Trainer.

Quick Installation

pip install traintrack-ai

Minimal Example

from traintrack import TrainTrackHook

# 1. Initialize the hook
hook = TrainTrackHook(
    model=model,
    tokenizer=tokenizer,
    run_name="my-first-run",
    datasets=["reasoning", "helpfulness"]
)

# 2. Capture a baseline (optional)
hook.capture_anchor()

# 3. Add to your training loop
for step, batch in enumerate(train_dataloader):
    # ... training logic ...

    hook.step(step)

Documentation

For full documentation and advanced configuration (custom metrics, rubrics, and category-based evaluation), visit: github.com/traintrack/traintrack

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

traintrack_ai-0.1.1.tar.gz (465.4 kB view details)

Uploaded Source

Built Distribution

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

traintrack_ai-0.1.1-py3-none-any.whl (508.0 kB view details)

Uploaded Python 3

File details

Details for the file traintrack_ai-0.1.1.tar.gz.

File metadata

  • Download URL: traintrack_ai-0.1.1.tar.gz
  • Upload date:
  • Size: 465.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for traintrack_ai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e7142d040fda7936c642e6e8d01fb670a96d3620836e140cb15082ba606022a
MD5 32d4c1964f1b0aef90e19f8056486db9
BLAKE2b-256 562cf5c519b36b8adfeed6220ce4306351decf3bb744ef952ebca09bc6203400

See more details on using hashes here.

File details

Details for the file traintrack_ai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: traintrack_ai-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 508.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for traintrack_ai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67dae52bf7f345ba4e952e5e5fa54812fc32fb9e1e1713be69da35a0f5e1efd2
MD5 8457eb005871622f164f4c296908e5c4
BLAKE2b-256 865be9748c25939d3722bdf1c9804d13e522916bfec4328c3688d16cdf59e042

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