检查点

This commit is contained in:
ire 2025-02-10 13:47:46 +08:00
parent 8abb4879b7
commit 54efa67bc4
2 changed files with 5 additions and 0 deletions

View File

@ -201,6 +201,9 @@ public class ConversationServiceImpl implements ConversationService {
message.setContent(chatReqVO.getPrompt());
messages.add(message);
//如果知识库id不为null先去调用知识库
ModelCompletionsReqVO modelCompletionsReqVO = new ModelCompletionsReqVO();
modelCompletionsReqVO.setMessages(messages);
// baseModel aigcModelName 为aigc中的模型名称

View File

@ -96,6 +96,8 @@ public class FineTuningTaskSyncService {
try {
//获取检查点信息
//todo 模型工厂的功能有问题暂时写死
jobModelName = "Qwen2.5-0.5B-Instruct-147";
String checkFileList = trainHttpService.getCheckFileList(jobModelName);
String checkpoint = "";
List<String> fileList = JSONArray.parseArray(checkFileList,String.class);