ollama/sample
Michael Yang 333e360422
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-05-16 13:40:23 -07:00
..
samplers.go model: handle multiple eos tokens (#10577) 2025-05-16 13:40:23 -07: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-04-25 16:59:01 -07: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