mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-03-03 18:25:59 +08:00
[v1] add LoRA/Freeze support and merge workflow (#10157)
This commit is contained in:
@@ -125,6 +125,11 @@ def launch():
|
||||
|
||||
run_chat()
|
||||
|
||||
elif command == "merge":
|
||||
from llamafactory.v1.plugins.model_plugins.peft import merge_and_export_model
|
||||
|
||||
merge_and_export_model()
|
||||
|
||||
elif command == "env":
|
||||
raise NotImplementedError("Environment information is not implemented yet.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user