Skip to content
Abhishek Chandrashekar

ERA V5 · Assignment 2

One shared tokenizer.
Four writing systems.

A reproducible 10,000-token BPE trained on faithful Wikipedia Markdown in English, Hindi, Telugu, and Kannada.

Self-reported raw score5,268.841000 ÷ 0.189795 spreadRe-run the supplied evaluator to verify.

01 / Measurements

Fertility by language

Lower is more compact. The score rewards a small gap between the highest and lowest fertility.

LanguageTokensFaithful unitsFertilityRelative fertility
Englishen1,14,6261,86,6660.614070
Hindihi52,39788,7720.590242
Telugute24,42636,2920.673041
Kannadakn9,58912,2930.780037

Counts each contiguous Unicode letter/mark/number run as one unit and each visible non-space punctuation/symbol character as one unit.

02 / Calculation

The score, shown in full

No clipped page and no hidden corpus. Every input and calculation is downloadable.

Per-language fertilitytokens ÷ faithful units
Spread0.780037 − 0.590242 = 0.189795
Raw score1000 ÷ 0.189795 = 5268.84
Hindi exp(1) penalty1.000000×Adjusted score5268.84

03 / Method

Exactly what was trained

The downloadable artifact is a standard Hugging Face Tokenizers JSON with its model, vocabulary, merges, normalizer, pre-tokenizer, and decoder intact.

Model
BPE · 10,000 vocabulary entries
Normalization
NFKC only
Boundary handling
Metaspace with ▁
Training weights
en:3 · hi:4 · te:4 · kn:5
Wikipedia pages
India · भारत · భారతదేశం · ಭಾರತ
Corpus form
Wiki-faithful Markdown, including links, tables, and references
reproduce.sh
python -m pip install -r requirements.txt
python build_wiki_faithful_markdown.py
python train_tokenizer.py
python evaluate_tokenizer.py

04 / Vocabulary

Inspect every token

The list is read directly from tokenizer.json → model.vocab, ordered by token ID.

Loading vocabulary…

    05 / Files

    Take the evidence with you

    Use the exact artifact and frozen corpus snapshots below to independently reproduce the reported result.