huggingface-community-evals

Run local Hugging Face Hub model evaluations with inspect-ai and lighteval backends.

Updated Dec 17, 2024
One-click install
npx skills add https://github.com/LAF-US/IDAHO-VAULT --skill huggingface-community-evals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-community-evals
Source: https://github.com/LAF-US/IDAHO-VAULT/tree/main/.codex/plugins/cache/openai-curated/hugging-face/314574a046f21938025ae443f9c6dbbd0c2c9b7a/skills/community-evals
Command: npx skills add https://github.com/LAF-US/IDAHO-VAULT --skill huggingface-community-evals

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires inspect-ai>=0.3.0, inspect-evals, openai, vllm>=0.4.0, torch>=2.0.0, transformers>=4.40.0, lighteval[accelerate,vllm]>=0.6.0, accelerate>=0.30.0, and includes scripts (resource) components.

What problem does it solve?

This skill enables teams to run local, configurable evaluations of Hugging Face Hub models using inspect-ai and lighteval with multiple backend options. It centralizes local evaluation workflows for quick testing and backend comparisons without relying on HF Jobs orchestration.

Core Features & Use Cases

  • Local evaluation of Hugging Face Hub models using inspect-ai and lighteval with backends such as vLLM, Transformers, and accelerate.
  • Script-driven deterministic runs with separate scripts for smoke tests, backend selection, and task management.
  • Safe hand-off boundaries for remote job orchestration and publishing workflows to dedicated automation skills.

Quick Start

Run a local Hugging Face Hub model evaluation using the provided inspect-ai or lighteval scripts.

Frequently Asked Questions about huggingface-community-evals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run local evaluations on Hugging Face models using inspect-ai?

You can run local evaluations on Hugging Face models using inspect-ai by executing the provided deterministic scripts designed for smoke tests and task management without relying on HF Jobs orchestration.

Can I evaluate private Hugging Face models locally with different backends?

Yes, you can evaluate private Hugging Face models locally by configuring lighteval and inspect-ai with flexible backend options, allowing you to easily select between vLLM, Transformers, and accelerate for your runs.

Does lighteval support vLLM and Transformers backends for local model testing?

Yes, lighteval supports vLLM and Transformers backends for local model testing, enabling you to perform quick local smoke tests and compare backend performance directly through script-based execution.

What's the best way to compare vLLM and Transformers backends for Hugging Face model evaluation?

The best way to compare vLLM and Transformers backends is by using the dedicated backend selection scripts provided, which allow configurable local evaluation runs to directly measure performance differences.

Do I need a GPU to run local Hugging Face model evaluations?

Yes, you need a GPU to run local Hugging Face model evaluations, as the dependencies require torch and accelerate to execute the models efficiently across the selected vLLM or Transformers backends.

Can I publish Hugging Face evaluation results directly from these local scripts?

No, you cannot publish results directly from these local scripts; they establish safe hand-off boundaries for remote job orchestration and publishing workflows to dedicated automation skills.