Downloads · 30 days
0
JamesQuartz/qt-VI.3.5-64k
qt-VI.3.5-64k is a machine learning model from JamesQuartz. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tokenizers. The card lists the license as apache-2.0.
A 64,000-token multilingual byte-level BPE tokenizer covering 204 FLORES-200 languages losslessly. It is the flagship of the Quartz tokenizer line: built to beat the widely used 32K tokenizers on the world's major lan…
Downloads · 30 days
0
Access
Public
Updated Jul 26, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json6.3 MB · 88%
From the Hugging Face model README
A 64,000-token multilingual byte-level BPE tokenizer covering 204 FLORES-200 languages losslessly. It is the flagship of the Quartz tokenizer line: built to beat the widely used 32K tokenizers on the world's major languages while keeping every other language strongly ahead of them, at a vocabulary size suited to 500M-1B parameter models.
Trained by JamesQuartz. Previous release: qt-VI.1.3-32k.
<|lang:xx|> tags).Optimal vocabulary size grows with model size (Tao et al., 2024). 64K is the right tier for 500M-1B parameter models: large enough to give the major languages whole-word coverage and the complex scripts a real subword inventory, without spending capacity that a sub-2B model would rather use on transformer layers. For smaller models the 32K qt-VI.1.3-32k remains the right choice.
All numbers are from FLORES-200 devtest across 204 languages. The primary metric is bytes per token (BPT) - higher means more text compressed per token - which is well-defined for every script. Compared against Llama 2 and Mistral (both 32K).
| Tokenizer | Languages covered | Global mean BPT |
|---|---|---|
| QT VI.3.5 (64K) | 204 / 204 | 3.35 |
| QT VI.1.3 (32K) | 204 / 204 | 3.03 |
| Llama 2 (32K) | 170 / 204 | 2.37 |
| Mistral (32K) | 170 / 204 | 2.34 |
Llama 2 and Mistral fail to cover 34 languages, falling back to raw bytes on entire scripts. QT VI.3.5 covers all 204 losslessly and compresses ~41% more per token on average than either.
| Language | QT VI.3.5 | Llama 2 | Mistral |
|---|---|---|---|
| English | 3.84 | 4.24 | 4.26 |
| German | 3.50 | 3.50 | 3.17 |
| French | 3.50 | 3.44 | 3.22 |
| Spanish | 3.79 | 3.48 | 3.26 |
| Italian | 3.52 | 3.42 | 3.16 |
| Portuguese | 3.57 | 3.26 | 3.02 |
| Dutch | 3.59 | 3.24 | 3.02 |
| Russian | 2.83 | 2.82 | 2.51 |
| Chinese | 1.16 | 0.70 | 0.88 |
| Japanese | 1.54 | 0.82 | 0.87 |
| Korean | 1.67 | 0.67 | 0.89 |
| Arabic | 2.47 | 1.09 | 1.11 |
| Hindi | 2.32 | 0.92 | 0.95 |
QT VI.3.5 beats both Llama 2 and Mistral on 11 of these 13 languages, often by 2-3x on CJK, Arabic and Hindi. It ties Llama 2 on German. English is the one language where a dedicated 32K English/European tokenizer still leads - see Honest limitations.
| Family | QT VI.3.5 | QT VI.1.3 | Llama 2 | Mistral |
|---|---|---|---|---|
| Latin / European | 3.57 | 3.24 | 3.43 | 3.21 |
| Cyrillic | 4.94 | 4.32 | 4.63 | 4.26 |
| CJK | 3.75 | 3.02 | 1.93 | 2.32 |
| Arabic | 4.67 | 3.96 | 1.85 | 1.90 |
| Indic | 5.70 | 5.34 | 1.78 | 1.88 |
| SE-Asian | 5.57 | 4.80 | 1.72 | 2.06 |
| Other scripts | 5.12 | 4.32 | 1.78 | 1.81 |
QT VI.3.5 improves compression over the 32K QT VI.1.3 on 198 of 204 languages. The only regression is English (marginal, and by design - see below).
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("JamesQuartz/qt-VI.3.5-64k")
ids = tok.encode("The committee recommended further investigation.")
print(tok.decode(ids))
Or with the tokenizers library directly:
from tokenizers import Tokenizer
tok = Tokenizer.from_file("tokenizer.json")
enc = tok.encode("中华人民共和国成立于一九四九年十月一日。")
print(enc.tokens)
tokenizer.json - the complete tokenizer (model, pre-tokenizer, decoder, specials).vocab.json, merges.txt - vocabulary and merge rules.tokenizer_config.json, special_tokens_map.json - HuggingFace config.Apache-2.0.
@misc{qt-vi35-ultralingo-2026,
title = {QT VI.3.5 UltraLingo: A 64K Multilingual Tokenizer for 204 Languages},
author = {JamesQuartz},
year = {2026},
howpublished = {\url{https://huggingface.co/JamesQuartz/qt-VI.3.5-64k}}
}