Download the PHP package mathsgod/token-text-splitter without Composer
On this page you can find all versions of the php package mathsgod/token-text-splitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mathsgod/token-text-splitter
More information about mathsgod/token-text-splitter
Files in mathsgod/token-text-splitter
Download mathsgod/token-text-splitter
More information about mathsgod/token-text-splitter
Files in mathsgod/token-text-splitter
Vendor mathsgod
Package token-text-splitter
Short Description A simple text splitter that uses a token size to split text
License MIT
Package token-text-splitter
Short Description A simple text splitter that uses a token size to split text
License MIT
Please rate this library. Is it a good library?
Informations about the package token-text-splitter
Token Text Splitter
This is a token text splitter. It splits the texts based on the token size. It is useful for splitting the text for the token based models like GPT-3, GPT-4, etc. The splitter will split the text into chunks based on the token size and overlap.
Some written languages (e.g Chinese, Japanese) have characters which encode to 2 or more tokens. The splitter has a mechanism to ensure that the chunk is not split in the middle of the token. Each chunk will have well-formated Unicode characters.
Installation
Usage
Output
All versions of token-text-splitter with dependencies
PHP Build Version
Package Version
The package mathsgod/token-text-splitter contains the following files
Loading the files please wait ...