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.
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-evalsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install huggingface-community-evals in Claude Code
git clone --depth 1 https://github.com/huggingface/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/huggingface-community-evals ~/.gemini/antigravity-cli/skills/huggingface-community-evalsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install huggingface-community-evals in Antigravity CLI
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
