mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
rename --model_path to --model-path (#151)
use same argument convention for mistral/mixtral as for llama convert.
This commit is contained in:
@@ -10,7 +10,7 @@ import torch
|
||||
if __name__ == "__main__":
|
||||
parser = argparse.ArgumentParser(description="Convert Mistral weights to MLX.")
|
||||
parser.add_argument(
|
||||
"--model_path",
|
||||
"--model-path",
|
||||
type=str,
|
||||
default="mistral-7B-v0.1/",
|
||||
help="The path to the Mistral model. The MLX weights will also be saved there.",
|
||||
|
||||
Reference in New Issue
Block a user