We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f5a5c commit 2eaaffeCopy full SHA for 2eaaffe
google/genai/tunings.py
@@ -240,13 +240,7 @@ def _CreateTuningJobParametersPrivate_to_vertex(
240
setv(to_object, ['preTunedModel'], getv(from_object, ['pre_tuned_model']))
241
242
if getv(from_object, ['training_dataset']) is not None:
243
- setv(
244
- to_object,
245
- ['supervisedTuningSpec', 'trainingDatasetUri'],
246
- _TuningDataset_to_vertex(
247
- getv(from_object, ['training_dataset']), to_object
248
- ),
249
- )
+ _TuningDataset_to_vertex(getv(from_object, ['training_dataset']), to_object)
250
251
if getv(from_object, ['config']) is not None:
252
_CreateTuningJobConfig_to_vertex(getv(from_object, ['config']), to_object)
0 commit comments