IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models / transformers /docs /source /en /internal /tokenization_utils.md
|
Download transformers/docs/source/en/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/en/internal/tokenization_utils.md
- Command line
-
hf download hf://Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/transformers/docs/source/en/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/en/internal/tokenization_utils.md
1.54 kB
Utilities for Tokenizers
This page lists all the utility functions used by the tokenizers, mainly the class
[~tokenization_utils_base.PreTrainedTokenizerBase] that implements the common methods between
[PreTrainedTokenizer] and [PreTrainedTokenizerFast] and the mixin
[~tokenization_utils_base.SpecialTokensMixin].
Most of those are only useful if you are studying the code of the tokenizers in the library.
PreTrainedTokenizerBase
[[autodoc]] tokenization_utils_base.PreTrainedTokenizerBase - call - all
SpecialTokensMixin
[[autodoc]] tokenization_utils_base.SpecialTokensMixin
Enums and namedtuples
[[autodoc]] tokenization_utils_base.TruncationStrategy
[[autodoc]] tokenization_utils_base.CharSpan
[[autodoc]] tokenization_utils_base.TokenSpan