mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-12-16 02:08:55 +08:00
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:
@@ -242,6 +242,7 @@ if __name__ == "__main__":
|
||||
|
||||
if args.prompt is not None:
|
||||
print("Generating")
|
||||
model.eval()
|
||||
generate(
|
||||
model=model,
|
||||
tokenizer=tokenizer,
|
||||
|
||||
Reference in New Issue
Block a user