Skip to content

Commit 28c5d26

Browse files
Fixing UTs
1 parent 08b3dfe commit 28c5d26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ads/aqua/finetuning/finetuning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,9 @@ def _build_oci_launch_cmd(
532532
early_stopping_threshold: float = 0.0
533533
) -> str:
534534
"""Builds the oci launch cmd for fine tuning container runtime."""
535-
oci_launch_cmd = f"--training_data {dataset_path} --output_dir {report_path} --val_set_size {val_set_size}"
535+
oci_launch_cmd = f"--training_data {dataset_path} --output_dir {report_path} --val_set_size {val_set_size} "
536536
if early_stopping_patience:
537-
oci_launch_cmd += f" --early_stopping_patience {early_stopping_patience} --early_stopping_threshold {early_stopping_threshold}"
537+
oci_launch_cmd += f"--early_stopping_patience {early_stopping_patience} --early_stopping_threshold {early_stopping_threshold} "
538538
for key, value in asdict(parameters).items():
539539
if value is not None:
540540
if key == "batch_size":

0 commit comments

Comments
 (0)