Skip to content

Evaluation

Systematic measurement of model quality on examples it did not see during training. Separates 'seems to work' from 'proven to work'.

Why

  • to catch overfitting;
  • to compare two versions of the model;
  • to ensure that changes did not break quality.

Key Metrics

Metric What it shows
Accuracy Proportion of correct answers
Precision / Recall Precision and recall
F1 Balance of precision and recall
Perplexity Language model confidence

How It Works

The dataset is divided into parts: train (training), validation (tuning), test (final evaluation). The test part is unseen by the model until the end.

Evaluation in RAG

For RAG systems, the quality of search and the quality of the final answer are evaluated separately. More details — in the article «RAG Quality Evaluation».

See Also

← All terms