Fix typo in lora convert.py (#245)

This commit is contained in:
mc0ps 2024-01-07 06:30:30 -05:00 committed by GitHub
parent b152d12d7b
commit 25ebd36112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),