omarkamali commited on
Commit
f36f67f
·
verified ·
1 Parent(s): 160fad2

Upload all models and assets for gur (latest)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +7 -0
  2. README.md +729 -0
  3. models/embeddings/aligned/gur_128d.bin +3 -0
  4. models/embeddings/aligned/gur_128d.meta.json +1 -0
  5. models/embeddings/aligned/gur_128d.projection.npy +3 -0
  6. models/embeddings/aligned/gur_128d_metadata.json +8 -0
  7. models/embeddings/aligned/gur_32d.bin +3 -0
  8. models/embeddings/aligned/gur_32d.meta.json +1 -0
  9. models/embeddings/aligned/gur_32d.projection.npy +3 -0
  10. models/embeddings/aligned/gur_32d_metadata.json +8 -0
  11. models/embeddings/aligned/gur_64d.bin +3 -0
  12. models/embeddings/aligned/gur_64d.meta.json +1 -0
  13. models/embeddings/aligned/gur_64d.projection.npy +3 -0
  14. models/embeddings/aligned/gur_64d_metadata.json +8 -0
  15. models/embeddings/monolingual/gur_128d.bin +3 -0
  16. models/embeddings/monolingual/gur_128d.meta.json +1 -0
  17. models/embeddings/monolingual/gur_128d_metadata.json +15 -0
  18. models/embeddings/monolingual/gur_32d.bin +3 -0
  19. models/embeddings/monolingual/gur_32d.meta.json +1 -0
  20. models/embeddings/monolingual/gur_32d_metadata.json +15 -0
  21. models/embeddings/monolingual/gur_64d.bin +3 -0
  22. models/embeddings/monolingual/gur_64d.meta.json +1 -0
  23. models/embeddings/monolingual/gur_64d_metadata.json +15 -0
  24. models/subword_markov/gur_markov_ctx1_subword.parquet +3 -0
  25. models/subword_markov/gur_markov_ctx1_subword_metadata.json +7 -0
  26. models/subword_markov/gur_markov_ctx2_subword.parquet +3 -0
  27. models/subword_markov/gur_markov_ctx2_subword_metadata.json +7 -0
  28. models/subword_markov/gur_markov_ctx3_subword.parquet +3 -0
  29. models/subword_markov/gur_markov_ctx3_subword_metadata.json +7 -0
  30. models/subword_markov/gur_markov_ctx4_subword.parquet +3 -0
  31. models/subword_markov/gur_markov_ctx4_subword_metadata.json +7 -0
  32. models/subword_ngram/gur_2gram_subword.parquet +3 -0
  33. models/subword_ngram/gur_2gram_subword_metadata.json +7 -0
  34. models/subword_ngram/gur_3gram_subword.parquet +3 -0
  35. models/subword_ngram/gur_3gram_subword_metadata.json +7 -0
  36. models/subword_ngram/gur_4gram_subword.parquet +3 -0
  37. models/subword_ngram/gur_4gram_subword_metadata.json +7 -0
  38. models/subword_ngram/gur_5gram_subword.parquet +3 -0
  39. models/subword_ngram/gur_5gram_subword_metadata.json +7 -0
  40. models/tokenizer/gur_tokenizer_16k.model +3 -0
  41. models/tokenizer/gur_tokenizer_16k.vocab +0 -0
  42. models/tokenizer/gur_tokenizer_32k.model +3 -0
  43. models/tokenizer/gur_tokenizer_32k.vocab +0 -0
  44. models/tokenizer/gur_tokenizer_8k.model +3 -0
  45. models/tokenizer/gur_tokenizer_8k.vocab +0 -0
  46. models/vocabulary/gur_vocabulary.parquet +3 -0
  47. models/vocabulary/gur_vocabulary_metadata.json +17 -0
  48. models/word_markov/gur_markov_ctx1_word.parquet +3 -0
  49. models/word_markov/gur_markov_ctx1_word_metadata.json +7 -0
  50. models/word_markov/gur_markov_ctx2_word.parquet +3 -0
.gitattributes CHANGED
@@ -33,3 +33,10 @@ 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/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
38
+ visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
39
+ visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
40
+ visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
41
+ visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
42
+ visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,729 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: gur
3
+ language_name: Frafra
4
+ language_family: atlantic_gur
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - feature-extraction
14
+ - sentence-similarity
15
+ - tokenization
16
+ - n-grams
17
+ - markov-chain
18
+ - text-mining
19
+ - fasttext
20
+ - babelvec
21
+ - vocabulous
22
+ - vocabulary
23
+ - monolingual
24
+ - family-atlantic_gur
25
+ license: mit
26
+ library_name: wikilangs
27
+ pipeline_tag: text-generation
28
+ datasets:
29
+ - omarkamali/wikipedia-monthly
30
+ dataset_info:
31
+ name: wikipedia-monthly
32
+ description: Monthly snapshots of Wikipedia articles across 300+ languages
33
+ metrics:
34
+ - name: best_compression_ratio
35
+ type: compression
36
+ value: 4.001
37
+ - name: best_isotropy
38
+ type: isotropy
39
+ value: 0.7704
40
+ - name: vocabulary_size
41
+ type: vocab
42
+ value: 0
43
+ generated: 2026-01-10
44
+ ---
45
+
46
+ # Frafra - Wikilangs Models
47
+ ## Comprehensive Research Report & Full Ablation Study
48
+
49
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Frafra** Wikipedia data.
50
+ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
51
+
52
+ ## 📋 Repository Contents
53
+
54
+ ### Models & Assets
55
+
56
+ - Tokenizers (8k, 16k, 32k, 64k)
57
+ - N-gram models (2, 3, 4, 5-gram)
58
+ - Markov chains (context of 1, 2, 3, 4 and 5)
59
+ - Subword N-gram and Markov chains
60
+ - Embeddings in various sizes and dimensions (aligned and unaligned)
61
+ - Language Vocabulary
62
+ - Language Statistics
63
+
64
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
65
+
66
+ ### Analysis and Evaluation
67
+
68
+ - [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
69
+ - [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
70
+ - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
71
+ - [4. Vocabulary Analysis](#4-vocabulary-analysis)
72
+ - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
73
+ - [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
74
+ - [7. Summary & Recommendations](#7-summary--recommendations)
75
+ - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
76
+ - [Visualizations Index](#visualizations-index)
77
+
78
+ ---
79
+ ## 1. Tokenizer Evaluation
80
+
81
+ ![Tokenizer Compression](visualizations/tokenizer_compression.png)
82
+
83
+ ![Tokenizer Fertility](visualizations/tokenizer_fertility.png)
84
+
85
+ ![Tokenizer OOV](visualizations/tokenizer_oov.png)
86
+
87
+ ![Total Tokens](visualizations/tokenizer_total_tokens.png)
88
+
89
+ ### Results
90
+
91
+ | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
92
+ |------------|-------------|---------------|----------|--------------|
93
+ | **8k** | 3.687x | 3.69 | 0.1485% | 403,994 |
94
+ | **16k** | 3.867x | 3.87 | 0.1558% | 385,154 |
95
+ | **32k** | 4.001x 🏆 | 4.00 | 0.1612% | 372,255 |
96
+
97
+ ### Tokenization Examples
98
+
99
+ Below are sample sentences tokenized with each vocabulary size:
100
+
101
+ **Sample 1:** `Buɣum Chuɣu de la de'eŋo n boi northern Ghana so'olum. Yelesi'a n bo de'eŋo la p...`
102
+
103
+ | Vocab | Tokens | Count |
104
+ |-------|--------|-------|
105
+ | 8k | `▁bu ɣ um ▁ch u ɣ u ▁de ▁la ▁de ... (+22 more)` | 32 |
106
+ | 16k | `▁bu ɣ um ▁chu ɣ u ▁de ▁la ▁de ' ... (+21 more)` | 31 |
107
+ | 32k | `▁bu ɣ um ▁chu ɣ u ▁de ▁la ▁de ' ... (+21 more)` | 31 |
108
+
109
+ **Sample 2:** `David Acquah' de la Gaana boole ŋwɛ'ara Club Tuuma A Solemitiŋa Tuuma A Miŋa Vom`
110
+
111
+ | Vocab | Tokens | Count |
112
+ |-------|--------|-------|
113
+ | 8k | `▁david ▁acquah ' ▁de ▁la ▁gaana ▁boole ▁ŋwɛ ' ara ... (+8 more)` | 18 |
114
+ | 16k | `▁david ▁acquah ' ▁de ▁la ▁gaana ▁boole ▁ŋwɛ ' ara ... (+8 more)` | 18 |
115
+ | 32k | `▁david ▁acquah ' ▁de ▁la ▁gaana ▁boole ▁ŋwɛ ' ara ... (+8 more)` | 18 |
116
+
117
+ **Sample 3:** `William Du Bois Yaw Salhi Kumi (May 5, yuure ken dɛla Koo Kumi.`
118
+
119
+ | Vocab | Tokens | Count |
120
+ |-------|--------|-------|
121
+ | 8k | `▁william ▁du ▁boi s ▁yaw ▁sal hi ▁kumi ▁( may ... (+9 more)` | 19 |
122
+ | 16k | `▁william ▁du ▁boi s ▁yaw ▁sal hi ▁kumi ▁( may ... (+9 more)` | 19 |
123
+ | 32k | `▁william ▁du ▁bois ▁yaw ▁salhi ▁kumi ▁( may ▁ 5 ... (+7 more)` | 17 |
124
+
125
+
126
+ ### Key Findings
127
+
128
+ - **Best Compression:** 32k achieves 4.001x compression
129
+ - **Lowest UNK Rate:** 8k with 0.1485% unknown tokens
130
+ - **Trade-off:** Larger vocabularies improve compression but increase model size
131
+ - **Recommendation:** 32k vocabulary provides optimal balance for production use
132
+
133
+ ---
134
+ ## 2. N-gram Model Evaluation
135
+
136
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
137
+
138
+ ![N-gram Unique](visualizations/ngram_unique.png)
139
+
140
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
141
+
142
+ ### Results
143
+
144
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
145
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
146
+ | **2-gram** | Word | 2,984 | 11.54 | 12,149 | 29.4% | 60.4% |
147
+ | **2-gram** | Subword | 241 🏆 | 7.92 | 2,090 | 68.4% | 99.3% |
148
+ | **3-gram** | Word | 9,118 | 13.15 | 23,058 | 15.5% | 40.4% |
149
+ | **3-gram** | Subword | 1,660 | 10.70 | 15,739 | 33.3% | 76.7% |
150
+ | **4-gram** | Word | 22,484 | 14.46 | 43,960 | 9.9% | 26.4% |
151
+ | **4-gram** | Subword | 7,120 | 12.80 | 67,011 | 19.0% | 50.9% |
152
+ | **5-gram** | Word | 20,312 | 14.31 | 34,263 | 9.1% | 25.3% |
153
+ | **5-gram** | Subword | 18,752 | 14.19 | 135,527 | 13.4% | 36.8% |
154
+
155
+ ### Top 5 N-grams by Size
156
+
157
+ **2-grams (Word):**
158
+
159
+ | Rank | N-gram | Count |
160
+ |------|--------|-------|
161
+ | 1 | `la puan` | 6,048 |
162
+ | 2 | `de la` | 5,275 |
163
+ | 3 | `ti ba` | 4,735 |
164
+ | 4 | `n de` | 3,480 |
165
+ | 5 | `yuunɛ la` | 3,371 |
166
+
167
+ **3-grams (Word):**
168
+
169
+ | Rank | N-gram | Count |
170
+ |------|--------|-------|
171
+ | 1 | `yuunɛ la puan` | 2,827 |
172
+ | 2 | `e zo e` | 1,083 |
173
+ | 3 | `zo e zo` | 1,080 |
174
+ | 4 | `la puan a` | 938 |
175
+ | 5 | `ba yi ira` | 814 |
176
+
177
+ **4-grams (Word):**
178
+
179
+ | Rank | N-gram | Count |
180
+ |------|--------|-------|
181
+ | 1 | `zo e zo e` | 1,079 |
182
+ | 2 | `ti ba yi ira` | 779 |
183
+ | 3 | `yuunɛ la puan a` | 641 |
184
+ | 4 | `of the 4th republic` | 580 |
185
+ | 5 | `parliament of the 4th` | 573 |
186
+
187
+ **5-grams (Word):**
188
+
189
+ | Rank | N-gram | Count |
190
+ |------|--------|-------|
191
+ | 1 | `parliament of the 4th republic` | 573 |
192
+ | 2 | `ti ba yi ira ti` | 369 |
193
+ | 3 | `nɛreba parliament of the 4th` | 297 |
194
+ | 4 | `nalɛgeriba nɛreba parliament of the` | 292 |
195
+ | 5 | `lɔgerɔ nalɛgeriba nɛreba parliament of` | 266 |
196
+
197
+ **2-grams (Subword):**
198
+
199
+ | Rank | N-gram | Count |
200
+ |------|--------|-------|
201
+ | 1 | `a _` | 167,038 |
202
+ | 2 | `l a` | 58,490 |
203
+ | 3 | `_ l` | 56,125 |
204
+ | 4 | `e _` | 52,651 |
205
+ | 5 | `i _` | 52,108 |
206
+
207
+ **3-grams (Subword):**
208
+
209
+ | Rank | N-gram | Count |
210
+ |------|--------|-------|
211
+ | 1 | `l a _` | 48,700 |
212
+ | 2 | `_ l a` | 47,930 |
213
+ | 3 | `_ t i` | 22,894 |
214
+ | 4 | `t i _` | 21,274 |
215
+ | 5 | `n a _` | 19,826 |
216
+
217
+ **4-grams (Subword):**
218
+
219
+ | Rank | N-gram | Count |
220
+ |------|--------|-------|
221
+ | 1 | `_ l a _` | 42,166 |
222
+ | 2 | `_ y u u` | 16,124 |
223
+ | 3 | `_ t i _` | 15,515 |
224
+ | 4 | `a _ l a` | 12,811 |
225
+ | 5 | `_ p u a` | 11,224 |
226
+
227
+ **5-grams (Subword):**
228
+
229
+ | Rank | N-gram | Count |
230
+ |------|--------|-------|
231
+ | 1 | `_ p u a n` | 11,191 |
232
+ | 2 | `a _ l a _` | 10,944 |
233
+ | 3 | `e _ l a _` | 8,770 |
234
+ | 4 | `a _ p u a` | 8,569 |
235
+ | 5 | `_ y u u m` | 8,354 |
236
+
237
+
238
+ ### Key Findings
239
+
240
+ - **Best Perplexity:** 2-gram (subword) with 241
241
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
242
+ - **Coverage:** Top-1000 patterns cover ~37% of corpus
243
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
244
+
245
+ ---
246
+ ## 3. Markov Chain Evaluation
247
+
248
+ ![Markov Entropy](visualizations/markov_entropy.png)
249
+
250
+ ![Markov Contexts](visualizations/markov_contexts.png)
251
+
252
+ ![Markov Branching](visualizations/markov_branching.png)
253
+
254
+ ### Results
255
+
256
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
257
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
258
+ | **1** | Word | 0.7873 | 1.726 | 5.18 | 34,791 | 21.3% |
259
+ | **1** | Subword | 0.8475 | 1.799 | 6.78 | 735 | 15.3% |
260
+ | **2** | Word | 0.2846 | 1.218 | 1.80 | 180,038 | 71.5% |
261
+ | **2** | Subword | 0.9784 | 1.970 | 5.94 | 4,984 | 2.2% |
262
+ | **3** | Word | 0.1408 | 1.102 | 1.29 | 323,151 | 85.9% |
263
+ | **3** | Subword | 0.8530 | 1.806 | 3.93 | 29,621 | 14.7% |
264
+ | **4** | Word | 0.0663 🏆 | 1.047 | 1.11 | 415,146 | 93.4% |
265
+ | **4** | Subword | 0.5923 | 1.508 | 2.47 | 116,449 | 40.8% |
266
+
267
+ ### Generated Text Samples (Word-based)
268
+
269
+ Below are text samples generated from each word-based Markov chain model:
270
+
271
+ **Context Size 1:**
272
+
273
+ 1. `la kolesov gee malum dugelegɔ lɔgerɔ ba yi a gce o loe e la za a`
274
+ 2. `a characteristically thick dough covered by yaba badoe about alex segbefia 16 years 2 form world`
275
+ 3. `ti fu san bɔna tiŋsuka se sɛba iŋa n me bɔ ɔra roads and former swansea`
276
+
277
+ **Context Size 2:**
278
+
279
+ 1. `la puan indihiang tiŋa tasikmalaya tiŋa la puan la a yuuma la wa tiŋa a kiŋɛ a`
280
+ 2. `de la se em n yuum de la são francisco xavier ti ŋwana wa yuum pa ase`
281
+ 3. `ti ba yi ira b a economic la pɔlitisi nanana wa a kiŋɛ a sukuu katɛ de`
282
+
283
+ **Context Size 3:**
284
+
285
+ 1. `yuunɛ la puan bawumia yuum niɛ la dr matthew opoku prempeh ba yuun dugɛ e la yuunɛ la`
286
+ 2. `zo e zo e n de sorts of amulets tigera wa n de mina a wan ta am`
287
+ 3. `e zo e n nyaa boi ti nɛrawoo yuun mina ti a dena se em la dɔla de`
288
+
289
+ **Context Size 4:**
290
+
291
+ 1. `zo e zo e daa ka tari tuuma nya daa eŋɛ ba puti ira ti koloni zuoduma la daa`
292
+ 2. `ti ba yi ira ti tyre fitting la cold calling la tuuma bɔna ford dagenham a kelum yuum tum`
293
+ 3. `yuunɛ la puan a le to e sɛtifiketi bɔna koosego la ligeri yɛla washington yunivɛsiti of world bank m`
294
+
295
+
296
+ ### Generated Text Samples (Subword-based)
297
+
298
+ Below are text samples generated from each subword-based Markov chain model:
299
+
300
+ **Context Size 1:**
301
+
302
+ 1. `_a_iela_b_talena`
303
+ 2. `arseryɛra_laa_d_`
304
+ 3. `era_n_hrɛ_ss"_n,`
305
+
306
+ **Context Size 2:**
307
+
308
+ 1. `a_yuum_._ti_sɛ_we`
309
+ 2. `la_zo'ela_buum_la`
310
+ 3. `_lɔgembese’eloobi`
311
+
312
+ **Context Size 3:**
313
+
314
+ 1. `la_a_yuum_toni_la,`
315
+ 2. `_la_la_pa'am_tiŋa_`
316
+ 3. `_til_of_ghama_at_t`
317
+
318
+ **Context Size 4:**
319
+
320
+ 1. `_la_puan,_ba_kɔm_ba`
321
+ 2. `_yuuni_yuum_ta_paat`
322
+ 3. `_ti_ba_gee_"efua_tu`
323
+
324
+
325
+ ### Key Findings
326
+
327
+ - **Best Predictability:** Context-4 (word) with 93.4% predictability
328
+ - **Branching Factor:** Decreases with context size (more deterministic)
329
+ - **Memory Trade-off:** Larger contexts require more storage (116,449 contexts)
330
+ - **Recommendation:** Context-3 or Context-4 for text generation
331
+
332
+ ---
333
+ ## 4. Vocabulary Analysis
334
+
335
+ ![Zipf's Law](visualizations/zipf_law.png)
336
+
337
+ ![Top Words](visualizations/top20_words.png)
338
+
339
+ ![Coverage Curve](visualizations/vocab_coverage.png)
340
+
341
+ ### Statistics
342
+
343
+ | Metric | Value |
344
+ |--------|-------|
345
+ | Vocabulary Size | 15,750 |
346
+ | Total Tokens | 531,469 |
347
+ | Mean Frequency | 33.74 |
348
+ | Median Frequency | 4 |
349
+ | Frequency Std Dev | 489.14 |
350
+
351
+ ### Most Common Words
352
+
353
+ | Rank | Word | Frequency |
354
+ |------|------|-----------|
355
+ | 1 | la | 45,893 |
356
+ | 2 | a | 16,970 |
357
+ | 3 | ti | 15,755 |
358
+ | 4 | n | 14,415 |
359
+ | 5 | ba | 12,540 |
360
+ | 6 | de | 11,579 |
361
+ | 7 | puan | 11,117 |
362
+ | 8 | yuum | 7,135 |
363
+ | 9 | e | 6,343 |
364
+ | 10 | wa | 5,603 |
365
+
366
+ ### Least Common Words (from vocabulary)
367
+
368
+ | Rank | Word | Frequency |
369
+ |------|------|-----------|
370
+ | 1 | jurgen | 2 |
371
+ | 2 | martini | 2 |
372
+ | 3 | mcmullan | 2 |
373
+ | 4 | penina | 2 |
374
+ | 5 | mlama | 2 |
375
+ | 6 | richards | 2 |
376
+ | 7 | amowi | 2 |
377
+ | 8 | rotimi | 2 |
378
+ | 9 | watts | 2 |
379
+ | 10 | windley | 2 |
380
+
381
+ ### Zipf's Law Analysis
382
+
383
+ | Metric | Value |
384
+ |--------|-------|
385
+ | Zipf Coefficient | 1.2037 |
386
+ | R² (Goodness of Fit) | 0.996962 |
387
+ | Adherence Quality | **excellent** |
388
+
389
+ ### Coverage Analysis
390
+
391
+ | Top N Words | Coverage |
392
+ |-------------|----------|
393
+ | Top 100 | 57.7% |
394
+ | Top 1,000 | 82.5% |
395
+ | Top 5,000 | 93.9% |
396
+ | Top 10,000 | 97.7% |
397
+
398
+ ### Key Findings
399
+
400
+ - **Zipf Compliance:** R²=0.9970 indicates excellent adherence to Zipf's law
401
+ - **High Frequency Dominance:** Top 100 words cover 57.7% of corpus
402
+ - **Long Tail:** 5,750 words needed for remaining 2.3% coverage
403
+
404
+ ---
405
+ ## 5. Word Embeddings Evaluation
406
+
407
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
408
+
409
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
410
+
411
+ ![t-SNE Words](visualizations/tsne_words.png)
412
+
413
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
414
+
415
+
416
+ ### 5.1 Cross-Lingual Alignment
417
+
418
+ ![Alignment Quality](visualizations/embedding_alignment_quality.png)
419
+
420
+ ![Multilingual t-SNE](visualizations/embedding_tsne_multilingual.png)
421
+
422
+
423
+ ### 5.2 Model Comparison
424
+
425
+ | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
426
+ |-------|-----------|----------|------------------|---------------|----------------|
427
+ | **mono_32d** | 32 | 0.7704 🏆 | 0.3622 | N/A | N/A |
428
+ | **mono_64d** | 64 | 0.5062 | 0.3302 | N/A | N/A |
429
+ | **mono_128d** | 128 | 0.1445 | 0.3114 | N/A | N/A |
430
+ | **aligned_32d** | 32 | 0.7704 | 0.3520 | 0.0340 | 0.1900 |
431
+ | **aligned_64d** | 64 | 0.5062 | 0.3219 | 0.0640 | 0.3020 |
432
+ | **aligned_128d** | 128 | 0.1445 | 0.3190 | 0.1120 | 0.3520 |
433
+
434
+ ### Key Findings
435
+
436
+ - **Best Isotropy:** mono_32d with 0.7704 (more uniform distribution)
437
+ - **Semantic Density:** Average pairwise similarity of 0.3328. Lower values indicate better semantic separation.
438
+ - **Alignment Quality:** Aligned models achieve up to 11.2% R@1 in cross-lingual retrieval.
439
+ - **Recommendation:** 128d aligned for best cross-lingual performance
440
+
441
+ ---
442
+ ## 6. Morphological Analysis (Experimental)
443
+
444
+ This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
445
+
446
+ ### 6.1 Productivity & Complexity
447
+
448
+ | Metric | Value | Interpretation | Recommendation |
449
+ |--------|-------|----------------|----------------|
450
+ | Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
451
+ | Idiomaticity Gap | **-0.314** | Low formulaic content | - |
452
+
453
+ ### 6.2 Affix Inventory (Productive Units)
454
+
455
+ These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
456
+
457
+ #### Productive Prefixes
458
+ | Prefix | Examples |
459
+ |--------|----------|
460
+
461
+ #### Productive Suffixes
462
+ | Suffix | Examples |
463
+ |--------|----------|
464
+ | `-a` | solemitiŋa, nangooma, bawadua |
465
+
466
+ ### 6.3 Bound Stems (Lexical Roots)
467
+
468
+ Bound stems are high-frequency subword units that are semantically cohesive but rarely appear as standalone words. These often correspond to the 'core' of a word that requires inflection or derivation to be valid.
469
+
470
+ | Stem | Cohesion | Substitutability | Examples |
471
+ |------|----------|------------------|----------|
472
+ | `gera` | 1.96x | 37 contexts | ɛgera, ãgera, ugera |
473
+ | `ɔger` | 1.60x | 30 contexts | bɔgerɛ, tɔgera, yɔgera |
474
+ | `iger` | 1.64x | 25 contexts | niger, digeri, tigera |
475
+ | `atio` | 1.94x | 14 contexts | nation, nations, station |
476
+ | `rega` | 1.64x | 22 contexts | ɛrega, ãarega, tɛrega |
477
+ | `elum` | 1.81x | 15 contexts | belum, celum, kelum |
478
+ | `tion` | 1.85x | 13 contexts | action, option, nation |
479
+ | `segɔ` | 1.67x | 16 contexts | osegɔ, isegɔ, ɔsegɔ |
480
+ | `reba` | 1.62x | 17 contexts | ireba, ɛreba, areba |
481
+ | `gerɔ` | 2.03x | 9 contexts | sɔgerɔ, logerɔ, pɔgerɔ |
482
+ | `ɛger` | 1.54x | 17 contexts | ɛgera, pɛgerɛ, sɛgerɛ |
483
+ | `aana` | 1.73x | 12 contexts | gaana, paana, baana |
484
+
485
+ ### 6.4 Affix Compatibility (Co-occurrence)
486
+
487
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
488
+
489
+ *No significant affix co-occurrences detected.*
490
+
491
+
492
+ ### 6.5 Recursive Morpheme Segmentation
493
+
494
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
495
+
496
+ *Insufficient data for recursive segmentation.*
497
+
498
+
499
+ ### 6.6 Linguistic Interpretation
500
+
501
+ > **Automated Insight:**
502
+ The language Frafra shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
503
+
504
+ ---
505
+ ## 7. Summary & Recommendations
506
+
507
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
508
+
509
+ ### Production Recommendations
510
+
511
+ | Component | Recommended | Rationale |
512
+ |-----------|-------------|-----------|
513
+ | Tokenizer | **32k BPE** | Best compression (4.00x) |
514
+ | N-gram | **2-gram** | Lowest perplexity (241) |
515
+ | Markov | **Context-4** | Highest predictability (93.4%) |
516
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
517
+
518
+
519
+ ---
520
+ ## Appendix: Metrics Glossary & Interpretation Guide
521
+
522
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
523
+
524
+ ### Tokenizer Metrics
525
+
526
+ **Compression Ratio**
527
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
528
+ >
529
+ > *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.
530
+ >
531
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
532
+
533
+ **Average Token Length (Fertility)**
534
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
535
+ >
536
+ > *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.
537
+ >
538
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
539
+
540
+ **Unknown Token Rate (OOV Rate)**
541
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
542
+ >
543
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
544
+ >
545
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
546
+
547
+ ### N-gram Model Metrics
548
+
549
+ **Perplexity**
550
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
551
+ >
552
+ > *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.
553
+ >
554
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
555
+
556
+ **Entropy**
557
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
558
+ >
559
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
560
+ >
561
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
562
+
563
+ **Coverage (Top-K)**
564
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
565
+ >
566
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
567
+ >
568
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
569
+
570
+ ### Markov Chain Metrics
571
+
572
+ **Average Entropy**
573
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
574
+ >
575
+ > *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).
576
+ >
577
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
578
+
579
+ **Branching Factor**
580
+ > *Definition:* Average number of unique next tokens observed for each context.
581
+ >
582
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
583
+ >
584
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
585
+
586
+ **Predictability**
587
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
588
+ >
589
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
590
+ >
591
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
592
+
593
+ ### Vocabulary & Zipf's Law Metrics
594
+
595
+ **Zipf's Coefficient**
596
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
597
+ >
598
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
599
+ >
600
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
601
+
602
+ **R² (Coefficient of Determination)**
603
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
604
+ >
605
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
606
+ >
607
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
608
+
609
+ **Vocabulary Coverage**
610
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
611
+ >
612
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
613
+ >
614
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
615
+
616
+ ### Word Embedding Metrics
617
+
618
+ **Isotropy**
619
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
620
+ >
621
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
622
+ >
623
+ > *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.
624
+
625
+ **Average Norm**
626
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
627
+ >
628
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
629
+ >
630
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
631
+
632
+ **Cosine Similarity**
633
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
634
+ >
635
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
636
+ >
637
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
638
+
639
+ **t-SNE Visualization**
640
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
641
+ >
642
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
643
+ >
644
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
645
+
646
+ ### General Interpretation Guidelines
647
+
648
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
649
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
650
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
651
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
652
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
653
+
654
+
655
+ ### Visualizations Index
656
+
657
+ | Visualization | Description |
658
+ |---------------|-------------|
659
+ | Tokenizer Compression | Compression ratios by vocabulary size |
660
+ | Tokenizer Fertility | Average token length by vocabulary |
661
+ | Tokenizer OOV | Unknown token rates |
662
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
663
+ | N-gram Perplexity | Perplexity by n-gram size |
664
+ | N-gram Entropy | Entropy by n-gram size |
665
+ | N-gram Coverage | Top pattern coverage |
666
+ | N-gram Unique | Unique n-gram counts |
667
+ | Markov Entropy | Entropy by context size |
668
+ | Markov Branching | Branching factor by context |
669
+ | Markov Contexts | Unique context counts |
670
+ | Zipf's Law | Frequency-rank distribution with fit |
671
+ | Vocab Frequency | Word frequency distribution |
672
+ | Top 20 Words | Most frequent words |
673
+ | Vocab Coverage | Cumulative coverage curve |
674
+ | Embedding Isotropy | Vector space uniformity |
675
+ | Embedding Norms | Vector magnitude distribution |
676
+ | Embedding Similarity | Word similarity heatmap |
677
+ | Nearest Neighbors | Similar words for key terms |
678
+ | t-SNE Words | 2D word embedding visualization |
679
+ | t-SNE Sentences | 2D sentence embedding visualization |
680
+ | Position Encoding | Encoding method comparison |
681
+ | Model Sizes | Storage requirements |
682
+ | Performance Dashboard | Comprehensive performance overview |
683
+
684
+ ---
685
+ ## About This Project
686
+
687
+ ### Data Source
688
+
689
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
690
+
691
+ ### Project
692
+
693
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
694
+
695
+ ### Maintainer
696
+
697
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
698
+
699
+ ### Citation
700
+
701
+ If you use these models in your research, please cite:
702
+
703
+ ```bibtex
704
+ @misc{wikilangs2025,
705
+ author = {Kamali, Omar},
706
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
707
+ year = {2025},
708
+ doi = {10.5281/zenodo.18073153},
709
+ publisher = {Zenodo},
710
+ url = {https://huggingface.co/wikilangs}
711
+ institution = {Omneity Labs}
712
+ }
713
+ ```
714
+
715
+ ### License
716
+
717
+ MIT License - Free for academic and commercial use.
718
+
719
+ ### Links
720
+
721
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
722
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
723
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
724
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
725
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
726
+ ---
727
+ *Generated by Wikilangs Models Pipeline*
728
+
729
+ *Report Date: 2026-01-10 00:37:19*
models/embeddings/aligned/gur_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0547780df961ba0cad5fdfd6064d4d5a86e9433a04bd6c28873ff55d8939686f
3
+ size 1031491553
models/embeddings/aligned/gur_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 128, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/gur_128d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49eb1282eebecf1e2f3e07f0e8118185c69c71ba148c4300cd72b36f9a0ef5bc
3
+ size 65664
models/embeddings/aligned/gur_128d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 128,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 3303,
7
+ "vocab_size": 7202
8
+ }
models/embeddings/aligned/gur_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252c1efd4d91c72ccbe4fd0ca1ae92269f030cfeedd1a4ec82f3e80e2dcbd207
3
+ size 257960417
models/embeddings/aligned/gur_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 32, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/gur_32d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7da28bb2bf0d4f8c001c7fcec7233e6a644a04f1891d8d47fbde4877e8db59a0
3
+ size 4224
models/embeddings/aligned/gur_32d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 32,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 3303,
7
+ "vocab_size": 7202
8
+ }
models/embeddings/aligned/gur_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86c6d4681570655babb737a314ca1ad16d9efeec2bdb393ad65cd4dfe0550d01
3
+ size 515804129
models/embeddings/aligned/gur_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 64, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/gur_64d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4782bf2f11db2bff4cd914b76444106fe33a8f6dcf6f3ab01eff5da8056cc7bf
3
+ size 16512
models/embeddings/aligned/gur_64d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 64,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 3303,
7
+ "vocab_size": 7202
8
+ }
models/embeddings/monolingual/gur_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0547780df961ba0cad5fdfd6064d4d5a86e9433a04bd6c28873ff55d8939686f
3
+ size 1031491553
models/embeddings/monolingual/gur_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/gur_128d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 128,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "algorithm": "skipgram",
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5,
11
+ "encoding_method": "rope",
12
+ "dim": 128
13
+ },
14
+ "vocab_size": 7202
15
+ }
models/embeddings/monolingual/gur_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:252c1efd4d91c72ccbe4fd0ca1ae92269f030cfeedd1a4ec82f3e80e2dcbd207
3
+ size 257960417
models/embeddings/monolingual/gur_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/gur_32d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 32,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "algorithm": "skipgram",
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5,
11
+ "encoding_method": "rope",
12
+ "dim": 32
13
+ },
14
+ "vocab_size": 7202
15
+ }
models/embeddings/monolingual/gur_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86c6d4681570655babb737a314ca1ad16d9efeec2bdb393ad65cd4dfe0550d01
3
+ size 515804129
models/embeddings/monolingual/gur_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "gur", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/gur_64d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "dimension": 64,
4
+ "version": "monolingual",
5
+ "training_params": {
6
+ "algorithm": "skipgram",
7
+ "min_count": 5,
8
+ "window": 5,
9
+ "negative": 5,
10
+ "epochs": 5,
11
+ "encoding_method": "rope",
12
+ "dim": 64
13
+ },
14
+ "vocab_size": 7202
15
+ }
models/subword_markov/gur_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e321732e4504d7a223bce3659cb376643efdd877a17fb718603fbae81874446
3
+ size 44993
models/subword_markov/gur_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_contexts": 735,
6
+ "total_transitions": 2763422
7
+ }
models/subword_markov/gur_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fefe4d10221a37fca68d5282c2cd87f50b0ab4d982a876ce1440d1be9b8d7f4
3
+ size 240910
models/subword_markov/gur_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_contexts": 4984,
6
+ "total_transitions": 2761818
7
+ }
models/subword_markov/gur_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de2f8317ef0c0a45893bf73140baa25ea369486d088931b9c5492f6189655550
3
+ size 891988
models/subword_markov/gur_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_contexts": 29621,
6
+ "total_transitions": 2760214
7
+ }
models/subword_markov/gur_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d33c631f7a1cd0329a449a89ff2e2065044a31aa7985b86d80c7c604c7486d00
3
+ size 2274530
models/subword_markov/gur_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_contexts": 116449,
6
+ "total_transitions": 2758610
7
+ }
models/subword_ngram/gur_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46e56529c1d904863ee583489cdf75ab23d02f34addff9ec227541bda72a6d30
3
+ size 28479
models/subword_ngram/gur_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_ngrams": 2090,
6
+ "total_ngrams": 2763422
7
+ }
models/subword_ngram/gur_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:986506f22692de44f0b7195049f9d6078a0d9bfec56a50dd4240b41ccca2393a
3
+ size 184497
models/subword_ngram/gur_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_ngrams": 15739,
6
+ "total_ngrams": 2761818
7
+ }
models/subword_ngram/gur_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24ac5f09d2eac7b72928988899881a08fc6a2665718dc533755249c87969d47d
3
+ size 790430
models/subword_ngram/gur_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_ngrams": 67011,
6
+ "total_ngrams": 2760214
7
+ }
models/subword_ngram/gur_5gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d71fa13c851f232ecd2fcb88b78f90344167dd4e2d0a469c414aedc03a1b1df6
3
+ size 1560470
models/subword_ngram/gur_5gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 5,
3
+ "variant": "subword",
4
+ "language": "gur",
5
+ "unique_ngrams": 135527,
6
+ "total_ngrams": 2758610
7
+ }
models/tokenizer/gur_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31de1c588823f068f85ed64c3891c795762777e705a7b16cae9e501bc25091af
3
+ size 504726
models/tokenizer/gur_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/gur_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d290032d91350372e2caab62799069dea9a9f3e611ae6dcefd3034d2ebf8045
3
+ size 787878
models/tokenizer/gur_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/gur_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:170f02b71753450e0d183646625d39db1010a82bef4406ccc165f4e49060fd01
3
+ size 372547
models/tokenizer/gur_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/gur_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a983e9ef6adc976c788327d510017bba4947666aaf278934e8c0cecc443ff481
3
+ size 259482
models/vocabulary/gur_vocabulary_metadata.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "gur",
3
+ "vocabulary_size": 15750,
4
+ "variant": "full",
5
+ "statistics": {
6
+ "type_token_ratio": 0.0632743322647147,
7
+ "coverage": {
8
+ "top_100": 0.5566383013504554,
9
+ "top_1000": 0.7960439919717376,
10
+ "top_5000": 0.9064998047424871,
11
+ "top_10000": 0.9433989338031623
12
+ },
13
+ "hapax_count": 19086,
14
+ "hapax_ratio": 0.5478815018945918,
15
+ "total_documents": 1604
16
+ }
17
+ }
models/word_markov/gur_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:383005e70b6c03577044e26aa4fdae283aa7e864ba52dde84a1d268edb006430
3
+ size 1310920
models/word_markov/gur_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "gur",
5
+ "unique_contexts": 34791,
6
+ "total_transitions": 548951
7
+ }
models/word_markov/gur_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d76e589f7da98c44caac7814142f5d9937916198a691ec79ac78ea8c832e016
3
+ size 3276055