Libraries tagged by sentencepiece
textualization/sentencepiece
1 Favers
608 Downloads
608 Downloads
Google SentencePiece bindings using FFI and a C adapter.
codewithkyrian/tokenizers
18 Favers
30 Downloads
30 Downloads
Fast, pure-PHP tokenizer library compatible with Hugging Face tokenizers for encoding and decoding text
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.