distill::convergence::ConvergenceState¶
Public Attributes¶
| Name | |
|---|---|
| List | losses |
| float | best_loss |
| int | steps_since_improvement |
| bool | converged |
| bool | hard_stopped |
| bool | warning_issued |
Detailed Description¶
Mutable tracking state for a single training run.
Attributes:
losses: Full loss history for the current run.
best_loss: Best (lowest) loss observed so far.
steps_since_improvement: Consecutive steps without a min_delta improvement.
converged: True when loss is below target and patience is exhausted.
hard_stopped: True when loss exceeded the hard-stop threshold.
warning_issued: True when the warning threshold has been breached at least once.
Public Attributes Documentation¶
variable losses¶
variable best_loss¶
variable steps_since_improvement¶
variable converged¶
variable hard_stopped¶
variable warning_issued¶
Updated on 2026-10-09 at 03:59:43 +0000