ollama/sample
Michael Yang af9708c72d
model: handle multiple eos tokens (#10577)
* get eos_token_id from generation_config.json

* refactor

* include both ids and strings in trace

* comments

* remove special case for gemma3 special vocab (#10743)
2025-12-29 06:38:01 -06:00
..
samplers.go model: handle multiple eos tokens (#10577) 2025-12-29 06:38:01 -06:00
samplers_benchmark_test.go sample: temporarily use grammars for constrained generation in new engine (#9586) 2025-03-10 16:17:39 +01:00
samplers_test.go fix test 2025-12-29 06:37:44 -06:00
transforms.go sample: make mutations in transforms explicit (#9743) 2025-03-17 11:24:18 -07:00
transforms_test.go sample: add error handling for empty logits (#9740) 2025-03-20 11:11:18 -07:00