Share via


EnglishRoberta.GetTrainer Method

Definition

Gets a trainer object to use in training the model and generate the vocabulary and merges data.

public override Microsoft.ML.Tokenizers.Trainer? GetTrainer ();
override this.GetTrainer : unit -> Microsoft.ML.Tokenizers.Trainer
Public Overrides Function GetTrainer () As Trainer

Returns

Remarks

This tokenizer doesn't support training so this method will return null. Consider using Bpe.GetTrainer() for training.

Applies to