package LogitProcess
Type Members
-
class
ForcedTokenLogitProcessor extends LogitProcessor
Forces specific token ids to be sampled at specific indexes.
Forces specific token ids to be sampled at specific indexes. Note that the order of the of the ids is relevant, as only the last forced token at the index will be the result.
- abstract class LogitProcessor extends Logit
- class MinLengthLogitProcessor extends LogitProcessor
- class NoRepeatNgramsLogitProcessor extends LogitProcessor
- class RepetitionPenaltyLogitProcessor extends LogitProcessor
-
class
SuppressLogitProcessor extends LogitProcessor
Sets the probability to -inf for provided tokenIds, so they are not sampled.