Logit Bias
Quick definition
A setting that adjusts the preference for particular tokens before the model samples an output.
A setting that adjusts the preference for particular tokens before the model samples an output.
Strong biases can discourage or favor token IDs but are not a dependable substitute for policy enforcement.
Example: An application reduces the likelihood of a prohibited output token.
Common use cases: Controlled decoding and output formatting.
Examples
- An application reduces the likelihood of a prohibited output token.
Use cases
- Controlled decoding and output formatting.
Frequently asked questions
What is Logit Bias?
A setting that adjusts the preference for particular tokens before the model samples an output.
What should I know about Logit Bias?
Strong biases can discourage or favor token IDs but are not a dependable substitute for policy enforcement.