A PHP implementation of OpenAI's BPE tokenizer tiktoken.
-
Updated
Jan 25, 2025 - PHP
A PHP implementation of OpenAI's BPE tokenizer tiktoken.
Custom BPE Tokenizer, trained for 1256 merges. Can be trained further, we can load the previously trained tokenizer and also there's an option to add or remove special tokens that you need.
Add a description, image, and links to the special-tokens topic page so that developers can more easily learn about it.
To associate your repository with the special-tokens topic, visit your repo's landing page and select "manage topics."