Evaluation workflows

From VectorSpaceLab/AREX-Skill · View interactive version

Evaluation workflows is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Prepare and troubleshoot Baichuan-7B C-Eval and MMLU evaluation workflows, including safe preflight validation, command rendering, benchmark layout requirements, output files, and CUDA/model prerequisites.

How to use this skill

Skill file

Evaluation Workflows

Use this sub-skill when the user asks to evaluate a Baichuan-7B checkpoint on C-Eval or MMLU, validate benchmark inputs before running, construct the native evaluation commands, or interpret the files produced by those benchmark scripts.

Route here for

Do not route here for

Operating map

  1. For benchmark behavior, command shapes, input layouts, and output artifacts, read workflows.
  2. Before running a real benchmark, use the safe bundled preflight helper. It validates inputs and renders commands; it does not load model weights, fetch datasets, or run benchmark inference.
  3. For failures, read local troubleshooting, then escalate cross-cutting model-loading issues to architecture-and-loading or shared API/troubleshooting.
  4. Keep full benchmark execution as a user/runtime operation. The bundled checks validate imports, CUDA availability, and static layouts only; they do not run C-Eval or MMLU end to end.

Safe preflight examples

Validate the C-Eval command shape and prerequisites for a local checkpoint:

python sub-skills/evaluation-workflows/scripts/check_evaluation_inputs.py ceval \
  --repo-root /path/to/Baichuan-7B \
  --model /path/to/Baichuan-7B-weights \
  --shot 5 \
  --split val \
  --output-dir ceval_output \
  --check-imports \
  --check-cuda

Validate a Hendrycks/test MMLU checkout and render the copy/run commands:

python sub-skills/evaluation-workflows/scripts/check_evaluation_inputs.py mmlu \
  --repo-root /path/to/Baichuan-7B \
  --benchmark-root /path/to/hendrycks-test \
  --model /path/to/Baichuan-7B-weights \
  --data-dir data \
  --save-dir results \
  --ntrain 5 \
  --check-imports \
  --check-cuda

The helper is intentionally safe by default: it checks files, imports only when requested, performs a tiny CUDA availability/allocation probe only when requested, and renders the native commands instead of executing them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.