Skip to content
Back to skills

Lm Evaluation Harness

ASecurity

"Use EleutherAI LM Evaluation Harness for language-model evaluation

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspythonbashdebuggingapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill lm-evaluation-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lm Evaluation Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lm Evaluation Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-lm-evaluation-harness/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-lm-evaluation-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: lm-evaluation-harness
description: "Use EleutherAI LM Evaluation Harness for language-model evaluation
  runs, YAML task authoring, model backend setup, result logging,
  decontamination hygiene, and maintainer workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# LM Evaluation Harness

Use this skill when a user asks for help with EleutherAI's `lm-evaluation-harness` / `lm_eval`: running evaluations, writing tasks, choosing model backends, interpreting results, or maintaining evaluation hygiene.

## First Checks

- Install the base package with Python `>=3.10`; model backends are optional extras and are not included in the base package.
- Verify the CLI with `lm-eval --help`; the current command surface is `run`, `ls`, and `validate`, with legacy no-subcommand usage mapped to `run`.
- Use `references/repo-provenance.md` before refreshing this skill against a checkout; changed commits, dirty paths, metadata, or entry points mean the skill may be stale.
- Use `references/troubleshooting.md` for cross-cutting install/import, optional dependency, credential, network, and unsafe-code issues.
- Run `scripts/check_lm_eval_install.py` for a local, safe package/CLI/registry check before deeper debugging.

## Route By User Intent

| User request | Use this route |
| --- | --- |
| Run an evaluation, build an `lm-eval run` command, use YAML config, call `simple_evaluate()`, debug seeds/cache/chat flags | `sub-skills/evaluation-runs/` |
| Create or repair YAML tasks, groups, tags, filters, metrics, Jinja prompts, `!function` helpers, external task dirs | `sub-skills/task-authoring/` |
| Choose/install/configure `hf`, `vllm`, API, local server, custom `LM`, chat-template, or thinking-token backends | `sub-skills/model-backends/` |
| Read result JSON, sample logs, schemas, W&B/Trackio/HF Hub args, local summaries, result comparisons | `sub-skills/result-logging/` |
| Review decontamination fields, request caches, clean-training-data safety, maintainer tests, advanced hygiene | `sub-skills/decontamination-maintenance/` |

## Minimal Patterns

```bash
lm-eval ls tasks
lm-eval validate --tasks hellaswag,arc_easy
lm-eval run --model hf --model_args pretrained=gpt2,dtype=float32 --tasks hellaswag --limit 10
```

```python
import lm_eval

results = lm_eval.simple_evaluate(
    model="hf",
    model_args="pretrained=gpt2,dtype=float32",
    tasks=["hellaswag"],
    limit=10,
)
```

## Important Boundaries

- Do not assume a base install can import every model backend; install the narrow extra for the chosen backend, such as `lm_eval[hf]`, `lm_eval[vllm]`, `lm_eval[api]`, or `lm_eval[litellm]`.
- Do not run model downloads, dataset downloads, API calls, service uploads, GPU-heavy evaluations, or multi-day decontamination scripts unless the user explicitly approves the cost and credentials/hardware are available.
- Do not copy or depend on original checkout docs, scripts, notebooks, or tests at runtime; this skill bundles distilled references and safe helper scripts.
- Treat native tests/examples named in references as maintainer guidance for a live checkout, not as required runtime dependencies of this exported skill.

## Repo-Level Files

- `references/repo-provenance.md` records the source snapshot and refresh criteria.
- `references/troubleshooting.md` covers cross-cutting failures before routing into sub-skills.
- `scripts/check_lm_eval_install.py` checks import metadata, CLI help, and lazy model registry behavior without importing heavy backend classes.

Files in this skill

  • SKILL.md3.5 KB
  • references/repo-provenance.md1.6 KB
  • references/repo-routing-metadata.json376 B
  • references/troubleshooting.md2.3 KB
  • scripts/check_lm_eval_install.py2.7 KB
  • sub-skills/decontamination-maintenance/SKILL.md2.7 KB
  • sub-skills/decontamination-maintenance/references/decontamination-workflows.md3.8 KB
  • sub-skills/decontamination-maintenance/references/maintenance-workflows.md3.8 KB
  • sub-skills/decontamination-maintenance/references/troubleshooting.md3.5 KB
  • sub-skills/decontamination-maintenance/scripts/cache_path_advisor.py3.7 KB
  • sub-skills/decontamination-maintenance/scripts/check_decontamination_config.py6.4 KB
  • sub-skills/evaluation-runs/SKILL.md3 KB
  • sub-skills/evaluation-runs/references/cli-reference.md4.6 KB
  • sub-skills/evaluation-runs/references/configuration.md4.5 KB
  • sub-skills/evaluation-runs/references/python-api.md5.5 KB
  • sub-skills/evaluation-runs/references/troubleshooting.md4.8 KB
  • sub-skills/evaluation-runs/scripts/build_eval_command.py13.2 KB
  • sub-skills/evaluation-runs/scripts/check_lm_eval_cli.py3.9 KB
  • sub-skills/model-backends/SKILL.md3.2 KB
  • sub-skills/model-backends/references/api-models.md6.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.