skip to content
==> README.md <==
1# @ajax/mesh-ref-gpt2-logits
2
3What is done with GPT-2's logits: the greedy pick (the first index of the largest logit, by the FTZ
4compare) and `digest_extend`, FNV-1a 64 over the logits' bits continued from the previous digest, so one
5digest covers every step of a generation.
6
7**Ported from** `crates/mesh-ref/src/gpt2.rs` (`argmax`, `digest_extend`, `DIGEST_SEED`). Freestanding.
8**Tested** in `@ajax/mesh-ref-gpt2`'s golden data.