evaluating-llms-harness
lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.).
Skill by AjayRajan05
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ajayrajan05-evaluating-llms-harness
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
evaluating-llms-harness- Description
- lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.).
- License
- MIT
- Instructions
- 486 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "evaluating-llms-harness" does not match folder "lm-evaluation-harness"
Files (5)
- SKILL.md
- api-evaluation.md · references/
- benchmark-guide.md · references/
- custom-tasks.md · references/
- distributed-eval.md · references/
SKILL.md (first lines)
# lm-evaluation-harness - LLM Benchmarking
## What's inside
Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.
## Quick start
lm-evaluation-harness evaluates LLMs across 60+ academic benchmarks using standardized prompts and metrics.
**Installation**:
```bash
pip install lm-eval
```
**Evaluate any HuggingFace model**:
```bash
lm_eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf \
--tasks mmlu,gsm8k,hellaswag \
--device cuda:0 \
--batch_size 8
```
**View available tasks**:
```bash
lm_eval --tasks list
```
## Common workflows
### Workflow 1: Standard benchmark evaluation
Evaluate model on core benchmarks (MMLU, GSM8K, HumanEval).
Copy this checklist:
```
Benchmark Evaluation:
- [ ] Step 1: Choose benchmark suite
- [ ] Step 2: Configure model
- [ ] Step 3: Run evaluation
- [ ] Step 4: Analyze results
```
**Step 1: Choose benchmark suite**
**Core reasoning benchmarks**:
- **MMLU** (Massive Multitask Language Understanding) - 57 subjects, multiple choice
- **GSM8K** - Grade school math word problems
- **HellaSwag** - Common sense reasoning
- **TruthfulQA** - Truthfulness and factuality
- **ARC** (AI2 Reasoning Challenge) - Science questions
**Code benchmarks**:
- **HumanEval** - Python code generation (164 problems)
- **MBPP** (Mostly Basic Python Problems) - Python coding
**Standard suite** (recommended for model releases):
```bash
--tasks mmlu,gsm8k,hellaswag,truthfulqa,arc_challenge
```
**Step 2: Configure model**
**HuggingFace model**:
```bash
lm_eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf,dtype=bfloat16 \
--tasks mmlu \
--device cuda:0 \
--batch_size auto # Auto-detect optimal batch size
```
**Quantized model (4-bit/8-bit)**:
```bash
lm_eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf,load_in_4bit=True \
--tasks mmlu \
--device cuda:0
```
**Custom checkpoint**:
```bash
lm_eval --model hf \
--model_args pretrained=/path/to/my-model,tokenizer=/path/to/tokenizer \
--tasks mmlu \
--device cuda:0
```
**Step 3: Run evaluation**
```bash
# Full MMLU evaluation (57 subjects)
lm_eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf \
--tasks mmlu \
--num_fewshot 5 \ # 5-shot evaluation (standard)
--batch_size 8 \
--output_path results/ \
--log_samples # Save individual predictions
# Multiple benchmarks at once
lm_eval --model hf \
--model_args pretrained=meta-llama/Llama-2-7b-hf \
--tasks mmlu,gsm8k,hellaswag,truthfulqa,arc_challenge \
--num_fewshot 5 \
--batch_size 8 \
--output_path results/llama2-7b-eval.json
```
**Step 4: Analyze results**
Results saved to `results/llama2-7b-eval.json`:
```json
{
"results": {
"mmlu": {From AjayRajan05/VoiceOS, MIT.
More from AjayRajan05/VoiceOS
- 0.536score
maps
AjayRajan05
Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.
SkillCFreshness: C★ 10Claude Code +9 - 0.535score
serving-llms-vllm
AjayRajan05
vLLM: high-throughput LLM serving, OpenAI API, quantization.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
voiceos-platform
AjayRajan05
Configure, extend, and operate VoiceOS as a voice-first agent OS.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
huggingface-hub
AjayRajan05
HuggingFace hf CLI: search/download/upload models, datasets.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
google-workspace
AjayRajan05
Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
segment-anything-model
AjayRajan05
SAM: zero-shot image segmentation via points, boxes, masks.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
nano-pdf
AjayRajan05
Edit PDF text/typos/titles via nano-pdf CLI (NL prompts).
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
obsidian
AjayRajan05
Read, search, create, and edit notes in the Obsidian vault.
SkillCFreshness: C★ 10Claude Code +9 - 0.531score
airtable
AjayRajan05
Airtable REST API via curl.
SkillCFreshness: C★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Jul 1, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/AjayRajan05/VoiceOS
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from AjayRajan05
- 0.536score
maps
AjayRajan05
Geocode, POIs, routes, timezones via OpenStreetMap/OSRM.
SkillCFreshness: C★ 10Claude Code +9 - 0.535score
serving-llms-vllm
AjayRajan05
vLLM: high-throughput LLM serving, OpenAI API, quantization.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
voiceos-platform
AjayRajan05
Configure, extend, and operate VoiceOS as a voice-first agent OS.
SkillCFreshness: C★ 10Claude Code +9 - 0.534score
huggingface-hub
AjayRajan05
HuggingFace hf CLI: search/download/upload models, datasets.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
google-workspace
AjayRajan05
Gmail, Calendar, Drive, Docs, Sheets via gws CLI or Python.
SkillCFreshness: C★ 10Claude Code +9 - 0.532score
segment-anything-model
AjayRajan05
SAM: zero-shot image segmentation via points, boxes, masks.
SkillCFreshness: C★ 10Claude Code +9
Cite this page
evaluating-llms-harness skill. Agent Mart. https://agentmart.dev/skills/ajayrajan05-evaluating-llms-harness (last updated 2026-10-24)