CogVideo
CogVideo copied to clipboard
请问lora微调后模型的保存,以及使用方法可以做一个解释吗
System Info / 系統信息
1
Information / 问题信息
- [X] The official example scripts / 官方的示例脚本
- [ ] My own modified scripts / 我自己修改的脚本和任务
Reproduction / 复现过程
1
Expected behavior / 期待表现
1
Model will be saved automatically according to save_interval you set. And to use new model, you only need to replace the load path with new one.
You need to modify the inference config: keep the network_config the same as sft config, i.e. add lora_config to the inference config. To avoid misunderstanding, we will update a new inference config for lora inference soon.