Class DatasetBuilderOptions
- Namespace
- LMKit.Finetuning.Export
- Assembly
- LM-Kit.NET.dll
Configures the behavior of dataset export operations.
public sealed class DatasetBuilderOptions
- Inheritance
-
DatasetBuilderOptions
- Inherited Members
Properties
- ContinueOnError
Gets or sets a value indicating whether the exporter should continue when a single sample fails to process. When true, the failing sample is skipped and export proceeds to the next one. When false, the first failure aborts the entire export.
- ExpectedCount
Gets or sets the expected number of samples to export. When provided, this value is used to compute progress percentages in scenarios where the input enumeration does not expose a Count.
- ImageFileNameSanitizer
Gets or sets an optional file-name sanitizer for images. The delegate receives the proposed file name (for example,
"sample001_1.png"
) and should return a safe variant.
- ImageFolderName
Gets or sets the folder name (relative to the JSON file) where images are written. Defaults to
"images"
.
- ImagePrefix
Gets or sets the prefix used to generate deterministic sample identifiers and image file names.
- IndentedJson
Gets or sets a value indicating whether the output JSON should be pretty-printed.
- Overwrite
Gets or sets a value indicating whether an existing JSON file should be overwritten.
- RoleMappingPolicy
Gets or sets the role mapping policy applied to message roles that are not recognized by the target schema.