Table of Contents

Property Seed

Namespace
LMKit.TextGeneration.Sampling
Assembly
LM-Kit.NET.dll

Seed

Specifies the seed used for random number generation.
If set, the seed ensures reproducibility of the sampling process by controlling the randomness in token generation.
When not set (null), the model's behavior is non-deterministic as it relies on a system-generated random seed.
Use an unsigned integer (uint) value to define the seed for reproducibility, or leave it null for standard random behavior.

public uint? Seed { get; set; }

Property Value

uint?

The default value is null, meaning no seed is applied.