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 huggingface

Runs Hugging Face Hub model evaluations locally with inspect-ai and lighteval. It helps choose between vLLM, Transformers and accelerate backends for users who evaluate models on their own hardware.

  • Score 91
  • 11k stars
  • Apache-2.0
  • 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/huggingface/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/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 runs evaluations against models on the Hugging Face Hub on local hardware. It covers inspect-ai and lighteval with local inference, and helps choose between vllm, Hugging Face Transformers and accelerate. It also covers smoke tests, task selection and backend fallback strategy.

Three scripts do the work: one for inspect-ai through inference providers, one for inspect-ai on a local GPU, and one for lighteval on a local GPU. The recommended workflow starts with a small smoke test using a limit flag, then scales up after it passes. It is aimed at users who want local evals. Remote runs on Hugging Face Jobs, model-card edits and community-evals publishing are handed off to other skills or repositories.

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

What it can do

  • Local inspect-ai evalsRuns inspect-ai evaluations on Hub models via inference providers using scripts/inspect_eval_uv.py.
  • Local GPU inspect-aiRuns inspect-ai evals on a local GPU with the vllm or Transformers backend.
  • Local GPU lightevalRuns lighteval tasks on a local GPU with the vllm or accelerate backend.
  • Backend selectionGuides the choice between vllm, Hugging Face Transformers and accelerate for a given model.
  • Task selectionLists inspect-ai task names and the lighteval suite|task|num_fewshot task string format.
  • Smoke testingUses --limit or --max-samples for small test runs before scaling up.

What you need

  • uv
  • HF_TOKEN for gated or private models
  • NVIDIA GPU with nvidia-smi for local GPU runs

Try asking

  • Run a quick MMLU smoke test on meta-llama/Llama-3.2-1B with inspect-ai.
  • Evaluate a Hub model on GSM8K locally with vLLM on my GPU.
  • Which backend should I use for microsoft/phi-2, vllm or accelerate?

Good to know

  • Covers local execution only, not Hugging Face Jobs.
  • Does not cover model-card edits, .eval_results publishing or PR creation.
  • Local GPU runs need nvidia-smi; otherwise use the provider-backed script or Jobs.
  • Models at 13B and above may need high-memory hardware or a hand-off to hugging-face-jobs.

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

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 skill stops at local execution and backend selection. For remote runs it says to hand off to the hugging-face-jobs skill.

Which evaluation frameworks does it support?

It supports inspect-ai and lighteval with local inference. Inspect-ai suits explicit task control, while lighteval suits leaderboard-style task strings.

What should I do if my model is not supported by vLLM?

Switch to the Transformers backend with --backend hf for inspect-ai, or to --backend accelerate for lighteval.

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 Apache-2.0 licence. The service it connects to may have its own pricing.

Is huggingface-community-evals safe to use?

It scores 91 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.