omarkamali commited on
Commit
eaa83f7
·
verified ·
1 Parent(s): 93f81a9

Upload all models and assets for bo (latest)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. README.md +179 -144
  3. models/embeddings/aligned/bo_128d.bin +3 -0
  4. models/embeddings/aligned/bo_128d.meta.json +1 -0
  5. models/embeddings/aligned/bo_128d.projection.npy +3 -0
  6. models/embeddings/aligned/bo_128d_metadata.json +8 -0
  7. models/embeddings/aligned/bo_32d.bin +3 -0
  8. models/embeddings/aligned/bo_32d.meta.json +1 -0
  9. models/embeddings/aligned/bo_32d.projection.npy +3 -0
  10. models/embeddings/aligned/bo_32d_metadata.json +8 -0
  11. models/embeddings/aligned/bo_64d.bin +3 -0
  12. models/embeddings/aligned/bo_64d.meta.json +1 -0
  13. models/embeddings/aligned/bo_64d.projection.npy +3 -0
  14. models/embeddings/aligned/bo_64d_metadata.json +8 -0
  15. models/embeddings/monolingual/bo_128d.bin +2 -2
  16. models/embeddings/monolingual/bo_128d_metadata.json +1 -1
  17. models/embeddings/monolingual/bo_32d.bin +2 -2
  18. models/embeddings/monolingual/bo_32d_metadata.json +1 -1
  19. models/embeddings/monolingual/bo_64d.bin +2 -2
  20. models/embeddings/monolingual/bo_64d_metadata.json +1 -1
  21. models/subword_markov/bo_markov_ctx1_subword.parquet +2 -2
  22. models/subword_markov/bo_markov_ctx1_subword_metadata.json +2 -2
  23. models/subword_markov/bo_markov_ctx2_subword.parquet +2 -2
  24. models/subword_markov/bo_markov_ctx2_subword_metadata.json +2 -2
  25. models/subword_markov/bo_markov_ctx3_subword.parquet +2 -2
  26. models/subword_markov/bo_markov_ctx3_subword_metadata.json +2 -2
  27. models/subword_markov/bo_markov_ctx4_subword.parquet +2 -2
  28. models/subword_markov/bo_markov_ctx4_subword_metadata.json +2 -2
  29. models/subword_ngram/bo_2gram_subword.parquet +2 -2
  30. models/subword_ngram/bo_2gram_subword_metadata.json +2 -2
  31. models/subword_ngram/bo_3gram_subword.parquet +2 -2
  32. models/subword_ngram/bo_3gram_subword_metadata.json +2 -2
  33. models/subword_ngram/bo_4gram_subword.parquet +2 -2
  34. models/subword_ngram/bo_4gram_subword_metadata.json +2 -2
  35. models/subword_ngram/bo_5gram_subword.parquet +3 -0
  36. models/subword_ngram/bo_5gram_subword_metadata.json +7 -0
  37. models/tokenizer/bo_tokenizer_16k.model +2 -2
  38. models/tokenizer/bo_tokenizer_16k.vocab +0 -0
  39. models/tokenizer/bo_tokenizer_32k.model +2 -2
  40. models/tokenizer/bo_tokenizer_32k.vocab +0 -0
  41. models/tokenizer/bo_tokenizer_64k.model +2 -2
  42. models/tokenizer/bo_tokenizer_64k.vocab +0 -0
  43. models/tokenizer/bo_tokenizer_8k.model +2 -2
  44. models/tokenizer/bo_tokenizer_8k.vocab +0 -0
  45. models/vocabulary/bo_vocabulary.parquet +2 -2
  46. models/vocabulary/bo_vocabulary_metadata.json +9 -9
  47. models/word_markov/bo_markov_ctx1_word.parquet +2 -2
  48. models/word_markov/bo_markov_ctx1_word_metadata.json +2 -2
  49. models/word_markov/bo_markov_ctx2_word.parquet +2 -2
  50. models/word_markov/bo_markov_ctx2_word_metadata.json +2 -2
.gitattributes CHANGED
@@ -39,3 +39,4 @@ visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -t
39
  visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
40
  visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
41
  visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
 
 
39
  visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
40
  visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
41
  visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
42
+ visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  language: bo
3
- language_name: BO
4
  language_family: tibetoburman_tibetic
5
  tags:
6
  - wikilangs
@@ -10,11 +10,21 @@ tags:
10
  - n-gram
11
  - markov
12
  - wikipedia
 
 
 
 
 
 
 
 
 
 
13
  - monolingual
14
  - family-tibetoburman_tibetic
15
  license: mit
16
  library_name: wikilangs
17
- pipeline_tag: feature-extraction
18
  datasets:
19
  - omarkamali/wikipedia-monthly
20
  dataset_info:
@@ -23,20 +33,20 @@ dataset_info:
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
- value: 5.300
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8494
30
  - name: vocabulary_size
31
  type: vocab
32
  value: 0
33
  generated: 2026-01-03
34
  ---
35
 
36
- # BO - Wikilangs Models
37
  ## Comprehensive Research Report & Full Ablation Study
38
 
39
- This repository contains NLP models trained and evaluated by Wikilangs, specifically on **BO** Wikipedia data.
40
  We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
41
 
42
  ## 📋 Repository Contents
@@ -60,7 +70,7 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
60
  - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
61
  - [4. Vocabulary Analysis](#4-vocabulary-analysis)
62
  - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
63
- - [6. Morphological Analysis (Experimental)](#6-morphological-analysis)
64
  - [7. Summary & Recommendations](#7-summary--recommendations)
65
  - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
66
  - [Visualizations Index](#visualizations-index)
@@ -80,47 +90,47 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
80
 
81
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
82
  |------------|-------------|---------------|----------|--------------|
83
- | **8k** | 4.065x | 4.07 | 0.3680% | 234,234 |
84
- | **16k** | 4.561x | 4.56 | 0.4129% | 208,750 |
85
- | **32k** | 4.981x | 4.98 | 0.4510% | 191,137 |
86
- | **64k** | 5.300x 🏆 | 5.30 | 0.4798% | 179,650 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
- **Sample 1:** `ཞེ་ཆེན་དགོན་ནི་ཞེ་ཆེན་རབ་འབྱམས་དང་པོ་བསྟན་པའི་རྒྱལ་མཚན་གྱིས་ཕྱག་བཏབ་པ་ཡིན།`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
- | 8k | `▁ཞེ་ ཆེན་ དགོན་ ནི་ ཞེ་ ཆེན་ རབ་འབྱམས་ དང་པོ་ བསྟན་པའི་ རྒྱལ་མཚན་ ... (+3 more)` | 13 |
97
- | 16k | `▁ཞེ་ ཆེན་ དགོན་ནི་ ཞེ་ ཆེན་ རབ་འབྱམས་ དང་པོ་ བསྟན་པའི་ རྒྱལ་མཚན་གྱིས་ ཕྱག་བཏབ་ ... (+1 more)` | 11 |
98
- | 32k | `▁ཞེ་ཆེན་ དགོན་ནི་ ཞེ་ཆེན་ རབ་འབྱམས་ དང་པོ་ བསྟན་པའི་ རྒྱལ་མཚན་གྱིས་ ཕྱག་བཏབ་ པ་ཡིན།` | 9 |
99
- | 64k | `▁ཞེ་ཆེན་ དགོན་ནི་ ཞེ་ཆེན་ རབ་འབྱམས་ དང་པོ་ བསྟན་པའི་ རྒྱལ་མཚན་གྱིས་ ཕྱག་བཏབ་ པ་ཡིན།` | 9 |
100
 
101
- **Sample 2:** `རང་གི་ཕ་མའི་ཁྱིམ་དུ་འཚོ་བ་སྐྱེལ་བའི་ཞེ་སའི་ཚིག ༼དུང་དཀར་ཚིག་མཛོད་ཆེན་མོ་༽ནས་བཏུས...`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
- | 8k | `▁རང་གི་ ་མའི་ ཁྱིམ་ དུ་ འཚོ་བ་ སྐྱ ེལ་བའི་ ཞེ་ སའི་ ... (+4 more)` | 14 |
106
- | 16k | `▁རང་གི་ ཕ་མའི་ ཁྱིམ་དུ་ འཚོ་བ་ སྐྱ ེལ་བའི་ ཞེ་སའི་ ཚིག ▁༼དུང་ དཀར་ཚིག་མཛོད་ ... (+1 more)` | 11 |
107
- | 32k | `▁རང་གི་ ཕ་མའི་ ཁྱིམ་དུ་ འཚོ་བ་ སྐྱེལ་བའི་ ཞེ་སའི་ཚིག ▁༼དུང་ དཀར་ཚིག་མཛོད་ ཆེན་མོ་༽ནས་བཏུས།` | 9 |
108
- | 64k | `▁རང་གི་ཕ་མའི་ ཁྱིམ་དུ་ འཚོ་བ་སྐྱེལ་བའི་ ཞེ་སའི་ཚིག ▁༼དུང་ དཀར་ཚིག་མཛོད་ ཆེན་མོ་༽ནས་བཏུས།` | 7 |
109
 
110
- **Sample 3:** `དུས་རྟག་ཏུ་སྐྱེ་འཇིག་མི་བྱེད་པ། དཔེར་ན། ནམ་མཁའ་ལྟ་བུ།`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
- | 8k | `▁དུས་ རྟག་ཏུ་ སྐྱེ་ འཇིག་ མི་ བྱེད་པ། ▁དཔེར་ན། ▁ནམ་མཁའ་ ལྟ་བུ།` | 9 |
115
- | 16k | `▁དུས་ རྟག་ཏུ་ སྐྱེ་ འཇིག་ མི་ བྱེད་པ། ▁དཔེར་ན། ▁ནམ་མཁའ་ ལྟ་བུ།` | 9 |
116
- | 32k | `▁དུས་ རྟག་ཏུ་ སྐྱེ་འཇིག་ མི་ བྱེད་པ། ▁དཔེར་ན། ▁ནམ་མཁའ་ ལྟ་བུ།` | 8 |
117
- | 64k | `▁དུས་རྟག་ཏུ་ སྐྱེ་འཇིག་ མི་བྱེད་པ། ▁དཔེར་ན། ▁ནམ་མཁའ་ ལྟ་བུ།` | 6 |
118
 
119
 
120
  ### Key Findings
121
 
122
- - **Best Compression:** 64k achieves 5.300x compression
123
- - **Lowest UNK Rate:** 8k with 0.3680% unknown tokens
124
  - **Trade-off:** Larger vocabularies improve compression but increase model size
125
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
126
 
@@ -137,12 +147,14 @@ Below are sample sentences tokenized with each vocabulary size:
137
 
138
  | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
139
  |--------|---------|------------|---------|----------------|------------------|-------------------|
140
- | **2-gram** | Word | 36,069 | 15.14 | 160,381 | 8.0% | 26.4% |
141
- | **2-gram** | Subword | 469 🏆 | 8.87 | 14,734 | 57.9% | 90.6% |
142
- | **3-gram** | Word | 207,650 | 17.66 | 482,234 | 3.8% | 11.0% |
143
- | **3-gram** | Subword | 3,733 | 11.87 | 86,351 | 25.0% | 62.7% |
144
- | **4-gram** | Word | 569,587 | 19.12 | 997,749 | 3.3% | 7.5% |
145
- | **4-gram** | Subword | 21,504 | 14.39 | 391,088 | 12.0% | 36.1% |
 
 
146
 
147
  ### Top 5 N-grams by Size
148
 
@@ -150,68 +162,88 @@ Below are sample sentences tokenized with each vocabulary size:
150
 
151
  | Rank | N-gram | Count |
152
  |------|--------|-------|
153
- | 1 | `པ དང` | 26,663 |
154
- | 2 | `པ ལ` | 12,165 |
155
- | 3 | `བ དང` | 12,147 |
156
- | 4 | `ཐམས ཅད` | 11,625 |
157
- | 5 | `པ ནི` | 10,955 |
158
 
159
  **3-grams (Word):**
160
 
161
  | Rank | N-gram | Count |
162
  |------|--------|-------|
163
- | 1 | `སྤྱོད འཇུག གི` | 4,095 |
164
- | 2 | `ད དུང གཟིགས` | 3,422 |
165
- | 3 | `ཞེས བྱ བ` | 3,401 |
166
- | 4 | `ཕྱི ཕྱོགས དྲ` | 3,394 |
167
- | 5 | `ཕྱོགས དྲ མཐུད` | 3,394 |
168
 
169
  **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
- | 1 | `ཕྱི ཕྱོགས དྲ མཐུད` | 3,393 |
174
  | 2 | `དཔྱད གཞིའི དཀར ཆག` | 3,391 |
175
  | 3 | `ཟིན ཐོ འམ དཔྱད` | 2,805 |
176
  | 4 | `ཐོ འམ དཔྱད གཞི` | 2,802 |
177
- | 5 | `ད དུང གཟིགས ཕྱི` | 2,789 |
 
 
 
 
 
 
 
 
 
 
178
 
179
  **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
- | 1 | `ས ་` | 1,063,653 |
184
- | 2 | `། _` | 775,741 |
185
- | 3 | `ང ་` | 696,058 |
186
- | 4 | `ན ་` | 582,326 |
187
- | 5 | `་ བ` | 571,331 |
188
 
189
  **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
- | 1 | `་ པ ་` | 222,811 |
194
- | 2 | `ག ས ་` | 205,307 |
195
- | 3 | `། _ །` | 180,441 |
196
- | 4 | `ས ་ པ` | 161,245 |
197
- | 5 | `་ ད ང` | 151,339 |
198
 
199
  **4-grams (Subword):**
200
 
201
  | Rank | N-gram | Count |
202
  |------|--------|-------|
203
- | 1 | `་ ད ང ་` | 128,716 |
204
- | 2 | `་ པ འི ་` | 107,145 |
205
- | 3 | `ང ་ ། _` | 84,367 |
206
- | 4 | `ས ་ པ ་` | 74,777 |
207
- | 5 | `་ པ ར ་` | 62,788 |
 
 
 
 
 
 
 
 
 
 
208
 
209
 
210
  ### Key Findings
211
 
212
- - **Best Perplexity:** 2-gram (subword) with 469
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
- - **Coverage:** Top-1000 patterns cover ~36% of corpus
215
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
216
 
217
  ---
@@ -227,14 +259,14 @@ Below are sample sentences tokenized with each vocabulary size:
227
 
228
  | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
229
  |---------|---------|-------------|------------|------------------|-----------------|----------------|
230
- | **1** | Word | 0.9258 | 1.900 | 17.80 | 44,551 | 7.4% |
231
- | **1** | Subword | 0.8301 | 1.778 | 6.82 | 8,378 | 17.0% |
232
- | **2** | Word | 0.7004 | 1.625 | 3.77 | 792,341 | 30.0% |
233
- | **2** | Subword | 0.4672 | 1.382 | 4.10 | 57,113 | 53.3% |
234
- | **3** | Word | 0.2866 | 1.220 | 1.60 | 2,987,004 | 71.3% |
235
- | **3** | Subword | 0.4482 | 1.364 | 3.28 | 233,848 | 55.2% |
236
- | **4** | Word | 0.1070 🏆 | 1.077 | 1.17 | 4,767,837 | 89.3% |
237
- | **4** | Subword | 0.3731 | 1.295 | 2.37 | 765,950 | 62.7% |
238
 
239
  ### Generated Text Samples (Word-based)
240
 
@@ -242,27 +274,27 @@ Below are text samples generated from each word-based Markov chain model:
242
 
243
  **Context Size 1:**
244
 
245
- 1. `པ ཐམས ཅད དུ བཅུག དེ བསིལ ཟེར མི བཏུབ པའི ཚུལ ཁྲིམས རྒྱལ པོ ཆེའི`
246
- 2. `དང སྐོང ཝེར ཐུགས རྗེ གླུའི བསྟོད བླ མའི སྲས འཇུག གི སྐད`
247
- 3. `ལ བཙུན བསྟེན 2 5 ལོ རྒྱུས བཅད རྩོམ རིག སྔགས སོ ཁོས མ`
248
 
249
  **Context Size 2:**
250
 
251
- 1. `པ དང ཉེ བའི མཆོད སྤྲིན རྣམ སྡུད དང ཞུས ཤིག བྱས བྱུང ༣༩ སྤྲིན བར`
252
- 2. `པ དབང ཐོབ ཤོག ཤུ དག ལི ཁྲིའི ཚོན གྱིས རབ མཛེས བའི གོས བཟང`
253
- 3. `བ དང གཅོག པར བྱེད ཙམ འཁྲུལ མིན རྨི སོགས རྣམ དབྱེ བཞི བའི དེ`
254
 
255
  **Context Size 3:**
256
 
257
- 1. `སྤྱོད འཇུག གི རྣམ བཤད ཐེག ཆེན ཆོས ཀྱི རྒྱ མཚོ སོགས བྱོན རྒྱ དཀར ནག སེར དང`
258
- 2. `ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད དབྱིན ཇིའི རླུང འཕྲིན ཀུང སིས ཉིན དེར ཉིའུ གཡོད སྐབས`
259
- 3. `ཞེས བྱ བསྲུང བའི དམ ཚིག ཅན ཐུགས དམ སྐུལ ནི འདི རྟགས ངེས པ`
260
 
261
  **Context Size 4:**
262
 
263
- 1. `དཔྱད གཞིའི དཀར ཆག ད དུང གཟིགས བཙན པོ རིམ བྱོན གྱི མཚན བྱང བྲག གདོང བཀྲས གླིང དབང`
264
- 2. `ཟིན ཐོ འམ དཔྱད གཞི དཔྱད གཞིའི དཀར ��ག ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད ཤིང འཛུགས དུས`
265
- 3. `ཐོ འམ དཔྱད གཞི དཔྱད གཞིའི དཀར ཆག ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད དབྱིན ཇིའི རླུང འཕྲིན`
266
 
267
 
268
  ### Generated Text Samples (Subword-based)
@@ -271,34 +303,34 @@ Below are text samples generated from each subword-based Markov chain model:
271
 
272
  **Context Size 1:**
273
 
274
- 1. `་ཁྲགཟུང་སྒྲིག་ཐུགནསལ་གྱུ`
275
- 2. `ས་ན་པོ།_ལྷན་ཚད་གན་`
276
- 3. `གཞིགས་བ་དྷྱ་བས་སྦྱིན།_`
277
 
278
  **Context Size 2:**
279
 
280
- 1. `ས་ལ་པའི་ཐུགས་ནག་འབྱོར`
281
- 2. `།_རབས་ཀྱིས་དཀྱིལ་སྣང་གི`
282
- 3. `ང་མ་བུདྡྷ་ཀྵེ་ཙཱ་བར་ནས།`
283
 
284
  **Context Size 3:**
285
 
286
- 1. `་པ་སྟེ།_ལྷ་ལྡན་ཡོང་ཡེ་ཤེས`
287
- 2. `གས་མད་ོ_འགྱུར་རྡོ་རྗེའི་བསྲུ`
288
- 3. `།_།རྣམ་འཆོར་བ་དང་སེམས`
289
 
290
  **Context Size 4:**
291
 
292
- 1. `་དང་ཕྱོགས་སུ་བཞིན་ཉུལ་ཆོས`
293
- 2. `་པའི་སེམས་སྐྱེས་ཆེན་ཨུ་ཡོན་`
294
- 3. `ང་།_མདོ་སྡུད་པ་ཅན་ཟན་རི`
295
 
296
 
297
  ### Key Findings
298
 
299
- - **Best Predictability:** Context-4 (word) with 89.3% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
- - **Memory Trade-off:** Larger contexts require more storage (765,950 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
@@ -314,64 +346,64 @@ Below are text samples generated from each subword-based Markov chain model:
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
- | Vocabulary Size | 18,720 |
318
- | Total Tokens | 7,245,735 |
319
- | Mean Frequency | 387.06 |
320
  | Median Frequency | 5 |
321
- | Frequency Std Dev | 3716.05 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
- | 1 | པ | 262,584 |
328
- | 2 | དང | 156,471 |
329
- | 3 | ལ | 145,900 |
330
- | 4 | བ | 121,705 |
331
- | 5 | པའི | 110,790 |
332
- | 6 | མ | 88,147 |
333
- | 7 | དེ | 78,304 |
334
- | 8 | ནི | 74,845 |
335
- | 9 | ཀྱི | 70,464 |
336
- | 10 | དུ | 70,132 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
- | 1 | པིཎྜཱརྠ | 2 |
343
- | 2 | saṃgraha | 2 |
344
- | 3 | kṛṣṇācārya | 2 |
345
- | 4 | པཽཥྚཱི | 2 |
346
- | 5 | ānanda | 2 |
347
- | 6 | cakṣu | 2 |
348
- | 7 | link | 2 |
349
- | 8 | ལུམྦཱི | 2 |
350
- | 9 | mine | 2 |
351
- | 10 | vidhi | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
- | Zipf Coefficient | 2.0020 |
358
- | R² (Goodness of Fit) | 0.960991 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
- | Top 100 | 47.5% |
366
- | Top 1,000 | 90.4% |
367
  | Top 5,000 | 99.1% |
368
  | Top 10,000 | 99.7% |
369
 
370
  ### Key Findings
371
 
372
- - **Zipf Compliance:** R²=0.9610 indicates excellent adherence to Zipf's law
373
- - **High Frequency Dominance:** Top 100 words cover 47.5% of corpus
374
- - **Long Tail:** 8,720 words needed for remaining 0.3% coverage
375
 
376
  ---
377
  ## 5. Word Embeddings Evaluation
@@ -387,37 +419,40 @@ Below are text samples generated from each subword-based Markov chain model:
387
 
388
  ### 5.1 Cross-Lingual Alignment
389
 
390
- > *Note: Multilingual alignment visualization not available for this language.*
 
 
391
 
392
 
393
  ### 5.2 Model Comparison
394
 
395
  | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
396
  |-------|-----------|----------|------------------|---------------|----------------|
397
- | **mono_32d** | 32 | 0.8494 🏆 | 0.3707 | N/A | N/A |
398
- | **mono_64d** | 64 | 0.7912 | 0.3092 | N/A | N/A |
399
- | **mono_128d** | 128 | 0.5757 | 0.2954 | N/A | N/A |
 
 
 
400
 
401
  ### Key Findings
402
 
403
- - **Best Isotropy:** mono_32d with 0.8494 (more uniform distribution)
404
- - **Semantic Density:** Average pairwise similarity of 0.3251. Lower values indicate better semantic separation.
405
- - **Alignment Quality:** No aligned models evaluated in this run.
406
  - **Recommendation:** 128d aligned for best cross-lingual performance
407
 
408
  ---
409
  ## 6. Morphological Analysis (Experimental)
410
 
411
- > ⚠️ **Warning:** This language shows low morphological productivity. The statistical signals used for this analysis may be noisy or less reliable than for morphologically rich languages.
412
-
413
  This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
414
 
415
  ### 6.1 Productivity & Complexity
416
 
417
  | Metric | Value | Interpretation | Recommendation |
418
  |--------|-------|----------------|----------------|
419
- | Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
420
- | Idiomaticity Gap | **-1.000** | Low formulaic content | - |
421
 
422
  ### 6.2 Affix Inventory (Productive Units)
423
 
@@ -450,7 +485,7 @@ Using **Recursive Hierarchical Substitutability**, we decompose complex words in
450
  ### 6.6 Linguistic Interpretation
451
 
452
  > **Automated Insight:**
453
- The language BO appears to be more isolating or has a highly fixed vocabulary. Word-level models perform nearly as well as subword models, indicating fewer productive morphological processes.
454
 
455
  ---
456
  ## 7. Summary & Recommendations
@@ -461,9 +496,9 @@ The language BO appears to be more isolating or has a highly fixed vocabulary. W
461
 
462
  | Component | Recommended | Rationale |
463
  |-----------|-------------|-----------|
464
- | Tokenizer | **64k BPE** | Best compression (5.30x) |
465
- | N-gram | **2-gram** | Lowest perplexity (469) |
466
- | Markov | **Context-4** | Highest predictability (89.3%) |
467
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
468
 
469
 
@@ -677,4 +712,4 @@ MIT License - Free for academic and commercial use.
677
  ---
678
  *Generated by Wikilangs Models Pipeline*
679
 
680
- *Report Date: 2026-01-03 07:43:59*
 
1
  ---
2
  language: bo
3
+ language_name: Tibetan
4
  language_family: tibetoburman_tibetic
5
  tags:
6
  - wikilangs
 
10
  - n-gram
11
  - markov
12
  - wikipedia
13
+ - feature-extraction
14
+ - sentence-similarity
15
+ - tokenization
16
+ - n-grams
17
+ - markov-chain
18
+ - text-mining
19
+ - fasttext
20
+ - babelvec
21
+ - vocabulous
22
+ - vocabulary
23
  - monolingual
24
  - family-tibetoburman_tibetic
25
  license: mit
26
  library_name: wikilangs
27
+ pipeline_tag: text-generation
28
  datasets:
29
  - omarkamali/wikipedia-monthly
30
  dataset_info:
 
33
  metrics:
34
  - name: best_compression_ratio
35
  type: compression
36
+ value: 5.306
37
  - name: best_isotropy
38
  type: isotropy
39
+ value: 0.8542
40
  - name: vocabulary_size
41
  type: vocab
42
  value: 0
43
  generated: 2026-01-03
44
  ---
45
 
46
+ # Tibetan - Wikilangs Models
47
  ## Comprehensive Research Report & Full Ablation Study
48
 
49
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Tibetan** Wikipedia data.
50
  We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
51
 
52
  ## 📋 Repository Contents
 
70
  - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
71
  - [4. Vocabulary Analysis](#4-vocabulary-analysis)
72
  - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
73
+ - [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
74
  - [7. Summary & Recommendations](#7-summary--recommendations)
75
  - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
76
  - [Visualizations Index](#visualizations-index)
 
90
 
91
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
92
  |------------|-------------|---------------|----------|--------------|
93
+ | **8k** | 4.069x | 4.07 | 0.3678% | 233,845 |
94
+ | **16k** | 4.567x | 4.57 | 0.4127% | 208,371 |
95
+ | **32k** | 4.989x | 4.99 | 0.4509% | 190,738 |
96
+ | **64k** | 5.306x 🏆 | 5.31 | 0.4795% | 179,358 |
97
 
98
  ### Tokenization Examples
99
 
100
  Below are sample sentences tokenized with each vocabulary size:
101
 
102
+ **Sample 1:** `གསེར་མོ་ནི་སྒོང་སྐྱེས་སྲོག་ཆགས་ཀྱི་རིགས་གཅིག་རེད། ལོ་རྒྱུས། པར་རིས་བར་འཁྱམས། ཟིན...`
103
 
104
  | Vocab | Tokens | Count |
105
  |-------|--------|-------|
106
+ | 8k | `▁གསེར་ མོ་ནི་ སྒོང་སྐྱེས་ སྲོག་ཆགས་ཀྱི་ རིགས་གཅིག་རེད། ▁ལོ་རྒྱུས། ▁པར་རིས་བར་ འཁྱམས། ▁ཟིན་ཐོ་ འམ་དཔྱད་གཞི། ... (+5 more)` | 15 |
107
+ | 16k | `▁གསེར་ མོ་ནི་ སྒོང་སྐྱེས་ སྲོག་ཆགས་ཀྱི་ རིགས་གཅིག་རེད། ▁ལོ་རྒྱུས། ▁པར་རིས་བར་ འཁྱམས། ▁ཟིན་ཐོ་ འམ་དཔྱད་གཞི། ... (+5 more)` | 15 |
108
+ | 32k | `▁གསེར་ མོ་ནི་ སྒོང་སྐྱེས་ སྲོག་ཆགས་ཀྱི་ རིགས་གཅིག་རེད། ▁ལོ་རྒྱུས། ▁པར���རིས་བར་ འཁྱམས། ▁ཟིན་ཐོ་ འམ་དཔྱད་གཞི། ... (+5 more)` | 15 |
109
+ | 64k | `▁གསེར་ མོ་ནི་ སྒོང་སྐྱེས་ སྲོག་ཆགས་ཀྱི་ རིགས་གཅིག་རེད། ▁ལོ་རྒྱུས། ▁པར་རིས་བར་ འཁྱམས། ▁ཟིན་ཐོ་ འམ་དཔྱད་གཞི། ... (+5 more)` | 15 |
110
 
111
+ **Sample 2:** `ཀྲོའུ་སི། ཞི་ལའི་ལྷ་སྒྲུང་ཁྲོད་ཀྱི་ལྷ་རེད། མི་ཚེ། པར་རིས་བར་འཁྱམས། ཟིན་ཐོ་འམ་དཔྱ...`
112
 
113
  | Vocab | Tokens | Count |
114
  |-------|--------|-------|
115
+ | 8k | `▁ཀྲ ོའུ་ སི། ▁ཞི་ ལའི་ ལྷ་ སྒྲུང་ ཁྲོད་ཀྱི་ ལྷ་ རེད། ... (+10 more)` | 20 |
116
+ | 16k | `▁ཀྲོའུ་ སི། ▁ཞི་ ལའི་ ལྷ་སྒྲུང་ ཁྲོད་ཀྱི་ ལྷ་རེད། ▁མི་ཚེ། ▁པར་རིས་བར་ འཁྱམས། ... (+7 more)` | 17 |
117
+ | 32k | `▁ཀྲོའུ་ སི། ▁ཞི་ ལའི་ ལྷ་སྒྲུང་ ཁྲོད་ཀྱི་ ལྷ་རེད། ▁མི་ཚེ། ▁པར་རིས་བར་ འཁྱམས། ... (+7 more)` | 17 |
118
+ | 64k | `▁ཀྲོའུ་ སི། ▁ཞི་ ལའི་ ལྷ་སྒྲུང་ ཁྲོད་ཀྱི་ ལྷ་རེད། ▁མི་ཚེ། ▁པར་རིས་བར་ འཁྱམས། ... (+7 more)` | 17 |
119
 
120
+ **Sample 3:** `མྱང་འདས་གཞན་ནས་སྒྲུབ་ཏུ་མེད། མྱ་ངན་ལས་འདས་པ་སྟེ་ཐར་པ་དང་། ཐམས་ཅད་མཁྱེན་པའི་གོ་འཕ...`
121
 
122
  | Vocab | Tokens | Count |
123
  |-------|--------|-------|
124
+ | 8k | `▁མྱང་ འདས་ གཞན་ ནས་ སྒྲུབ་ ཏུ་ མེད། ▁མྱ་ངན་ ལས་འདས་ པ་སྟེ་ ... (+15 more)` | 25 |
125
+ | 16k | `▁མྱང་འདས་ གཞན་ ནས་ སྒྲུབ་ ཏུ་ མེད། ▁མྱ་ངན་ ལས་འདས་ པ་སྟེ་ ཐར་ ... (+13 more)` | 23 |
126
+ | 32k | `▁མྱང་འདས་ གཞན་ནས་ སྒྲུབ་ ཏུ་ མེད། ▁མྱ་ངན་ ལས་འདས་ པ་སྟེ་ ཐར་ པ་དང་། ... (+10 more)` | 20 |
127
+ | 64k | `▁མྱང་འདས་ གཞན་ནས་ སྒྲུབ་ ཏུ་ མེད། ▁མྱ་ངན་ལས་འདས་ པ་སྟེ་ ཐར་ པ་དང་། ▁ཐམས་ཅད་ ... (+7 more)` | 17 |
128
 
129
 
130
  ### Key Findings
131
 
132
+ - **Best Compression:** 64k achieves 5.306x compression
133
+ - **Lowest UNK Rate:** 8k with 0.3678% unknown tokens
134
  - **Trade-off:** Larger vocabularies improve compression but increase model size
135
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
136
 
 
147
 
148
  | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
149
  |--------|---------|------------|---------|----------------|------------------|-------------------|
150
+ | **2-gram** | Word | 35,575 | 15.12 | 163,426 | 8.0% | 26.6% |
151
+ | **2-gram** | Subword | 468 🏆 | 8.87 | 14,902 | 58.0% | 90.7% |
152
+ | **3-gram** | Word | 208,497 | 17.67 | 499,603 | 3.7% | 11.0% |
153
+ | **3-gram** | Subword | 3,697 | 11.85 | 87,521 | 25.1% | 62.9% |
154
+ | **4-gram** | Word | 574,996 | 19.13 | 1,035,818 | 3.2% | 7.7% |
155
+ | **4-gram** | Subword | 21,129 | 14.37 | 395,961 | 12.1% | 36.3% |
156
+ | **5-gram** | Word | 554,814 | 19.08 | 896,814 | 3.6% | 8.0% |
157
+ | **5-gram** | Subword | 85,765 | 16.39 | 872,546 | 6.0% | 20.2% |
158
 
159
  ### Top 5 N-grams by Size
160
 
 
162
 
163
  | Rank | N-gram | Count |
164
  |------|--------|-------|
165
+ | 1 | `པ དང` | 28,306 |
166
+ | 2 | `བ དང` | 12,858 |
167
+ | 3 | `པ ལ` | 12,495 |
168
+ | 4 | `ཐམས ཅད` | 12,121 |
169
+ | 5 | `པ ནི` | 11,602 |
170
 
171
  **3-grams (Word):**
172
 
173
  | Rank | N-gram | Count |
174
  |------|--------|-------|
175
+ | 1 | `སྤྱོད འཇུག གི` | 4,094 |
176
+ | 2 | `ཞེས བྱ བ` | 3,742 |
177
+ | 3 | `ད དུང གཟིགས` | 3,594 |
178
+ | 4 | `ཕྱོགས དྲ མཐུད` | 3,563 |
179
+ | 5 | `ཕྱི ཕྱོགས དྲ` | 3,563 |
180
 
181
  **4-grams (Word):**
182
 
183
  | Rank | N-gram | Count |
184
  |------|--------|-------|
185
+ | 1 | `ཕྱི ཕྱོགས དྲ མཐུད` | 3,562 |
186
  | 2 | `དཔྱད གཞིའི དཀར ཆག` | 3,391 |
187
  | 3 | `ཟིན ཐོ འམ དཔྱད` | 2,805 |
188
  | 4 | `ཐོ འམ དཔྱད གཞི` | 2,802 |
189
+ | 5 | `དུང གཟིགས ཕྱི ཕྱོགས` | 2,789 |
190
+
191
+ **5-grams (Word):**
192
+
193
+ | Rank | N-gram | Count |
194
+ |------|--------|-------|
195
+ | 1 | `ཟིན ཐོ འམ དཔྱད གཞི` | 2,802 |
196
+ | 2 | `ད དུང གཟིགས ཕྱི ཕྱོགས` | 2,789 |
197
+ | 3 | `གཟིགས ཕྱི ཕྱོགས དྲ མཐུད` | 2,779 |
198
+ | 4 | `དཀར ཆག ད དུང གཟིགས` | 2,777 |
199
+ | 5 | `དཔྱད གཞིའི དཀར ཆག ད` | 2,776 |
200
 
201
  **2-grams (Subword):**
202
 
203
  | Rank | N-gram | Count |
204
  |------|--------|-------|
205
+ | 1 | `ས ་` | 1,109,782 |
206
+ | 2 | `། _` | 814,181 |
207
+ | 3 | `ང ་` | 726,970 |
208
+ | 4 | `ན ་` | 605,125 |
209
+ | 5 | `་ བ` | 601,943 |
210
 
211
  **3-grams (Subword):**
212
 
213
  | Rank | N-gram | Count |
214
  |------|--------|-------|
215
+ | 1 | `་ པ ་` | 233,799 |
216
+ | 2 | `ག ས ་` | 214,635 |
217
+ | 3 | `། _ །` | 181,451 |
218
+ | 4 | `ས ་ པ` | 169,152 |
219
+ | 5 | `་ ད ང` | 160,512 |
220
 
221
  **4-grams (Subword):**
222
 
223
  | Rank | N-gram | Count |
224
  |------|--------|-------|
225
+ | 1 | `་ ད ང ་` | 137,863 |
226
+ | 2 | `་ པ འི ་` | 114,983 |
227
+ | 3 | `ང ་ ། _` | 88,853 |
228
+ | 4 | `ས ་ པ ་` | 77,821 |
229
+ | 5 | `་ པ ར ་` | 67,023 |
230
+
231
+ **5-grams (Subword):**
232
+
233
+ | Rank | N-gram | Count |
234
+ |------|--------|-------|
235
+ | 1 | `ད ང ་ ། _` | 50,908 |
236
+ | 2 | `་ ད ང ་ །` | 50,893 |
237
+ | 3 | `ས ་ པ འི ་` | 39,175 |
238
+ | 4 | `་ རྣ མ ས ་` | 29,571 |
239
+ | 5 | `་ སོ ག ས ་` | 28,140 |
240
 
241
 
242
  ### Key Findings
243
 
244
+ - **Best Perplexity:** 2-gram (subword) with 468
245
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
246
+ - **Coverage:** Top-1000 patterns cover ~20% of corpus
247
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
248
 
249
  ---
 
259
 
260
  | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
261
  |---------|---------|-------------|------------|------------------|-----------------|----------------|
262
+ | **1** | Word | 0.9206 | 1.893 | 17.76 | 45,103 | 7.9% |
263
+ | **1** | Subword | 0.8281 | 1.775 | 6.83 | 8,393 | 17.2% |
264
+ | **2** | Word | 0.7033 | 1.628 | 3.81 | 800,524 | 29.7% |
265
+ | **2** | Subword | 0.4670 | 1.382 | 4.11 | 57,328 | 53.3% |
266
+ | **3** | Word | 0.2921 | 1.224 | 1.62 | 3,051,550 | 70.8% |
267
+ | **3** | Subword | 0.4481 | 1.364 | 3.28 | 235,662 | 55.2% |
268
+ | **4** | Word | 0.1112 🏆 | 1.080 | 1.18 | 4,929,019 | 88.9% |
269
+ | **4** | Subword | 0.3733 | 1.295 | 2.38 | 773,603 | 62.7% |
270
 
271
  ### Generated Text Samples (Word-based)
272
 
 
274
 
275
  **Context Size 1:**
276
 
277
+ 1. `པ ཡིད གཉིས གདན ཤོ མིག གསུམ རྫིང བུར ལན གསུམ མཱུ ཥི ཏ`
278
+ 2. `དང སུམ གཉིས ཀྱི ཞབས ལྕགས རིགས སུ བཞུགས ཆེན མོ གཉིས ཀྱི ཚད ལས`
279
+ 3. `ལ བོད ཤན ནམ ཞིག ལུས སོགས པའི མིང པེལ རེས མོས བརྡུང བའི སྐུ`
280
 
281
  **Context Size 2:**
282
 
283
+ 1. `པ དང གདམ གཉིས གཉིས གཉིས ཡོད ཤར ཕོགས ཀི པཎི བྷི ཥིཉྩ`
284
+ 2. `བ དང མནའ སྐྱེལ ཞིང དབྱར རི སྤྱི མཐུན རྒྱལ ཁབ དེ རུ བཞག གོ`
285
+ 3. `པ བཞུགས པར ཞལ གྱིས བཞེས ནས འབྲས བུ ཉེ དེའི བྱེ བྲག པ`
286
 
287
  **Context Size 3:**
288
 
289
+ 1. `སྤྱོད འཇུག གི དཀའ འགྲེལ ཤིང དཔར ཞེས གསུངས ནི འདོད ཁྱབ ཁོངས ཡངས དེ`
290
+ 2. `ཞེས བྱ སོགས གཞན ཡིན ནོ རབ འབར དགྲ ཡི དབང དུ ཟད འཕེལ`
291
+ 3. `ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད ལྕེ དཔྱད གཞིའི དཀར ཆག དུང གཟིགས ཀྱེ རྡོ རྗེ`
292
 
293
  **Context Size 4:**
294
 
295
+ 1. `དཔྱད གཞིའི དཀར ཆག ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད དབྱིན ཇིའི རླུང འཕྲིན ཀུང སིས ཉིན དེར`
296
+ 2. `ཟིན ཐོ འམ དཔྱད གཞི དཔྱད གཞིའི དཀར ཆག ད དུང གཟིགས ཕྱི ཕྱོགས དྲ མཐུད bdrc buddhist digital`
297
+ 3. `ཐོ འམ དཔྱད གཞི དཔྱད གཞིའི དཀར ཆག ད དུང གཟིགས གེ སར རྒྱལ པོ རྒྱ ནག ཏུ ཕེབས`
298
 
299
 
300
  ### Generated Text Samples (Subword-based)
 
303
 
304
  **Context Size 1:**
305
 
306
+ 1. `་དུ་མོ་སྦྱངས་མསལ་ཁྲི་ཁ`
307
+ 2. `ས་ཉིས།_ཞནང་ཀྱིས།_དང`
308
+ 3. `གས་ཆེན་ནི་ཡོད་འ༔_།_`
309
 
310
  **Context Size 2:**
311
 
312
+ 1. `ས་དངོས་ཀྱི་ལྷས་ད་ེ_རྣམས`
313
+ 2. `།_ཁེངས་བཞིན་པའི་སྡུག་ཡི`
314
+ 3. `ང་།_ད་གཉིས།_དྲངས་པར`
315
 
316
  **Context Size 3:**
317
 
318
+ 1. `་པ་ལ་དྲིས་ན་ནི་_ལོའི་རྒྱུད`
319
+ 2. `གས་པ་གླིང་བཙན་པོ་དབྱིངས`
320
+ 3. `།_།བྱས་ཀྱང་རུང་།_མི་དང`
321
 
322
  **Context Size 4:**
323
 
324
+ 1. `་དང་།_།མཐུ་སྟོབས་རྒྱས་མཛེ`
325
+ 2. `་པའི་ཚུལ་བཻ་སེར་པོ་འཁོར་ཡ`
326
+ 3. `ང་།_བཞི་པ།_སྟོན་པ་སྒྲུབ་པ`
327
 
328
 
329
  ### Key Findings
330
 
331
+ - **Best Predictability:** Context-4 (word) with 88.9% predictability
332
  - **Branching Factor:** Decreases with context size (more deterministic)
333
+ - **Memory Trade-off:** Larger contexts require more storage (773,603 contexts)
334
  - **Recommendation:** Context-3 or Context-4 for text generation
335
 
336
  ---
 
346
 
347
  | Metric | Value |
348
  |--------|-------|
349
+ | Vocabulary Size | 18,977 |
350
+ | Total Tokens | 7,591,805 |
351
+ | Mean Frequency | 400.05 |
352
  | Median Frequency | 5 |
353
+ | Frequency Std Dev | 3886.00 |
354
 
355
  ### Most Common Words
356
 
357
  | Rank | Word | Frequency |
358
  |------|------|-----------|
359
+ | 1 | པ | 277,831 |
360
+ | 2 | དང | 165,810 |
361
+ | 3 | ལ | 150,300 |
362
+ | 4 | བ | 127,823 |
363
+ | 5 | པའི | 118,705 |
364
+ | 6 | མ | 92,873 |
365
+ | 7 | དེ | 80,387 |
366
+ | 8 | ནི | 78,884 |
367
+ | 9 | ཀྱི | 76,665 |
368
+ | 10 | དུ | 73,981 |
369
 
370
  ### Least Common Words (from vocabulary)
371
 
372
  | Rank | Word | Frequency |
373
  |------|------|-----------|
374
+ | 1 | སུམྦྷའི | 2 |
375
+ | 2 | བིཀྲ | 2 |
376
+ | 3 | jayasena | 2 |
377
+ | 4 | ཤུདྡྷཿསརྦྦ | 2 |
378
+ | 5 | ཧྲོཾ | 2 |
379
+ | 6 | ཝརྞཱ | 2 |
380
+ | 7 | caryā | 2 |
381
+ | 8 | gīti | 2 |
382
+ | 9 | caryāgītivṛtti | 2 |
383
+ | 10 | དཀྲྀཏ | 2 |
384
 
385
  ### Zipf's Law Analysis
386
 
387
  | Metric | Value |
388
  |--------|-------|
389
+ | Zipf Coefficient | 2.0091 |
390
+ | R² (Goodness of Fit) | 0.961368 |
391
  | Adherence Quality | **excellent** |
392
 
393
  ### Coverage Analysis
394
 
395
  | Top N Words | Coverage |
396
  |-------------|----------|
397
+ | Top 100 | 47.6% |
398
+ | Top 1,000 | 90.6% |
399
  | Top 5,000 | 99.1% |
400
  | Top 10,000 | 99.7% |
401
 
402
  ### Key Findings
403
 
404
+ - **Zipf Compliance:** R²=0.9614 indicates excellent adherence to Zipf's law
405
+ - **High Frequency Dominance:** Top 100 words cover 47.6% of corpus
406
+ - **Long Tail:** 8,977 words needed for remaining 0.3% coverage
407
 
408
  ---
409
  ## 5. Word Embeddings Evaluation
 
419
 
420
  ### 5.1 Cross-Lingual Alignment
421
 
422
+ ![Alignment Quality](visualizations/embedding_alignment_quality.png)
423
+
424
+ ![Multilingual t-SNE](visualizations/embedding_tsne_multilingual.png)
425
 
426
 
427
  ### 5.2 Model Comparison
428
 
429
  | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
430
  |-------|-----------|----------|------------------|---------------|----------------|
431
+ | **mono_32d** | 32 | 0.8542 🏆 | 0.3709 | N/A | N/A |
432
+ | **mono_64d** | 64 | 0.8068 | 0.3078 | N/A | N/A |
433
+ | **mono_128d** | 128 | 0.6072 | 0.2915 | N/A | N/A |
434
+ | **aligned_32d** | 32 | 0.8542 | 0.3660 | 0.0160 | 0.1720 |
435
+ | **aligned_64d** | 64 | 0.8068 | 0.3152 | 0.0740 | 0.2780 |
436
+ | **aligned_128d** | 128 | 0.6072 | 0.2869 | 0.1820 | 0.3900 |
437
 
438
  ### Key Findings
439
 
440
+ - **Best Isotropy:** mono_32d with 0.8542 (more uniform distribution)
441
+ - **Semantic Density:** Average pairwise similarity of 0.3231. Lower values indicate better semantic separation.
442
+ - **Alignment Quality:** Aligned models achieve up to 18.2% R@1 in cross-lingual retrieval.
443
  - **Recommendation:** 128d aligned for best cross-lingual performance
444
 
445
  ---
446
  ## 6. Morphological Analysis (Experimental)
447
 
 
 
448
  This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
449
 
450
  ### 6.1 Productivity & Complexity
451
 
452
  | Metric | Value | Interpretation | Recommendation |
453
  |--------|-------|----------------|----------------|
454
+ | Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
455
+ | Idiomaticity Gap | **-0.603** | Low formulaic content | - |
456
 
457
  ### 6.2 Affix Inventory (Productive Units)
458
 
 
485
  ### 6.6 Linguistic Interpretation
486
 
487
  > **Automated Insight:**
488
+ The language Tibetan shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
489
 
490
  ---
491
  ## 7. Summary & Recommendations
 
496
 
497
  | Component | Recommended | Rationale |
498
  |-----------|-------------|-----------|
499
+ | Tokenizer | **64k BPE** | Best compression (5.31x) |
500
+ | N-gram | **2-gram** | Lowest perplexity (468) |
501
+ | Markov | **Context-4** | Highest predictability (88.9%) |
502
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
503
 
504
 
 
712
  ---
713
  *Generated by Wikilangs Models Pipeline*
714
 
715
+ *Report Date: 2026-01-03 19:39:42*
models/embeddings/aligned/bo_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:084753c7cb6163dc2d777e5b0824886aaeed6898004b2a398d7fb8123f62a58d
3
+ size 1032429133
models/embeddings/aligned/bo_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "bo", "dim": 128, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/bo_128d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eb2d57866472aeafbe80e14f631122b427d5f6bf5c57b13a10c4f2cdd0b1b22
3
+ size 65664
models/embeddings/aligned/bo_128d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "bo",
3
+ "dimension": 128,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 741,
7
+ "vocab_size": 7845
8
+ }
models/embeddings/aligned/bo_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3c170bb216c7c06c8e890facaf84b588fc4a4aec2bbd437dcbca066dbcd8222
3
+ size 258404173
models/embeddings/aligned/bo_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "bo", "dim": 32, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/bo_32d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6036188735a75c7c462ee1abe6fd4c7d969876857de9d57fccfc7aa391d8797
3
+ size 4224
models/embeddings/aligned/bo_32d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "bo",
3
+ "dimension": 32,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 741,
7
+ "vocab_size": 7845
8
+ }
models/embeddings/aligned/bo_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f9b1bd58b15af13dcf356c37edd858a42c9f3cc4c6a33cc186409c1e259077
3
+ size 516412493
models/embeddings/aligned/bo_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "bo", "dim": 64, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/bo_64d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09fcdd8c7afef07dee7dd8a35e60883d0fae6f0ee0d7dbbb45a7aa3ffacf5464
3
+ size 16512
models/embeddings/aligned/bo_64d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "bo",
3
+ "dimension": 64,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 741,
7
+ "vocab_size": 7845
8
+ }
models/embeddings/monolingual/bo_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d7589a8e32a4a14dff0415d4773f3b2c21bcb132b01f0cdcdbb3fd5cac2d0a7
3
- size 1031854630
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:084753c7cb6163dc2d777e5b0824886aaeed6898004b2a398d7fb8123f62a58d
3
+ size 1032429133
models/embeddings/monolingual/bo_128d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 128
13
  },
14
- "vocab_size": 7310
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 128
13
  },
14
+ "vocab_size": 7845
15
  }
models/embeddings/monolingual/bo_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25945951b2d9bd762b4aa107b6b33d9788f48752c00df6bb74be80ee7c245721
3
- size 258240550
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3c170bb216c7c06c8e890facaf84b588fc4a4aec2bbd437dcbca066dbcd8222
3
+ size 258404173
models/embeddings/monolingual/bo_32d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 32
13
  },
14
- "vocab_size": 7310
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 32
13
  },
14
+ "vocab_size": 7845
15
  }
models/embeddings/monolingual/bo_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:05e343618ad45867434c979594e5c58131520908c00fb32eeb884a9598ae5c2d
3
- size 516111910
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73f9b1bd58b15af13dcf356c37edd858a42c9f3cc4c6a33cc186409c1e259077
3
+ size 516412493
models/embeddings/monolingual/bo_64d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 64
13
  },
14
- "vocab_size": 7310
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 64
13
  },
14
+ "vocab_size": 7845
15
  }
models/subword_markov/bo_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bca36abfeb85c32777f9e7088e594c535d131c8aea9a20d599c33315361efed
3
- size 432607
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c731e09b32af3cfab2f5723680f7201533f5cfa5b7fea9c31c210b22ff084ae3
3
+ size 433406
models/subword_markov/bo_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_contexts": 8378,
6
- "total_transitions": 22713130
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_contexts": 8393,
6
+ "total_transitions": 23798440
7
  }
models/subword_markov/bo_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9ea9da39850551788d4eaec8b6dac589a7513f5cd8a9bc6e26566f17ac36287
3
- size 1811900
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e24401f47b18cc7f6195df6669483bf36f8e23afaff162378a9f72ea0798460d
3
+ size 1843290
models/subword_markov/bo_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_contexts": 57113,
6
- "total_transitions": 22700930
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_contexts": 57328,
6
+ "total_transitions": 23785927
7
  }
models/subword_markov/bo_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:592d4d34357c96997930f7a0d9aa2f06a8cef2b6ce1424d18b9c926d509600ea
3
- size 6648848
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b371d0c65f3f3c6ab8280ac56b7e1194a82adc3e06ecb550f152ebfb7a39a650
3
+ size 6697768
models/subword_markov/bo_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_contexts": 233848,
6
- "total_transitions": 22688730
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_contexts": 235662,
6
+ "total_transitions": 23773414
7
  }
models/subword_markov/bo_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6eb47b6d454ebb16771c614d17731ae5c2763137d58fcb511068e632490768da
3
- size 18752183
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99cbf4cee5ba3694dbe965ae72607578be5813250bdf03ead0b589f10a64d2ac
3
+ size 19005342
models/subword_markov/bo_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_contexts": 765950,
6
- "total_transitions": 22676530
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_contexts": 773603,
6
+ "total_transitions": 23760901
7
  }
models/subword_ngram/bo_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b741663b924d6701ddf3061df84aeb993129494f05dbf2c3f13b1b796a281ca7
3
- size 216011
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1ac072526e1f94494222d3da83e75649088f5e0a4bd56dcb80465d251ccb34e
3
+ size 219212
models/subword_ngram/bo_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_ngrams": 14734,
6
- "total_ngrams": 22713130
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_ngrams": 14902,
6
+ "total_ngrams": 23798440
7
  }
models/subword_ngram/bo_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abf34078d1e786d65a97141325854d312713c2230be0def57e7f299e03d9f735
3
- size 1203727
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cf4b752f98d14a3e46e02f176fcc6e1276f5374b0c97b4dd76c436a930d1ab3
3
+ size 1247296
models/subword_ngram/bo_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_ngrams": 86351,
6
- "total_ngrams": 22700930
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_ngrams": 87521,
6
+ "total_ngrams": 23785927
7
  }
models/subword_ngram/bo_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d94ccc56cc64b3abed99bb82e501c14f9d76c46160d144d960d1f21e1afd3e74
3
- size 5706148
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30f3e3651574f6184dd55b2266ac478fde4f98d397932440db67f81a8c4d9bce
3
+ size 5797018
models/subword_ngram/bo_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bo",
5
- "unique_ngrams": 391088,
6
- "total_ngrams": 22688730
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bo",
5
+ "unique_ngrams": 395961,
6
+ "total_ngrams": 23773414
7
  }
models/subword_ngram/bo_5gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f9fb0be52ec70e4e354dc2f4190c614a1d5a6d787a9d166c3d20919819729dd
3
+ size 13535378
models/subword_ngram/bo_5gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 5,
3
+ "variant": "subword",
4
+ "language": "bo",
5
+ "unique_ngrams": 872546,
6
+ "total_ngrams": 23760901
7
+ }
models/tokenizer/bo_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b80644ab76ef9f1236204c625c4e4dacd553df77f82729816a4c8648fac85d0f
3
- size 682438
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f34a7dab66b5a61db9484987f3d5a907d2a1c95b56c101a73f557593fec9d7a4
3
+ size 682417
models/tokenizer/bo_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bo_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:099deda5fa2f785fb901ef55b737350aa4362ed293d20131e1a8d111b9cb3b59
3
- size 1197306
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b377343285afaff84c0a99d3490f3fc80f540cb87a52bf7b48e2f66ca70bf9a
3
+ size 1196867
models/tokenizer/bo_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bo_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1346dc7d382bd75b96573d9f0123d6b2b1fa17c2cdfca58ee3e0289e2c5ab80
3
- size 2340697
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51d089632532888ce876861b577b00c5f13a9f45540f7b3f36c14337a2fdd7f1
3
+ size 2341398
models/tokenizer/bo_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bo_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c734632bf663d3ae5074f8a9e3e315b68abee224608a9a41d7a6cad565ec452
3
- size 442308
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ae671e2f3cbc76a82fab923f7c4e6994a066b20006546f3a4be7e489b2aa09a
3
+ size 442368
models/tokenizer/bo_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/bo_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cfa52cc050640e4828a3dd12a129e73d77eccd600656e7e8ecac1d73d7e04695
3
- size 326513
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7be26dfffcc7c08a8d3bbd5baab565213143190ba65d9e037ecccd9a60f2a07d
3
+ size 330727
models/vocabulary/bo_vocabulary_metadata.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
  "language": "bo",
3
- "vocabulary_size": 18720,
4
  "variant": "full",
5
  "statistics": {
6
- "type_token_ratio": 0.006158586066529067,
7
  "coverage": {
8
- "top_100": 0.4733026861716062,
9
- "top_1000": 0.9009478947369145,
10
- "top_5000": 0.9874471227821341,
11
- "top_10000": 0.9934588401027036
12
  },
13
- "hapax_count": 26064,
14
- "hapax_ratio": 0.5819935691318328,
15
- "total_documents": 12200
16
  }
17
  }
 
1
  {
2
  "language": "bo",
3
+ "vocabulary_size": 18977,
4
  "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.005952345010759796,
7
  "coverage": {
8
+ "top_100": 0.47476495023610643,
9
+ "top_1000": 0.9028692439946896,
10
+ "top_5000": 0.9877771234944227,
11
+ "top_10000": 0.9936140865251962
12
  },
13
+ "hapax_count": 26369,
14
+ "hapax_ratio": 0.5815066378511886,
15
+ "total_documents": 12513
16
  }
17
  }
models/word_markov/bo_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:28be79310aca5cc300584166fdaf88159c29ab0b3c1a8a528b951d63a306c412
3
- size 3808759
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:384777a1420055c01cb91824353a76ae762bc7235334bd7a5c196a699035ce66
3
+ size 3874393
models/word_markov/bo_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bo",
5
- "unique_contexts": 44551,
6
- "total_transitions": 7259599
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bo",
5
+ "unique_contexts": 45103,
6
+ "total_transitions": 7605661
7
  }
models/word_markov/bo_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4348c33a538330f70aeb91a4ca305d25fef537360b7e48e26baa9e5158477d4
3
- size 25145984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d9cf52a6e4edc120d66190763546e48dda7208747ddc8c66d03b843d4be070
3
+ size 25624839
models/word_markov/bo_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bo",
5
- "unique_contexts": 792341,
6
- "total_transitions": 7247399
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bo",
5
+ "unique_contexts": 800524,
6
+ "total_transitions": 7593148
7
  }