Skip to content

Commit 9f87bf3

Browse files
fix(vertex-ai): linter errors (GoogleCloudPlatform#12994)
* wip: trigger ci lint failure * wip: trigger ci failure * fix(vertex-ai): fix ci linter failures
1 parent aaabd2d commit 9f87bf3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

generative_ai/model_tuning/supervised_advanced_example.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,13 @@ def gemini_tuning_advanced() -> sft.SupervisedTuningJob:
3131
# PROJECT_ID = "your-project-id"
3232
vertexai.init(project=PROJECT_ID, location="us-central1")
3333

34-
# Initialize Vertex AI with your service account for BYOSA (Bring Your Own Service Account).
35-
# Uncomment the following and replace "your-service-account"
36-
# vertexai.init(service_account="your-service-account")
34+
# Initialize Vertex AI with your service account for BYOSA (Bring Your Own Service Account).
35+
# Uncomment the following and replace "your-service-account"
36+
# vertexai.init(service_account="your-service-account")
3737

38-
39-
# Initialize Vertex AI with your CMEK (Customer-Managed Encryption Key).
40-
# Un-comment the following line and replace "your-kms-key"
41-
# vertexai.init(encryption_spec_key_name="your-kms-key")
38+
# Initialize Vertex AI with your CMEK (Customer-Managed Encryption Key).
39+
# Un-comment the following line and replace "your-kms-key"
40+
# vertexai.init(encryption_spec_key_name="your-kms-key")
4241

4342
sft_tuning_job = sft.train(
4443
source_model="gemini-1.5-pro-002",

0 commit comments

Comments
 (0)