omarkamali commited on
Commit
152b2ba
·
verified ·
1 Parent(s): c2d854b

Upload all models and assets for ban (20251201)

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 +6 -0
  2. README.md +584 -0
  3. models/embeddings/monolingual/ban_128d.bin +3 -0
  4. models/embeddings/monolingual/ban_128d.meta.json +1 -0
  5. models/embeddings/monolingual/ban_128d_metadata.json +13 -0
  6. models/embeddings/monolingual/ban_32d.bin +3 -0
  7. models/embeddings/monolingual/ban_32d.meta.json +1 -0
  8. models/embeddings/monolingual/ban_32d_metadata.json +13 -0
  9. models/embeddings/monolingual/ban_64d.bin +3 -0
  10. models/embeddings/monolingual/ban_64d.meta.json +1 -0
  11. models/embeddings/monolingual/ban_64d_metadata.json +13 -0
  12. models/subword_markov/ban_markov_ctx1_subword.parquet +3 -0
  13. models/subword_markov/ban_markov_ctx1_subword_metadata.json +7 -0
  14. models/subword_markov/ban_markov_ctx2_subword.parquet +3 -0
  15. models/subword_markov/ban_markov_ctx2_subword_metadata.json +7 -0
  16. models/subword_markov/ban_markov_ctx3_subword.parquet +3 -0
  17. models/subword_markov/ban_markov_ctx3_subword_metadata.json +7 -0
  18. models/subword_markov/ban_markov_ctx4_subword.parquet +3 -0
  19. models/subword_markov/ban_markov_ctx4_subword_metadata.json +7 -0
  20. models/subword_ngram/ban_2gram_subword.parquet +3 -0
  21. models/subword_ngram/ban_2gram_subword_metadata.json +7 -0
  22. models/subword_ngram/ban_3gram_subword.parquet +3 -0
  23. models/subword_ngram/ban_3gram_subword_metadata.json +7 -0
  24. models/subword_ngram/ban_4gram_subword.parquet +3 -0
  25. models/subword_ngram/ban_4gram_subword_metadata.json +7 -0
  26. models/tokenizer/ban_tokenizer_16k.model +3 -0
  27. models/tokenizer/ban_tokenizer_16k.vocab +0 -0
  28. models/tokenizer/ban_tokenizer_32k.model +3 -0
  29. models/tokenizer/ban_tokenizer_32k.vocab +0 -0
  30. models/tokenizer/ban_tokenizer_64k.model +3 -0
  31. models/tokenizer/ban_tokenizer_64k.vocab +0 -0
  32. models/tokenizer/ban_tokenizer_8k.model +3 -0
  33. models/tokenizer/ban_tokenizer_8k.vocab +0 -0
  34. models/vocabulary/ban_vocabulary.parquet +3 -0
  35. models/vocabulary/ban_vocabulary_metadata.json +16 -0
  36. models/word_markov/ban_markov_ctx1_word.parquet +3 -0
  37. models/word_markov/ban_markov_ctx1_word_metadata.json +7 -0
  38. models/word_markov/ban_markov_ctx2_word.parquet +3 -0
  39. models/word_markov/ban_markov_ctx2_word_metadata.json +7 -0
  40. models/word_markov/ban_markov_ctx3_word.parquet +3 -0
  41. models/word_markov/ban_markov_ctx3_word_metadata.json +7 -0
  42. models/word_markov/ban_markov_ctx4_word.parquet +3 -0
  43. models/word_markov/ban_markov_ctx4_word_metadata.json +7 -0
  44. models/word_ngram/ban_2gram_word.parquet +3 -0
  45. models/word_ngram/ban_2gram_word_metadata.json +7 -0
  46. models/word_ngram/ban_3gram_word.parquet +3 -0
  47. models/word_ngram/ban_3gram_word_metadata.json +7 -0
  48. models/word_ngram/ban_4gram_word.parquet +3 -0
  49. models/word_ngram/ban_4gram_word_metadata.json +7 -0
  50. visualizations/embedding_isotropy.png +0 -0
.gitattributes CHANGED
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
37
+ visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
38
+ visualizations/position_encoding_comparison.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
README.md ADDED
@@ -0,0 +1,584 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ban
3
+ language_name: BAN
4
+ language_family: austronesian_other
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - monolingual
14
+ - family-austronesian_other
15
+ license: mit
16
+ library_name: wikilangs
17
+ pipeline_tag: feature-extraction
18
+ datasets:
19
+ - omarkamali/wikipedia-monthly
20
+ dataset_info:
21
+ name: wikipedia-monthly
22
+ description: Monthly snapshots of Wikipedia articles across 300+ languages
23
+ metrics:
24
+ - name: best_compression_ratio
25
+ type: compression
26
+ value: 4.782
27
+ - name: best_isotropy
28
+ type: isotropy
29
+ value: 0.8612
30
+ - name: vocabulary_size
31
+ type: vocab
32
+ value: 109825
33
+ generated: 2025-12-27
34
+ ---
35
+
36
+ # BAN - Wikilangs Models
37
+ ## Comprehensive Research Report & Full Ablation Study
38
+
39
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **BAN** Wikipedia data.
40
+ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
41
+
42
+ ## 📋 Repository Contents
43
+
44
+ ### Models & Assets
45
+
46
+ - Tokenizers (8k, 16k, 32k, 64k)
47
+ - N-gram models (2, 3, 4-gram)
48
+ - Markov chains (context of 1, 2, 3 and 4)
49
+ - Subword N-gram and Markov chains
50
+ - Embeddings in various sizes and dimensions
51
+ - Language Vocabulary
52
+ - Language Statistics
53
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
54
+
55
+ ### Analysis and Evaluation
56
+
57
+ - [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
58
+ - [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
59
+ - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
60
+ - [4. Vocabulary Analysis](#4-vocabulary-analysis)
61
+ - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
62
+ - [6. Summary & Recommendations](#6-summary--recommendations)
63
+ - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
64
+ - [Visualizations Index](#visualizations-index)
65
+
66
+ ---
67
+ ## 1. Tokenizer Evaluation
68
+
69
+ ![Tokenizer Compression](visualizations/tokenizer_compression.png)
70
+
71
+ ### Results
72
+
73
+ | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
74
+ |------------|-------------|---------------|----------|--------------|
75
+ | **8k** | 3.889x | 3.84 | 0.1469% | 269,485 |
76
+ | **16k** | 4.255x | 4.21 | 0.1608% | 246,312 |
77
+ | **32k** | 4.547x | 4.49 | 0.1718% | 230,479 |
78
+ | **64k** | 4.782x 🏆 | 4.73 | 0.1807% | 219,125 |
79
+
80
+ ### Tokenization Examples
81
+
82
+ Below are sample sentences tokenized with each vocabulary size:
83
+
84
+ **Sample 1:** `1020
85
+
86
+ 1021
87
+
88
+ 1022
89
+
90
+ 1023
91
+
92
+ 1024
93
+
94
+ 1025
95
+
96
+ 1026
97
+
98
+ 1027
99
+
100
+ 1028
101
+
102
+ 1029
103
+
104
+ Jadma
105
+
106
+ Embas
107
+
108
+ Seda
109
+
110
+ ...`
111
+
112
+ | Vocab | Tokens | Count |
113
+ |-------|--------|-------|
114
+ | 8k | `▁ 1 0 2 0 ▁ 1 0 2 1 ... (+53 more)` | 63 |
115
+ | 16k | `▁ 1 0 2 0 ▁ 1 0 2 1 ... (+53 more)` | 63 |
116
+ | 32k | `▁ 1 0 2 0 ▁ 1 0 2 1 ... (+53 more)` | 63 |
117
+ | 64k | `▁ 1 0 2 0 ▁ 1 0 2 1 ... (+53 more)` | 63 |
118
+
119
+ **Sample 2:** `Pustaka
120
+
121
+ Pranala liyané
122
+
123
+ Kategori:Abad ka-17`
124
+
125
+ | Vocab | Tokens | Count |
126
+ |-------|--------|-------|
127
+ | 8k | `▁pustaka ▁pranala ▁liyané ▁kategori : abad ▁ka - 1 7` | 10 |
128
+ | 16k | `▁pustaka ▁pranala ▁liyané ▁kategori : abad ▁ka - 1 7` | 10 |
129
+ | 32k | `▁pustaka ▁pranala ▁liyané ▁kategori : abad ▁ka - 1 7` | 10 |
130
+ | 64k | `▁pustaka ▁pranala ▁liyané ▁kategori : abad ▁ka - 1 7` | 10 |
131
+
132
+ **Sample 3:** `Siung Sri Lanka (Gracula ptilogenys), inggih punika satunggil curik, anggota kul...`
133
+
134
+ | Vocab | Tokens | Count |
135
+ |-------|--------|-------|
136
+ | 8k | `▁si ung ▁sri ▁lan ka ▁( gr ac ula ▁p ... (+24 more)` | 34 |
137
+ | 16k | `▁si ung ▁sri ▁lanka ▁( gr ac ula ▁p til ... (+21 more)` | 31 |
138
+ | 32k | `▁siung ▁sri ▁lanka ▁( gr ac ula ▁p til ogen ... (+19 more)` | 29 |
139
+ | 64k | `▁siung ▁sri ▁lanka ▁( gracula ▁ptil ogen ys ), ▁inggih ... (+15 more)` | 25 |
140
+
141
+
142
+ ### Key Findings
143
+
144
+ - **Best Compression:** 64k achieves 4.782x compression
145
+ - **Lowest UNK Rate:** 8k with 0.1469% unknown tokens
146
+ - **Trade-off:** Larger vocabularies improve compression but increase model size
147
+ - **Recommendation:** 32k vocabulary provides optimal balance for production use
148
+
149
+ ---
150
+ ## 2. N-gram Model Evaluation
151
+
152
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
153
+
154
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
155
+
156
+ ### Results
157
+
158
+ | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
159
+ |--------|------------|---------|----------------|------------------|-------------------|
160
+ | **2-gram** | 6,772 🏆 | 12.73 | 86,017 | 32.0% | 53.5% |
161
+ | **2-gram** | 287 🏆 | 8.17 | 6,739 | 67.5% | 98.5% |
162
+ | **3-gram** | 9,433 | 13.20 | 132,180 | 30.5% | 50.3% |
163
+ | **3-gram** | 2,255 | 11.14 | 56,338 | 28.2% | 73.8% |
164
+ | **4-gram** | 14,846 | 13.86 | 212,984 | 26.8% | 45.5% |
165
+ | **4-gram** | 10,513 | 13.36 | 295,874 | 17.0% | 50.1% |
166
+
167
+ ### Top 5 N-grams by Size
168
+
169
+ **2-grams:**
170
+
171
+ | Rank | N-gram | Count |
172
+ |------|--------|-------|
173
+ | 1 | `kategori :` | 56,343 |
174
+ | 2 | `situs resmi` | 43,670 |
175
+ | 3 | `inggih punika` | 39,156 |
176
+ | 4 | `pusat statistik` | 24,773 |
177
+ | 5 | `badan pusat` | 24,763 |
178
+
179
+ **3-grams:**
180
+
181
+ | Rank | N-gram | Count |
182
+ |------|--------|-------|
183
+ | 1 | `badan pusat statistik` | 24,761 |
184
+ | 2 | `pustaka pranala jaba` | 21,699 |
185
+ | 3 | `) inggih punika` | 21,548 |
186
+ | 4 | `inggih punika silih` | 20,523 |
187
+ | 5 | `punika silih tunggil` | 20,157 |
188
+
189
+ **4-grams:**
190
+
191
+ | Rank | N-gram | Count |
192
+ |------|--------|-------|
193
+ | 1 | `inggih punika silih tunggil` | 20,047 |
194
+ | 2 | `pranala jaba situs resmi` | 19,038 |
195
+ | 3 | `pustaka pranala jaba situs` | 18,670 |
196
+ | 4 | `) inggih punika silih` | 18,246 |
197
+ | 5 | `( aksara bali :` | 17,893 |
198
+
199
+
200
+ ### Key Findings
201
+
202
+ - **Best Perplexity:** 2-gram with 287
203
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
204
+ - **Coverage:** Top-1000 patterns cover ~50% of corpus
205
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
206
+
207
+ ---
208
+ ## 3. Markov Chain Evaluation
209
+
210
+ ![Markov Entropy](visualizations/markov_entropy.png)
211
+
212
+ ![Markov Branching](visualizations/markov_branching.png)
213
+
214
+ ### Results
215
+
216
+ | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
217
+ |---------|-------------|------------|------------------|-----------------|----------------|
218
+ | **1** | 0.5448 | 1.459 | 4.25 | 354,734 | 45.5% |
219
+ | **1** | 1.0973 | 2.140 | 6.84 | 3,094 | 0.0% |
220
+ | **2** | 0.2539 | 1.192 | 1.68 | 1,504,653 | 74.6% |
221
+ | **2** | 0.8467 | 1.798 | 5.47 | 21,162 | 15.3% |
222
+ | **3** | 0.0992 | 1.071 | 1.20 | 2,520,521 | 90.1% |
223
+ | **3** | 0.8884 | 1.851 | 4.45 | 115,750 | 11.2% |
224
+ | **4** | 0.0443 🏆 | 1.031 | 1.08 | 3,008,321 | 95.6% |
225
+ | **4** | 0.7379 🏆 | 1.668 | 3.16 | 515,141 | 26.2% |
226
+
227
+ ### Generated Text Samples
228
+
229
+ Below are text samples generated from each Markov chain model:
230
+
231
+ **Context Size 1:**
232
+
233
+ 1. `, seperti kota binjai kategori : désa dinas sané mangkin madué 10 désa pakraman buléléng .`
234
+ 2. `. iklan di pulo kyushu . akéhnyané 1 . kategori : ᬓ ᭂ ᬕᬮ ᭄ ᬤ`
235
+ 3. `ring warsa 2019 , definisi definisi asli riantara 24 / ilang . there is defined hypnosis`
236
+
237
+ **Context Size 2:**
238
+
239
+ 1. `kategori : kota kendari wali kota ngawit jabatan saking pinanggal 22 pébruari 1857 – 1 al -`
240
+ 2. `situs resmi pamréntahan kabupatén tuban cutetan : pranala dados kauahin / ilang . yening url nenten ...`
241
+ 3. `inggih punika silih tunggil sanganan sané nénten pastika sakéwanten sumber akéh saking cina , itsĕrl...`
242
+
243
+ **Context Size 3:**
244
+
245
+ 1. `badan pusat statistik kepulauan bangka belitung badan pusat statistik kota surabaya cutetan : url da...`
246
+ 2. `pustaka pranala jaba taman pahlawan margarana , ring pamahbah nyané , kain sasirangan kapercaya pras...`
247
+ 3. `) inggih punika silih tunggil kecamatan ring kabupatén bungo , propinsi jambi , ring panegara indoné...`
248
+
249
+ **Context Size 4:**
250
+
251
+ 1. `inggih punika silih tunggil kecamatan ring kabupatén gowa , propinsi sulawesi selatan tanjung batu ,...`
252
+ 2. `pranala jaba situs resmi pemerintah kota tangerang situs resmi bps kota tangerang cutetan : url dado...`
253
+ 3. `pustaka pranala jaba situs resmi pamréntahan nusa tenggara barat badan pusat statistik sumatra utara...`
254
+
255
+
256
+ ### Key Findings
257
+
258
+ - **Best Predictability:** Context-4 with 95.6% predictability
259
+ - **Branching Factor:** Decreases with context size (more deterministic)
260
+ - **Memory Trade-off:** Larger contexts require more storage (515,141 contexts)
261
+ - **Recommendation:** Context-3 or Context-4 for text generation
262
+
263
+ ---
264
+ ## 4. Vocabulary Analysis
265
+
266
+ ![Zipf's Law](visualizations/zipf_law.png)
267
+
268
+ ![Top Words](visualizations/top20_words.png)
269
+
270
+ ![Coverage Curve](visualizations/vocab_coverage.png)
271
+
272
+ ### Statistics
273
+
274
+ | Metric | Value |
275
+ |--------|-------|
276
+ | Vocabulary Size | 109,825 |
277
+ | Total Tokens | 4,059,826 |
278
+ | Mean Frequency | 36.97 |
279
+ | Median Frequency | 3 |
280
+ | Frequency Std Dev | 763.95 |
281
+
282
+ ### Most Common Words
283
+
284
+ | Rank | Word | Frequency |
285
+ |------|------|-----------|
286
+ | 1 | ring | 133,380 |
287
+ | 2 | kabupatén | 67,955 |
288
+ | 3 | kategori | 56,442 |
289
+ | 4 | punika | 52,655 |
290
+ | 5 | situs | 48,035 |
291
+ | 6 | sané | 47,128 |
292
+ | 7 | resmi | 44,824 |
293
+ | 8 | kecamatan | 42,212 |
294
+ | 9 | inggih | 39,593 |
295
+ | 10 | saking | 39,394 |
296
+
297
+ ### Least Common Words (from vocabulary)
298
+
299
+ | Rank | Word | Frequency |
300
+ |------|------|-----------|
301
+ | 1 | padaido | 2 |
302
+ | 2 | inswambesi | 2 |
303
+ | 3 | asaryendi | 2 |
304
+ | 4 | sopendo | 2 |
305
+ | 5 | pomdori | 2 |
306
+ | 6 | yawosi | 2 |
307
+ | 7 | ᬧᬓᬓ | 2 |
308
+ | 8 | potrekwastanngawit | 2 |
309
+ | 9 | patonangi | 2 |
310
+ | 10 | ᬢᬢᬓᬦ | 2 |
311
+
312
+ ### Zipf's Law Analysis
313
+
314
+ | Metric | Value |
315
+ |--------|-------|
316
+ | Zipf Coefficient | 1.1336 |
317
+ | R² (Goodness of Fit) | 0.997567 |
318
+ | Adherence Quality | **excellent** |
319
+
320
+ ### Coverage Analysis
321
+
322
+ | Top N Words | Coverage |
323
+ |-------------|----------|
324
+ | Top 100 | 43.3% |
325
+ | Top 1,000 | 67.9% |
326
+ | Top 5,000 | 82.1% |
327
+ | Top 10,000 | 87.0% |
328
+
329
+ ### Key Findings
330
+
331
+ - **Zipf Compliance:** R²=0.9976 indicates excellent adherence to Zipf's law
332
+ - **High Frequency Dominance:** Top 100 words cover 43.3% of corpus
333
+ - **Long Tail:** 99,825 words needed for remaining 13.0% coverage
334
+
335
+ ---
336
+ ## 5. Word Embeddings Evaluation
337
+
338
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
339
+
340
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
341
+
342
+ ![t-SNE Words](visualizations/tsne_words.png)
343
+
344
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
345
+
346
+ ### Model Comparison
347
+
348
+ | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
349
+ |-------|------------|-----------|----------|----------|----------|
350
+ | **mono_32d** | 50,333 | 32 | 4.290 | 1.041 | 0.8612 🏆 |
351
+ | **mono_64d** | 50,333 | 64 | 4.879 | 1.017 | 0.8485 |
352
+ | **mono_128d** | 50,333 | 128 | 5.532 | 0.920 | 0.8053 |
353
+ | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
354
+
355
+ ### Key Findings
356
+
357
+ - **Best Isotropy:** mono_32d with 0.8612 (more uniform distribution)
358
+ - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
359
+ - **Vocabulary Coverage:** All models cover 50,333 words
360
+ - **Recommendation:** 100d for balanced semantic capture and efficiency
361
+
362
+ ---
363
+ ## 6. Summary & Recommendations
364
+
365
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
366
+
367
+ ### Production Recommendations
368
+
369
+ | Component | Recommended | Rationale |
370
+ |-----------|-------------|-----------|
371
+ | Tokenizer | **32k BPE** | Best compression (4.78x) with low UNK rate |
372
+ | N-gram | **5-gram** | Lowest perplexity (287) |
373
+ | Markov | **Context-4** | Highest predictability (95.6%) |
374
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
375
+
376
+ ---
377
+ ## Appendix: Metrics Glossary & Interpretation Guide
378
+
379
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
380
+
381
+ ### Tokenizer Metrics
382
+
383
+ **Compression Ratio**
384
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
385
+ >
386
+ > *Intuition:* Higher compression means fewer tokens needed to represent the same text, reducing sequence lengths for downstream models. A 3x compression means ~3 characters per token on average.
387
+ >
388
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
389
+
390
+ **Average Token Length (Fertility)**
391
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
392
+ >
393
+ > *Intuition:* Reflects the granularity of tokenization. Longer tokens capture more context but may struggle with rare words; shorter tokens are more flexible but increase sequence length.
394
+ >
395
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
396
+
397
+ **Unknown Token Rate (OOV Rate)**
398
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
399
+ >
400
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
401
+ >
402
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
403
+
404
+ ### N-gram Model Metrics
405
+
406
+ **Perplexity**
407
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
408
+ >
409
+ > *Intuition:* If perplexity is 100, the model is as uncertain as if choosing uniformly among 100 options at each step. A perplexity of 10 means effectively choosing among 10 equally likely options.
410
+ >
411
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
412
+
413
+ **Entropy**
414
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
415
+ >
416
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
417
+ >
418
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
419
+
420
+ **Coverage (Top-K)**
421
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
422
+ >
423
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
424
+ >
425
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
426
+
427
+ ### Markov Chain Metrics
428
+
429
+ **Average Entropy**
430
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
431
+ >
432
+ > *Intuition:* Lower entropy means the model is more confident about what comes next. Context-1 has high entropy (many possible next words); Context-4 has low entropy (few likely continuations).
433
+ >
434
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
435
+
436
+ **Branching Factor**
437
+ > *Definition:* Average number of unique next tokens observed for each context.
438
+ >
439
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
440
+ >
441
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
442
+
443
+ **Predictability**
444
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
445
+ >
446
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
447
+ >
448
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
449
+
450
+ ### Vocabulary & Zipf's Law Metrics
451
+
452
+ **Zipf's Coefficient**
453
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
454
+ >
455
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
456
+ >
457
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
458
+
459
+ **R² (Coefficient of Determination)**
460
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
461
+ >
462
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
463
+ >
464
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
465
+
466
+ **Vocabulary Coverage**
467
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
468
+ >
469
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
470
+ >
471
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
472
+
473
+ ### Word Embedding Metrics
474
+
475
+ **Isotropy**
476
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
477
+ >
478
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
479
+ >
480
+ > *What to seek:* Higher isotropy generally indicates better-quality embeddings. Values > 0.1 are reasonable; > 0.3 is good. Lower-dimensional embeddings tend to have higher isotropy.
481
+
482
+ **Average Norm**
483
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
484
+ >
485
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
486
+ >
487
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
488
+
489
+ **Cosine Similarity**
490
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
491
+ >
492
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
493
+ >
494
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
495
+
496
+ **t-SNE Visualization**
497
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
498
+ >
499
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
500
+ >
501
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
502
+
503
+ ### General Interpretation Guidelines
504
+
505
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
506
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
507
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
508
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
509
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
510
+
511
+
512
+ ### Visualizations Index
513
+
514
+ | Visualization | Description |
515
+ |---------------|-------------|
516
+ | Tokenizer Compression | Compression ratios by vocabulary size |
517
+ | Tokenizer Fertility | Average token length by vocabulary |
518
+ | Tokenizer OOV | Unknown token rates |
519
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
520
+ | N-gram Perplexity | Perplexity by n-gram size |
521
+ | N-gram Entropy | Entropy by n-gram size |
522
+ | N-gram Coverage | Top pattern coverage |
523
+ | N-gram Unique | Unique n-gram counts |
524
+ | Markov Entropy | Entropy by context size |
525
+ | Markov Branching | Branching factor by context |
526
+ | Markov Contexts | Unique context counts |
527
+ | Zipf's Law | Frequency-rank distribution with fit |
528
+ | Vocab Frequency | Word frequency distribution |
529
+ | Top 20 Words | Most frequent words |
530
+ | Vocab Coverage | Cumulative coverage curve |
531
+ | Embedding Isotropy | Vector space uniformity |
532
+ | Embedding Norms | Vector magnitude distribution |
533
+ | Embedding Similarity | Word similarity heatmap |
534
+ | Nearest Neighbors | Similar words for key terms |
535
+ | t-SNE Words | 2D word embedding visualization |
536
+ | t-SNE Sentences | 2D sentence embedding visualization |
537
+ | Position Encoding | Encoding method comparison |
538
+ | Model Sizes | Storage requirements |
539
+ | Performance Dashboard | Comprehensive performance overview |
540
+
541
+ ---
542
+ ## About This Project
543
+
544
+ ### Data Source
545
+
546
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
547
+
548
+ ### Project
549
+
550
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
551
+
552
+ ### Maintainer
553
+
554
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
555
+
556
+ ### Citation
557
+
558
+ If you use these models in your research, please cite:
559
+
560
+ ```bibtex
561
+ @misc{wikilangs2025,
562
+ author = {Kamali, Omar},
563
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
564
+ year = {2025},
565
+ publisher = {HuggingFace},
566
+ url = {https://huggingface.co/wikilangs}
567
+ institution = {Omneity Labs}
568
+ }
569
+ ```
570
+
571
+ ### License
572
+
573
+ MIT License - Free for academic and commercial use.
574
+
575
+ ### Links
576
+
577
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
578
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
579
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
580
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
581
+ ---
582
+ *Generated by Wikilangs Models Pipeline*
583
+
584
+ *Report Date: 2025-12-27 23:53:08*
models/embeddings/monolingual/ban_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea87c1477ff7362a05ee5aecc04514daeeb0751d9258d36096220826e2071195
3
+ size 1076400925
models/embeddings/monolingual/ban_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ban", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ban_128d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ban",
3
+ "dimension": 128,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "dim": 128,
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5
11
+ },
12
+ "vocab_size": 50333
13
+ }
models/embeddings/monolingual/ban_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b78c8beda9adf946cfb61ebe5d7345f1a46cfbada20e008894b25148ee2b7fb6
3
+ size 269745181
models/embeddings/monolingual/ban_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ban", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ban_32d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ban",
3
+ "dimension": 32,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "dim": 32,
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5
11
+ },
12
+ "vocab_size": 50333
13
+ }
models/embeddings/monolingual/ban_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac247ae04637df7c57b93803868d52ed47fb91b34dd674de9b86612a1856543d
3
+ size 538630429
models/embeddings/monolingual/ban_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ban", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ban_64d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ban",
3
+ "dimension": 64,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "dim": 64,
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5
11
+ },
12
+ "vocab_size": 50333
13
+ }
models/subword_markov/ban_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07d34933ba1ea350752ae85b877a8c59815d819177bf4c06cc1c33c52a23a4ab
3
+ size 164464
models/subword_markov/ban_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_contexts": 3094,
6
+ "total_transitions": 31281701
7
+ }
models/subword_markov/ban_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a094b1a8d92237ba3ee5d4bb02c77daf556d4e57c92818f8594ee12d0d9dba7
3
+ size 930375
models/subword_markov/ban_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_contexts": 21162,
6
+ "total_transitions": 31247141
7
+ }
models/subword_markov/ban_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c14ef4a97de8adc59b7a39da2f9d5cdcbdc15c1339b56d4fe8f54919ee7676cc
3
+ size 3747847
models/subword_markov/ban_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_contexts": 115750,
6
+ "total_transitions": 31212581
7
+ }
models/subword_markov/ban_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83b89243df0423d04c3f14b54a3854b87b3df8860b6528722a527ca63138bedf
3
+ size 12242821
models/subword_markov/ban_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_contexts": 515141,
6
+ "total_transitions": 31178021
7
+ }
models/subword_ngram/ban_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d331dea0ac3863010c7f44bc8af6db64163208b39797a90da3a3db2cb5068c2
3
+ size 89432
models/subword_ngram/ban_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_ngrams": 6739,
6
+ "total_ngrams": 31281701
7
+ }
models/subword_ngram/ban_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e87314f3eb227a47badf79f1a2964e00acef96da0cc33f99259523ddadbe0267
3
+ size 689305
models/subword_ngram/ban_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_ngrams": 56338,
6
+ "total_ngrams": 31247141
7
+ }
models/subword_ngram/ban_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fe02f497267ca92b94af3687493cf750310e35ab85b736752b26ff56e51a295
3
+ size 3233720
models/subword_ngram/ban_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "ban",
5
+ "unique_ngrams": 295874,
6
+ "total_ngrams": 31212581
7
+ }
models/tokenizer/ban_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bedf8563a1afe2051346993a2e31dc66fa70f8ddf79e172628e2963e0a99dd47
3
+ size 503307
models/tokenizer/ban_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ban_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c710ee000231372d734483b9d28128e8359cb0283ee8585cfee7e121ff3e088c
3
+ size 776699
models/tokenizer/ban_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ban_tokenizer_64k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7f6893ba9c5195f098265006c68b68d4f854f4f3aef663fccea594bd3ecddbb
3
+ size 1338022
models/tokenizer/ban_tokenizer_64k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ban_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e665b6cb1dccbf5b7fa71b5c8e3e9ea156603fcf9f94aeeaa2d783a6631da368
3
+ size 371066
models/tokenizer/ban_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/ban_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33bac4c04f637c4a7c7b840996ea84729668359a0bba018a9c721c27ccd525bc
3
+ size 1847029
models/vocabulary/ban_vocabulary_metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ban",
3
+ "vocabulary_size": 109825,
4
+ "statistics": {
5
+ "type_token_ratio": 0.08234307722115898,
6
+ "coverage": {
7
+ "top_100": 0.4083867316599922,
8
+ "top_1000": 0.6399472916582452,
9
+ "top_5000": 0.7739293501921968,
10
+ "top_10000": 0.8207767696718877
11
+ },
12
+ "hapax_count": 244616,
13
+ "hapax_ratio": 0.690145891699888,
14
+ "total_documents": 34560
15
+ }
16
+ }
models/word_markov/ban_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:490f92d81b31f52d83fd0f2cd5b002bd546e2be9ec34f436bbd4b503863a38fd
3
+ size 14573406
models/word_markov/ban_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_contexts": 354734,
6
+ "total_transitions": 5300849
7
+ }
models/word_markov/ban_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7933f21fe3dc7737031daf59c6f0b75d5f0ec0760ea5fbe33e643b28f9377775
3
+ size 30285330
models/word_markov/ban_markov_ctx2_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_contexts": 1504653,
6
+ "total_transitions": 5266289
7
+ }
models/word_markov/ban_markov_ctx3_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7d248fbf95bb7c4c07d3ad6a40e7491d998158dd768f5df49fb1a1fb786ad4d
3
+ size 44547695
models/word_markov/ban_markov_ctx3_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_contexts": 2520521,
6
+ "total_transitions": 5231730
7
+ }
models/word_markov/ban_markov_ctx4_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af85b8acafe95f6c6598d6c3d9f95ab7ddbfe52fec36eb64d4e73ed213f6ba54
3
+ size 53030226
models/word_markov/ban_markov_ctx4_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_contexts": 3008321,
6
+ "total_transitions": 5197173
7
+ }
models/word_ngram/ban_2gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a7e05025863931724c16c54d53b71d59185644881045f57e68714b7edff8d95
3
+ size 1171748
models/word_ngram/ban_2gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_ngrams": 86017,
6
+ "total_ngrams": 5300849
7
+ }
models/word_ngram/ban_3gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6382c65c522ccb8d948baed426584d1da5bc0135ba2f1a160c62c3a280a15c16
3
+ size 1910455
models/word_ngram/ban_3gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_ngrams": 132180,
6
+ "total_ngrams": 5266289
7
+ }
models/word_ngram/ban_4gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4076c7de92dd17498060b87078339b4ccf91574d719a5e0d84560c92179b24b1
3
+ size 3227946
models/word_ngram/ban_4gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "word",
4
+ "language": "ban",
5
+ "unique_ngrams": 212984,
6
+ "total_ngrams": 5231730
7
+ }
visualizations/embedding_isotropy.png ADDED