ComputeLogprobsConfig - SageMaker Training Session
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ComputeLogprobsConfig

The configuration for computing log-probabilities of prompt tokens without generating new text.

Contents

prompt

The input prompt whose token log-probabilities will be computed.

Type: ModelInput object

Required: Yes

modelPackageArn

The ARN of the model package whose checkpoint this operation should run against. Must be a valid SageMaker model package ARN in the format arn:aws:sagemaker:REGION:ACCOUNT:model-package/PACKAGE_NAME/VERSION. When absent, the operation runs against the session's latest checkpoint.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: