![]() |
Get the types.TunedModel
for the given tuned model name.
google.generativeai.get_tuned_model(
name: model_types.TunedModelNameOptions, *, client=None
) -> model_types.TunedModel
import pprint
model = genai.get_tuned_model('tunedModels/my-model-1234'):
pprint.pprint(model)
Args | |
---|---|
name
|
The name of the model to fetch. |
client
|
The client to use. |
Returns | |
---|---|
A types.TunedModel .
|