Skip to main content

Module model

Module model 

Source
Expand description

The decision model: a frozen-architecture ModernBERT backbone plus the from-scratch decision head (DecisionModel in rl_common.py).

Structs§

DecisionModel
Outputs
Raw model outputs for one batch: per-option logits (uncalibrated) and act-head probabilities.

Functions§

stable_softmax
Softmax in f32 with the max subtracted, matching the reference’s numpy path.