feat: add logit_scale to PoolerConfig for affine score calibration (#39435)
Signed-off-by: Jesus Federico <jefp@amazon.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
42c6bb4b75
commit
b87575d24b
@@ -83,6 +83,13 @@ class PoolerConfig:
|
||||
If provided, apply classification logit biases. Defaults to None.
|
||||
"""
|
||||
|
||||
logit_scale: float | None = None
|
||||
"""
|
||||
If provided, scale the classification logits by this factor before
|
||||
activation. Combined with logit_bias, enables affine score calibration:
|
||||
activation(logit_scale * (score - logit_bias)). Defaults to None.
|
||||
"""
|
||||
|
||||
## for reward models
|
||||
step_tag_id: int | None = None
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user