Files
mlx-examples/llms/mlx_lm
Alex Barron d4ef909d4a Length masking for batch inputs (#1173)
* length masking

* add mask to mlx_lm model interface

* remove lengths

* fix test:

* comment + fix
2024-12-18 19:43:52 -08:00
..
2024-12-16 08:01:03 -08:00
2024-12-12 13:13:50 -08:00
2024-12-10 11:26:04 -08:00
2024-10-22 09:56:45 -07:00
2024-12-15 06:06:29 -08:00
2024-09-29 17:12:47 -07:00
2024-09-20 13:33:45 -07:00
2024-01-23 08:44:37 -08:00
2024-10-31 08:17:14 -07:00
2024-12-12 11:12:21 -08:00
2024-01-12 10:25:56 -08:00
2024-12-16 08:01:03 -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.