Skip to main content

Overview

Evaluation stays in your application. Whitney provides sampling primitives; you hold prompts, references, rubrics, and scoring logic. There is no hosted evaluator, dataset upload route, or managed eval job.

Prerequisites

  1. GET /v1/training/capabilities — confirm sample (and logprobs if needed).
  2. Create a session and LoRA run, or reuse a run with a synced sampler.

Evaluation loop

For each evaluation prompt:
  1. Build a SampleRequest with required_weight_version set to the synced version.
  2. Poll the sample operation to completion.
  3. Run your scorer (exact match, rubric, model judge, execution check, etc.) in your own infrastructure.
examples/training/http/eval_loop.py is a complete, runnable implementation: it samples once, then calls a --score MODULE:CALLABLE you supply.
score.py
Log results to your observability stack. Whitney does not host eval datasets or Langfuse/Braintrust connectors in v1.

When to sample vs export

  • Use sample for live generations against a trained adapter.
  • Use export_lora when you need a portable artifact for offline evaluation in another environment.

Cleanup

Finish the run and close the session when evaluation completes, or cancel on failure.