Class PartnerModelTuningSpec (1.122.0)

PartnerModelTuningSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Tuning spec for Partner models.

Attributes

Name Description
training_dataset_uri str
Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file.
validation_dataset_uri str
Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file.
hyper_parameters MutableMapping[str, google.protobuf.struct_pb2.Value]
Hyperparameters for tuning. The accepted hyper_parameters and their valid range of values will differ depending on the base model.

Classes

HyperParametersEntry

HyperParametersEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Methods

PartnerModelTuningSpec

PartnerModelTuningSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Tuning spec for Partner models.