mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-10-23 14:08:07 +08:00
Fix typo in lora convert.py (#245)
This commit is contained in:
@@ -87,7 +87,7 @@ if __name__ == "__main__":
|
|||||||
# Copy the tokenizer
|
# Copy the tokenizer
|
||||||
tokenizer_path = torch_path / "tokenizer.model"
|
tokenizer_path = torch_path / "tokenizer.model"
|
||||||
if not tokenizer_path.exists():
|
if not tokenizer_path.exists():
|
||||||
print(f"Make sure there is a file tokenizer.model in {args.torch-path}")
|
print(f"Make sure there is a file tokenizer.model in {args.torch_path}")
|
||||||
exit(0)
|
exit(0)
|
||||||
shutil.copyfile(
|
shutil.copyfile(
|
||||||
str(tokenizer_path),
|
str(tokenizer_path),
|
||||||
|
Reference in New Issue
Block a user