For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Python class
TopLogProb
TopLogProbβ
class max.pipelines.request.TopLogProb(*, token, logprob, bytes=None)
Bases: BaseModel
Log probability information for a token.
bytesβ
logprobβ
logprob: float
model_configβ
model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
tokenβ
token: str
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!