tokenizer: expose .vocab property for fast-tokenizer-style callers

#4
by kashif HF Staff - opened
Hugging Face Biology Research org

Adds a vocab property mirroring get_vocab() so downstream tools that expect the fast-tokenizer interface (e.g. llama.cpp's convert_hf_to_gguf.py which does tokenizer.vocab) work without a fallback. No behavior change.

kashif changed pull request status to merged

Sign up or log in to comment