TRAINSPOTTER

run diagnostic
source
examples/overfitting.trainer_state.json
format
hf
steps
0–799
axis source
step
generated
2026-11-26 02:09 UTC

Overfitting

40 training examples, no regularization -- eval loss turns upward after step 125.

Download the input log | Capture method and limits

0error
1warning
0info
Metric sources and point counts

Scroll the table horizontally to inspect every column.

Names used by the report and their original source
Report metricSource metricReadingsAnalysis points
epochepoch961800
eval/accuracyeval_accuracy161161
eval/losseval_loss161161
grad_normgrad_norm800800
lrlearning_rate800800
step_timestep_time800800
train/lossloss800800

Timing comparison

1.049x recent / baseline time (s/step)

Timing sources and windows

Source: step_time, from logged metric step_time. 800 timing observations; 0 unusable.

Scroll the timing table horizontally to inspect every column.

Baseline and recent timing windows
WindowStepsObservationsUnusableMedian (s/step)
Baseline0–15916005.0514e-05
Recent640–79916005.3004e-05

Coordinates: step (steps).

Default timing check: first and last 20% of observations, at least five each, without overlap. This describes those windows, not every step of the run. Direct throughput is time per reported unit (such as a sample or token). Unavailable timing does not establish stable speed.

Scroll charts horizontally to inspect the full range of steps.

train/loss / eval/loss

Download SVG
train/losseval/loss0120200400600
00.20.40200400600

grad_norm

Download SVG
01230200400600

eval/accuracy

Download SVG
00.50200400600

step_time

Download SVG
00.00010.000202004006000.000334

Findings log

WARN steps 125–799 overfitting

Possible overfitting

Lowest logged eval/loss in this finite segment was 0.526 at step 125; the last value is 0.5554 (5.6%, slope diagnostic p<0.0001). Within their shared interval, train/loss trends down (675 readings, steps 125-799) while eval/loss trends up (136 readings, steps 125-799). This is consistent with overfitting, but does not establish its cause.

segment_start=0   segment_observations=161   best_step=125   best_value=0.526   current_value=0.5554   relative_rise=0.05591   slope_p_value=0   slope_status=assessed   training_status=opposing_trends   training_observations=675   overlap_eval_observations=136   training_step_start=125   training_step_end=799   overlap_eval_step_start=125   overlap_eval_step_end=799   training_scaled_slope=-0.000456   training_slope_p_value=0   overlap_eval_scaled_slope=5.93e-05   overlap_eval_slope_p_value=0

  • If a checkpoint was saved near step 125, compare it with the last saved checkpoint on the same evaluation examples.
  • Check evaluation-data and metric-definition changes before attributing the rise to training.
  • If the regression persists on a comparable evaluation set, consider early stopping, regularization, or more training data.