Skip to content

Commit 37eda0f

Browse files
authored
fix to import line and GCS bucket (#147)
1 parent ad2f408 commit 37eda0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: language/examples/tuning/getting_started_tuning.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
},
283283
"outputs": [],
284284
"source": [
285-
"if BUCKET_NAME == \"\" or BUCKET_NAME is None or BUCKET_NAME == \"[your-bucket-name]\":\n",
285+
"if BUCKET_NAME == \"\" or BUCKET_NAME is None or BUCKET_NAME == \"<your-bucket-name>\":\n",
286286
" BUCKET_NAME = \"vertex-\" + UUID\n",
287287
" BUCKET_URI = f\"gs://{BUCKET_NAME}\""
288288
]
@@ -373,7 +373,7 @@
373373
"from sklearn.model_selection import train_test_split\n",
374374
"import numpy as np\n",
375375
"\n",
376-
"from vertexai.language_models import TextGenerationModel\n",
376+
"from vertexai.preview.language_models import TextGenerationModel\n",
377377
"from google.cloud import aiplatform\n",
378378
"from google.cloud import bigquery"
379379
]

0 commit comments

Comments
 (0)