Class: Aws::SageMakerTrainingSessionRuntime::Types::TokenLogprob
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMakerTrainingSessionRuntime::Types::TokenLogprob
- 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
-
#logprob ⇒ Float
The log-probability of the token.
-
#token_id ⇒ Integer
The vocabulary token ID.
Instance Attribute Details
#logprob ⇒ Float
The log-probability of the token.
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.
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 |