8000 fix: Update default training steps to 300 (#10454) · davidxia/python-docs-samples@a11ded0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a11ded0

Browse files
authored
fix: Update default training steps to 300 (GoogleCloudPlatform#10454)
* fix: Update default training steps to 300 * remove outdated comment
1 parent 2e85463 commit a11ded0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generative_ai/tuning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def tuning(
2828
project_id: str,
2929
location: str,
3030
training_data: pd.DataFrame | str,
31-
train_steps: int = 10,
31+
train_steps: int = 300,
3232
) -> None:
3333
"""Tune a new model, based on a prompt-response data.
3434
@@ -57,7 +57,7 @@ def tuning(
5757
training_data=training_data,
5858
# Optional:
5959
train_steps=train_steps,
60-
tuning_job_location="europe-west4", # Only supported in europe-west4 for Public Preview
60+
tuning_job_location="europe-west4",
6161
tuned_model_location=location,
6262
)
6363

0 commit comments

Comments
 (0)
0