Libraries tagged by tokeniser
danny50610/bpe-tokeniser
296557 Downloads
PHP port for openai/tiktoken (most)
mehrab-wj/tiktoken-php
40066 Downloads
a clone of python tiktoken but for PHP! fast BPE tokeniser for use with OpenAI's models.
hexydec/tokenise
9070 Downloads
A program for performing lexical analysis, written in PHP
theseer/tokenizer
672269333 Downloads
A small library for converting tokenized PHP source code into XML and potentially other formats
phpunit/php-token-stream
381583956 Downloads
Wrapper around PHP's tokenizer extension.
phpmyadmin/sql-parser
46257937 Downloads
A validating SQL lexer and parser with a focus on MySQL dialect.
jeremeamia/superclosure
59516258 Downloads
Serialize Closure objects, including their context and binding
spiral/tokenizer
5461359 Downloads
Static Analysis: Class and Invocation locators
nette/tokenizer
4484175 Downloads
Nette Tokenizer
yethee/tiktoken
1816018 Downloads
PHP version of tiktoken
netgen/query-translator
1730941 Downloads
Query Translator is a search query translator with AST representation
rajentrivedi/tokenizer-x
127011 Downloads
TokenizerX calculates required tokens for given prompt
gioni06/gpt3-tokenizer
427966 Downloads
PHP package for Byte Pair Encoding (BPE) used by GPT-3.
nilportugues/sql-query-formatter
982722 Downloads
A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.
andrewsville/php-token-reflection
1744257 Downloads
Library emulating the PHP internal reflection using just the tokenized source code.