feat: text collecion auto save for a txt file (#4924)

This commit is contained in:
Archer
2025-05-29 17:57:27 +08:00
committed by GitHub
parent 05c7ba4483
commit 0f866fc552
9 changed files with 76 additions and 10 deletions

View File

@@ -40,5 +40,6 @@ export function getSourceNameIcon({
export const predictDataLimitLength = (mode: TrainingModeEnum, data: any[]) => {
if (mode === TrainingModeEnum.qa) return data.length * 20;
if (mode === TrainingModeEnum.auto) return data.length * 5;
if (mode === TrainingModeEnum.image) return data.length * 2;
return data.length;
};