Language

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 をデコードします。

適用対象