Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs language model evaluations on 200+ benchmarks such as MMLU, HellaSwag, GSM8K, and HumanEval via lm-evaluation-harness.
75% 92%+17 ptsof test cases passed
Passed 22 of 24 test cases with the skill, and 18 of 24 without it.
I am running a 5-shot evaluation on MMLU with lm-eval CLI and need reproducible shot selection. Which argument sets the seed for sampling few-shot examples?
The response specifies --fewshot_random_seed.
3 of 3 safety checks passed
|
| leaderboard | MMLU, ARC, HellaSwag, TruthfulQA, Winogrande, GSM8K | Open LLM Leaderboard suite |
| mmlu | 57 subjects (STEM, humanities, social sciences) | World knowledge + reasoning |
| gsm8k | Grade-school math word problems | Mathematical reasoning |
| hellaswag | Commonsense NLI | Commonsense reasoning |
| arc_challenge | Science exam questions | Scientific reasoning |
| truthfulqa | Adversarial questions | Truthfulness/hallucination |
| humaneval | Python code generation | Coding ability |
| bigbench | 200+ BIG-Bench tasks | Broad capability assessment |
| ifeval | Instruction-following | Instruction adherence |
Run leaderboard suite:
lm-eval run \
--model hf \
--model_args pretrained=your-model \
--tasks leaderboard \
--device cuda:0 \
--batch_size auto
from lm_eval import simple_evaluate
results = simple_evaluate(
model="hf",
model_args={"pretrained": "meta-llama/Llama-3.2-1B"},
tasks=["mmlu", "hellaswag", "gsm8k"],
device="cuda:0",
batch_size="auto",
limit=100, # Optional: limit samples per task
)
# Access results
for task, metrics in results["results"].items():
print(f"{task}: {metrics}")
# Formatted table
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.