DocsPlatform
Evaluations
LLM-as-a-judge quality measurement. Pick a judge model, the model(s) under test — including your tuned adapters — and a criterion; get aggregate metrics plus row-level judge feedback.
Three modes
| Mode | The judge… | You get |
|---|---|---|
| Classify | sorts each response into one of your categories (e.g. safe/unsafe) | label distribution, pass rate against your pass labels, mean confidence |
| Score | grades each response on a numeric scale against your criterion | mean and standard deviation, range seen |
| Compare | picks a winner between two models, response by response | win rates for A and B, tie rate |
Create a run
curl -X POST https://ragnarok-ai.com/api/evals \
-H "Content-Type: application/json" \
-d '{
"type": "compare",
"judge_model": "Qwen/Qwen2.5-0.5B-Instruct",
"models": ["Qwen/Qwen2.5-0.5B-Instruct", "ft:a1b2c3…"],
"input_mode": "prompts",
"prompts": ["How do I reset my password?", "Summarize our refund policy."],
"criterion": "Accuracy and helpfulness for a support assistant"
}'
# → { "eval_id": "…", "status": "queued" }Instead of inline prompts, pass "input_mode": "dataset" with a dataset_id and dataset_column to evaluate over anuploaded dataset (first 100 rows).
Judges
GET /api/evals/judges lists the local judge — Qwen2.5 0.5B-Instruct. Larger judges (70B / 72B) are not available on this stack.
If the task has a known correct answer, use a held-out benchmark to measure accuracy. For judge-based runs, the inference rate applies to the model and judge tokens.