Individual skill
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.
backend/cli/skills/llm-tools/sentencepiece/SKILL.md
Source commit a08e0ad0ad3d6448123039ee4659163eb2e35d99
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,352
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- bun Repository topic
- cli Repository topic
- llm Repository topic
- ml Repository topic
- open-source Repository topic
- research Repository topic
- science Repository topic
- ai-agent Repository topic
- tokenization Declared skill tag
- sentencepiece Declared skill tag
- language-independent Declared skill tag
- bpe Declared skill tag
- unigram Declared skill tag
- multilingual Declared skill tag
- cjk-languages Declared skill tag
- unicode Declared skill tag
- deterministic Declared skill tag
- google Declared skill tag
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesSKILL.mdcore · 5,957 bytesreferences/algorithms.mddoc · 4,212 bytesreferences/training.mddoc · 6,240 bytes
Read excerpt
# SentencePiece - Language-Independent Tokenization
Unsupervised tokenizer that works on raw text without language-specific preprocessing.
## When to use SentencePiece
**Use SentencePiece when:**
- Building multilingual models (no language-specific rules)
- Working with CJK languages (Chinese, Japanese, Korean)
- Need reproducible tokenization (deterministic vocabulary)
- Want to train on raw text (no pre-tokenization needed)
- Require lightweight deployment (6MB memory, 50k sentences/sec)
**Performance**: