Package com.alibaba.dashscope.tokenization
package com.alibaba.dashscope.tokenization
-
ClassDescription
encode(text, "none_raise")encountered no special token (2.xNoSpecialTokenExists).BPE encode and decode (3.0 owner of the 2.xtokenizers.QwenTokenizerleaf); implementation reference https://github.com/openai/tiktoken and https://github.com/karpathy/minbpe.Local tokenizer contract (3.0 home of the 2.xtokenizersleaf).Base type for local tokenizer failures (3.0: unchecked, no transport involved).Local tokenizer factory (3.0 home; 2.xtokenizers.TokenizerFactorydelegates here).allowedSpecialwas not one of "all"/"none"/"none_raise" (2.xUnSupportedSpecialTokenMode).