Skip to main content

Crate toktrie_hf_tokenizers

Crate toktrie_hf_tokenizers 

Source
Expand description

Integration of the HuggingFace tokenizers library with toktrie, providing byte-level tokenization support. This crate wraps HuggingFace tokenizers and adapts them for use with the toktrie token trie infrastructure.

Structsยง

ByteTokenizer
A HuggingFace tokenizer adapted for byte-level token processing.
ByteTokenizerEnv
Combines a ByteTokenizer with a TokTrie and implements the TokenizerEnv trait.