Trainer.Train(Model) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行實際訓練,並用新詞彙更新輸入模型,並合併資料。
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
訓練的模型。
傳回
特殊標記將直接加入分子器,與模型一同。