Class: Aws::SageMakerTrainingSessionRuntime::Types::EncodedTextChunk

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

Overview

A chunk of pre-tokenized text represented as a list of token IDs.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tokens ⇒ Array<Integer>

The token IDs representing the encoded text.

Returns:

  • (Array<Integer>)


152
153
154
155
156
157
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 152

class EncodedTextChunk < Struct.new(
  :tokens,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of the chunk encoding.

Returns:

  • (String)


152
153
154
155
156
157
# File 'gems/aws-sdk-sagemakertrainingsessionruntime/lib/aws-sdk-sagemakertrainingsessionruntime/types.rb', line 152

class EncodedTextChunk < Struct.new(
  :tokens,
  :type)
  SENSITIVE = []
  include Aws::Structure
end