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.4.tar.gz (466.2 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.4-py3-none-any.whl (509.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: traintrack_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 466.2 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.4.tar.gz
Algorithm Hash digest
SHA256 bb7d1a72e92a8a2015a35570438b68f7de7e5e2de253d0bbaf042e54973351e4
MD5 1766d57c5e6fd071891e47a3d83ba224
BLAKE2b-256 971e0c91c01ec05d21fbe379273a85a8a21b15cbd182e80cca0bcd4d2f9f0354

See more details on using hashes here.

File details

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

File metadata

  • Download URL: traintrack_ai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 509.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b79ce04ebda478864e1238a82c27b564ee923675ac53ccbb43f1fef35101b7d
MD5 3ddd1c0c21f442dd5f7d1075768538b2
BLAKE2b-256 c88d1c955836be5a582c8f14a3e9b0b8f0e64a135bc91c38e71407e0e567fe30

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