Sentencepiece

Language-independent tokenizer treating text as raw Unicode. Supports BPE and Unigram algorithms. Fast (50k sentences/sec), lightweight (6MB memory), deterministic vocabulary. Used by T5, ALBERT, XLNet, mBART. Train on raw text without pre-tokenization. Use when you need multilingual support, CJK languages, or reproducible tokenization.

luokai0 Updated 10 repo stars

File contents

luokai0/ai-agent-skills-by-luo-kai/tree/main/ai-agent-skills/18-ai-agents-and-automation (by Luo Kai)/16-other-agents/sentencepiece commit 1c2b47883b

Frequently asked questions

npx skillmds@latest add luokai0/sentencepiece