BpeTrainer.Train(Model) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
執行實際訓練,並用新詞彙更新輸入模型,並合併資料。
public override System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.AddedToken>? Train(Microsoft.ML.Tokenizers.Model model);
override this.Train : Microsoft.ML.Tokenizers.Model -> System.Collections.Generic.IReadOnlyList<Microsoft.ML.Tokenizers.AddedToken>
Public Overrides Function Train (model As Model) As IReadOnlyList(Of AddedToken)
參數
- model
- Model
訓練的模型。 這必須是 BpeModel 才能與 BpeTrainer 合作。
傳回
新增代幣的清單。