Companion

Properties

Link copied to clipboard
const val WHITESPACE_ESCAPE: Char = '\u2581'

SentencePiece whitespace-escape character: (U+2581).

Functions

Link copied to clipboard

Build from GGUF metadata fields (see GgufModelMetadata.rawFields).

Link copied to clipboard

Build from a parsed HuggingFace tokenizer.json root object where model.type == "Unigram".