Table of Contents

Enum LogitBiasSetMode

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

Defines the modes for updating bias values in a bias configuration.

public enum LogitBiasSetMode

Fields

Append = 0

Appends new bias values to the existing related bias entries, if present. This mode does not remove or alter the existing values but adds the new values alongside them.

Replace = 1

Replaces the existing related bias entries with new bias values, if present. This mode removes any previously set biases related to the same keys and replaces them with the new values.