constructor(penalty) {
        super();
        this.penalty = penalty;
    }
Create a RepetitionPenaltyLogitsProcessor.
@param {number} penalty The parameter for repetition penalty.
- 1.0 means no penalty. Above 1.0 penalizes previously generated tokens.
- Between 0.0 and 1.0 rewards previously generated tokens.