Formatron v0.4.2
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
formatron.formatter.FormatterBase Member List

This is the complete list of members for formatron.formatter.FormatterBase, including all inherited members.

_on_completion(self, str generated_output)formatron.formatter.FormatterBaseprotected
accept_bytes(self, bytes _bytes)formatron.formatter.FormatterBase
accept_token(self, int token_id)formatron.formatter.FormatterBase
captures(self)formatron.formatter.FormatterBase
compute_allowed_tokens(self)formatron.formatter.FormatterBase
get_allowed_tokens_since_last_computation(self)formatron.formatter.FormatterBase
is_completed(self)formatron.formatter.FormatterBase
mask_logits(self, logits)formatron.formatter.FormatterBase
reset(self)formatron.formatter.FormatterBase