feat(mlx-lm): add lora hypeparameters in lora layer (#366)

* feat(mlx-lm): add lora hypeparameters in lora layer

* chore: address comments
This commit is contained in:
Anchen
2024-01-25 03:11:25 +11:00
committed by GitHub
parent 5fc8668a53
commit b1dec281b3
3 changed files with 25 additions and 8 deletions

View File

@@ -242,6 +242,7 @@ if __name__ == "__main__":
if args.prompt is not None:
print("Generating")
model.eval()
generate(
model=model,
tokenizer=tokenizer,