You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.
Please note that issues that do not follow the contributing guidelines are likely to be ignored.
Feature request
Can we introduce escape special tokens functionality in Tokenizer and TokenizerFast to ignore special tokens (treat them as plain text)?
Motivation
tiktoken
has an allowed special token option. This enables the processing of arbitrary user input, which may accidentally include special tokens.Your contribution
Nothing yet
The text was updated successfully, but these errors were encountered: