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: