tokenizersEasy Playground

Hugging Face fast tokenizer library (Rust backend)

Getting started with tokenizersRun locally
Install
pip install tokenizers
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: tokenizers)

tokenizers is a third-party package. Hugging Face fast tokenizer library (Rust backend). Install with: pip install tokenizers

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?