Create executables for generate, lora, server, merge, convert (#682)

* feat: create executables mlx_lm.<cmd>

* nits in docs

---------

Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
Phúc H. Lê Khắc
2024-04-17 00:08:49 +01:00
committed by GitHub
parent 7d7e236061
commit 35206806ac
10 changed files with 54 additions and 27 deletions

View File

@@ -6,14 +6,14 @@ Face hub or save them locally for LoRA fine tuning.
The main command is `mlx_lm.merge`:
```shell
python -m mlx_lm.merge --config config.yaml
mlx_lm.merge --config config.yaml
```
The merged model will be saved by default in `mlx_merged_model`. To see a
full list of options run:
```shell
python -m mlx_lm.merge --help
mlx_lm.merge --help
```
Here is an example `config.yaml`: