Downloads · 30 days
0
ZyroGod/exp-vocab-64k
exp-vocab-64k is a feature extraction model from ZyroGod. Use it when you need embeddings to search or compare text. The card lists the license as mit.
[](https://huggingface.co/ZyroGod/exp-vocab-64k) [](https://huggingface.co/ZyroGod/exp-vocab-64k) [](https://huggingface.co/ZyroGod/exp-vocab-64k)
Downloads · 30 days
0
Access
Public
Updated Sep 14, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json4.2 MB · 86%
From the Hugging Face model README
A production-grade, general-purpose Byte-Level Byte Pair Encoding (BPE) Tokenizer built from scratch for modern generative language models.
decode(encode(text)) == text across arbitrary code, LaTeX, emojis, whitespaces, tabs, and Unicode scripts.'s, 't, 're, 've), words, punctuation, and consecutive spaces.| Domain Slice | Total Bytes | Total Tokens | Compression Ratio | Fertility |
|---|---|---|---|---|
| Prose | 733 | 149 | 4.92 B/T | 1.42 T/W |
| Technical | 745 | 151 | 4.93 B/T | 1.45 T/W |
| Scientific | 858 | 277 | 3.10 B/T | 2.50 T/W |
| Code | 1,401 | 417 | 3.36 B/T | 2.88 T/W |
| Numbers | 478 | 248 | 1.93 B/T | 5.51 T/W |
| Urls | 536 | 188 | 2.85 B/T | 17.09 T/W |
| Edge_cases | 644 | 294 | 2.19 B/T | 4.08 T/W |
Trained on a 250 MB balanced multi-domain corpus:
You can load and use this tokenizer directly via Hugging Face transformers:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("ZyroGod/exp-vocab-64k")
text = "def calculate_loss(predictions: torch.Tensor) -> float:\n return float(loss.item())"
tokens = tokenizer.encode(text)
print("Encoded token IDs:", tokens)
decoded = tokenizer.decode(tokens)
print("Decoded text:", decoded)
assert decoded == text, "Roundtrip must be 100% lossless!"
tokenizer.json: Hugging Face Fast Tokenizer formatvocab.json: Token-to-ID mappingmerges.txt: Ranked BPE merge rules (GPT-2 compatible)tokenizer_config.json: Fast tokenizer configurationspecial_tokens_map.json: Reserved special tokensREADME.md: Auto-generated model cardCreated with the Byte-Level BPE Tokenizer Engineering Framework.