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

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.

  • Score 89
  • 42k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-evaluation

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

Step-by-step: install hugging-face-evaluation in Claude Code

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

A

No 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 →

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.

hugging-face-evaluation Install

Add to stack

Loading.