What problem does it solve?
This Skill addresses the need for benchmarking and comparing the performance of large language models across various benchmarks like MMLU, GSM8K, HumanEval, etc. It solves the challenge of assessing the model quality, progress during training, and inter-model comparison without manually executing tasks for each benchmark.
Core Features & Use Cases
- Automated Benchmarking: Runs evaluations across multiple benchmark datasets (e.g., MMLU, GSM8K) using predefined tasks and metrics.
- Multi-Model Evaluation: Allows benchmarking against different language models and comparing their performance.
- Training Progress Tracking: Evaluates model checkpoints during training to monitor progress.
- Model Comparison: Facilitates model comparison by generating comparison tables based on evaluation results.
Quick Start
Evaluate the LLM model with 'meta-llama/Llama-2-7b-hf' on MMLU and GSM8K benchmarks using:
lm-eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf \
--tasks mmlu,gsm8k \
--batch_size 8