Download the PHP package neuron-core/tokenizer without Composer
On this page you can find all versions of the php package neuron-core/tokenizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download neuron-core/tokenizer
More information about neuron-core/tokenizer
Files in neuron-core/tokenizer
Download neuron-core/tokenizer
More information about neuron-core/tokenizer
Files in neuron-core/tokenizer
Vendor neuron-core
Package tokenizer
Short Description Performance-first Tokenizer implementation in PHP
License MIT
Package tokenizer
Short Description Performance-first Tokenizer implementation in PHP
License MIT
Please rate this library. Is it a good library?
Informations about the package tokenizer
High-Performance Tokenizer implementation in PHP
BPE (Byte-Pair Encoding) Tokenizer
This implementation requires an already trained vocabulary and merges files. It's focused on performance with cache strategy and priority queue.
Benchmarks
The benchmarks are done with PHPBench, and they show a sub-millisecond performance encoding the example text below for a thousand times:
With the already trained GPT-2 datasets:
All versions of tokenizer with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package neuron-core/tokenizer contains the following files
Loading the files please wait ...