mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 12:29:42 +08:00
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:
@@ -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`:
|
||||
|
Reference in New Issue
Block a user