Table of Contents

Property SequencePacking

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

SequencePacking

Packs consecutive short samples into shared training windows instead of giving every sample its own padded window, which multiplies throughput on datasets of short conversations. Loss never crosses a sample boundary; packed samples do share the window's attention, the standard trade-off of sequence packing. Samples carrying images are never packed. Default false.

public bool SequencePacking { get; set; }

Property Value

bool
Share