huggingface/tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
https://skillcdn.ai/gh/huggingface/tokenizersConnect this address to your AI to use these skills. How to connect
- Unverified
- Default branch
main - Commit
6549f9d - License
Apache-2.0 - Searchwords
Showing commit 6549f9d
The newest commit, cd4e570, is being indexed. Until it is ready, this page and every agent are served the last indexed commit.
Explore this repository
Searches the original text of skills and documents, and the translations of skills when you search in their language.
Documents
- Decoding and streamingDecoding turns a sequence of token IDs (such as the output generated by a language model) back into readable text.docs/source-doc-builder/guides/decoding.mdx
- Performance and binary footprintTokenizers is built to scale from multi-core inference servers down to compact edge binaries and web browsers. This guide explains how hardware acceleration works, how to shrink Rust binaries with Ca…docs/source-doc-builder/guides/deployment.mdx
- Encoding, padding, and truncationEncoding turns text into the numerical arrays an AI model expects: token ids, type_ids, and attention_mask. This guide covers single texts, pairs, batches, special token flags, padding, truncation, a…docs/source-doc-builder/guides/encoding.mdx
- Parallelism and multiprocessingTokenizers is designed to use all available CPU cores automatically when encoding large texts or batches. This guide explains how work is split across threads, how the Python GIL behaves, how to cont…docs/source-doc-builder/guides/parallelism.mdx
- The tokenization pipelineAI language models cannot read raw text directly. They only work with numbers.docs/source-doc-builder/guides/pipeline.mdx
- Building and training a tokenizerYou can already build a tokenizer from individual components, edit an existing tokenizer, add new tokens, and save it to disk in Python. Full training bindings in Python are coming soon.docs/source-doc-builder/guides/training.mdx
Skipped (11)
These manifests were not served. Fix them and push: the next commit is indexed again.
README.mdlink_missing4 links name no file of the repository (tokenizers, bindings/python, bindings/node, ...)docs/source-doc-builder/api/rust.mdxlink_missinga link names no file of the repository (../guides/deployment)docs/source-doc-builder/getting-started/javascript.mdxlink_missing5 links name no file of the repository (../guides/pipeline, ../guides/encoding, ../guides/parallelism, ...)docs/source-doc-builder/getting-started/python.mdxlink_missing12 links name no file of the repository (../api/python/tokenizer#tokenizers.Tokenizer.from_pretrained, ../api/python/tokenizer#tokenizers.CompiledTokenizer.encode, ../api/python/tokenizer#tokenizers.Encoding, ...)docs/source-doc-builder/getting-started/rust.mdxlink_missing6 links name no file of the repository (../guides/deployment, ../guides/decoding, ../guides/pipeline, ...)docs/source-doc-builder/guides/parallelism.mdxlink_missing3 links name no file of the repository (../api/python/tokenizer#tokenizers.get_max_threads, ../api/python/tokenizer#tokenizers.set_max_threads, ../api/node#parallelism)docs/source-doc-builder/guides/pipeline.mdxlink_missing7 links name no file of the repository (../api/python/normalizers, ../api/python/pre-tokenizers, ../api/python/models, ...)docs/source-doc-builder/guides/training.mdxlink_missing5 links name no file of the repository (../api/python/models, ../api/python/tokenizer#tokenizers.Tokenizer.add_tokens, ../api/python/tokenizer#tokenizers.Tokenizer.add_special_tokens, ...)docs/source-doc-builder/index.mdxlink_missing2 links name no file of the repository (guides/pipeline, api/c)docs/source-doc-builder/migration.mdxlink_missing7 links name no file of the repository (api/python/tokenizer#tokenizers.Padding, api/python/tokenizer#tokenizers.Truncation, api/python/tokenizer#tokenizers.set_max_threads, ...)README.mdfragment_not_founda link names a section its file does not have (tokenizers/README.md#using-the-crate): a fragment is the words a heading begins with, in lower case and joined by hyphens