Files
mlx-examples/llms/mlx_lm
Ivan Fioravanti 4576946151 Add checkpoints directory for adapter weights (#431)
* Add checkpoints directory for adapter weights

The code was modified to create a checkpoints directory if it doesn't exist yet. Adapter weights are now saved to this checkpoints directory during the training iterations.
Corrected indentation of Save adapter weights code because it was part of "if eval"

* Fixing a blank added by mistake
2024-02-12 10:50:05 -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-05 21:13:49 -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.