IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models / transformers /docs /source /zh /internal /tokenization_utils.md
|
Download transformers/docs/source/zh/internal/tokenization_utils.md from Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/resolve/main/transformers/docs/source/zh/internal/tokenization_utils.md
- Command line
-
hf download hf://Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/transformers/docs/source/zh/internal/tokenization_utils.md
-
curl -L -o tokenization_utils.md https://huggingface.co/Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/resolve/main/transformers/docs/source/zh/internal/tokenization_utils.md
1.54 kB
Tokenizers的工具
并保留格式:此页面列出了tokenizers使用的所有实用函数,主要是类
[~tokenization_utils_base.PreTrained TokenizerBase] 实现了常用方法之间的
[PreTrained Tokenizer] 和 [PreTrained TokenizerFast] 以及混合类
[~tokenization_utils_base.SpecialTokens Mixin]。
其中大多数只有在您研究库中tokenizers的代码时才有用。
PreTrainedTokenizerBase
[[autodoc]] tokenization_utils_base.PreTrainedTokenizerBase - call - all
SpecialTokensMixin
[[autodoc]] tokenization_utils_base.SpecialTokensMixin
Enums和namedtuples(命名元组)
[[autodoc]] tokenization_utils_base.TruncationStrategy
[[autodoc]] tokenization_utils_base.CharSpan
[[autodoc]] tokenization_utils_base.TokenSpan