sajjadh47/bpe-encoder-php (packagist): BPE (Byte-Pair Encoding) Encoder Decoder for OpenAI's GPT-2 / GPT-3 Implemented In Pure PHP, Zero Dependency, Multi Byte Supported.
Keywords: bpe|bpe-decoder|bpe-encoder|gpt|gpt-2|gpt-3|php