tasks, power, refusal-eval¶
Smaller commands for listing tasks, planning sample sizes and measuring refusal detectors.
tasks¶
One line per task: kind, dataset with config, split and pinned commit, and the metrics it produces.
mmlu multiple_choice cais/mmlu all test@c30699e835 mmlu_accuracy, mmlu_ece
gsm8k generation openai/gsm8k main test@740312add8 gsm8k_accuracy
power¶
| Option | Default | Meaning |
|---|---|---|
--n |
required | Paired items |
--rate |
0.5 |
Expected accuracy or rate of the base model |
--power |
0.8 |
Chance of detecting a change of that size |
--alpha |
0.05 |
Two sided significance level |
The estimate assumes a correlation of 0.5 between the two models' per item results, which is conservative: closely related models correlate more, so real audits usually detect smaller changes. See Statistics.
refusal-eval¶
labeled.jsonl has one object per line with response (text) and refused (true or false), labeled by people.
detector hf:ProtectAI/distilroberta-base-rejection-v1
items 500
accuracy 0.9620
precision 0.9512
recall 0.9750
Use it to choose a detector before relying on refusal metrics, and quote the result next to the audit.