View a markdown version of this page

ComputeLogprobsConfig - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: