Four evaluation approaches
1. Perplexity
How surprised the model is by the test data. Lower = better. Good for sanity checks during training, but doesn't tell you about task quality.
2. Task-specific metrics
Accuracy, F1, BLEU, ROUGE — depends on your task. Classification → accuracy. Summarization → ROUGE. Generation quality → human preference rate.
3. LLM-as-judge
Use a strong model (GPT-4o, Claude) to evaluate outputs. Surprisingly reliable for many tasks and much cheaper than human evaluation.
4. Human evaluation
The gold standard. Have domain experts rate outputs on relevant dimensions (accuracy, helpfulness, safety, style). Expensive but irreplaceable for high-stakes use cases.
The combined evaluation strategy
Mix all four:
- Perplexity for training-time monitoring.
- Automated metrics for quick iteration.
- LLM-as-judge for comparing model versions.
- Human evaluation for final validation before deployment.