Go implementation of the SentencePiece tokenizer
-
Updated
Dec 10, 2025 - Go
Go implementation of the SentencePiece tokenizer
Local Tokenizer/Counter
Pure-Go LLM tokenizer and tiktoken-compatible token counter for OpenAI BPE, WordPiece, SentencePiece, Gemini, Llama, Mistral, and Hugging Face adapters.
To associate your repository with the sentencepiece topic, visit your repo's landing page and select "manage topics."