語言

BpeDecoder.Decode(IEnumerable<String>) 方法

定義

解碼原始 BPE 時,方法是將所有詞符連接起來,然後用來識別詞尾的後綴換成空白。

public override string Decode(System.Collections.Generic.IEnumerable<string> tokens);
override this.Decode : seq<string> -> string
Public Overrides Function Decode (tokens As IEnumerable(Of String)) As String

參數

tokens
IEnumerable<String>

要合併的代幣清單。

傳回

包含所有合併標記的字串。

適用於