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
GET /v1/training/capabilities— confirmsample(andlogprobsif needed).- Create a session and LoRA run, or reuse a run with a synced sampler.
Evaluation loop
- Build a
SampleRequestwithrequired_weight_versionset to the synced version. - Poll the sample operation to completion.
- 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
When to sample vs export
- Use
samplefor live generations against a trained adapter. - Use
export_lorawhen you need a portable artifact for offline evaluation in another environment.
Cleanup
Finish the run and close the session when evaluation completes, orcancel on
failure.