executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
evaluation-workflowsPrepare 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.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.
evaluation/evaluate_zh.py: --model_name_or_path, --shot, --split, and --output_dir.evaluation/evaluate_mmlu.py: -m/--model, -k/--ntrain, -d/--data_dir, and -s/--save_dir.categories.py, CSV subject pairing, and CUDA/import prerequisites.datasets, absent MMLU categories.py, wrong split names, no CUDA, missing weights/tokenizer files, or MMLU prompts that trigger the 2048-token truncation loop.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.