Implement stage2_model.stage1_context = "sampled" #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Companion to the now-fixed silent no-op (
stage2_model.stage1_context = "sampled"was previously accepted and silently trained identically to"truth"; it's now rejected invalidate_configas unimplemented). This issueis the proper fix: actually implement
"sampled".Stage 2 is trained on ground-truth stage-1 outcomes and deployed on sampled
ones, and in a rollout that gap compounds over every step of every track in the
shower. This is the same train/inference gap that
teacher_forcing = "scheduled"was added to close within stage 2 — the stage boundary justnever got the same treatment.
The plumbing exists:
sample_stage1is written, and when both stages are activethe training loop already holds both models. Suggest mirroring the scheduled
sampling precedent (
ctx_p_start/ctx_p_end) rather than a hard switch, sostage 2 doesn't chase a wildly moving target in early epochs.
Migrated from
issues.md(v0.3.0 branch review, 2026-08-13), Issue 16.