Spaces:
Sleeping
Sleeping
Run 1 β Collapsed
Date: 2026-04-25 Model: unsloth/Llama-3.2-1B-Instruct-bnb-4bit Episodes completed: 204 / 500 Duration: ~31 minutes Outcome: Training collapsed around episode 180, reward trajectory went negative.
Reward Trajectory
| Phase | Episodes | Reward | Behaviour |
|---|---|---|---|
| Cold start | 1-40 | -0.06 to -0.01 | Random output, misses format |
| Format learning | 40-100 | -0.01 to +0.015 | SFT transfer kicks in, finds format pattern |
| Plateau | 100-130 | +0.015 | Stuck at format bonus ceiling, can't reach tasks |
| Drift | 130-180 | 0 to -0.025 | Longer outputs, rambling begins |
| Collapse | 180-204 | -0.025 to -0.05 | 75% of completions hit 256-token cap, clipped |
Root Causes (5)
- max_completion_length=256 too tight β model hit cap, parser saw truncated tags, returned -0.1 penalty.
- Flat format reward β
0.1 if has_action and has_rev else 0.0gave no gradient once model crossed the threshold. - Plateau at +0.015 β format bonus Γ weight = local maximum, task rewards unreachable from here.
- Default temperature β exploration triggered rambling that never terminated cleanly.
- Effective batch 4 Γ num_gen 4 = 16 forward passes per step on T4 β 12s/it, budget-heavy.
Fixes Applied for Run 2
max_completion_length=320(more room before cap)- Tiered format reward (0.05 + 0.05 + 0.05, max 0.15) with length penalty
temperature=0.6explicitly set in GRPOConfigper_device_train_batch_size=num_generationsto avoid Unsloth auto-upgradegroup_size=2for faster iterationtotal_episodes=300(fits budget, still shows curves)format_reward_cutoff=300(active whole run, not just first 300)
Files Saved
raw_logs.txtβ full SSE log from HF Spacemetrics.csvβ parsed per-episode metricsmetrics.jsonβ same in JSON formatanalysis.mdβ this file