penalty property

double penalty
final

Penalty applied to tokens that have already appeared in the sequence. 1.0 means no penalty.

Native LiteRT-LM counts only the tokens of the current send, leaves the default value unapplied and rejects values below 1.0.

Implementation

final double penalty;