omarkamali commited on
Commit
95b76b9
·
verified ·
1 Parent(s): c43c442

Upload all models and assets for ay (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 +565 -0
  3. models/embeddings/monolingual/ay_128d.bin +3 -0
  4. models/embeddings/monolingual/ay_128d.meta.json +1 -0
  5. models/embeddings/monolingual/ay_128d_metadata.json +13 -0
  6. models/embeddings/monolingual/ay_32d.bin +3 -0
  7. models/embeddings/monolingual/ay_32d.meta.json +1 -0
  8. models/embeddings/monolingual/ay_32d_metadata.json +13 -0
  9. models/embeddings/monolingual/ay_64d.bin +3 -0
  10. models/embeddings/monolingual/ay_64d.meta.json +1 -0
  11. models/embeddings/monolingual/ay_64d_metadata.json +13 -0
  12. models/subword_markov/ay_markov_ctx1_subword.parquet +3 -0
  13. models/subword_markov/ay_markov_ctx1_subword_metadata.json +7 -0
  14. models/subword_markov/ay_markov_ctx2_subword.parquet +3 -0
  15. models/subword_markov/ay_markov_ctx2_subword_metadata.json +7 -0
  16. models/subword_markov/ay_markov_ctx3_subword.parquet +3 -0
  17. models/subword_markov/ay_markov_ctx3_subword_metadata.json +7 -0
  18. models/subword_markov/ay_markov_ctx4_subword.parquet +3 -0
  19. models/subword_markov/ay_markov_ctx4_subword_metadata.json +7 -0
  20. models/subword_ngram/ay_2gram_subword.parquet +3 -0
  21. models/subword_ngram/ay_2gram_subword_metadata.json +7 -0
  22. models/subword_ngram/ay_3gram_subword.parquet +3 -0
  23. models/subword_ngram/ay_3gram_subword_metadata.json +7 -0
  24. models/subword_ngram/ay_4gram_subword.parquet +3 -0
  25. models/subword_ngram/ay_4gram_subword_metadata.json +7 -0
  26. models/tokenizer/ay_tokenizer_16k.model +3 -0
  27. models/tokenizer/ay_tokenizer_16k.vocab +0 -0
  28. models/tokenizer/ay_tokenizer_32k.model +3 -0
  29. models/tokenizer/ay_tokenizer_32k.vocab +0 -0
  30. models/tokenizer/ay_tokenizer_64k.model +3 -0
  31. models/tokenizer/ay_tokenizer_64k.vocab +0 -0
  32. models/tokenizer/ay_tokenizer_8k.model +3 -0
  33. models/tokenizer/ay_tokenizer_8k.vocab +0 -0
  34. models/vocabulary/ay_vocabulary.parquet +3 -0
  35. models/vocabulary/ay_vocabulary_metadata.json +16 -0
  36. models/word_markov/ay_markov_ctx1_word.parquet +3 -0
  37. models/word_markov/ay_markov_ctx1_word_metadata.json +7 -0
  38. models/word_markov/ay_markov_ctx2_word.parquet +3 -0
  39. models/word_markov/ay_markov_ctx2_word_metadata.json +7 -0
  40. models/word_markov/ay_markov_ctx3_word.parquet +3 -0
  41. models/word_markov/ay_markov_ctx3_word_metadata.json +7 -0
  42. models/word_markov/ay_markov_ctx4_word.parquet +3 -0
  43. models/word_markov/ay_markov_ctx4_word_metadata.json +7 -0
  44. models/word_ngram/ay_2gram_word.parquet +3 -0
  45. models/word_ngram/ay_2gram_word_metadata.json +7 -0
  46. models/word_ngram/ay_3gram_word.parquet +3 -0
  47. models/word_ngram/ay_3gram_word_metadata.json +7 -0
  48. models/word_ngram/ay_4gram_word.parquet +3 -0
  49. models/word_ngram/ay_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,565 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ay
3
+ language_name: AY
4
+ language_family: american_aymara
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - monolingual
14
+ - family-american_aymara
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.018
27
+ - name: best_isotropy
28
+ type: isotropy
29
+ value: 0.7731
30
+ - name: vocabulary_size
31
+ type: vocab
32
+ value: 25329
33
+ generated: 2025-12-27
34
+ ---
35
+
36
+ # AY - Wikilangs Models
37
+ ## Comprehensive Research Report & Full Ablation Study
38
+
39
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **AY** 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.240x | 3.13 | 0.2414% | 169,821 |
76
+ | **16k** | 3.519x | 3.40 | 0.2623% | 156,332 |
77
+ | **32k** | 3.774x | 3.65 | 0.2812% | 145,778 |
78
+ | **64k** | 4.018x 🏆 | 3.88 | 0.2994% | 136,918 |
79
+
80
+ ### Tokenization Examples
81
+
82
+ Below are sample sentences tokenized with each vocabulary size:
83
+
84
+ **Sample 1:** `Phuyu (), jamach'inakana janchipa imxatiriquña yänaka. Lulina phuyupaxa k'acha q...`
85
+
86
+ | Vocab | Tokens | Count |
87
+ |-------|--------|-------|
88
+ | 8k | `▁phuyu ▁(), ▁jamach ' i nakana ▁janchipa ▁im x atiri ... (+22 more)` | 32 |
89
+ | 16k | `▁phuyu ▁(), ▁jamach ' i nakana ▁janchipa ▁im x atiri ... (+22 more)` | 32 |
90
+ | 32k | `▁phuyu ▁(), ▁jamach ' inakana ▁janchipa ▁im x atiri quña ... (+18 more)` | 28 |
91
+ | 64k | `▁phuyu ▁(), ▁jamach ' inakana ▁janchipa ▁im x atiri quña ... (+16 more)` | 26 |
92
+
93
+ **Sample 2:** `1920 - mara.
94
+
95
+ Yuriña
96
+ Toshiro Mifune.
97
+
98
+ Jiwaña
99
+
100
+ Uruyaña
101
+ Categoría:Maranaka`
102
+
103
+ | Vocab | Tokens | Count |
104
+ |-------|--------|-------|
105
+ | 8k | `▁ 1 9 2 0 ▁- ▁mara . ▁yuriña ▁tos ... (+11 more)` | 21 |
106
+ | 16k | `▁ 1 9 2 0 ▁- ▁mara . ▁yuriña ▁tos ... (+8 more)` | 18 |
107
+ | 32k | `▁ 1 9 2 0 ▁- ▁mara . ▁yuriña ▁toshiro ... (+7 more)` | 17 |
108
+ | 64k | `▁ 1 9 2 0 ▁- ▁mara . ▁yuriña ▁toshiro ... (+7 more)` | 17 |
109
+
110
+ **Sample 3:** `Oaxaca (), marka istadu Mïxiku.
111
+ Oaxaca nayriri marka: Oaxaca de Juárez.
112
+
113
+ Catego...`
114
+
115
+ | Vocab | Tokens | Count |
116
+ |-------|--------|-------|
117
+ | 8k | `▁o axa ca ▁(), ▁marka ▁istadu ▁mïxiku . ▁o axa ... (+13 more)` | 23 |
118
+ | 16k | `▁oaxaca ▁(), ▁marka ▁istadu ▁mïxiku . ▁oaxaca ▁nayriri ▁marka : ... (+7 more)` | 17 |
119
+ | 32k | `▁oaxaca ▁(), ▁marka ▁istadu ▁mïxiku . ▁oaxaca ▁nayriri ▁marka : ... (+7 more)` | 17 |
120
+ | 64k | `▁oaxaca ▁(), ▁marka ▁istadu ▁mïxiku . ▁oaxaca ▁nayriri ▁marka : ... (+7 more)` | 17 |
121
+
122
+
123
+ ### Key Findings
124
+
125
+ - **Best Compression:** 64k achieves 4.018x compression
126
+ - **Lowest UNK Rate:** 8k with 0.2414% unknown tokens
127
+ - **Trade-off:** Larger vocabularies improve compression but increase model size
128
+ - **Recommendation:** 32k vocabulary provides optimal balance for production use
129
+
130
+ ---
131
+ ## 2. N-gram Model Evaluation
132
+
133
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
134
+
135
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
136
+
137
+ ### Results
138
+
139
+ | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
140
+ |--------|------------|---------|----------------|------------------|-------------------|
141
+ | **2-gram** | 1,629 🏆 | 10.67 | 14,390 | 42.1% | 70.8% |
142
+ | **2-gram** | 335 🏆 | 8.39 | 3,058 | 62.7% | 98.6% |
143
+ | **3-gram** | 2,436 | 11.25 | 23,975 | 39.1% | 65.6% |
144
+ | **3-gram** | 2,346 | 11.20 | 22,295 | 28.7% | 70.7% |
145
+ | **4-gram** | 4,646 | 12.18 | 47,728 | 34.2% | 57.4% |
146
+ | **4-gram** | 9,050 | 13.14 | 97,814 | 19.6% | 48.1% |
147
+
148
+ ### Top 5 N-grams by Size
149
+
150
+ **2-grams:**
151
+
152
+ | Rank | N-gram | Count |
153
+ |------|--------|-------|
154
+ | 1 | `' a` | 22,172 |
155
+ | 2 | `jisk '` | 16,424 |
156
+ | 3 | `categoría :` | 12,913 |
157
+ | 4 | `t '` | 11,645 |
158
+ | 5 | `' aqa` | 10,721 |
159
+
160
+ **3-grams:**
161
+
162
+ | Rank | N-gram | Count |
163
+ |------|--------|-------|
164
+ | 1 | `jisk ' a` | 16,399 |
165
+ | 2 | `t ' aqa` | 10,718 |
166
+ | 3 | `a t '` | 10,632 |
167
+ | 4 | `' a t` | 10,632 |
168
+ | 5 | `' aqa suyu` | 8,509 |
169
+
170
+ **4-grams:**
171
+
172
+ | Rank | N-gram | Count |
173
+ |------|--------|-------|
174
+ | 1 | `' a t '` | 10,632 |
175
+ | 2 | `a t ' aqa` | 10,628 |
176
+ | 3 | `jisk ' a t` | 10,616 |
177
+ | 4 | `t ' aqa suyu` | 8,508 |
178
+ | 5 | `: jisk ' a` | 4,073 |
179
+
180
+
181
+ ### Key Findings
182
+
183
+ - **Best Perplexity:** 2-gram with 335
184
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
185
+ - **Coverage:** Top-1000 patterns cover ~48% of corpus
186
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
187
+
188
+ ---
189
+ ## 3. Markov Chain Evaluation
190
+
191
+ ![Markov Entropy](visualizations/markov_entropy.png)
192
+
193
+ ![Markov Branching](visualizations/markov_branching.png)
194
+
195
+ ### Results
196
+
197
+ | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
198
+ |---------|-------------|------------|------------------|-----------------|----------------|
199
+ | **1** | 0.6043 | 1.520 | 3.69 | 65,172 | 39.6% |
200
+ | **1** | 0.9793 | 1.971 | 7.56 | 953 | 2.1% |
201
+ | **2** | 0.2085 | 1.155 | 1.54 | 239,858 | 79.2% |
202
+ | **2** | 1.0055 | 2.008 | 6.09 | 7,201 | 0.0% |
203
+ | **3** | 0.0898 | 1.064 | 1.20 | 369,469 | 91.0% |
204
+ | **3** | 0.8336 | 1.782 | 3.92 | 43,833 | 16.6% |
205
+ | **4** | 0.0469 🏆 | 1.033 | 1.11 | 443,066 | 95.3% |
206
+ | **4** | 0.6060 🏆 | 1.522 | 2.52 | 171,955 | 39.4% |
207
+
208
+ ### Generated Text Samples
209
+
210
+ Below are text samples generated from each Markov chain model:
211
+
212
+ **Context Size 1:**
213
+
214
+ 1. `' a t ' aqa suyu kantarawi kantarawi tarata , punu jach ' a t '`
215
+ 2. `. wali alwat tukuñkamaw yuntampi wayt asitapjaniw . caritatis studium , bibliaxa mä jisk ' aq`
216
+ 3. `: freistaat thüringen suyu ( mendoza , ukax kunas manq ' a suyu asu 1889 mara`
217
+
218
+ **Context Size 2:**
219
+
220
+ 1. `' a t ' aqa suyu ( piruw ) categoría : warmi categoría : warmi : consuelo`
221
+ 2. `jisk ' a t ' aqa suyu asu jaqinaka kurakanaka 2011 - 2014 : bernabé martí .`
222
+ 3. `categoría : warmi categoría : jiwäwi 1890 categoría : jisk ' a suyu nayriri marka ) ,`
223
+
224
+ **Context Size 3:**
225
+
226
+ 1. `jisk ' a t ' aqa suyu asu jaqinaka kurakanaka 2011 - 2014 : wilfredo felimón vargas cotrado`
227
+ 2. `t ' aqa suyuxa ( kastilla aru : distrito de carabayllo ) nisqaqa huk jisk ' a t`
228
+ 3. `a t ' aqa suyu ( piruw ) categoría : jisk ' a t ' aqa suyu ;`
229
+
230
+ **Context Size 4:**
231
+
232
+ 1. `' a t ' aqa suyuwa , amarujawira jach ' a suyu . nayra sarnaqawi kamasqa chichu phaxsi 29`
233
+ 2. `a t ' aqa suyuwa , 22px | la libertad la libertad jach ' a suyu , wankayu jisk`
234
+ 3. `jisk ' a t ' aqa suyu ( piruw ) categoría : jisk ' a suyu munisipyu web (`
235
+
236
+
237
+ ### Key Findings
238
+
239
+ - **Best Predictability:** Context-4 with 95.3% predictability
240
+ - **Branching Factor:** Decreases with context size (more deterministic)
241
+ - **Memory Trade-off:** Larger contexts require more storage (171,955 contexts)
242
+ - **Recommendation:** Context-3 or Context-4 for text generation
243
+
244
+ ---
245
+ ## 4. Vocabulary Analysis
246
+
247
+ ![Zipf's Law](visualizations/zipf_law.png)
248
+
249
+ ![Top Words](visualizations/top20_words.png)
250
+
251
+ ![Coverage Curve](visualizations/vocab_coverage.png)
252
+
253
+ ### Statistics
254
+
255
+ | Metric | Value |
256
+ |--------|-------|
257
+ | Vocabulary Size | 25,329 |
258
+ | Total Tokens | 596,604 |
259
+ | Mean Frequency | 23.55 |
260
+ | Median Frequency | 4 |
261
+ | Frequency Std Dev | 287.74 |
262
+
263
+ ### Most Common Words
264
+
265
+ | Rank | Word | Frequency |
266
+ |------|------|-----------|
267
+ | 1 | a | 23,874 |
268
+ | 2 | jisk | 16,567 |
269
+ | 3 | suyu | 14,640 |
270
+ | 4 | categoría | 12,921 |
271
+ | 5 | t | 11,916 |
272
+ | 6 | de | 11,655 |
273
+ | 7 | aqa | 10,725 |
274
+ | 8 | jach | 7,168 |
275
+ | 9 | piruw | 5,369 |
276
+ | 10 | jaqinaka | 5,120 |
277
+
278
+ ### Least Common Words (from vocabulary)
279
+
280
+ | Rank | Word | Frequency |
281
+ |------|------|-----------|
282
+ | 1 | wirnisa | 2 |
283
+ | 2 | sawaru | 2 |
284
+ | 3 | tuminku | 2 |
285
+ | 4 | urupawa | 2 |
286
+ | 5 | capitalapawa | 2 |
287
+ | 6 | halloween | 2 |
288
+ | 7 | uttar | 2 |
289
+ | 8 | pradesh | 2 |
290
+ | 9 | quqanakampi | 2 |
291
+ | 10 | jawiranakat | 2 |
292
+
293
+ ### Zipf's Law Analysis
294
+
295
+ | Metric | Value |
296
+ |--------|-------|
297
+ | Zipf Coefficient | 1.1050 |
298
+ | R² (Goodness of Fit) | 0.997739 |
299
+ | Adherence Quality | **excellent** |
300
+
301
+ ### Coverage Analysis
302
+
303
+ | Top N Words | Coverage |
304
+ |-------------|----------|
305
+ | Top 100 | 46.7% |
306
+ | Top 1,000 | 73.4% |
307
+ | Top 5,000 | 87.8% |
308
+ | Top 10,000 | 93.3% |
309
+
310
+ ### Key Findings
311
+
312
+ - **Zipf Compliance:** R²=0.9977 indicates excellent adherence to Zipf's law
313
+ - **High Frequency Dominance:** Top 100 words cover 46.7% of corpus
314
+ - **Long Tail:** 15,329 words needed for remaining 6.7% coverage
315
+
316
+ ---
317
+ ## 5. Word Embeddings Evaluation
318
+
319
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
320
+
321
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
322
+
323
+ ![t-SNE Words](visualizations/tsne_words.png)
324
+
325
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
326
+
327
+ ### Model Comparison
328
+
329
+ | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
330
+ |-------|------------|-----------|----------|----------|----------|
331
+ | **mono_32d** | 10,362 | 32 | 4.255 | 0.785 | 0.7731 🏆 |
332
+ | **mono_64d** | 10,362 | 64 | 4.432 | 0.729 | 0.4752 |
333
+ | **mono_128d** | 10,362 | 128 | 4.521 | 0.731 | 0.1287 |
334
+ | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
335
+
336
+ ### Key Findings
337
+
338
+ - **Best Isotropy:** mono_32d with 0.7731 (more uniform distribution)
339
+ - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
340
+ - **Vocabulary Coverage:** All models cover 10,362 words
341
+ - **Recommendation:** 100d for balanced semantic capture and efficiency
342
+
343
+ ---
344
+ ## 6. Summary & Recommendations
345
+
346
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
347
+
348
+ ### Production Recommendations
349
+
350
+ | Component | Recommended | Rationale |
351
+ |-----------|-------------|-----------|
352
+ | Tokenizer | **32k BPE** | Best compression (4.02x) with low UNK rate |
353
+ | N-gram | **5-gram** | Lowest perplexity (335) |
354
+ | Markov | **Context-4** | Highest predictability (95.3%) |
355
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
356
+
357
+ ---
358
+ ## Appendix: Metrics Glossary & Interpretation Guide
359
+
360
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
361
+
362
+ ### Tokenizer Metrics
363
+
364
+ **Compression Ratio**
365
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
366
+ >
367
+ > *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.
368
+ >
369
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
370
+
371
+ **Average Token Length (Fertility)**
372
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
373
+ >
374
+ > *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.
375
+ >
376
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
377
+
378
+ **Unknown Token Rate (OOV Rate)**
379
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
380
+ >
381
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
382
+ >
383
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
384
+
385
+ ### N-gram Model Metrics
386
+
387
+ **Perplexity**
388
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
389
+ >
390
+ > *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.
391
+ >
392
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
393
+
394
+ **Entropy**
395
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
396
+ >
397
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
398
+ >
399
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
400
+
401
+ **Coverage (Top-K)**
402
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
403
+ >
404
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
405
+ >
406
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
407
+
408
+ ### Markov Chain Metrics
409
+
410
+ **Average Entropy**
411
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
412
+ >
413
+ > *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).
414
+ >
415
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
416
+
417
+ **Branching Factor**
418
+ > *Definition:* Average number of unique next tokens observed for each context.
419
+ >
420
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
421
+ >
422
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
423
+
424
+ **Predictability**
425
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
426
+ >
427
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
428
+ >
429
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
430
+
431
+ ### Vocabulary & Zipf's Law Metrics
432
+
433
+ **Zipf's Coefficient**
434
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
435
+ >
436
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
437
+ >
438
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
439
+
440
+ **R² (Coefficient of Determination)**
441
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
442
+ >
443
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
444
+ >
445
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
446
+
447
+ **Vocabulary Coverage**
448
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
449
+ >
450
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
451
+ >
452
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
453
+
454
+ ### Word Embedding Metrics
455
+
456
+ **Isotropy**
457
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
458
+ >
459
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
460
+ >
461
+ > *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.
462
+
463
+ **Average Norm**
464
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
465
+ >
466
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
467
+ >
468
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
469
+
470
+ **Cosine Similarity**
471
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
472
+ >
473
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
474
+ >
475
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
476
+
477
+ **t-SNE Visualization**
478
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
479
+ >
480
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
481
+ >
482
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
483
+
484
+ ### General Interpretation Guidelines
485
+
486
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
487
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
488
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
489
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
490
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
491
+
492
+
493
+ ### Visualizations Index
494
+
495
+ | Visualization | Description |
496
+ |---------------|-------------|
497
+ | Tokenizer Compression | Compression ratios by vocabulary size |
498
+ | Tokenizer Fertility | Average token length by vocabulary |
499
+ | Tokenizer OOV | Unknown token rates |
500
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
501
+ | N-gram Perplexity | Perplexity by n-gram size |
502
+ | N-gram Entropy | Entropy by n-gram size |
503
+ | N-gram Coverage | Top pattern coverage |
504
+ | N-gram Unique | Unique n-gram counts |
505
+ | Markov Entropy | Entropy by context size |
506
+ | Markov Branching | Branching factor by context |
507
+ | Markov Contexts | Unique context counts |
508
+ | Zipf's Law | Frequency-rank distribution with fit |
509
+ | Vocab Frequency | Word frequency distribution |
510
+ | Top 20 Words | Most frequent words |
511
+ | Vocab Coverage | Cumulative coverage curve |
512
+ | Embedding Isotropy | Vector space uniformity |
513
+ | Embedding Norms | Vector magnitude distribution |
514
+ | Embedding Similarity | Word similarity heatmap |
515
+ | Nearest Neighbors | Similar words for key terms |
516
+ | t-SNE Words | 2D word embedding visualization |
517
+ | t-SNE Sentences | 2D sentence embedding visualization |
518
+ | Position Encoding | Encoding method comparison |
519
+ | Model Sizes | Storage requirements |
520
+ | Performance Dashboard | Comprehensive performance overview |
521
+
522
+ ---
523
+ ## About This Project
524
+
525
+ ### Data Source
526
+
527
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
528
+
529
+ ### Project
530
+
531
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
532
+
533
+ ### Maintainer
534
+
535
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
536
+
537
+ ### Citation
538
+
539
+ If you use these models in your research, please cite:
540
+
541
+ ```bibtex
542
+ @misc{wikilangs2025,
543
+ author = {Kamali, Omar},
544
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
545
+ year = {2025},
546
+ publisher = {HuggingFace},
547
+ url = {https://huggingface.co/wikilangs}
548
+ institution = {Omneity Labs}
549
+ }
550
+ ```
551
+
552
+ ### License
553
+
554
+ MIT License - Free for academic and commercial use.
555
+
556
+ ### Links
557
+
558
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
559
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
560
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
561
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
562
+ ---
563
+ *Generated by Wikilangs Models Pipeline*
564
+
565
+ *Report Date: 2025-12-27 20:48:58*
models/embeddings/monolingual/ay_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:593d231b5c862c91d99a298b35d7a8a92af5889f7195a1096550a6cf493db26c
3
+ size 1034781490
models/embeddings/monolingual/ay_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ay", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ay_128d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ay",
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": 10362
13
+ }
models/embeddings/monolingual/ay_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1148550baa373f84d4bcb57f3b890769155df89eb33f5ca94e031220a6178d22
3
+ size 258823474
models/embeddings/monolingual/ay_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ay", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ay_32d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ay",
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": 10362
13
+ }
models/embeddings/monolingual/ay_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11f64944a6949f805320a9a0366bed7ddb5434a527e1796dc32cbf647cb04617
3
+ size 517476146
models/embeddings/monolingual/ay_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ay", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/ay_64d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ay",
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": 10362
13
+ }
models/subword_markov/ay_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a501564aa7bab749452432f4296ba393aa4888e0600291301c8acb9b46087910
3
+ size 60606
models/subword_markov/ay_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_contexts": 953,
6
+ "total_transitions": 4432265
7
+ }
models/subword_markov/ay_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66f2745ff633512b340bdf8201dd98192e37615cc9042243528ef27b8cf231bb
3
+ size 339502
models/subword_markov/ay_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_contexts": 7201,
6
+ "total_transitions": 4426837
7
+ }
models/subword_markov/ay_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa6ef1a990648f3d87315c9fbfaba1abc08319ae83afd78f5259b68a6e9622fd
3
+ size 1261852
models/subword_markov/ay_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_contexts": 43833,
6
+ "total_transitions": 4421409
7
+ }
models/subword_markov/ay_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a65fd0941e7426fe960b1fee56ea748a94605c4412ad68c9094e3ae9643915cc
3
+ size 3425718
models/subword_markov/ay_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_contexts": 171955,
6
+ "total_transitions": 4415981
7
+ }
models/subword_ngram/ay_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b4e4597fceea0d7c8119438b61b0b4477dd0e8b8fde6f7f68febdb690bf5333
3
+ size 41037
models/subword_ngram/ay_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_ngrams": 3058,
6
+ "total_ngrams": 4432265
7
+ }
models/subword_ngram/ay_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00b41467becbb77b0b605997b7fefc5dfb74440266d63b49cbe7a413cc01e080
3
+ size 270869
models/subword_ngram/ay_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_ngrams": 22295,
6
+ "total_ngrams": 4426837
7
+ }
models/subword_ngram/ay_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47d09c14900c8b9ae9a7d8df02df50e5b5485695a6fc0b931bef0d14df9ce8b1
3
+ size 1123557
models/subword_ngram/ay_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "ay",
5
+ "unique_ngrams": 97814,
6
+ "total_ngrams": 4421409
7
+ }
models/tokenizer/ay_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bacd6b6b67eecb376d4d6587a319913a3beba867c2d3084857448cfac3757e48
3
+ size 503226
models/tokenizer/ay_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ay_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff707a0d80083da5281395b809fd5fa3d8f96da2ef90f415d80f52d3eef2121a
3
+ size 777476
models/tokenizer/ay_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ay_tokenizer_64k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e56a192de4ae4f2d2a0ff3ab901c71c57726cc607781da09d9ccbcc07365fc0
3
+ size 1370860
models/tokenizer/ay_tokenizer_64k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ay_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a75da91da908126d1fafd3569251faaa4952976ef9181f20ec4f333bf6005d
3
+ size 371206
models/tokenizer/ay_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/ay_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de3094a5549fa43e268c332bf5eb6ff19a145b1edf8b5ccfbb2e2d399a2272e4
3
+ size 427486
models/vocabulary/ay_vocabulary_metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ay",
3
+ "vocabulary_size": 25329,
4
+ "statistics": {
5
+ "type_token_ratio": 0.10227701301150292,
6
+ "coverage": {
7
+ "top_100": 0.43783393047960273,
8
+ "top_1000": 0.6883022188698221,
9
+ "top_5000": 0.8231488465648376,
10
+ "top_10000": 0.8748287133069332
11
+ },
12
+ "hapax_count": 39756,
13
+ "hapax_ratio": 0.6108319889375432,
14
+ "total_documents": 5428
15
+ }
16
+ }
models/word_markov/ay_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9235d44170713caeb8fc80b3dba5782d1f796ed803992b0531ceb65661a19aa4
3
+ size 2137508
models/word_markov/ay_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_contexts": 65172,
6
+ "total_transitions": 888867
7
+ }
models/word_markov/ay_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c569c3d809da2135b500827e40c8db0797fbcb18c0c4e781c6af0595edd8c7
3
+ size 4305196
models/word_markov/ay_markov_ctx2_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_contexts": 239858,
6
+ "total_transitions": 883439
7
+ }
models/word_markov/ay_markov_ctx3_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9f338f5f12683bff8d312db02c7920bbeba0835ee748bb9152d82925a294286
3
+ size 6062956
models/word_markov/ay_markov_ctx3_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_contexts": 369469,
6
+ "total_transitions": 878012
7
+ }
models/word_markov/ay_markov_ctx4_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49f18f764c5f4fb242282040dee518fce36fdc22459fbf93e81df9c68865595e
3
+ size 7355175
models/word_markov/ay_markov_ctx4_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_contexts": 443066,
6
+ "total_transitions": 872587
7
+ }
models/word_ngram/ay_2gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa957dcf8bd6a2084464d7f441e000f2d48cc10f34f222fd5e62ba3ee4cc9c65
3
+ size 198830
models/word_ngram/ay_2gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_ngrams": 14390,
6
+ "total_ngrams": 888867
7
+ }
models/word_ngram/ay_3gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2a940917149974038eb678645a67aaf32fec2cfe5ad07fcd47a47b766ae7e81
3
+ size 367171
models/word_ngram/ay_3gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_ngrams": 23975,
6
+ "total_ngrams": 883439
7
+ }
models/word_ngram/ay_4gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7c85c1f3bf8ded5071febc58f660d755b21c15511a8d4b49dff4d6eb7ff1566
3
+ size 742404
models/word_ngram/ay_4gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "word",
4
+ "language": "ay",
5
+ "unique_ngrams": 47728,
6
+ "total_ngrams": 878012
7
+ }
visualizations/embedding_isotropy.png ADDED