Class: Aws::SageMakerTrainingSessionRuntime::Types::TokenLogprob

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb

Overview

The log-probability for a single token.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#logprob ⇒ Float

The log-probability of the token.

Returns:

  • (Float)


1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 1145

class TokenLogprob < Struct.new(
  :token_id,
  :logprob)
  SENSITIVE = []
  include Aws::Structure
end

#token_id ⇒ Integer

The vocabulary token ID.

Returns:

  • (Integer)


1145
1146
1147
1148
1149
1150
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 1145

class TokenLogprob < Struct.new(
  :token_id,
  :logprob)
  SENSITIVE = []
  include Aws::Structure
end