Files
mlx-examples/llms/mlx_lm
vishal-14069 21e19b5b5a Add Repetitive penalty to LLM inference - mlx-lm (#399)
* feat: add repetition penalty

* fix: generate function argument fix

* typo fixes

* update repetitive penalty

* update generate_step and generate

* resolve conflicts in generate

* merge latest oull origin master

* update generate

* update generate and generate_step

* update repetition list - rename variable

* refactor token count

* update generate step and generate

* move repetition_context in generate_step

* update generate step

* update generate_step
2024-02-16 21:58:17 -08:00
..
2024-02-16 06:04:57 -08:00
2024-01-12 10:25:56 -08:00
2024-01-23 08:44:37 -08:00
2024-01-23 08:44:37 -08:00
2024-02-16 06:04:57 -08:00
2024-01-23 08:44:37 -08:00
2024-01-12 10:25:56 -08:00

Generate Text with MLX and 🤗 Hugging Face

This an example of large language model text generation that can pull models from the Hugging Face Hub.

For more information on this example, see the README in the parent directory.

This package also supports fine tuning with LoRA or QLoRA. For more information see the LoRA documentation.