Tokenizers
Fast State-of-the-Art Tokenizers optimized for Research and Production
...Designed for both research and production. Full alignment tracking. Even with destructive normalization, it’s always possible to get the part of the original sentence that corresponds to any token. Does all the pre-processing: Truncation, Padding, add the special tokens your model needs.