View a markdown version of this page

TokenLogprob - 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).

TokenLogprob

The log-probability for a single token.

Contents

logprob

The log-probability of the token.

Type: Double

Required: Yes

tokenId

The vocabulary token ID.

Type: Integer

Required: Yes

See Also

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