You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
source_model (str): Model name for tuning, e.g., "gemini-1.0-pro-002".
41
-
train_dataset: Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
42
-
validation_dataset: Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.
42
+
train_dataset: Training dataset used for tuning. The dataset can be a JSONL file on Google Cloud Storage (specified as its GCS URI) or a Vertex Multimodal Dataset (either as the dataset object itself or as its resource name).
43
+
validation_dataset: Validation dataset used for tuning. The dataset can be a JSONL file on Google Cloud Storage (specified as its GCS URI) or a Vertex Multimodal Dataset (either as the dataset object itself or as the resource name).
43
44
tuned_model_display_name: The display name of the
44
45
[TunedModel][google.cloud.aiplatform.v1.Model]. The name can be up to
45
46
128 characters long and can consist of any UTF-8 characters.
@@ -73,6 +74,10 @@ def train(
73
74
raiseValueError(
74
75
f"Unsupported adapter size: {adapter_size}. The supported sizes are [1, 4, 8, 16]"
0 commit comments