SamplerConfig constructor

const SamplerConfig({
  1. double temperature = 1.0,
  2. int topK = 0,
  3. double topP = 1.0,
  4. double repetitionPenalty = 1.0,
  5. int penaltyWindow = 64,
})

Implementation

const SamplerConfig({
  this.temperature = 1.0,
  this.topK = 0,
  this.topP = 1.0,
  this.repetitionPenalty = 1.0,
  this.penaltyWindow = 64,
});