API Reference iree_tokenizers v#0.7.0

Copy Markdown View Source

Modules

Fast Hugging Face tokenizer.json, OpenAI .tiktoken, and SentencePiece .model bindings for Elixir backed by the IREE tokenizer runtime.

Streaming decoder state.

Streaming encoder state.

Result returned by encoding operations.

Helpers for building transformation lists passed to IREE.Tokenizers.Encoding.transform/2 or the :encoding_transformations option on encode functions.

Pure Elixir model specification used to build IREE-backed tokenizers.

BPE model specification compatible with IREE.Tokenizers.Tokenizer.init/1.

Unigram model specification compatible with IREE.Tokenizers.Tokenizer.init/1.

WordPiece model specification compatible with IREE.Tokenizers.Tokenizer.init/1.

Core tokenizer API.