TopLogprob#

class nemo_microservices.types.shared.TopLogprob(*args: Any, **kwargs: Any)

Bases: BaseModel

token: str

The token.

logprob: float

The log probability of this token.

bytes: List[int] | None = None

UTF-8 bytes representation of the token.