Libraries tagged by sentencepiece
codewithkyrian/tokenizers
19 Favers
554 Downloads
554 Downloads
Fast, pure-PHP tokenizer library compatible with Hugging Face tokenizers for encoding and decoding text
textualization/sentencepiece
1 Favers
1217 Downloads
1217 Downloads
Google SentencePiece bindings using FFI and a C adapter.
token27/nexus-ai-tokenizer
0 Favers
25 Downloads
25 Downloads
Provider-agnostic LLM token counter for PHP 8.3+. Supports Tiktoken BPE (OpenAI, Claude approx.), HuggingFace JSON vocabularies (DeepSeek, LLaMA, Mistral), SentencePiece (Gemini), and extensible custom strategies.