共用方式為


BpeDecoder 類別

定義

允許解碼原始 BPE,方法是聯結所有權杖,然後取代用來以空格識別字尾的尾碼

public sealed class BpeDecoder : Microsoft.ML.Tokenizers.TokenizerDecoder
type BpeDecoder = class
    inherit TokenizerDecoder
Public NotInheritable Class BpeDecoder
Inherits TokenizerDecoder
繼承

建構函式

BpeDecoder()

建構新的 Bpe 解碼器物件。

BpeDecoder(String)

建構新的 Bpe 解碼器物件。

方法

Decode(IEnumerable<String>)

藉由聯結所有權杖,然後取代用來以空格識別字尾的後置詞,以解碼原始 BPE。

適用於