Registry / davila7

davila7/claude-code-templates/tokenization-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.

Agent skill · version 0.0.0-main.1794316121.ga6e6f93 · from davila7/claude-code-templates

Install

npx yarkr-cli add skill:davila7/claude-code-templates/tokenization-sentencepiece

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:davila7/claude-code-templates/tokenization-sentencepiece
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:davila7/claude-code-templates/tokenization-sentencepiece

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:davila7/claude-code-templates/tokenization-sentencepiece

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.