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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for