hugging-face-evaluation
Skill by patchy631
Adds and manages evaluation results in Hugging Face model cards. It extracts eval tables from README content, imports Artificial Analysis scores, and runs custom evaluations with vLLM or lighteval.
Install hugging-face-evaluation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/patchy631/ai-engineering-hub /tmp/ai-engineering-hub && mkdir -p ~/.claude/skills && cp -r /tmp/ai-engineering-hub/hugging-face-skills/skills/hugging-face-evaluation ~/.claude/skills/hugging-face-evaluationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install hugging-face-evaluation in Claude Code
git clone --depth 1 https://github.com/patchy631/ai-engineering-hub /tmp/ai-engineering-hub && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-engineering-hub/hugging-face-skills/skills/hugging-face-evaluation ~/.gemini/antigravity-cli/skills/hugging-face-evaluationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install hugging-face-evaluation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill adds structured evaluation results to Hugging Face model cards, stored in the model-index metadata format. It can extract existing evaluation tables from README content, import benchmark scores from the Artificial Analysis API, and run custom model evaluations with vLLM or accelerate backends through lighteval or inspect-ai. It also checks for open pull requests before creating new ones, to avoid duplicate work for maintainers.
The skill is driven by Python scripts in a scripts folder, run with uv run or plain Python. Users can push changes directly or open a pull request with --create-pr. It also covers running evaluations on Hugging Face Jobs and on local GPUs. It is aimed at people who maintain model repositories and want their benchmark results added to model-index metadata for leaderboard integration.
Written from the project's SKILL.md and checked against it.
What it can do
- inspect-tablesLists all tables in a README with their structure, columns, and sample rows.
- extract-readmeConverts a selected README table to model-index YAML, then prints, pushes, or opens a PR.
- import-aaFetches benchmark scores from Artificial Analysis and adds them to a model card.
- get-prsChecks a model repository for existing open pull requests before creating a new one.
- Run evaluation jobSubmits inspect-ai evaluations to Hugging Face Jobs using hf jobs uv run.
- lighteval_vllm_uv.pyRuns lighteval tasks on a model with a vLLM or accelerate backend.
What you need
- HF_TOKEN environment variable with Write access
- AA_API_KEY for Artificial Analysis imports
- Python, or uv for uv run
- GPU with sufficient memory for local vLLM evaluation
Try asking
- Check for open PRs on my model repo before adding evaluation results.
- Extract table 1 from my README into model-index YAML.
- Import Artificial Analysis scores for claude-sonnet-4 into my model card.
Good to know
- Local custom vLLM evaluation needs uv installed and sufficient GPU memory.
- Table extraction needs --table N when a README has multiple tables.
- The full lighteval task list is hosted on GitHub, outside this skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: hugging-face-skills/skills/hugging-face-evaluation/SKILL.md, hugging-face-skills/skills/hugging-face-evaluation/examples/artificial_analysis_to_hub.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/evaluation_manager.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/inspect_eval_uv.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/inspect_vllm_uv.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/lighteval_vllm_uv.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/run_eval_job.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/run_vllm_eval_job.py, hugging-face-skills/skills/hugging-face-evaluation/scripts/test_extraction.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md23 KB -
examples/.env.example318 B -
examples/USAGE_EXAMPLES.md10 KB -
examples/artificial_analysis_to_hub.py4 KB -
examples/example_readme_tables.md3 KB
Show all 14 files
-
examples/metric_mapping.json974 B -
requirements.txt485 B -
scripts/evaluation_manager.py49 KB -
scripts/inspect_eval_uv.py3 KB -
scripts/inspect_vllm_uv.py10 KB -
scripts/lighteval_vllm_uv.py9 KB -
scripts/run_eval_job.py3 KB -
scripts/run_vllm_eval_job.py10 KB -
scripts/test_extraction.py5 KB
Alternatives to hugging-face-evaluation
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
hugging-face-evaluation: common questions
Does it need a Hugging Face token?
Yes. The source says to set HF_TOKEN to a token with Write access.
Can it import scores without writing them by hand?
Yes. The import-aa command fetches scores from the Artificial Analysis API and adds them to a model card, and it can also open a pull request.
Which evaluation frameworks does it support?
It supports lighteval with vLLM or accelerate backends and inspect-ai. It can also run evaluations on Hugging Face Jobs.
How do I install hugging-face-evaluation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is hugging-face-evaluation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is hugging-face-evaluation safe to use?
It scores 89 of 100. Grades: maintenance B, 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 hugging-face-evaluation?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
