Armory
Source
Browse
Skills

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.

Score
Unranked
Evidence
No signals yet
Last commit
Not known
Listed

Install

armory install sentencepiece --cli claude

writes the skill into.claude/skills/sentencepiece/SKILL.mdListed as compatible

Configuration
# fetches the source and writes it to:
.claude/skills/sentencepiece/SKILL.md

Needs the armory CLI · not on npm yet, build it from cli/ in the repository

What it is

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.

When to use it

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.

How to install / invoke

# Copy the skill into your .claude/skills/ directory
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/skills/ai-research/tokenization-sentencepiece/SKILL.md -o .claude/skills/tokenization-sentencepiece/SKILL.md

Notes

Extracted from davila7/claude-code-templates, tokenization-sentencepiece category.