Class Candidate (1.81.0)

Candidate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
token str
The candidate’s token string value. This field is a member of oneof_ _token.
token_id int
The candidate’s token id value. This field is a member of oneof_ _token_id.
log_probability float
The candidate's log probability. This field is a member of oneof_ _log_probability.

Methods

Candidate

Candidate(mapping=None, *, ignore_unknown_fields=False, **kwargs)