evaluation
Use this sub-skill when the task is about benchmark evaluation, result files, or benchmark-specific prompt/scoring logic.
Use it when
- the user mentions C-Eval, CMMLU, LongBench, LongBench-E, or benchmark result JSON/CSV files
- the task is about
few_shot,cot,with_prompt,constrained_decoding, or per-subject accuracy - the task needs LongBench prediction and scoring behavior
- the user asks how to interpret summary files produced by the repo scripts
Workflow
- Read
references/workflows.mdto select C-Eval, CMMLU, LongBench prediction, or LongBench scoring. - Confirm the expected benchmark data layout and model path before running a heavy evaluation.
- Use a fresh output directory per evaluation run.
- Read
references/troubleshooting.mdif data directories, subject metadata, prompt config, or output files are missing.
Bundled runtime files
scripts/ceval/eval.pyscripts/ceval/evaluator.pyscripts/ceval/llama_evaluator.pyscripts/ceval/subject_mapping.jsonscripts/cmmlu/eval.pyscripts/cmmlu/evaluator.pyscripts/cmmlu/llama2_evaluator.pyscripts/cmmlu/categories.pyscripts/longbench/pred_llama2.pyscripts/longbench/eval.pyscripts/longbench/metrics.pyscripts/longbench/config/scripts/attn_and_long_ctx_patches.py
What to read first
references/workflows.mdfor benchmark-specific command shapes and output filesreferences/troubleshooting.mdfor data layout and optional dependency issues
Routing notes
- Use this sub-skill for benchmark execution and scoring only.
- Use
hf-inferencefor ad hoc generation outside the benchmark scripts. - Use
train-and-mergeif the user first needs to produce or merge the model being evaluated.
