Metric List

Automatic metrics for multiple choice tasks

These metrics use log-likelihood of the different possible targets.

All these metrics also exist in a “single token” version (loglikelihood_acc_single_token, loglikelihood_acc_norm_single_token, loglikelihood_f1_single_token, mcc_single_token, recall@2_single_token and mrr_single_token). When the multichoice option compares only one token (ex: “A” vs “B” vs “C” vs “D”, or “yes” vs “no”), using these metrics in the single token version will divide the time spent by the number of choices. Single token evals also include:

Automatic metrics for perplexity and language modeling

These metrics use log-likelihood of prompt.

Automatic metrics for generative tasks

These metrics need the model to generate an output. They are therefore slower.

LLM-as-Judge

< > Update on GitHub