Run evaluations for Hugging Face Hub models using inspect-ai and lighteval on local hardware. Use for backend selection, local GPU evals, and choosing between vLLM / Transformers / accelerate. Not for HF Jobs orchestration, model-card PRs, .eval_results publication, or community-evals automation.
Run evaluations for Hugging Face Hub models using inspect-ai and lighteval on local hardware. Use for backend selection, local GPU evals, and choosing between vLLM / Transformers / accelerate. Not for HF Jobs orchestration, model-card PRs, .eval_results publication, or community-evals automation.
Overview
This skill is for running evaluations against models on the Hugging Face Hub on local hardware.
It covers:
inspect-ai with local inference
lighteval with local inference
choosing between vllm, Hugging Face Transformers, and accelerate
smoke tests, task selection, and backend fallback strategy
It does not cover:
Hugging Face Jobs orchestration
5 files · 29 KB6 KB
Install
It’s free, and every skill you add syncs into every AI tool on your computer, instantly.
If the user wants to run the same eval remotely on Hugging Face Jobs, hand off to the hugging-face-jobs skill and pass it one of the local scripts in this skill.
If the user wants to publish results into the community evals workflow, stop after generating the evaluation run and hand off that publishing step to ~/code/community-evals.
All paths below are relative to the directory containing this SKILL.md.
When To Use Which Script
Use case
Script
Local inspect-ai eval on a Hub model via inference providers
scripts/inspect_eval_uv.py
Local GPU eval with inspect-ai using vllm or Transformers
scripts/inspect_vllm_uv.py
Local GPU eval with lighteval using vllm or accelerate
scripts/lighteval_vllm_uv.py
Extra command patterns
examples/USAGE_EXAMPLES.md
Prerequisites
Prefer uv run for local execution.
Set HF_TOKEN for gated/private models.
For local GPU runs, verify GPU access before starting: