omarkamali commited on
Commit
bb3819a
·
verified ·
1 Parent(s): 1342a36

Upload all models and assets for azb (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 +554 -0
  3. models/embeddings/monolingual/azb_128d.bin +3 -0
  4. models/embeddings/monolingual/azb_128d.meta.json +1 -0
  5. models/embeddings/monolingual/azb_128d_metadata.json +13 -0
  6. models/embeddings/monolingual/azb_32d.bin +3 -0
  7. models/embeddings/monolingual/azb_32d.meta.json +1 -0
  8. models/embeddings/monolingual/azb_32d_metadata.json +13 -0
  9. models/embeddings/monolingual/azb_64d.bin +3 -0
  10. models/embeddings/monolingual/azb_64d.meta.json +1 -0
  11. models/embeddings/monolingual/azb_64d_metadata.json +13 -0
  12. models/subword_markov/azb_markov_ctx1_subword.parquet +3 -0
  13. models/subword_markov/azb_markov_ctx1_subword_metadata.json +7 -0
  14. models/subword_markov/azb_markov_ctx2_subword.parquet +3 -0
  15. models/subword_markov/azb_markov_ctx2_subword_metadata.json +7 -0
  16. models/subword_markov/azb_markov_ctx3_subword.parquet +3 -0
  17. models/subword_markov/azb_markov_ctx3_subword_metadata.json +7 -0
  18. models/subword_markov/azb_markov_ctx4_subword.parquet +3 -0
  19. models/subword_markov/azb_markov_ctx4_subword_metadata.json +7 -0
  20. models/subword_ngram/azb_2gram_subword.parquet +3 -0
  21. models/subword_ngram/azb_2gram_subword_metadata.json +7 -0
  22. models/subword_ngram/azb_3gram_subword.parquet +3 -0
  23. models/subword_ngram/azb_3gram_subword_metadata.json +7 -0
  24. models/subword_ngram/azb_4gram_subword.parquet +3 -0
  25. models/subword_ngram/azb_4gram_subword_metadata.json +7 -0
  26. models/tokenizer/azb_tokenizer_16k.model +3 -0
  27. models/tokenizer/azb_tokenizer_16k.vocab +0 -0
  28. models/tokenizer/azb_tokenizer_32k.model +3 -0
  29. models/tokenizer/azb_tokenizer_32k.vocab +0 -0
  30. models/tokenizer/azb_tokenizer_64k.model +3 -0
  31. models/tokenizer/azb_tokenizer_64k.vocab +0 -0
  32. models/tokenizer/azb_tokenizer_8k.model +3 -0
  33. models/tokenizer/azb_tokenizer_8k.vocab +0 -0
  34. models/vocabulary/azb_vocabulary.parquet +3 -0
  35. models/vocabulary/azb_vocabulary_metadata.json +16 -0
  36. models/word_markov/azb_markov_ctx1_word.parquet +3 -0
  37. models/word_markov/azb_markov_ctx1_word_metadata.json +7 -0
  38. models/word_markov/azb_markov_ctx2_word.parquet +3 -0
  39. models/word_markov/azb_markov_ctx2_word_metadata.json +7 -0
  40. models/word_markov/azb_markov_ctx3_word.parquet +3 -0
  41. models/word_markov/azb_markov_ctx3_word_metadata.json +7 -0
  42. models/word_markov/azb_markov_ctx4_word.parquet +3 -0
  43. models/word_markov/azb_markov_ctx4_word_metadata.json +7 -0
  44. models/word_ngram/azb_2gram_word.parquet +3 -0
  45. models/word_ngram/azb_2gram_word_metadata.json +7 -0
  46. models/word_ngram/azb_3gram_word.parquet +3 -0
  47. models/word_ngram/azb_3gram_word_metadata.json +7 -0
  48. models/word_ngram/azb_4gram_word.parquet +3 -0
  49. models/word_ngram/azb_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,554 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: azb
3
+ language_name: AZB
4
+ language_family: turkic_oghuz
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - monolingual
14
+ - family-turkic_oghuz
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.198
27
+ - name: best_isotropy
28
+ type: isotropy
29
+ value: 0.8242
30
+ - name: vocabulary_size
31
+ type: vocab
32
+ value: 317640
33
+ generated: 2025-12-27
34
+ ---
35
+
36
+ # AZB - Wikilangs Models
37
+ ## Comprehensive Research Report & Full Ablation Study
38
+
39
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **AZB** 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.179x | 3.12 | 0.3165% | 385,493 |
76
+ | **16k** | 3.558x | 3.49 | 0.3542% | 344,465 |
77
+ | **32k** | 3.895x | 3.82 | 0.3877% | 314,660 |
78
+ | **64k** | 4.198x 🏆 | 4.12 | 0.4179% | 291,946 |
79
+
80
+ ### Tokenization Examples
81
+
82
+ Below are sample sentences tokenized with each vocabulary size:
83
+
84
+ **Sample 1:** `ماقنتیتی ( ) روسیه اؤلکه‌سینده یئر آلان بیر کند دیر و مورمانسک اوبلاستیندا یئرلش...`
85
+
86
+ | Vocab | Tokens | Count |
87
+ |-------|--------|-------|
88
+ | 8k | `▁م اق ن تی تی ▁( ▁) ▁روسیه ▁اؤلکه ▁سینده ... (+19 more)` | 29 |
89
+ | 16k | `▁ماق ن تی تی ▁( ▁) ▁روسیه ▁اؤلکه ▁سینده ▁یئر ... (+16 more)` | 26 |
90
+ | 32k | `▁ماق نتی تی ▁( ▁) ▁روسیه ▁اؤلکه ▁سینده ▁یئر ▁آلان ... (+13 more)` | 23 |
91
+ | 64k | `▁ماق نتی تی ▁( ▁) ▁روسیه ▁اؤلکه ▁سینده ▁یئر ▁آلان ... (+13 more)` | 23 |
92
+
93
+ **Sample 2:** `سید ضیاء الدین طباطبائی یزدی (دوغوم:۱۲۸۶ شیراز -اؤلوم:۷ شهریور ۱۳۴۸ تهران) احمدش...`
94
+
95
+ | Vocab | Tokens | Count |
96
+ |-------|--------|-------|
97
+ | 8k | `▁سید ▁ض یا ء ▁الدین ▁ط با ط با ئی ... (+34 more)` | 44 |
98
+ | 16k | `▁سید ▁ضیا ء ▁الدین ▁ط با ط با ئی ▁ی ... (+29 more)` | 39 |
99
+ | 32k | `▁سید ▁ضیا ء ▁الدین ▁ط باط با ئی ▁یز دی ... (+26 more)` | 36 |
100
+ | 64k | `▁سید ▁ضیاء ▁الدین ▁طباطبا ئی ▁یزدی ▁( دوغوم : ۱۲ ... (+21 more)` | 31 |
101
+
102
+ **Sample 3:** `ویکسن (اینگیلیسجه: Vixen, Louisiana) آمریکانین لوئیزیانا ایالتینده یئرلشن بیر یا...`
103
+
104
+ | Vocab | Tokens | Count |
105
+ |-------|--------|-------|
106
+ | 8k | `▁ویک سن ▁( اینگیلیسجه : ▁v ix en , ▁louisiana ... (+15 more)` | 25 |
107
+ | 16k | `▁ویک سن ▁( اینگیلیسجه : ▁v ix en , ▁louisiana ... (+15 more)` | 25 |
108
+ | 32k | `▁ویک سن ▁( اینگیلیسجه : ▁v ix en , ▁louisiana ... (+15 more)` | 25 |
109
+ | 64k | `▁ویک سن ▁( اینگیلیسجه : ▁vixen , ▁louisiana ) ▁آمریکانین ... (+13 more)` | 23 |
110
+
111
+
112
+ ### Key Findings
113
+
114
+ - **Best Compression:** 64k achieves 4.198x compression
115
+ - **Lowest UNK Rate:** 8k with 0.3165% unknown tokens
116
+ - **Trade-off:** Larger vocabularies improve compression but increase model size
117
+ - **Recommendation:** 32k vocabulary provides optimal balance for production use
118
+
119
+ ---
120
+ ## 2. N-gram Model Evaluation
121
+
122
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
123
+
124
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
125
+
126
+ ### Results
127
+
128
+ | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
129
+ |--------|------------|---------|----------------|------------------|-------------------|
130
+ | **2-gram** | 7,645 🏆 | 12.90 | 268,529 | 30.2% | 57.7% |
131
+ | **2-gram** | 655 🏆 | 9.35 | 14,131 | 46.5% | 93.7% |
132
+ | **3-gram** | 13,711 | 13.74 | 512,828 | 24.9% | 52.4% |
133
+ | **3-gram** | 4,808 | 12.23 | 141,425 | 21.1% | 58.1% |
134
+ | **4-gram** | 23,522 | 14.52 | 979,944 | 21.9% | 47.2% |
135
+ | **4-gram** | 19,536 | 14.25 | 804,296 | 13.9% | 41.7% |
136
+
137
+ ### Top 5 N-grams by Size
138
+
139
+ **2-grams:**
140
+
141
+ | Rank | N-gram | Count |
142
+ |------|--------|-------|
143
+ | 1 | `بؤلمه :` | 391,479 |
144
+ | 2 | `او ْ` | 139,043 |
145
+ | 3 | `‌ لار` | 137,076 |
146
+ | 4 | `قایناقلار بؤلمه` | 125,059 |
147
+ | 5 | `‌ نین` | 118,471 |
148
+
149
+ **3-grams:**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `قایناقلار بؤلمه :` | 125,058 |
154
+ | 2 | `( اینگیلیسجه :` | 112,489 |
155
+ | 3 | `. قایناقلار بؤلمه` | 97,901 |
156
+ | 4 | `قایناق ‌ لار` | 92,555 |
157
+ | 5 | `ایشلدنلری طرفیندن یارانمیش` | 76,848 |
158
+
159
+ **4-grams:**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `. قایناقلار بؤلمه :` | 97,901 |
164
+ | 2 | `ایشلدنلری طرفیندن یارانمیش «` | 76,839 |
165
+ | 3 | `ْ خلانیلیبدیر ) .` | 76,827 |
166
+ | 4 | `» ، مقاله ‌` | 76,824 |
167
+ | 5 | `، مقاله ‌ سیندن` | 76,824 |
168
+
169
+
170
+ ### Key Findings
171
+
172
+ - **Best Perplexity:** 2-gram with 655
173
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
174
+ - **Coverage:** Top-1000 patterns cover ~42% of corpus
175
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
176
+
177
+ ---
178
+ ## 3. Markov Chain Evaluation
179
+
180
+ ![Markov Entropy](visualizations/markov_entropy.png)
181
+
182
+ ![Markov Branching](visualizations/markov_branching.png)
183
+
184
+ ### Results
185
+
186
+ | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
187
+ |---------|-------------|------------|------------------|-----------------|----------------|
188
+ | **1** | 0.4591 | 1.375 | 4.28 | 1,005,885 | 54.1% |
189
+ | **1** | 1.2059 | 2.307 | 10.74 | 2,934 | 0.0% |
190
+ | **2** | 0.2308 | 1.173 | 1.71 | 4,302,287 | 76.9% |
191
+ | **2** | 1.1061 | 2.153 | 8.32 | 31,498 | 0.0% |
192
+ | **3** | 0.1101 | 1.079 | 1.28 | 7,369,809 | 89.0% |
193
+ | **3** | 0.9393 | 1.918 | 5.09 | 262,151 | 6.1% |
194
+ | **4** | 0.0637 🏆 | 1.045 | 1.14 | 9,387,722 | 93.6% |
195
+ | **4** | 0.7222 🏆 | 1.650 | 3.21 | 1,333,406 | 27.8% |
196
+
197
+ ### Generated Text Samples
198
+
199
+ Below are text samples generated from each Markov chain model:
200
+
201
+ **Context Size 1:**
202
+
203
+ 1. `‌ ایللیین اووللرین ده یاشایان اینسانلار بؤلمه : bhumibol adulyadej crown , footballer , alchimie du`
204
+ 2. `. قان معائناتی و زنگین ‌ نین ایشلدنلری طرفیندن یارانمیش « panama 2 episodes ایلآدی رو`
205
+ 3. `: sergey ryzhikov ( ۱۹۴۸ ایلینده گونئی کارولینا ( تحصیلات ) رومنی ( لهیستانجا : 2`
206
+
207
+ **Context Size 2:**
208
+
209
+ 1. `بؤلمه : وورت بؤلگه ‌ سیاراک بؤلگه ‌ سی ‌ دیر گؤرونتولر قایناق ‌ لار اینگیلیسجه ویکی`
210
+ 2. `او ْ یونچو . ۲۶ ژوئن ۱۹۵۷ میلادی تاریخیندا وفات ائدیب . قایناق ‌ لار اینگیلیسجه ویکی`
211
+ 3. `‌ لار بؤلمه : آمریکا شهرلری بؤلمه : گرینزبورو دوغوملولار بؤلمه : ۲۰۱۹ - جو ایلینده افغانیستاندا`
212
+
213
+ **Context Size 3:**
214
+
215
+ 1. `قایناقلار بؤلمه : هیندوستان کندلری en : kahra`
216
+ 2. `( اینگیلیسجه : louis prima ) آمریکالی موغنی ، یازیچی و او ْ ندان ایستیفاده ائتمیشدیر . روبنسین`
217
+ 3. `. قایناقلار بؤلمه : هیندوستان کندلری en : kalawad`
218
+
219
+ **Context Size 4:**
220
+
221
+ 1. `. قایناقلار بؤلمه : هیندوستان کندلری en : balowal`
222
+ 2. `ایشلدنلری طرفیندن یارانمیش « crabtree ' s catalyst » ، مقاله ‌ سیندن گؤتورولوبدور . ( ۷ سپتامبر ۲۰۱۷`
223
+ 3. `، مقاله ‌ سیندن گؤتورولوبدور . ( ۱۲ ژوئن ۲۰۱۸ تاریخینده یو ْ خلانیلیبدیر ) . بؤلمه : ایستادیوملار`
224
+
225
+
226
+ ### Key Findings
227
+
228
+ - **Best Predictability:** Context-4 with 93.6% predictability
229
+ - **Branching Factor:** Decreases with context size (more deterministic)
230
+ - **Memory Trade-off:** Larger contexts require more storage (1,333,406 contexts)
231
+ - **Recommendation:** Context-3 or Context-4 for text generation
232
+
233
+ ---
234
+ ## 4. Vocabulary Analysis
235
+
236
+ ![Zipf's Law](visualizations/zipf_law.png)
237
+
238
+ ![Top Words](visualizations/top20_words.png)
239
+
240
+ ![Coverage Curve](visualizations/vocab_coverage.png)
241
+
242
+ ### Statistics
243
+
244
+ | Metric | Value |
245
+ |--------|-------|
246
+ | Vocabulary Size | 317,640 |
247
+ | Total Tokens | 16,697,106 |
248
+ | Mean Frequency | 52.57 |
249
+ | Median Frequency | 3 |
250
+ | Frequency Std Dev | 1499.80 |
251
+
252
+ ### Most Common Words
253
+
254
+ | Rank | Word | Frequency |
255
+ |------|------|-----------|
256
+ | 1 | بؤلمه | 391,840 |
257
+ | 2 | و | 291,285 |
258
+ | 3 | اینگیلیسجه | 188,551 |
259
+ | 4 | بیر | 169,796 |
260
+ | 5 | او | 145,694 |
261
+ | 6 | قایناقلار | 143,368 |
262
+ | 7 | سی | 139,966 |
263
+ | 8 | لار | 138,388 |
264
+ | 9 | دیر | 132,038 |
265
+ | 10 | the | 130,277 |
266
+
267
+ ### Least Common Words (from vocabulary)
268
+
269
+ | Rank | Word | Frequency |
270
+ |------|------|-----------|
271
+ | 1 | سئندن | 2 |
272
+ | 2 | ائششکین | 2 |
273
+ | 3 | onager | 2 |
274
+ | 4 | داشناکلارلا | 2 |
275
+ | 5 | قۇلان | 2 |
276
+ | 6 | آسینۇس | 2 |
277
+ | 7 | هئمیو | 2 |
278
+ | 8 | تاپؽلمیشدیر | 2 |
279
+ | 9 | kulan | 2 |
280
+ | 10 | کسا | 2 |
281
+
282
+ ### Zipf's Law Analysis
283
+
284
+ | Metric | Value |
285
+ |--------|-------|
286
+ | Zipf Coefficient | 1.1842 |
287
+ | R² (Goodness of Fit) | 0.995333 |
288
+ | Adherence Quality | **excellent** |
289
+
290
+ ### Coverage Analysis
291
+
292
+ | Top N Words | Coverage |
293
+ |-------------|----------|
294
+ | Top 100 | 36.8% |
295
+ | Top 1,000 | 66.7% |
296
+ | Top 5,000 | 81.2% |
297
+ | Top 10,000 | 85.9% |
298
+
299
+ ### Key Findings
300
+
301
+ - **Zipf Compliance:** R²=0.9953 indicates excellent adherence to Zipf's law
302
+ - **High Frequency Dominance:** Top 100 words cover 36.8% of corpus
303
+ - **Long Tail:** 307,640 words needed for remaining 14.1% coverage
304
+
305
+ ---
306
+ ## 5. Word Embeddings Evaluation
307
+
308
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
309
+
310
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
311
+
312
+ ![t-SNE Words](visualizations/tsne_words.png)
313
+
314
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
315
+
316
+ ### Model Comparison
317
+
318
+ | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
319
+ |-------|------------|-----------|----------|----------|----------|
320
+ | **mono_32d** | 134,712 | 32 | 5.098 | 1.243 | 0.8242 🏆 |
321
+ | **mono_64d** | 134,712 | 64 | 5.525 | 1.165 | 0.7928 |
322
+ | **mono_128d** | 134,712 | 128 | 6.056 | 1.052 | 0.7520 |
323
+ | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
324
+
325
+ ### Key Findings
326
+
327
+ - **Best Isotropy:** mono_32d with 0.8242 (more uniform distribution)
328
+ - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
329
+ - **Vocabulary Coverage:** All models cover 134,712 words
330
+ - **Recommendation:** 100d for balanced semantic capture and efficiency
331
+
332
+ ---
333
+ ## 6. Summary & Recommendations
334
+
335
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
336
+
337
+ ### Production Recommendations
338
+
339
+ | Component | Recommended | Rationale |
340
+ |-----------|-------------|-----------|
341
+ | Tokenizer | **32k BPE** | Best compression (4.20x) with low UNK rate |
342
+ | N-gram | **5-gram** | Lowest perplexity (655) |
343
+ | Markov | **Context-4** | Highest predictability (93.6%) |
344
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
345
+
346
+ ---
347
+ ## Appendix: Metrics Glossary & Interpretation Guide
348
+
349
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
350
+
351
+ ### Tokenizer Metrics
352
+
353
+ **Compression Ratio**
354
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
355
+ >
356
+ > *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.
357
+ >
358
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
359
+
360
+ **Average Token Length (Fertility)**
361
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
362
+ >
363
+ > *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.
364
+ >
365
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
366
+
367
+ **Unknown Token Rate (OOV Rate)**
368
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
369
+ >
370
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
371
+ >
372
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
373
+
374
+ ### N-gram Model Metrics
375
+
376
+ **Perplexity**
377
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
378
+ >
379
+ > *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.
380
+ >
381
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
382
+
383
+ **Entropy**
384
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
385
+ >
386
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
387
+ >
388
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
389
+
390
+ **Coverage (Top-K)**
391
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
392
+ >
393
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
394
+ >
395
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
396
+
397
+ ### Markov Chain Metrics
398
+
399
+ **Average Entropy**
400
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
401
+ >
402
+ > *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).
403
+ >
404
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
405
+
406
+ **Branching Factor**
407
+ > *Definition:* Average number of unique next tokens observed for each context.
408
+ >
409
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
410
+ >
411
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
412
+
413
+ **Predictability**
414
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
415
+ >
416
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
417
+ >
418
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
419
+
420
+ ### Vocabulary & Zipf's Law Metrics
421
+
422
+ **Zipf's Coefficient**
423
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
424
+ >
425
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
426
+ >
427
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
428
+
429
+ **R² (Coefficient of Determination)**
430
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
431
+ >
432
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
433
+ >
434
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
435
+
436
+ **Vocabulary Coverage**
437
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
438
+ >
439
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
440
+ >
441
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
442
+
443
+ ### Word Embedding Metrics
444
+
445
+ **Isotropy**
446
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
447
+ >
448
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
449
+ >
450
+ > *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.
451
+
452
+ **Average Norm**
453
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
454
+ >
455
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
456
+ >
457
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
458
+
459
+ **Cosine Similarity**
460
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
461
+ >
462
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
463
+ >
464
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
465
+
466
+ **t-SNE Visualization**
467
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
468
+ >
469
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
470
+ >
471
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
472
+
473
+ ### General Interpretation Guidelines
474
+
475
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
476
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
477
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
478
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
479
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
480
+
481
+
482
+ ### Visualizations Index
483
+
484
+ | Visualization | Description |
485
+ |---------------|-------------|
486
+ | Tokenizer Compression | Compression ratios by vocabulary size |
487
+ | Tokenizer Fertility | Average token length by vocabulary |
488
+ | Tokenizer OOV | Unknown token rates |
489
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
490
+ | N-gram Perplexity | Perplexity by n-gram size |
491
+ | N-gram Entropy | Entropy by n-gram size |
492
+ | N-gram Coverage | Top pattern coverage |
493
+ | N-gram Unique | Unique n-gram counts |
494
+ | Markov Entropy | Entropy by context size |
495
+ | Markov Branching | Branching factor by context |
496
+ | Markov Contexts | Unique context counts |
497
+ | Zipf's Law | Frequency-rank distribution with fit |
498
+ | Vocab Frequency | Word frequency distribution |
499
+ | Top 20 Words | Most frequent words |
500
+ | Vocab Coverage | Cumulative coverage curve |
501
+ | Embedding Isotropy | Vector space uniformity |
502
+ | Embedding Norms | Vector magnitude distribution |
503
+ | Embedding Similarity | Word similarity heatmap |
504
+ | Nearest Neighbors | Similar words for key terms |
505
+ | t-SNE Words | 2D word embedding visualization |
506
+ | t-SNE Sentences | 2D sentence embedding visualization |
507
+ | Position Encoding | Encoding method comparison |
508
+ | Model Sizes | Storage requirements |
509
+ | Performance Dashboard | Comprehensive performance overview |
510
+
511
+ ---
512
+ ## About This Project
513
+
514
+ ### Data Source
515
+
516
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
517
+
518
+ ### Project
519
+
520
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
521
+
522
+ ### Maintainer
523
+
524
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
525
+
526
+ ### Citation
527
+
528
+ If you use these models in your research, please cite:
529
+
530
+ ```bibtex
531
+ @misc{wikilangs2025,
532
+ author = {Kamali, Omar},
533
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
534
+ year = {2025},
535
+ publisher = {HuggingFace},
536
+ url = {https://huggingface.co/wikilangs}
537
+ institution = {Omneity Labs}
538
+ }
539
+ ```
540
+
541
+ ### License
542
+
543
+ MIT License - Free for academic and commercial use.
544
+
545
+ ### Links
546
+
547
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
548
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
549
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
550
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
551
+ ---
552
+ *Generated by Wikilangs Models Pipeline*
553
+
554
+ *Report Date: 2025-12-27 22:57:16*
models/embeddings/monolingual/azb_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e36e34c4aa5231270647ed20effcf7427bf66e34bf81f236183cc4d2910eef2d
3
+ size 1164785458
models/embeddings/monolingual/azb_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "azb", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/azb_128d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "azb",
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": 134712
13
+ }
models/embeddings/monolingual/azb_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24dbd964d896595164ff03aa344de312318ab9024fadf1dda4173202ae37885b
3
+ size 293326642
models/embeddings/monolingual/azb_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "azb", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/azb_32d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "azb",
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": 134712
13
+ }
models/embeddings/monolingual/azb_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6193385dacda8dfbeee9fb60f5514bc20a74571e0a03c1d6372443118dd7271a
3
+ size 583812914
models/embeddings/monolingual/azb_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "azb", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/azb_64d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "azb",
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": 134712
13
+ }
models/subword_markov/azb_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5b4c16c0cc262c904b79b490c2cb1ed8fa1b624111ee815c8a153b6470de540
3
+ size 249202
models/subword_markov/azb_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_contexts": 2934,
6
+ "total_transitions": 117347430
7
+ }
models/subword_markov/azb_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bb9b0eb974612ded94c2843ab693fd0d8bae85b9e9719cc399abf8806f0d8e6
3
+ size 2049903
models/subword_markov/azb_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_contexts": 31498,
6
+ "total_transitions": 117102967
7
+ }
models/subword_markov/azb_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:364a895a59b1416e468680327f44afdb5268c191c6d191e6b325691c0f3c3920
3
+ size 10556130
models/subword_markov/azb_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_contexts": 262151,
6
+ "total_transitions": 116858504
7
+ }
models/subword_markov/azb_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bbc3fbabaaf693d43117cfaccb8266ae07186aa1c883be3dd208a2f9aad8724
3
+ size 35507016
models/subword_markov/azb_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_contexts": 1333406,
6
+ "total_transitions": 116614041
7
+ }
models/subword_ngram/azb_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccea8a8d09e5e2c50495929c3ed6209d6250e502dbf821570083b812edd44ab9
3
+ size 198369
models/subword_ngram/azb_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_ngrams": 14131,
6
+ "total_ngrams": 117347430
7
+ }
models/subword_ngram/azb_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e3575791a79055ab8760da4b584e9186ebd76add76ef9131f8b1c690f6f619c
3
+ size 1733384
models/subword_ngram/azb_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_ngrams": 141425,
6
+ "total_ngrams": 117102967
7
+ }
models/subword_ngram/azb_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d7bf39c2289a572f7d6d41c6ee5b70e899bc025d9c7d73b34bf4e38cac70f4
3
+ size 9977940
models/subword_ngram/azb_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "azb",
5
+ "unique_ngrams": 804296,
6
+ "total_ngrams": 116858504
7
+ }
models/tokenizer/azb_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3884a029fd3957ce39121cce73cb5a8166d611ce94cef5675b43779699c0bd8a
3
+ size 524898
models/tokenizer/azb_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/azb_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7da271a7e77b591daaf850d5e0ca617ac859c9d9797bfc37fd65791b5cfc15fe
3
+ size 819972
models/tokenizer/azb_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/azb_tokenizer_64k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54cad8dd709976bcc93887547846baf55cbc48f7161ddab74a438fd09acb2685
3
+ size 1430728
models/tokenizer/azb_tokenizer_64k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/azb_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ecb3b8a28e5f01ac0a0633151869481ce9b8a3af8ad9c54007045e09589ce83
3
+ size 382716
models/tokenizer/azb_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/azb_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c0ed41ec149e3751f6a1ace2372fcee3d368b53c6355b2765ae7b98caed8924
3
+ size 4872673
models/vocabulary/azb_vocabulary_metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "azb",
3
+ "vocabulary_size": 317640,
4
+ "statistics": {
5
+ "type_token_ratio": 0.05786680977434657,
6
+ "coverage": {
7
+ "top_100": 0.35375568505036664,
8
+ "top_1000": 0.6410291673928461,
9
+ "top_5000": 0.7797111502624887,
10
+ "top_10000": 0.8250270483868463
11
+ },
12
+ "hapax_count": 688404,
13
+ "hapax_ratio": 0.6842682825005666,
14
+ "total_documents": 244463
15
+ }
16
+ }
models/word_markov/azb_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f8d5ae87507c80aafd715379fb38b0179c5049568d6f9e2b033dffefdfb0395
3
+ size 49308871
models/word_markov/azb_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_contexts": 1005885,
6
+ "total_transitions": 23557605
7
+ }
models/word_markov/azb_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c8a73136462b690d7c5514e30b6f6b274d36f9f121fbafeb5e99c8af7ec34c3
3
+ size 115872504
models/word_markov/azb_markov_ctx2_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_contexts": 4302287,
6
+ "total_transitions": 23313143
7
+ }
models/word_markov/azb_markov_ctx3_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acd2b58441a2312fe6aff4e924e858f5d85a5843063ac2adf427f032e6628d22
3
+ size 173864269
models/word_markov/azb_markov_ctx3_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_contexts": 7369809,
6
+ "total_transitions": 23068685
7
+ }
models/word_markov/azb_markov_ctx4_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:849a5c01ecae01be263fc6446cd008e4ee8cd861a0e83cd8e5da46a5f178d5ae
3
+ size 222555153
models/word_markov/azb_markov_ctx4_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_contexts": 9387722,
6
+ "total_transitions": 22824244
7
+ }
models/word_ngram/azb_2gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d9b9580f5793b668288ab3a7773338440486cda750c383b557c68ac0bc9221f
3
+ size 4287214
models/word_ngram/azb_2gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_ngrams": 268529,
6
+ "total_ngrams": 23557605
7
+ }
models/word_ngram/azb_3gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec70d427e623958a19690dad68f77970e4b6ff77368e7285059f2db52e46e7e6
3
+ size 9355723
models/word_ngram/azb_3gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_ngrams": 512828,
6
+ "total_ngrams": 23313143
7
+ }
models/word_ngram/azb_4gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b30786e6c43d7ce3c871df1db1b870820ce26c16155e9f336633c143d3099b5
3
+ size 19762130
models/word_ngram/azb_4gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "word",
4
+ "language": "azb",
5
+ "unique_ngrams": 979944,
6
+ "total_ngrams": 23068685
7
+ }
visualizations/embedding_isotropy.png ADDED