Table of Contents

Method AddDatasetFile

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

AddDatasetFile(string)

Loads a dataset file (JSONL, ShareGPT, Alpaca, plain text, or a ZIP archive of these) and adds all of its samples. Format is auto-detected.

public int AddDatasetFile(string path)

Parameters

path string

Returns

int

The number of samples added.

Exceptions

FinetuningException

The dataset declares images but none of them could be resolved: training would silently proceed text-only otherwise.

Share