TokenLogprob ¶ Source code in docs_src/capo_sagemakertrainingsessionruntime/types/token_logprob.py 6 7 8 9 10class TokenLogprob(TypedDict, closed=True): token_id: "int" """<p>The vocabulary token ID.</p>""" logprob: "float" """<p>The log-probability of the token.</p>""" logprob instance-attribute ¶ logprob: float The log-probability of the token. token_id instance-attribute ¶ token_id: int The vocabulary token ID.