File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -402,6 +402,8 @@ def run(**kwargs):
402402
403403 # Handle output path remapping
404404 if (output_path := kwargs .pop ("output_path" , None )) is not None :
405+ if kwargs .get ("outputs_dir" , None ) is not None :
406+ raise click .BadParameter ("Cannot use --output-path with --output-dir." )
405407 path = Path (output_path )
406408 if path .is_dir ():
407409 kwargs ["output_dir" ] = path
@@ -523,8 +525,8 @@ def preprocess():
523525 "PreprocessDatasetConfig as JSON string, key=value pairs, "
524526 "or file path (.json, .yaml, .yml, .config). "
525527 "Example: 'prompt_tokens=100,output_tokens=50,prefix_tokens_max=10'"
526- " or '{ \ " prompt_tokens\ " : 100, \ " output_tokens\ " : 50, "
527- " \" prefix_tokens_max\ " : 10}'"
528+ ' or \' { "prompt_tokens": 100, "output_tokens": 50, '
529+ '" prefix_tokens_max": 10}\' '
528530 ),
529531)
530532@click .option (
You can’t perform that action at this time.
0 commit comments