Encoding

interface Encoding

Represents an encoding interface that provides essential encoding functionality and access to predefined encoding types.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val file: String

The encoding file path.

Functions

Link copied to clipboard
abstract fun encodingConfig(ranks: Map<ByteString, Int>): EncodingConfig

Retrieve token encoding utilizing the provided BpeLoader.