token-sampling 0.1.0

Composable token sampling over f32 logits with caller-supplied randomness
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Changelog

## 0.1.0 - 2026-08-22

- Added composable sampling stages for `f32` logits.
- Added caller-supplied randomness and reusable candidate storage.
- Added typed input errors and fixed-draw conformance coverage.
- Kept at least one tail-free candidate after validation.
- Kept internal logits finite for extreme temperature and penalty values.
- Required the vocabulary size in `MirostatV1::new` and initialized its adaptive
state from the default target surprise.
- Targeted `std` and used `exp`, `ln`, `log2`, and `powf` without a math dependency.