Table of Contents

Property AssistantLossOnly

Namespace
LMKit.Finetuning
Assembly
LM-Kit.NET.dll

AssistantLossOnly

When true, loss is computed only on assistant-role tokens; user and system tokens are masked out. This is the standard setup for instruction fine-tuning and is the default for chat datasets.

public bool AssistantLossOnly { get; set; }

Property Value

bool
Share