Packages

c

com.johnsnowlabs.ml.ai.util.Generation.Logit.LogitProcess

NoRepeatNgramsLogitProcessor

class NoRepeatNgramsLogitProcessor extends LogitProcessor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoRepeatNgramsLogitProcessor
  2. LogitProcessor
  3. Logit
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NoRepeatNgramsLogitProcessor(noRepeatNgramSize: Int, vocabSize: Int)

Value Members

  1. def call(inputIds: Seq[Array[Int]], scores: Array[Array[Float]], currentLength: Int): Array[Array[Float]]
    Definition Classes
    NoRepeatNgramsLogitProcessorLogit
  2. val noRepeatNgramSize: Int
  3. val vocabSize: Int