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
Copy file name to clipboardExpand all lines: vertexai/language_models/_language_models.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -267,7 +267,7 @@ def tune_model(
267
267
model_display_name: Custom display name for the tuned model.
268
268
tuning_evaluation_spec: Specification for the model evaluation during tuning.
269
269
default_context: The context to use for all training samples by default.
270
-
task_type: Type of task. Can be "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", "SEMANTIC_SIMILARITY", "CLASSIFICATION", "CLUSTERING", "QUESTION_ANSWERING", or "FACT_VERIFICATION".
270
+
task_type: Type of task. Can be "RETRIEVAL_QUERY", "RETRIEVAL_DOCUMENT", "SEMANTIC_SIMILARITY", "CLASSIFICATION", "CLUSTERING", "QUESTION_ANSWERING", "FACT_VERIFICATION", or "CODE_RETRIEVAL_QUERY".
271
271
machine_type: Machine type. E.g., "a2-highgpu-1g". See also: https://cloud.google.com/vertex-ai/docs/training/configure-compute.
272
272
accelerator: Kind of accelerator. E.g., "NVIDIA_TESLA_A100". See also: https://cloud.google.com/vertex-ai/docs/training/configure-compute.
273
273
accelerator_count: Count of accelerators.
@@ -2286,7 +2286,7 @@ def tune_model(
2286
2286
task_type: The task type expected to be used during inference.
2287
2287
Valid values are `DEFAULT`, `RETRIEVAL_QUERY`, `RETRIEVAL_DOCUMENT`,
0 commit comments