Files
mlx-examples/llms/mlx_lm
Ivan Fioravanti 7fbca214b1 Add max sequence length argument in lora.py (#408)
A new argument "--max_seq_length" has been added to the command-line parser and passed as a parameter to the main function of the lora.py script. This allows users to specify and control the maximum sequence length during training.
2024-02-04 12:28:21 -08:00
..
2024-02-04 08:31:38 -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-01-23 08:44:37 -08:00
2024-01-12 10:25:56 -08:00
2024-02-04 08:31:38 -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.