omarkamali commited on
Commit
adfc404
·
verified ·
1 Parent(s): d317531

Upload all models and assets for crh (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/crh_128d.bin +3 -0
  4. models/embeddings/monolingual/crh_128d.meta.json +1 -0
  5. models/embeddings/monolingual/crh_128d_metadata.json +13 -0
  6. models/embeddings/monolingual/crh_32d.bin +3 -0
  7. models/embeddings/monolingual/crh_32d.meta.json +1 -0
  8. models/embeddings/monolingual/crh_32d_metadata.json +13 -0
  9. models/embeddings/monolingual/crh_64d.bin +3 -0
  10. models/embeddings/monolingual/crh_64d.meta.json +1 -0
  11. models/embeddings/monolingual/crh_64d_metadata.json +13 -0
  12. models/subword_markov/crh_markov_ctx1_subword.parquet +3 -0
  13. models/subword_markov/crh_markov_ctx1_subword_metadata.json +7 -0
  14. models/subword_markov/crh_markov_ctx2_subword.parquet +3 -0
  15. models/subword_markov/crh_markov_ctx2_subword_metadata.json +7 -0
  16. models/subword_markov/crh_markov_ctx3_subword.parquet +3 -0
  17. models/subword_markov/crh_markov_ctx3_subword_metadata.json +7 -0
  18. models/subword_markov/crh_markov_ctx4_subword.parquet +3 -0
  19. models/subword_markov/crh_markov_ctx4_subword_metadata.json +7 -0
  20. models/subword_ngram/crh_2gram_subword.parquet +3 -0
  21. models/subword_ngram/crh_2gram_subword_metadata.json +7 -0
  22. models/subword_ngram/crh_3gram_subword.parquet +3 -0
  23. models/subword_ngram/crh_3gram_subword_metadata.json +7 -0
  24. models/subword_ngram/crh_4gram_subword.parquet +3 -0
  25. models/subword_ngram/crh_4gram_subword_metadata.json +7 -0
  26. models/tokenizer/crh_tokenizer_16k.model +3 -0
  27. models/tokenizer/crh_tokenizer_16k.vocab +0 -0
  28. models/tokenizer/crh_tokenizer_32k.model +3 -0
  29. models/tokenizer/crh_tokenizer_32k.vocab +0 -0
  30. models/tokenizer/crh_tokenizer_64k.model +3 -0
  31. models/tokenizer/crh_tokenizer_64k.vocab +0 -0
  32. models/tokenizer/crh_tokenizer_8k.model +3 -0
  33. models/tokenizer/crh_tokenizer_8k.vocab +0 -0
  34. models/vocabulary/crh_vocabulary.parquet +3 -0
  35. models/vocabulary/crh_vocabulary_metadata.json +16 -0
  36. models/word_markov/crh_markov_ctx1_word.parquet +3 -0
  37. models/word_markov/crh_markov_ctx1_word_metadata.json +7 -0
  38. models/word_markov/crh_markov_ctx2_word.parquet +3 -0
  39. models/word_markov/crh_markov_ctx2_word_metadata.json +7 -0
  40. models/word_markov/crh_markov_ctx3_word.parquet +3 -0
  41. models/word_markov/crh_markov_ctx3_word_metadata.json +7 -0
  42. models/word_markov/crh_markov_ctx4_word.parquet +3 -0
  43. models/word_markov/crh_markov_ctx4_word_metadata.json +7 -0
  44. models/word_ngram/crh_2gram_word.parquet +3 -0
  45. models/word_ngram/crh_2gram_word_metadata.json +7 -0
  46. models/word_ngram/crh_3gram_word.parquet +3 -0
  47. models/word_ngram/crh_3gram_word_metadata.json +7 -0
  48. models/word_ngram/crh_4gram_word.parquet +3 -0
  49. models/word_ngram/crh_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: crh
3
+ language_name: CRH
4
+ language_family: turkic_kipchak
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - monolingual
14
+ - family-turkic_kipchak
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.462
27
+ - name: best_isotropy
28
+ type: isotropy
29
+ value: 0.7580
30
+ - name: vocabulary_size
31
+ type: vocab
32
+ value: 53689
33
+ generated: 2025-12-28
34
+ ---
35
+
36
+ # CRH - Wikilangs Models
37
+ ## Comprehensive Research Report & Full Ablation Study
38
+
39
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **CRH** 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.468x | 3.42 | 0.2080% | 235,121 |
76
+ | **16k** | 3.842x | 3.78 | 0.2305% | 212,188 |
77
+ | **32k** | 4.188x | 4.13 | 0.2512% | 194,672 |
78
+ | **64k** | 4.462x 🏆 | 4.39 | 0.2676% | 182,737 |
79
+
80
+ ### Tokenization Examples
81
+
82
+ Below are sample sentences tokenized with each vocabulary size:
83
+
84
+ **Sample 1:** `Novotroyevka () - Rusiyeniñ Belgorod vilâyetinde Koroça rayonında bir köy. Ealis...`
85
+
86
+ | Vocab | Tokens | Count |
87
+ |-------|--------|-------|
88
+ | 8k | `▁novo tr oy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetinde ▁koroça ... (+17 more)` | 27 |
89
+ | 16k | `▁novotr oy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetinde ▁koroça ▁rayonında ... (+16 more)` | 26 |
90
+ | 32k | `▁novotroy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetinde ▁koroça ▁rayonında ▁bir ... (+15 more)` | 25 |
91
+ | 64k | `▁novotroy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetinde ▁koroça ▁rayonında ▁bir ... (+15 more)` | 25 |
92
+
93
+ **Sample 2:** `Holodna Balka () - Ukrainanıñ Ades vilâyetinde Ades rayonında bir köy. Ealisiniñ...`
94
+
95
+ | Vocab | Tokens | Count |
96
+ |-------|--------|-------|
97
+ | 8k | `▁hol od na ▁balka ▁() ▁- ▁ukrainanıñ ▁ades ▁vilâyetinde ▁ades ... (+18 more)` | 28 |
98
+ | 16k | `▁hol od na ▁balka ▁() ▁- ▁ukrainanıñ ▁ades ▁vilâyetinde ▁ades ... (+18 more)` | 28 |
99
+ | 32k | `▁hol odna ▁balka ▁() ▁- ▁ukrainanıñ ▁ades ▁vilâyetinde ▁ades ▁rayonında ... (+17 more)` | 27 |
100
+ | 64k | `▁holodna ▁balka ▁() ▁- ▁ukrainanıñ ▁ades ▁vilâyetinde ▁ades ▁rayonında ▁bir ... (+16 more)` | 26 |
101
+
102
+ **Sample 3:** `Tereşpil () - Ukrainanıñ Vinnıtsâ vilâyetinde Hmilnık rayonında bir köy. Ealisin...`
103
+
104
+ | Vocab | Tokens | Count |
105
+ |-------|--------|-------|
106
+ | 8k | `▁ter eş pil ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁hmilnık ▁rayonında ... (+16 more)` | 26 |
107
+ | 16k | `▁tereş pil ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁hmilnık ▁rayonında ▁bir ... (+15 more)` | 25 |
108
+ | 32k | `▁tereş pil ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁hmilnık ▁rayonında ▁bir ... (+15 more)` | 25 |
109
+ | 64k | `▁tereşpil ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁hmilnık ▁rayonında ▁bir ▁köy ... (+14 more)` | 24 |
110
+
111
+
112
+ ### Key Findings
113
+
114
+ - **Best Compression:** 64k achieves 4.462x compression
115
+ - **Lowest UNK Rate:** 8k with 0.2080% 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** | 1,152 🏆 | 10.17 | 18,186 | 53.8% | 71.2% |
131
+ | **2-gram** | 405 🏆 | 8.66 | 4,814 | 59.9% | 97.2% |
132
+ | **3-gram** | 1,983 | 10.95 | 27,457 | 46.4% | 65.5% |
133
+ | **3-gram** | 2,478 | 11.28 | 35,169 | 32.1% | 69.8% |
134
+ | **4-gram** | 4,721 | 12.21 | 55,382 | 36.7% | 54.6% |
135
+ | **4-gram** | 8,182 | 13.00 | 157,163 | 26.4% | 52.7% |
136
+
137
+ ### Top 5 N-grams by Size
138
+
139
+ **2-grams:**
140
+
141
+ | Rank | N-gram | Count |
142
+ |------|--------|-------|
143
+ | 1 | `kategoriya :` | 32,150 |
144
+ | 2 | `( )` | 23,218 |
145
+ | 3 | `) -` | 21,379 |
146
+ | 4 | `ealisiniñ sayısı` | 20,740 |
147
+ | 5 | `. ealisiniñ` | 20,734 |
148
+
149
+ **3-grams:**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `. ealisiniñ sayısı` | 20,734 |
154
+ | 2 | `( ) -` | 19,732 |
155
+ | 3 | `. kategoriya :` | 16,456 |
156
+ | 4 | `kişi . kategoriya` | 14,755 |
157
+ | 5 | `bir köy .` | 10,054 |
158
+
159
+ **4-grams:**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `kişi . kategoriya :` | 14,755 |
164
+ | 2 | `rayonında bir köy .` | 9,313 |
165
+ | 3 | `( ) - rusiyeniñ` | 9,196 |
166
+ | 4 | `bir köy . ealisiniñ` | 9,139 |
167
+ | 5 | `köy . ealisiniñ sayısı` | 9,139 |
168
+
169
+
170
+ ### Key Findings
171
+
172
+ - **Best Perplexity:** 2-gram with 405
173
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
174
+ - **Coverage:** Top-1000 patterns cover ~53% 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.5665 | 1.481 | 3.09 | 136,749 | 43.3% |
189
+ | **1** | 1.1866 | 2.276 | 9.27 | 1,393 | 0.0% |
190
+ | **2** | 0.1665 | 1.122 | 1.39 | 422,458 | 83.3% |
191
+ | **2** | 0.9666 | 1.954 | 5.70 | 12,902 | 3.3% |
192
+ | **3** | 0.0665 | 1.047 | 1.14 | 585,200 | 93.4% |
193
+ | **3** | 0.8194 | 1.765 | 3.81 | 73,541 | 18.1% |
194
+ | **4** | 0.0328 🏆 | 1.023 | 1.07 | 663,395 | 96.7% |
195
+ | **4** | 0.5748 🏆 | 1.489 | 2.40 | 280,480 | 42.5% |
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. `. menbalar türkiye i ̇ zmalkovo krasnoye rayonında bir qasaba . ealisiniñ sayısı 27 , başqırtistan`
204
+ 2. `- rusiyeniñ belgorod vilâyetinde podilsk rayonı ( , cin æmæ jyn kad ! bu ağnıñ esas`
205
+ 3. `, latin elifbesiniñ 19 ( ) , cıyınlarda cıyınlarnıñ cıyıntıgı cıyıntıq alına kelgen medinet es herma...`
206
+
207
+ **Context Size 2:**
208
+
209
+ 1. `kategoriya : troitskoye rayonındaki meskün yerler kategoriya : primorye ülkesindeki meskün yerler ka...`
210
+ 2. `( ) - rusiyeniñ altay ülkesinde şelaboliha rayonında bir köy . ealisiniñ sayısı 47 kişi . kategoriya`
211
+ 3. `) - rusiyede , başqırtistan cumhuriyetiniñ miyeke rayonında bir hutor . ealisiniñ sayısı 177 kişi . ...`
212
+
213
+ **Context Size 3:**
214
+
215
+ 1. `. ealisiniñ sayısı 485 kişi . kategoriya : herson vilâyeti`
216
+ 2. `( ) - rusiyeniñ brânsk vilâyetinde karaçev rayonında bir köy . ealisiniñ sayısı 423 kişi . kategoriy...`
217
+ 3. `. kategoriya : başqırtistandaki meskün yerler`
218
+
219
+ **Context Size 4:**
220
+
221
+ 1. `kişi . kategoriya : ades vilâyetindeki köyler`
222
+ 2. `rayonında bir köy . ealisiniñ sayısı 448 kişi . i ̇ htar kategoriya : tahtamukay rayonındaki meskün ...`
223
+ 3. `( ) - rusiyeniñ amur vilâyetinde şimanovsk rayonında bir köy . ealisiniñ sayısı 654 kişi . kategoriy...`
224
+
225
+
226
+ ### Key Findings
227
+
228
+ - **Best Predictability:** Context-4 with 96.7% predictability
229
+ - **Branching Factor:** Decreases with context size (more deterministic)
230
+ - **Memory Trade-off:** Larger contexts require more storage (280,480 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 | 53,689 |
247
+ | Total Tokens | 889,654 |
248
+ | Mean Frequency | 16.57 |
249
+ | Median Frequency | 3 |
250
+ | Frequency Std Dev | 308.97 |
251
+
252
+ ### Most Common Words
253
+
254
+ | Rank | Word | Frequency |
255
+ |------|------|-----------|
256
+ | 1 | kategoriya | 32,152 |
257
+ | 2 | bir | 27,919 |
258
+ | 3 | kişi | 20,861 |
259
+ | 4 | sayısı | 20,822 |
260
+ | 5 | ealisiniñ | 20,770 |
261
+ | 6 | rayonında | 17,392 |
262
+ | 7 | i | 13,962 |
263
+ | 8 | meskün | 13,507 |
264
+ | 9 | yerler | 12,928 |
265
+ | 10 | vilâyetinde | 12,440 |
266
+
267
+ ### Least Common Words (from vocabulary)
268
+
269
+ | Rank | Word | Frequency |
270
+ |------|------|-----------|
271
+ | 1 | зияде | 2 |
272
+ | 2 | atalarnıñ | 2 |
273
+ | 3 | kotsubınskıylar | 2 |
274
+ | 4 | yüneskonıñ | 2 |
275
+ | 5 | اورمودا | 2 |
276
+ | 6 | دیللر | 2 |
277
+ | 7 | ازبری | 2 |
278
+ | 8 | اولان | 2 |
279
+ | 9 | قیزی | 2 |
280
+ | 10 | samançı | 2 |
281
+
282
+ ### Zipf's Law Analysis
283
+
284
+ | Metric | Value |
285
+ |--------|-------|
286
+ | Zipf Coefficient | 1.0203 |
287
+ | R² (Goodness of Fit) | 0.996904 |
288
+ | Adherence Quality | **excellent** |
289
+
290
+ ### Coverage Analysis
291
+
292
+ | Top N Words | Coverage |
293
+ |-------------|----------|
294
+ | Top 100 | 46.7% |
295
+ | Top 1,000 | 65.0% |
296
+ | Top 5,000 | 79.6% |
297
+ | Top 10,000 | 85.3% |
298
+
299
+ ### Key Findings
300
+
301
+ - **Zipf Compliance:** R²=0.9969 indicates excellent adherence to Zipf's law
302
+ - **High Frequency Dominance:** Top 100 words cover 46.7% of corpus
303
+ - **Long Tail:** 43,689 words needed for remaining 14.7% 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** | 16,090 | 32 | 4.513 | 0.777 | 0.7580 🏆 |
321
+ | **mono_64d** | 16,090 | 64 | 4.759 | 0.736 | 0.5447 |
322
+ | **mono_128d** | 16,090 | 128 | 4.802 | 0.733 | 0.1564 |
323
+ | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
324
+
325
+ ### Key Findings
326
+
327
+ - **Best Isotropy:** mono_32d with 0.7580 (more uniform distribution)
328
+ - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
329
+ - **Vocabulary Coverage:** All models cover 16,090 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.46x) with low UNK rate |
342
+ | N-gram | **5-gram** | Lowest perplexity (405) |
343
+ | Markov | **Context-4** | Highest predictability (96.7%) |
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-28 23:15:40*
models/embeddings/monolingual/crh_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2711de686fbbdccec9b4c232aeb1a2ff6589a0a5ab35d03b8eed6ce02bd7f456
3
+ size 1040761703
models/embeddings/monolingual/crh_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "crh", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/crh_128d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "crh",
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": 16090
13
+ }
models/embeddings/monolingual/crh_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a6e8733bef4321f51d9516ccf447352157f4a62af7a17ee0b3077db4528dcf
3
+ size 260404583
models/embeddings/monolingual/crh_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "crh", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/crh_32d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "crh",
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": 16090
13
+ }
models/embeddings/monolingual/crh_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d958dcba834b7704a2fa91467c099cd2ee01f0d1d5fed91d7a38303939710c0
3
+ size 520523623
models/embeddings/monolingual/crh_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "crh", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/crh_64d_metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "crh",
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": 16090
13
+ }
models/subword_markov/crh_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9de08c51e7f35ddea586397377dd1a690a335be3deafe5034997cfcfdc8fb563
3
+ size 98281
models/subword_markov/crh_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_contexts": 1393,
6
+ "total_transitions": 7898659
7
+ }
models/subword_markov/crh_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9bb8639872bba7668e3be3688a341970c45c509563b7d7eff3fddaa1b857968
3
+ size 581277
models/subword_markov/crh_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_contexts": 12902,
6
+ "total_transitions": 7868965
7
+ }
models/subword_markov/crh_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ab59e75e6595f11a4437338aa658f32767c561497c79e161cf3d4148cdd2c79
3
+ size 2047334
models/subword_markov/crh_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_contexts": 73541,
6
+ "total_transitions": 7839271
7
+ }
models/subword_markov/crh_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fcb0e55ae35489db7ded118cd7a233f52f8dd657681364cb8e3372187263e04
3
+ size 5676695
models/subword_markov/crh_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_contexts": 280480,
6
+ "total_transitions": 7809577
7
+ }
models/subword_ngram/crh_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1d24c9778380ff73f830ff74e1323c5c9a67b1ad255aca792619d77b25d5912
3
+ size 64028
models/subword_ngram/crh_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_ngrams": 4814,
6
+ "total_ngrams": 7898659
7
+ }
models/subword_ngram/crh_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4fd9693cd6180b77894216a45c8557781e0405949f934ac0db671694231e38f
3
+ size 451805
models/subword_ngram/crh_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_ngrams": 35169,
6
+ "total_ngrams": 7868965
7
+ }
models/subword_ngram/crh_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45d6866f9f3500b9daf768646045ee8c250bd213b574f0a8fce2c8ef66523e4e
3
+ size 1836873
models/subword_ngram/crh_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "crh",
5
+ "unique_ngrams": 157163,
6
+ "total_ngrams": 7839271
7
+ }
models/tokenizer/crh_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8bf313aa3863643a3d3a48927e34d71e36c34b5c866db4ec55ff481f2c42cf78
3
+ size 511102
models/tokenizer/crh_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a90dac68538f5086942dbcf27b4787b28e5927dcb62fb4edbfd0d3f645b170cd
3
+ size 798788
models/tokenizer/crh_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_64k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ca674ae3850ca528644e4e9d7d41feaaf7f45a78b69b9eccd17204ad57d458a
3
+ size 1388807
models/tokenizer/crh_tokenizer_64k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd97a27e642560427bbf6bc2e1ec3da514ec6c83ec093a16660de476f4797974
3
+ size 373198
models/tokenizer/crh_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/crh_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37995711df1e3c6e65e7b604e037154a533bfd0c17bbed09013a0b12d6d0cc3a
3
+ size 925242
models/vocabulary/crh_vocabulary_metadata.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "crh",
3
+ "vocabulary_size": 53689,
4
+ "statistics": {
5
+ "type_token_ratio": 0.14047543157959674,
6
+ "coverage": {
7
+ "top_100": 0.42677284364428997,
8
+ "top_1000": 0.594827213933929,
9
+ "top_5000": 0.727782518841444,
10
+ "top_10000": 0.7806146474876361
11
+ },
12
+ "hapax_count": 82936,
13
+ "hapax_ratio": 0.6070338517840805,
14
+ "total_documents": 29694
15
+ }
16
+ }
models/word_markov/crh_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35f93040f44b20143ca6995aa27d0e51be65a8aed5ec256feed368bc396e7b39
3
+ size 4448665
models/word_markov/crh_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_contexts": 136749,
6
+ "total_transitions": 1289772
7
+ }
models/word_markov/crh_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1186f4b8afeb522aea0d59da82796161e681cf8812db7eafe8dce2d594b4cff3
3
+ size 8722410
models/word_markov/crh_markov_ctx2_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_contexts": 422458,
6
+ "total_transitions": 1260079
7
+ }
models/word_markov/crh_markov_ctx3_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70418ae3723bd86e8fa05bb025daf404c3ba9978b2435ea847cff6c13a4929e8
3
+ size 11645146
models/word_markov/crh_markov_ctx3_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_contexts": 585200,
6
+ "total_transitions": 1230387
7
+ }
models/word_markov/crh_markov_ctx4_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca323a9f7ec0e2f8d1a95747ea890278db7668783f6c23a6e5fb60385dc416b1
3
+ size 13583842
models/word_markov/crh_markov_ctx4_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_contexts": 663395,
6
+ "total_transitions": 1200699
7
+ }
models/word_ngram/crh_2gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d99c79cd54a7e225c135d72d01faebb42fc513cea6d991424a374f1c1f37d7b3
3
+ size 271118
models/word_ngram/crh_2gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_ngrams": 18186,
6
+ "total_ngrams": 1289772
7
+ }
models/word_ngram/crh_3gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5273683d72465d19ccff790d2d7b74fa2a21bc70f48fb303660846dc838afdf4
3
+ size 450204
models/word_ngram/crh_3gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_ngrams": 27457,
6
+ "total_ngrams": 1260079
7
+ }
models/word_ngram/crh_4gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfb14a5090afc83bba2389cd24b93178e9858ededac8c4e8505df8fb240e9d5f
3
+ size 905910
models/word_ngram/crh_4gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "word",
4
+ "language": "crh",
5
+ "unique_ngrams": 55382,
6
+ "total_ngrams": 1230387
7
+ }
visualizations/embedding_isotropy.png ADDED