Share via


BpeDecoder Class

Definition

Allows decoding Original BPE by joining all the tokens and then replacing the suffix used to identify end-of-words by white spaces

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

Constructors

BpeDecoder()

Construct a new Bpe decoder object.

BpeDecoder(String)

Construct a new Bpe decoder object.

Methods

Decode(IEnumerable<String>)

Decode the original BPE by joining all the tokens and then replacing the suffix used to identify end-of-words by white spaces.

Applies to