Share via


Tokenizer.TrainFromFiles(Trainer, ReportProgress, String[]) Method

Definition

Train the tokenizer model using input files.

public void TrainFromFiles (Microsoft.ML.Tokenizers.Trainer? trainer, Microsoft.ML.Tokenizers.ReportProgress? progress, params string[] files);
member this.TrainFromFiles : Microsoft.ML.Tokenizers.Trainer * Microsoft.ML.Tokenizers.ReportProgress * string[] -> unit
Public Sub TrainFromFiles (trainer As Trainer, progress As ReportProgress, ParamArray files As String())

Parameters

trainer
Trainer

An optional trainer that should be used to train our Model.

progress
ReportProgress

Optional progress callback to report the training progress.

files
String[]

A list of the files that we should use for training.

Applies to