語言

Trainer.Train(Model) 方法

定義

執行實際訓練,並用新詞彙更新輸入模型,並合併資料。

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)

參數

model
Model

訓練的模型。

傳回

特殊標記將直接加入分子器,與模型一同。

適用於