[PR #287] [CLOSED] setup: --draft-vocab cyrillic (English/code + the whole Cyrillic script) #2553

Closed
opened 2026-11-04 02:01:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/287
Author: @sergqwer
Created: 9/30/2026
Status: ❌ Closed

Base: main ← Head: pr/draft-vocab-cyrillic


📝 Commits (1)

  • c2c5aaa setup: --draft-vocab cyrillic - the English/code subset plus the whole Cyrillic script

📊 Changes

4 files changed (+18 additions, -9 deletions)

View changed files

➕ data/draft_vocab_cyrillic.bin (+0 -0)
📝 docs/DETAILS.md (+4 -1)
📝 setup.py (+10 -6)
📝 tools/draft_vocab.py (+4 -2)

📄 Description

Summary

The shipped draft subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so an answer in Ukrainian, Russian,
Bulgarian or Serbian drafts almost nothing. This is #137 again, for another script.

--draft-vocab cyrillic takes data/draft_vocab_cyrillic.bin: the English/code subset plus every token whose text
is Cyrillic (58,963 ids). It was built with the repository's own tool:

python tools/draft_vocab.py --gguf <IQ2_XS shard 1> --base data/draft_vocab_en.bin --add cyrillic --out data/draft_vocab_cyrillic.bin

tools/draft_vocab.py gains the cyrillic script (U+0400-052F, 1C80-1C8F, 2DE0-2DFF, A640-A69F). setup.py and
DETAILS.md name the option. The default stays cjk.

Measured

On the NVFP4 fork (same draft layer, same tokenizer): Ukrainian answers went from 1.4 to 2.1 tokens per round and
from 83 to 109 tok/s; English is unchanged. The file is byte-identical to the fork's.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VZy1yKaDDiA8a7svdwaHio


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/287 **Author:** [@sergqwer](https://github.com/sergqwer) **Created:** 9/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `pr/draft-vocab-cyrillic` --- ### 📝 Commits (1) - [`c2c5aaa`](https://github.com/Niko1221/Strata/commit/c2c5aaa7630835ef50fdcefa57bd291b6f1ff9fd) setup: --draft-vocab cyrillic - the English/code subset plus the whole Cyrillic script ### 📊 Changes **4 files changed** (+18 additions, -9 deletions) <details> <summary>View changed files</summary> ➕ `data/draft_vocab_cyrillic.bin` (+0 -0) 📝 `docs/DETAILS.md` (+4 -1) 📝 `setup.py` (+10 -6) 📝 `tools/draft_vocab.py` (+4 -2) </details> ### 📄 Description ## Summary The shipped draft subsets hold 142 of the vocabulary's 18,580 Cyrillic tokens, so an answer in Ukrainian, Russian, Bulgarian or Serbian drafts almost nothing. This is #137 again, for another script. `--draft-vocab cyrillic` takes `data/draft_vocab_cyrillic.bin`: the English/code subset plus every token whose text is Cyrillic (58,963 ids). It was built with the repository's own tool: ``` python tools/draft_vocab.py --gguf <IQ2_XS shard 1> --base data/draft_vocab_en.bin --add cyrillic --out data/draft_vocab_cyrillic.bin ``` `tools/draft_vocab.py` gains the `cyrillic` script (U+0400-052F, 1C80-1C8F, 2DE0-2DFF, A640-A69F). setup.py and DETAILS.md name the option. The default stays `cjk`. ## Measured On the NVFP4 fork (same draft layer, same tokenizer): Ukrainian answers went from 1.4 to 2.1 tokens per round and from 83 to 109 tok/s; English is unchanged. The file is byte-identical to the fork's. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01VZy1yKaDDiA8a7svdwaHio --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-04 02:01:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2553
No description provided.