What problem does it solve?
This Skill helps you build, train, and use high-performance tokenizers for large text corpora without sacrificing accuracy, alignment tracking, or production readiness.
Core Features & Use Cases
- Fast subword tokenization: Create BPE, WordPiece, or Unigram tokenizers optimized for speed and efficiency on large datasets.
- Tokenizer training and tuning: Train custom vocabularies, choose vocabulary sizes, and configure normalization, pre-tokenization, post-processing, and decoding.
- Transformers integration: Wrap custom tokenizers for use with Hugging Face Transformers, including special tokens, padding, truncation, and offset mappings.
- Use cases: Build a BERT-style tokenizer for a domain corpus, prepare a GPT-like byte-level tokenizer, or map token spans back to original text for NER and question answering.
Quick Start
Use the huggingface-tokenizers skill to train a custom tokenizer for my corpus and prepare it for use with Transformers.