Who it is forA researcher running an unattended training job who wants to avoid losing a good checkpoint to a loss spike.
The problemA loss blow-up can silently replace a good checkpoint with a broken one during a long unattended run.
The outcomeA training run that aborts after three consecutive suspect loss groups without writing or replacing a checkpoint, plus a halt reason in the monitor.
What you need first
- A Rust toolchain (inferred from the Rust implementation and the cargo commands in the README)
- The pssa binary built from the Sparticle62ops/pssa repository
- A plain UTF-8 text file to train on
- A terminal that supports the TUI, or use --no-tui for plain logs
Steps
- Build the Pssa binary from the repository. (inferred, check the README)
- Run
pssa train corpus.txt --loss-guard-high-factor 4 --loss-guard-jump-factor 8 --loss-guard-patience 3to start training with explicit guard settings. - If you resume a run, repeat the same custom guard values on the resume command, since they are runtime only.
- Open
pssa tuito see the configured guard and any halt reason in the monitor. - Keep the last good checkpoint and compare any new checkpoint before using it.
Prompt for your agent
In the Sparticle62ops/pssa repository, run `pssa train <corpus-path> --loss-guard-high-factor 4 --loss-guard-jump-factor 8 --loss-guard-patience 3`. Report whether the run finished or halted, and the halt reason if it halted. Verify that no checkpoint was replaced after a halt.
Caveat. The README says this is not a held-out validation monitor and a resumed run starts a fresh loss history, so the guard does not measure generalization.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Sparticle62ops/pssa and "Stop PSSA training when the loss blows up"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer