Trainer.Train(Model) 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.
Perform the actual training and update the input model with the new vocabularies and merges data.
public abstract System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.AddedToken>? Train (Microsoft.ML.Tokenizers.Model model);
abstract member Train : Microsoft.ML.Tokenizers.Model -> System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.AddedToken>
Public MustOverride Function Train (model As Model) As IReadOnlyList(Of AddedToken)
Parameters
- model
- Model
The model to train.
Returns
Special tokens to be added directly to the tokenizer along with the model.