GSM8K Verifier Training
Use this skill when a GSM8K recovery or experiment needs a learned candidate scorer but the full paper model stack is unavailable. It trains a small logistic verifier with deterministic features and gradient descent.
Do not present this as full GPT-3 verifier training. It is a reduced mechanism test unless connected to a real language model verifier.
Inputs
- Candidate records with binary
labelvalues. - Candidate text, calculator checks, and extracted answers.
- Learning rate and step count.
Outputs
- Trained verifier parameters.
- Loss before and after training.
- Scored candidate records.
- Validator-compatible trace fields:
params_before,params_after,loss_before, andloss_after.
Workflow
- Extract numeric features from each candidate.
- Initialize weights and bias deterministically.
- Compute binary cross-entropy loss.
- Run one or more gradient-descent steps.
- Save parameters, loss, and scores.
Validation
Run:
python scripts/verifier_training.py self-test
python tests/test_verifier_training.py
Limitations
The feature set is intentionally simple and inspectable. It exists to prove a trainable verifier mechanism in reduced recovery, not to match the full-scale neural verifier's generalization.