getWord

fun getWord(token: Int): String

Returns the vocabulary word corresponding to a token ID.

Return

Word associated with the token (UTF-8).

Parameters

token

Token ID.