rzen
|
8915d274f5
|
Phase 5: autoregressive sampler (temperature + top-k)
- src/sample.py: load checkpoint + tokenizer, generate token-by-token with
temperature/top-k (or greedy), stop at <|endoftext|>, crop to context window.
--suite samples a fixed prompt suite into reports/samples-<config>.md.
- tests/test_sample.py: length, context-window safety, early stop, greedy
determinism, str output (5 tests, tiny untrained model)
|
2026-07-12 11:34:45 -04:00 |
|