code: def setRepetitionPenalty(self, value):
      """Sets the parameter for repetition penalty. 1.0 means no penalty.
  
      Parameters
      ----------
      value : float
          The repetition penalty
  
      References
      ----------
      See `Ctrl: A Conditional Transformer Language Model For Controllable
      Generation <https://arxiv.org/pdf/1909.05858.pdf>`__ for more details.
      """
      return self._set(repetitionPenalty=value)
  
imports: from pyspark.ml.param import Param, Params, TypeConverters
label_desc: Use image node_id 8 for calling a global function with example usage: setRepetitionPenalty(value) and returns: self