Package com.alibaba.dashscope.tokenization


package com.alibaba.dashscope.tokenization
  • Class
    Description
    encode(text, "none_raise") encountered no special token (2.x NoSpecialTokenExists).
    BPE encode and decode (3.0 owner of the 2.x tokenizers.QwenTokenizer leaf); implementation reference https://github.com/openai/tiktoken and https://github.com/karpathy/minbpe.
    Local tokenizer contract (3.0 home of the 2.x tokenizers leaf).
    Base type for local tokenizer failures (3.0: unchecked, no transport involved).
    Local tokenizer factory (3.0 home; 2.x tokenizers.TokenizerFactory delegates here).
    allowedSpecial was not one of "all"/"none"/"none_raise" (2.x UnSupportedSpecialTokenMode).