Skip to content

Commit 362754a

Browse files
fix(vertex-ai): fix ci linter failures
1 parent 302209f commit 362754a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

generative_ai/model_tuning/supervised_advanced_example.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121

2222
def gemini_tuning_advanced() -> sft.SupervisedTuningJob:
23-
# test: trigger Ci
2423
# [START generativeaionvertexai_tuning_advanced]
2524

2625
import time
@@ -32,14 +31,13 @@ def gemini_tuning_advanced() -> sft.SupervisedTuningJob:
3231
# PROJECT_ID = "your-project-id"
3332
vertexai.init(project=PROJECT_ID, location="us-central1")
3433

35-
# Initialize Vertex AI with your service account for BYOSA (Bring Your Own Service Account).
36-
# Uncomment the following and replace "your-service-account"
37-
# 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")
3837

39-
40-
# Initialize Vertex AI with your CMEK (Customer-Managed Encryption Key).
41-
# Un-comment the following line and replace "your-kms-key"
42-
# 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")
4341

4442
sft_tuning_job = sft.train(
4543
source_model="gemini-1.5-pro-002",

0 commit comments

Comments
 (0)