![]() |
A fine-tuned model created using ModelService.CreateTunedModel.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
Attributes | |
---|---|
tuned_model_source
|
google.ai.generativelanguage.TunedModelSource
Optional. TunedModel to use as the starting point for training the new model. This field is a member of |
base_model
|
str
Immutable. The name of the This field is a member of |
name
|
str
Output only. The tuned model name. A unique name will be
generated on create. Example: |
display_name
|
str
Optional. The name to display for this model in user interfaces. The display name must be up to 40 characters including spaces. |
description
|
str
Optional. A short description of this model. |
temperature
|
float
Optional. Controls the randomness of the output. Values can range over This value specifies default to be the one used by the base model while creating the model. |
top_p
|
float
Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose
probability sum is at least This value specifies default to be the one used by the base model while creating the model. |
top_k
|
int
Optional. For Top-k sampling. Top-k sampling considers the set of This value specifies default to be the one used by the base model while creating the model. |
state
|
google.ai.generativelanguage.TunedModel.State
Output only. The state of the tuned model. |
create_time
|
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this model was created. |
update_time
|
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when this model was updated. |
tuning_task
|
google.ai.generativelanguage.TuningTask
Required. The tuning task that creates the tuned model. |