计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
toxigen_classifier_recovery【效率与协作】Run a bounded ToxiGen-style classifier update and report validator-compatible before-after loss, AUC, and parameter evidence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery experiment needs to demonstrate the paper's classifier-improvement mechanism without full HateBERT or RoBERTa fine-tuning. It trains a tiny logistic classifier over deterministic text features and emits before/after metrics.
Do not use this skill to claim full paper Table 4 reproduction. A result from this skill is a reduced proxy unless it is replaced by a real model fine-tuning stack.
text and label.loss_before, loss_after, auc_before, auc_after.params_before, params_after, and optimizer_state_changed.Run:
python scripts/classifier_recovery.py --self-test
python tests/test_classifier_recovery.py
The tests verify that parameters change and that loss does not increase on a simple fixture.
This skill is intentionally small and deterministic. It is useful for mechanism-faithful soft recovery, edge-case tests, and harness validation, not for reporting deployed toxicity classifier performance.