Skip to main content

Benchmarking

Evaluate and compare model performance.

Quick Evaluation

Using Enhanced Eval

Eval Only (No Training)

Metrics

Available Metrics

Custom Evaluation

Enhanced evaluation runs on your validation split during training:
Enhanced evaluation uses the validation data specified by --valid-split. To evaluate on a separate test set after training, use the LM Evaluation Harness or custom scripts shown below.

Inference Speed

Throughput Test

Memory Usage

Model Comparison

Compare Multiple Models

W&B Comparison

When logging to W&B, compare runs in the dashboard:

Standard Benchmarks

LM Evaluation Harness

For standard benchmarks like HellaSwag, ARC, and MMLU, use the LM Evaluation Harness after training:

Common Benchmark Tasks

Reporting

Generate Report

Next Steps

Model Serving

Deploy your model

Inference Mode

Run inference