Skip to content

Conversation

@CloseChoice
Copy link

@CloseChoice CloseChoice commented Oct 21, 2025

closes #1819

We already support add_prefix_space for processors.ByteLevel, it is just not documented since this class is defined via pyo3's pyclass, see here. See further down the signature for the new function, which mirrors python's __new__ method: https://github.com/huggingface/tokenizers/blob/main/bindings/python/src/processors.rs#L492.

@CloseChoice CloseChoice changed the title Docs add prefix space DOCS: add add_prefix_space to processors.ByteLevel Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug with add_prefix_space parameter for ByteLevel post-processor

1 participant