Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

huggingface-community-evals

Skill by sickn33

Runs local evaluations of models from the Hugging Face Hub using inspect-ai and lighteval. It is for users who want to smoke-test and benchmark models on their own hardware or through Inference Providers.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install huggingface-community-evals

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/huggingface-community-evals ~/.claude/skills/huggingface-community-evals

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install huggingface-community-evals in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant through running evaluations against Hugging Face Hub models on local hardware. It covers inspect-ai and lighteval, with a choice of inference backend: vllm, Hugging Face Transformers, or accelerate. Three bundled scripts handle the runs: one for inspect-ai through Inference Providers, one for inspect-ai on a local GPU, and one for lighteval on a local GPU. The workflow starts with a smoke test using a small sample limit, then scales up once it passes.

The skill stops at local execution. Remote runs on Hugging Face Jobs, model-card edits, README table extraction, and publishing results are handled by other skills or are out of scope. The source says it is intended for developers and evaluators who need repeatable local model benchmarks, and it asks for pinned revisions and recorded settings for reproducibility.

Written from the project's SKILL.md and checked against it.

What it can do

  • inspect-ai via Inference ProvidersRuns an inspect-ai eval on a Hub model through Inference Providers with scripts/inspect_eval_uv.py.
  • inspect-ai on local GPURuns inspect-ai with vllm or Transformers on local hardware using scripts/inspect_vllm_uv.py.
  • lighteval on local GPURuns lighteval task strings with vllm or accelerate using scripts/lighteval_vllm_uv.py.
  • Backend selectionGuides the choice between vllm, Transformers (hf) and accelerate, with fallbacks for unsupported models.
  • Smoke test workflowRecommends a small --limit or --max-samples run before scaling up an evaluation.
  • Task selectionLists example inspect-ai task names and the suite|task|num_fewshot format used by lighteval.
  • Troubleshooting guidanceGives steps for CUDA or vLLM out-of-memory errors, unsupported models and gated repo access.

What you need

  • uv for running the scripts with uv run
  • HF_TOKEN set for gated or private models
  • NVIDIA GPU with nvidia-smi access for local GPU runs
  • Hugging Face Jobs skill if remote compute is wanted

Try asking

  • Run a 10-sample inspect-ai smoke test of mmlu on a Hub model.
  • Evaluate a Llama model on gsm8k locally with vllm on my GPU.
  • Run lighteval leaderboard mmlu and gsm8k with a chat template.

Good to know

  • The bundled lighteval wrapper is disabled pending a release-specific CLI migration.
  • Remote custom model code is rejected by the wrappers and needs a separate reviewed workflow.
  • Provider-backed runs send prompts externally and may incur charges.
  • Publishing community-evals results is not covered and needs a reviewed checkout.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/huggingface-community-evals/SKILL.md, skills/huggingface-community-evals/scripts/inspect_eval_uv.py, skills/huggingface-community-evals/scripts/inspect_vllm_uv.py, skills/huggingface-community-evals/scripts/lighteval_vllm_uv.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • examples/.env.example159 B
  • examples/USAGE_EXAMPLES.md2 KB
  • scripts/inspect_eval_uv.py3 KB
  • scripts/inspect_vllm_uv.py9 KB
Show all 6 files
  • scripts/lighteval_vllm_uv.py9 KB

Alternatives to huggingface-community-evals

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

huggingface-community-evals: common questions

Does this skill run evals on Hugging Face Jobs?

No. The source says it stops at local execution and hands remote runs to the hugging-face-jobs skill.

Can it run models that need custom remote code?

The source says the wrappers reject --trust-remote-code and only standard model architectures are covered here.

Which inference backends does it support?

The source names vllm, Hugging Face Transformers (hf) and accelerate, with guidance on which to prefer.

How do I install huggingface-community-evals?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is huggingface-community-evals free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is huggingface-community-evals safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to huggingface-community-evals?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

huggingface-community-evals Install

Add to stack

Loading.