Tokenizer.TrainFromFiles(Trainer, ReportProgress, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.