mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-23 23:28:12 +08:00

* Add logits_processor option for the generation as in huggingface transformers library * concatenation correction * Rename the tokens variable for clarity * remove the logit_bias argument from generate_step method * fix the variable name * nits + test * test * add back logit bias + test --------- Co-authored-by: Awni Hannun <awni@apple.com>