docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace Unity.InferenceEngine.Tokenization.Mappers

    Classes

    BpeMapper

    Turns a string input into a sequence of Token instances using the Byte-Pair Encoding strategy.

    WordPieceMapper

    Turns an input string into a sequence of token ids using the Word Piece strategy.

    Structs

    BpeMapperOptions

    Configuration settings for the Byte Pair Encoding (BPE) mapper used in tokenization.

    MergePair

    Represents a mergeable pair of token values used in Byte Pair Encoding (BPE) tokenization. Each pair consists of two consecutive token strings that can be merged into a single token during the BPE encoding process. See BpeMapper.

    Interfaces

    IMapper

    Turns an input string into a sequence of token ids. This is the Hugging Face equivalent of Models.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)