Skip to content

Commit f38305b

Browse files
slin000111Jintao-Huang
authored andcommitted
fix_ui_merged_model (#4592)
1 parent 08631c8 commit f38305b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/ui/llm_train/llm_train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def train(cls, *args):
328328
for key, value in kwargs.items()
329329
})
330330
except Exception as e:
331-
if 'using `--model`' in str(e): # TODO a dirty fix
331+
if 'Please set --model' in str(e): # TODO a dirty fix
332332
kwargs['model'] = kwargs.pop('resume_from_checkpoint')
333333
sft_args = RLHFArguments(
334334
**{

0 commit comments

Comments
 (0)