SamplerConfig constructor

const SamplerConfig({
  1. required int topK,
  2. required double topP,
  3. required double temperature,
  4. int seed = 0,
})

Implementation

const SamplerConfig({
  required this.topK,
  required this.topP,
  required this.temperature,
  this.seed = 0,
});