DeployPublisherModelRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request message for ModelGardenService.DeployPublisherModel.
Attributes |
|
|---|---|
| Name | Description |
model |
str
Required. The model to deploy. Format: 1. publishers/{publisher}/models/{publisher_model}@{version_id},
or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001.
2. Hugging Face model ID like google/gemma-2-2b-it.
3. Custom model Google Cloud Storage URI like
gs://bucket.
4. Custom model zip file like https://example.com/a.zip.
|
destination |
str
Required. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}
|
endpoint_display_name |
str
Optional. The user-specified display name of the endpoint. If not set, a default name will be used. |
dedicated_resources |
google.cloud.aiplatform_v1beta1.types.DedicatedResources
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used. |
model_display_name |
str
Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. |
hugging_face_access_token |
str
Optional. The Hugging Face read access token used to access the model artifacts of gated models. |
accept_eula |
bool
Optional. Whether the user accepts the End User License Agreement (EULA) for the model. |
Methods
DeployPublisherModelRequest
DeployPublisherModelRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request message for ModelGardenService.DeployPublisherModel.