Views
No views yet
Qwen/Qwen3-1.7B-Base:
the byte-level BPE vocabulary is reduced from ~151.7k to 32768 tokens covering Korean + English,
and the (tied) embedding matrix is sliced to match. No retraining — weights are copied verbatim for
kept tokens, so on kept tokens the model is numerically identical to the original.| Original | Trimmed | |
|---|---|---|
| Parameters | 1,720,574,976 | 1,476,518,912 (-14.2%) |
| Vocab size | 151,669 | 32,768 |
| Merges | 151,387 | 32,486 |
| Embedding | tied | tied (sliced) |
max|Δ| = 0.0; greedy
generation on natural Korean/English is token-for-token identical to the base model.1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3repo = "ceyda/Qwen3-1.7B-Base-trim-koen-32768"
4tok = AutoTokenizer.from_pretrained(repo)
5model = AutoModelForCausalLM.from_pretrained(repo)
6
7ids = tok("대한민국의 수도는", return_tensors="pt")
8print(tok.decode(model.generate(**ids, max_new_tokens=20)[0], skip_special_tokens=True))Qwen/Qwen3-1.7B-Base (Apache-2.0). Trimming method by Loïck Bourdois.