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

Upload all models and assets for crh (20251001)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +299 -133
  2. models/embeddings/monolingual/crh_128d.bin +2 -2
  3. models/embeddings/monolingual/crh_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/crh_32d.bin +2 -2
  5. models/embeddings/monolingual/crh_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/crh_64d.bin +2 -2
  7. models/embeddings/monolingual/crh_64d_metadata.json +5 -3
  8. models/subword_markov/crh_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/crh_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/crh_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/crh_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/crh_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/crh_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/crh_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/crh_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/crh_2gram_subword.parquet +2 -2
  17. models/subword_ngram/crh_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/crh_3gram_subword.parquet +2 -2
  19. models/subword_ngram/crh_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/crh_4gram_subword.parquet +2 -2
  21. models/subword_ngram/crh_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/crh_tokenizer_16k.model +2 -2
  23. models/tokenizer/crh_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/crh_tokenizer_32k.model +2 -2
  25. models/tokenizer/crh_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/crh_tokenizer_64k.model +2 -2
  27. models/tokenizer/crh_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/crh_tokenizer_8k.model +2 -2
  29. models/tokenizer/crh_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/crh_vocabulary.parquet +2 -2
  31. models/vocabulary/crh_vocabulary_metadata.json +10 -9
  32. models/word_markov/crh_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/crh_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/crh_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/crh_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/crh_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/crh_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/crh_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/crh_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/crh_2gram_word.parquet +2 -2
  41. models/word_ngram/crh_2gram_word_metadata.json +2 -2
  42. models/word_ngram/crh_3gram_word.parquet +2 -2
  43. models/word_ngram/crh_3gram_word_metadata.json +2 -2
  44. models/word_ngram/crh_4gram_word.parquet +2 -2
  45. models/word_ngram/crh_4gram_word_metadata.json +2 -2
  46. visualizations/embedding_isotropy.png +0 -0
  47. visualizations/embedding_norms.png +0 -0
  48. visualizations/embedding_similarity.png +2 -2
  49. visualizations/markov_branching.png +0 -0
  50. visualizations/markov_contexts.png +0 -0
README.md CHANGED
@@ -23,14 +23,14 @@ dataset_info:
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
@@ -44,12 +44,13 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
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
@@ -59,7 +60,8 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
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
 
@@ -68,51 +70,57 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
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ñ ▁belgorodvilâyetindekoroça ... (+17 more)` | 27 |
89
- | 16k | `▁novotr oy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetindekoroça ▁rayonında ... (+16 more)` | 26 |
90
- | 32k | `▁novotroy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetindekoroça ▁rayonında ▁bir ... (+15 more)` | 25 |
91
- | 64k | `▁novotroy evka ▁() ▁- ▁rusiyeniñ ▁belgorod ▁vilâyetindekoroç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 nabalka ▁() ▁- ▁ukrainanıñades ▁vilâyetindeades ... (+18 more)` | 28 |
98
- | 16k | `▁hol od nabalka ▁() ▁- ▁ukrainanıñades ▁vilâyetindeades ... (+18 more)` | 28 |
99
- | 32k | `▁hol odna ▁balka ▁() ▁- ▁ukrainanıñades ▁vilâyetindeades ▁rayonında ... (+17 more)` | 27 |
100
- | 64k | `▁holodnabalka ▁() ▁- ▁ukrainanıñades ▁vilâyetindeadesrayonı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 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
 
@@ -121,57 +129,89 @@ Below are sample sentences tokenized with each vocabulary size:
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
  ---
@@ -179,55 +219,86 @@ Below are sample sentences tokenized with each vocabulary size:
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
  ---
@@ -243,64 +314,64 @@ Below are text samples generated from each Markov chain model:
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
@@ -313,24 +384,116 @@ Below are text samples generated from each Markov chain model:
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
 
@@ -338,11 +501,12 @@ Below are text samples generated from each Markov chain model:
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
 
@@ -532,7 +696,8 @@ If you use these models in your research, please cite:
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
  }
@@ -548,7 +713,8 @@ MIT License - Free for academic and commercial use.
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*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 4.773
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.6920
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # CRH - Wikilangs Models
 
44
  ### Models & Assets
45
 
46
  - Tokenizers (8k, 16k, 32k, 64k)
47
+ - N-gram models (2, 3, 4, 5-gram)
48
+ - Markov chains (context of 1, 2, 3, 4 and 5)
49
  - Subword N-gram and Markov chains
50
+ - Embeddings in various sizes and dimensions (aligned and unaligned)
51
  - Language Vocabulary
52
  - Language Statistics
53
+
54
  ![Performance Dashboard](visualizations/performance_dashboard.png)
55
 
56
  ### Analysis and Evaluation
 
60
  - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
61
  - [4. Vocabulary Analysis](#4-vocabulary-analysis)
62
  - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
63
+ - [6. Morphological Analysis (Experimental)](#6-morphological-analysis)
64
+ - [7. Summary & Recommendations](#7-summary--recommendations)
65
  - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
66
  - [Visualizations Index](#visualizations-index)
67
 
 
70
 
71
  ![Tokenizer Compression](visualizations/tokenizer_compression.png)
72
 
73
+ ![Tokenizer Fertility](visualizations/tokenizer_fertility.png)
74
+
75
+ ![Tokenizer OOV](visualizations/tokenizer_oov.png)
76
+
77
+ ![Total Tokens](visualizations/tokenizer_total_tokens.png)
78
+
79
  ### Results
80
 
81
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
82
  |------------|-------------|---------------|----------|--------------|
83
+ | **8k** | 3.643x | 3.65 | 0.2020% | 214,351 |
84
+ | **16k** | 4.073x | 4.08 | 0.2258% | 191,723 |
85
+ | **32k** | 4.453x | 4.46 | 0.2469% | 175,361 |
86
+ | **64k** | 4.773x 🏆 | 4.78 | 0.2647% | 163,591 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `Şaburovo () - Rusiyeniñ Altay ülkesinde Solton rayonında bir qasaba. Ealisiniñ s...`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁şab urovo ▁() ▁- ▁rusiyeniñ ▁altay ▁ülkesinde soltonrayonında ▁bir ... (+12 more)` | 22 |
97
+ | 16k | `▁şab urovo ▁() ▁- ▁rusiyeniñ ▁altay ▁ülkesindesolton ▁rayonında ▁bir ... (+12 more)` | 22 |
98
+ | 32k | `▁şab urovo ▁() ▁- ▁rusiyeniñ ▁altay ▁ülkesindesolton ▁rayonında ▁bir ... (+12 more)` | 22 |
99
+ | 64k | `▁şaburovo ▁() ▁- ▁rusiyeniñ ▁altay ▁ülkesindesolton ▁rayonında ▁bir ▁qasaba ... (+11 more)` | 21 |
100
 
101
+ **Sample 2:** `Polzunovo () - Rusiyeniñ Altay ülkesinde Barnaul şeer bölgesinda bir stantsiya. ...`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁pol z unovo ▁() ▁- ▁rusiyeniñaltay ▁ülkesindebarnaul ▁şeer ... (+17 more)` | 27 |
106
+ | 16k | `▁pol z unovo ▁() ▁- ▁rusiyeniñaltay ▁ülkesindebarnaul ▁şeer ... (+17 more)` | 27 |
107
+ | 32k | `▁pol z unovo ▁() ▁- ▁rusiyeniñaltay ▁ülkesindebarnaul ▁şeer ... (+17 more)` | 27 |
108
+ | 64k | `▁polzunovo ▁() ▁- ▁rusiyeniñaltay ▁ülkesindebarnaul ▁şeer bölgesinda ▁bir ... (+15 more)` | 25 |
109
 
110
+ **Sample 3:** `Bobliv () - Ukrainanıñ Vinnıtsâ vilâyetinde Vinnıtsâ rayonında bir köy. Ealisini...`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁bob liv ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁vinnıtsâ ▁rayonında ▁bir ... (+12 more)` | 22 |
115
+ | 16k | `▁bob liv ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁vinnıtsâ ▁rayonında ▁bir ... (+12 more)` | 22 |
116
+ | 32k | `▁bob liv ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁vinnıtsâ ▁rayonında ▁bir ... (+12 more)` | 22 |
117
+ | 64k | `▁bobliv ▁() ▁- ▁ukrainanıñ ▁vinnıtsâ ▁vilâyetinde ▁vinnıtsâ ▁rayonında ▁bir ▁köy ... (+11 more)` | 21 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 4.773x compression
123
+ - **Lowest UNK Rate:** 8k with 0.2020% unknown tokens
124
  - **Trade-off:** Larger vocabularies improve compression but increase model size
125
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
126
 
 
129
 
130
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
131
 
132
+ ![N-gram Unique](visualizations/ngram_unique.png)
133
+
134
  ![N-gram Coverage](visualizations/ngram_coverage.png)
135
 
136
  ### Results
137
 
138
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
139
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
140
+ | **2-gram** | Word | 851 | 9.73 | 10,225 | 56.0% | 74.3% |
141
+ | **2-gram** | Subword | 349 🏆 | 8.45 | 3,905 | 63.4% | 98.0% |
142
+ | **3-gram** | Word | 1,276 | 10.32 | 13,312 | 49.1% | 71.8% |
143
+ | **3-gram** | Subword | 2,227 | 11.12 | 29,302 | 33.0% | 71.7% |
144
+ | **4-gram** | Word | 4,192 | 12.03 | 31,529 | 31.9% | 54.7% |
145
+ | **4-gram** | Subword | 7,868 | 12.94 | 131,434 | 26.0% | 52.2% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `ealisiniñ sayısı` | 20,731 |
154
+ | 2 | `rayonında bir` | 17,343 |
155
+ | 3 | `meskün yerler` | 12,883 |
156
+ | 4 | `bir köy` | 10,053 |
157
+ | 5 | `köy ealisiniñ` | 9,130 |
158
+
159
+ **3-grams (Word):**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `rayonında bir köy` | 9,305 |
164
+ | 2 | `köy ealisiniñ sayısı` | 9,130 |
165
+ | 3 | `bir köy ealisiniñ` | 9,130 |
166
+ | 4 | `rayonındaki meskün yerler` | 5,591 |
167
+ | 5 | `kişi meskün yerler` | 4,604 |
168
+
169
+ **4-grams (Word):**
170
+
171
+ | Rank | N-gram | Count |
172
+ |------|--------|-------|
173
+ | 1 | `bir köy ealisiniñ sayısı` | 9,130 |
174
+ | 2 | `rayonında bir köy ealisiniñ` | 8,976 |
175
+ | 3 | `bir köydir ealisiniñ sayısı` | 4,601 |
176
+ | 4 | `rayonında bir köydir ealisiniñ` | 4,565 |
177
+ | 5 | `i̇htar rayonındaki meskün yerler` | 3,615 |
178
+
179
+ **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
+ | 1 | `i n` | 101,180 |
184
+ | 2 | `e r` | 95,484 |
185
+ | 3 | `a _` | 88,670 |
186
+ | 4 | `r _` | 84,656 |
187
+ | 5 | `. _` | 80,946 |
188
 
189
+ **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
+ | 1 | `i ñ _` | 43,476 |
194
+ | 2 | `n i ñ` | 42,980 |
195
+ | 3 | `l e r` | 42,878 |
196
+ | 4 | `n d e` | 35,841 |
197
+ | 5 | `e t i` | 35,623 |
198
 
199
+ **4-grams (Subword):**
200
 
201
  | Rank | N-gram | Count |
202
  |------|--------|-------|
203
+ | 1 | `n i ñ _` | 42,723 |
204
+ | 2 | `i n d e` | 34,201 |
205
+ | 3 | `y e t i` | 30,809 |
206
+ | 4 | n d a` | 30,136 |
207
+ | 5 | `_ b i r` | 29,657 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 349
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
+ - **Coverage:** Top-1000 patterns cover ~52% of corpus
215
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
216
 
217
  ---
 
219
 
220
  ![Markov Entropy](visualizations/markov_entropy.png)
221
 
222
+ ![Markov Contexts](visualizations/markov_contexts.png)
223
+
224
  ![Markov Branching](visualizations/markov_branching.png)
225
 
226
  ### Results
227
 
228
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
229
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
230
+ | **1** | Word | 0.6260 | 1.543 | 3.00 | 128,781 | 37.4% |
231
+ | **1** | Subword | 0.8874 | 1.850 | 6.86 | 1,506 | 11.3% |
232
+ | **2** | Word | 0.1303 | 1.094 | 1.24 | 384,958 | 87.0% |
233
+ | **2** | Subword | 0.9042 | 1.872 | 5.57 | 10,319 | 9.6% |
234
+ | **3** | Word | 0.0387 | 1.027 | 1.07 | 475,888 | 96.1% |
235
+ | **3** | Subword | 0.8152 | 1.760 | 3.87 | 57,491 | 18.5% |
236
+ | **4** | Word | 0.0241 🏆 | 1.017 | 1.05 | 504,736 | 97.6% |
237
+ | **4** | Subword | 0.6067 | 1.523 | 2.54 | 222,424 | 39.3% |
238
+
239
+ ### Generated Text Samples (Word-based)
240
+
241
+ Below are text samples generated from each word-based Markov chain model:
242
+
243
+ **Context Size 1:**
244
+
245
+ 1. `bir köy ealisiniñ sayısı 102 1 ya ayaqlı bir köydir ealisiniñ sayısı kişi vilâyetindeki qasabalar ma...`
246
+ 2. `kişi vilâyetindeki meskün yerleri şeer şeklinde qasabalar albörikent accı suv miktarınıñ az olğanına...`
247
+ 3. `sayısı 919 kişi vilâyetindeki şeerler boksitogorsk rayonında bir dürki türkiyede oturğan 2 567 kişi ...`
248
+
249
+ **Context Size 2:**
250
+
251
+ 1. `ealisiniñ sayısı 3 900 kişi muhtar vilâyetindeki şeer şeklinde qasabalar bazarnıy karabulak rayonını...`
252
+ 2. `rayonında bir şeer gornozavodsk rayonınıñ merkezi ealisiniñ sayısı 562 kişi vilâyetindeki köyler ray...`
253
+ 3. `bir köy ealisiniñ sayısı 952 kişi vilâyetindeki meskün yerler köyler atıflar rayonındaki meskün yerl...`
254
+
255
+ **Context Size 3:**
256
+
257
+ 1. `rayonında bir köy ealisiniñ sayısı kişi i̇htar rayonındaki meskün yerler köyler atıflar rayonındaki ...`
258
+ 2. `köy ealisiniñ sayısı 183 kişi i̇htar rayonındaki meskün yerler köyler atıflar rayonındaki meskün yer...`
259
+ 3. `bir köy ealisiniñ sayısı 7 kişi i̇htar rayonındaki meskün yerler şeer şeklinde qasabalar verhovye gl...`
260
+
261
+ **Context Size 4:**
262
+
263
+ 1. `bir köy ealisiniñ sayısı kişi vilâyetindeki şeer şeklinde qasabalar şeer bölgesindeki meskün yerler ...`
264
+ 2. `rayonında bir köy ealisiniñ sayısı 572 kişi i̇htar rayonındaki meskün yerler vilâyetindeki şeer şekl...`
265
+ 3. `bir köydir ealisiniñ sayısı 306 kişi meskün yerler`
266
 
 
267
 
268
+ ### Generated Text Samples (Subword-based)
269
+
270
+ Below are text samples generated from each subword-based Markov chain model:
271
 
272
  **Context Size 1:**
273
 
274
+ 1. `_revıñ_moviñmur_`
275
+ 2. `a_()._ay.._obeto`
276
+ 3. `i_робу_yıñ_()_fi`
277
 
278
  **Context Size 2:**
279
 
280
+ 1. `inovaq_ümalmannıñ`
281
+ 2. `a_başqırınde_talo`
282
+ 3. `r_rus_graynay_the`
283
 
284
  **Context Size 3:**
285
 
286
+ 1. `iñ_brânskaya_yañız`
287
+ 2. `niñ_araman_sürtüyl`
288
+ 3. `nde_bek-tatar_vilâ`
289
 
290
  **Context Size 4:**
291
 
292
+ 1. `niñ_stepanovskiy_—_`
293
+ 2. `inde_ölümlerinen_so`
294
+ 3. `yetindeki_meskün_ye`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 97.6% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (222,424 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 51,581 |
318
+ | Total Tokens | 778,307 |
319
+ | Mean Frequency | 15.09 |
320
  | Median Frequency | 3 |
321
+ | Frequency Std Dev | 271.68 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | bir | 27,780 |
328
+ | 2 | kişi | 20,845 |
329
+ | 3 | sayısı | 20,811 |
330
+ | 4 | ealisiniñ | 20,761 |
331
+ | 5 | rayonında | 17,383 |
332
+ | 6 | meskün | 13,506 |
333
+ | 7 | yerler | 12,928 |
334
+ | 8 | vilâyetinde | 12,431 |
335
+ | 9 | köy | 10,895 |
336
+ | 10 | rusiyeniñ | 9,597 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | ekranlar | 2 |
343
+ | 2 | oem | 2 |
344
+ | 3 | macbook | 2 |
345
+ | 4 | mahsuldarlıq | 2 |
346
+ | 5 | planşetler | 2 |
347
+ | 6 | fatemeh | 2 |
348
+ | 7 | movaghar | 2 |
349
+ | 8 | پریسا | 2 |
350
+ | 9 | موقر | 2 |
351
+ | 10 | slammer | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 0.9849 |
358
+ | R² (Goodness of Fit) | 0.998059 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 45.4% |
366
+ | Top 1,000 | 63.7% |
367
+ | Top 5,000 | 78.1% |
368
+ | Top 10,000 | 84.3% |
369
 
370
  ### Key Findings
371
 
372
+ - **Zipf Compliance:** R²=0.9981 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 45.4% of corpus
374
+ - **Long Tail:** 41,581 words needed for remaining 15.7% coverage
375
 
376
  ---
377
  ## 5. Word Embeddings Evaluation
 
384
 
385
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
386
 
 
387
 
388
+ ### 5.1 Cross-Lingual Alignment
389
+
390
+ > *Note: Multilingual alignment visualization not available for this language.*
391
+
392
+
393
+ ### 5.2 Model Comparison
394
+
395
+ | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
396
+ |-------|-----------|----------|------------------|---------------|----------------|
397
+ | **mono_32d** | 32 | 0.6920 🏆 | 0.3816 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.4424 | 0.3546 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.1085 | 0.3496 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_32d with 0.6920 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.3619. Lower values indicate better semantic separation.
405
+ - **Alignment Quality:** No aligned models evaluated in this run.
406
+ - **Recommendation:** 128d aligned for best cross-lingual performance
407
+
408
+ ---
409
+ ## 6. Morphological Analysis (Experimental)
410
+
411
+ > ⚠️ **Warning:** This language shows low morphological productivity. The statistical signals used for this analysis may be noisy or less reliable than for morphologically rich languages.
412
+
413
+ 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.
414
+
415
+ ### 6.1 Productivity & Complexity
416
+
417
+ | Metric | Value | Interpretation | Recommendation |
418
+ |--------|-------|----------------|----------------|
419
+ | Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
420
+ | Idiomaticity Gap | **-1.000** | Low formulaic content | - |
421
+
422
+ ### 6.2 Affix Inventory (Productive Units)
423
+
424
+ 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.
425
+
426
+ #### Productive Prefixes
427
+ | Prefix | Examples |
428
+ |--------|----------|
429
+
430
+ #### Productive Suffixes
431
+ | Suffix | Examples |
432
+ |--------|----------|
433
+ | `-a` | belâyeva, sira, boynuna |
434
+ | `-ka` | tatyanovka, verigovka, mazanka |
435
+ | `-vo` | çkalovo, beketovo, çufarovo |
436
+ | `-vka` | tatyanovka, verigovka, karnauhovka |
437
+ | `-an` | yasaqlağan, başqırtistan, i̇talyan |
438
+ | `-ovo` | çkalovo, beketovo, çufarovo |
439
+ | `-en` | yerlerinden, esitgen, yaratıcılığınen |
440
+ | `-ya` | nesterovskaya, podsosennaya, borzovaya |
441
+
442
+ ### 6.3 Bound Stems (Lexical Roots)
443
+
444
+ 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.
445
+
446
+ | Stem | Cohesion | Substitutability | Examples |
447
+ |------|----------|------------------|----------|
448
+ | `rler` | 1.64x | 57 contexts | erler, yerler, kirler |
449
+ | `siye` | 2.07x | 21 contexts | asiye, rusiye, vasiyet |
450
+ | `isin` | 1.60x | 34 contexts | lisin, episine, ekisini |
451
+ | `iniñ` | 1.68x | 26 contexts | eliniñ, aliniñ, öziniñ |
452
+ | `nesi` | 1.66x | 22 contexts | nesir, nesib, nesil |
453
+ | `usiy` | 2.15x | 9 contexts | lusiya, rusiye, hususiy |
454
+ | `eniñ` | 1.77x | 15 contexts | heniñ, seniñ, ekeniñ |
455
+ | `lâye` | 1.89x | 11 contexts | gulâyev, belâyev, vilâyet |
456
+ | `âyet` | 1.89x | 11 contexts | vilâyet, menâyet, şikâyet |
457
+ | `yeti` | 1.62x | 17 contexts | yetim, yetip, yetişe |
458
+ | `sini` | 1.62x | 15 contexts | siniy, sinip, sesini |
459
+ | `tind` | 1.75x | 11 contexts | etinden, betinde, şetinde |
460
+
461
+ ### 6.4 Affix Compatibility (Co-occurrence)
462
+
463
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
464
+
465
+ *No significant affix co-occurrences detected.*
466
+
467
+
468
+ ### 6.5 Recursive Morpheme Segmentation
469
+
470
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
471
+
472
+ | Word | Suggested Split | Confidence | Stem |
473
+ |------|-----------------|------------|------|
474
+ | çabayevka | **`çaba-ye-vka`** | 6.0 | `çaba` |
475
+ | ruzayevka | **`ruza-ye-vka`** | 6.0 | `ruza` |
476
+ | turmayevo | **`turma-ye-vo`** | 6.0 | `turma` |
477
+ | natalivka | **`natali-vka`** | 4.5 | `natali` |
478
+ | çingizovo | **`çingiz-ovo`** | 4.5 | `çingiz` |
479
+ | krasnoyarovo | **`krasnoyar-ovo`** | 4.5 | `krasnoyar` |
480
+ | kapustinka | **`kapustin-ka`** | 4.5 | `kapustin` |
481
+ | malinovka | **`malino-vka`** | 4.5 | `malino` |
482
+ | soldatovo | **`soldat-ovo`** | 4.5 | `soldat` |
483
+ | kaltımanovo | **`kaltım-an-ovo`** | 3.0 | `kaltım` |
484
+ | balabanovo | **`balab-an-ovo`** | 3.0 | `balab` |
485
+ | olehovskaya | **`olehovs-ka-ya`** | 3.0 | `olehovs` |
486
+ | olşanskaya | **`olşans-ka-ya`** | 3.0 | `olşans` |
487
+ | kıtmanovo | **`kıtm-an-ovo`** | 3.0 | `kıtm` |
488
+ | kropıvenka | **`kropıv-en-ka`** | 3.0 | `kropıv` |
489
+
490
+ ### 6.6 Linguistic Interpretation
491
+
492
+ > **Automated Insight:**
493
+ The language CRH appears to be more isolating or has a highly fixed vocabulary. Word-level models perform nearly as well as subword models, indicating fewer productive morphological processes.
494
 
495
  ---
496
+ ## 7. Summary & Recommendations
497
 
498
  ![Performance Dashboard](visualizations/performance_dashboard.png)
499
 
 
501
 
502
  | Component | Recommended | Rationale |
503
  |-----------|-------------|-----------|
504
+ | Tokenizer | **64k BPE** | Best compression (4.77x) |
505
+ | N-gram | **2-gram** | Lowest perplexity (349) |
506
+ | Markov | **Context-4** | Highest predictability (97.6%) |
507
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
508
 
509
+
510
  ---
511
  ## Appendix: Metrics Glossary & Interpretation Guide
512
 
 
696
  author = {Kamali, Omar},
697
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
698
  year = {2025},
699
+ doi = {10.5281/zenodo.18073153},
700
+ publisher = {Zenodo},
701
  url = {https://huggingface.co/wikilangs}
702
  institution = {Omneity Labs}
703
  }
 
713
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
714
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
715
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
716
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
717
  ---
718
  *Generated by Wikilangs Models Pipeline*
719
 
720
+ *Report Date: 2026-01-03 10:33:02*
models/embeddings/monolingual/crh_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2711de686fbbdccec9b4c232aeb1a2ff6589a0a5ab35d03b8eed6ce02bd7f456
3
- size 1040761703
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2c03c90e9321eff6a486a7b259eb6d14069ad97d6e4851aaa1d32c01bb7310b
3
+ size 1039804561
models/embeddings/monolingual/crh_128d_metadata.json CHANGED
@@ -3,11 +3,13 @@
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
  }
 
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": 15175
15
  }
models/embeddings/monolingual/crh_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:66a6e8733bef4321f51d9516ccf447352157f4a62af7a17ee0b3077db4528dcf
3
- size 260404583
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08fc415d5a1b109301770bd6dbcbfbdde2008dd25a25d23f81ace78bc3971a3a
3
+ size 260150161
models/embeddings/monolingual/crh_32d_metadata.json CHANGED
@@ -3,11 +3,13 @@
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
  }
 
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": 15175
15
  }
models/embeddings/monolingual/crh_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9d958dcba834b7704a2fa91467c099cd2ee01f0d1d5fed91d7a38303939710c0
3
- size 520523623
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5d8136014d664519e3bafeb0cfc668b4993f78425d51bdcf0d9d06734bd0726
3
+ size 520034961
models/embeddings/monolingual/crh_64d_metadata.json CHANGED
@@ -3,11 +3,13 @@
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
  }
 
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": 15175
15
  }
models/subword_markov/crh_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9de08c51e7f35ddea586397377dd1a690a335be3deafe5034997cfcfdc8fb563
3
- size 98281
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2ba0d156d7362837baf91177f2123bb0ccb074f4556c38c22f0d046b19f9805
3
+ size 84372
models/subword_markov/crh_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_contexts": 1393,
6
- "total_transitions": 7898659
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_contexts": 1506,
6
+ "total_transitions": 6777473
7
  }
models/subword_markov/crh_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9bb8639872bba7668e3be3688a341970c45c509563b7d7eff3fddaa1b857968
3
- size 581277
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a42c66f0a162aa7d06896db540b1636552e8a9ebc256f5e6cf8d91c7301d5444
3
+ size 481861
models/subword_markov/crh_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_contexts": 12902,
6
- "total_transitions": 7868965
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_contexts": 10319,
6
+ "total_transitions": 6748084
7
  }
models/subword_markov/crh_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ab59e75e6595f11a4437338aa658f32767c561497c79e161cf3d4148cdd2c79
3
- size 2047334
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a42665c99cf0102347580ad03ad8662c7dcd958de7c0259e8380dcbc939a89f
3
+ size 1701410
models/subword_markov/crh_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_contexts": 73541,
6
- "total_transitions": 7839271
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_contexts": 57491,
6
+ "total_transitions": 6718695
7
  }
models/subword_markov/crh_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4fcb0e55ae35489db7ded118cd7a233f52f8dd657681364cb8e3372187263e04
3
- size 5676695
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:769a741cb6357905e7c73c65cde5f662a2cbc84d3c2b1870ec910617615ba5a1
3
+ size 4686904
models/subword_markov/crh_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_contexts": 280480,
6
- "total_transitions": 7809577
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_contexts": 222424,
6
+ "total_transitions": 6689306
7
  }
models/subword_ngram/crh_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a1d24c9778380ff73f830ff74e1323c5c9a67b1ad255aca792619d77b25d5912
3
- size 64028
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d352e2e3b7dd102bd7055d607a37c3738aff67c0c66285e95804ad330500d280
3
+ size 52920
models/subword_ngram/crh_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_ngrams": 4814,
6
- "total_ngrams": 7898659
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_ngrams": 3905,
6
+ "total_ngrams": 6777473
7
  }
models/subword_ngram/crh_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a4fd9693cd6180b77894216a45c8557781e0405949f934ac0db671694231e38f
3
- size 451805
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a92a6f76ef54f7e43af0d7e9c762ace522be6627fa4f29ab3df5200c1f2a63d
3
+ size 375416
models/subword_ngram/crh_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_ngrams": 35169,
6
- "total_ngrams": 7868965
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_ngrams": 29302,
6
+ "total_ngrams": 6748084
7
  }
models/subword_ngram/crh_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:45d6866f9f3500b9daf768646045ee8c250bd213b574f0a8fce2c8ef66523e4e
3
- size 1836873
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ddc20df05c5929fbc17c37bba729a38c20ac69752548221a46c1e42b8e8359f
3
+ size 1562486
models/subword_ngram/crh_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "crh",
5
- "unique_ngrams": 157163,
6
- "total_ngrams": 7839271
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "crh",
5
+ "unique_ngrams": 131434,
6
+ "total_ngrams": 6718695
7
  }
models/tokenizer/crh_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bf313aa3863643a3d3a48927e34d71e36c34b5c866db4ec55ff481f2c42cf78
3
- size 511102
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7252484520841503b3c10a110b3ea4ba3a62f7073a69a342466526a0b31ef51c
3
+ size 513301
models/tokenizer/crh_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a90dac68538f5086942dbcf27b4787b28e5927dcb62fb4edbfd0d3f645b170cd
3
- size 798788
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60b38160d9a927f6ea17a75ef13bbe991a80a50121d1c845806c967c815488f3
3
+ size 797422
models/tokenizer/crh_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ca674ae3850ca528644e4e9d7d41feaaf7f45a78b69b9eccd17204ad57d458a
3
- size 1388807
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b45034637ab90c0741ce2ac1009165fc7e87f960f1ff87e489cabdedb42a8c8
3
+ size 1425086
models/tokenizer/crh_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/crh_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd97a27e642560427bbf6bc2e1ec3da514ec6c83ec093a16660de476f4797974
3
- size 373198
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:414811c3993e9f6351075aaf47ac4ebe0185a4a1e2948c911bbbe25a0c48d8d1
3
+ size 373959
models/tokenizer/crh_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/crh_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37995711df1e3c6e65e7b604e037154a533bfd0c17bbed09013a0b12d6d0cc3a
3
- size 925242
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e154d72a53b3ecac61e12ba483392cfb82a4cc6a0a1b854df1b5a9a58503b2e9
3
+ size 892791
models/vocabulary/crh_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
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
  }
 
1
  {
2
  "language": "crh",
3
+ "vocabulary_size": 51581,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.1506807050021212,
7
  "coverage": {
8
+ "top_100": 0.4134086438841732,
9
+ "top_1000": 0.5791304225875555,
10
+ "top_5000": 0.7107789686755324,
11
+ "top_10000": 0.7672291584127752
12
  },
13
+ "hapax_count": 77350,
14
+ "hapax_ratio": 0.599933297655335,
15
+ "total_documents": 29389
16
  }
17
  }
models/word_markov/crh_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35f93040f44b20143ca6995aa27d0e51be65a8aed5ec256feed368bc396e7b39
3
- size 4448665
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aa9bdb634e256e31b79d824958c523b31cd09097f73541b17948bf1af86cd78
3
+ size 4147698
models/word_markov/crh_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_contexts": 136749,
6
- "total_transitions": 1289772
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_contexts": 128781,
6
+ "total_transitions": 826268
7
  }
models/word_markov/crh_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1186f4b8afeb522aea0d59da82796161e681cf8812db7eafe8dce2d594b4cff3
3
- size 8722410
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4febe8a6192229f809c3e676345cedfae6db5b2e8a8029ea9bd763e24109c749
3
+ size 8051739
models/word_markov/crh_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_contexts": 422458,
6
- "total_transitions": 1260079
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_contexts": 384958,
6
+ "total_transitions": 796879
7
  }
models/word_markov/crh_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70418ae3723bd86e8fa05bb025daf404c3ba9978b2435ea847cff6c13a4929e8
3
- size 11645146
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caae72ac1890563cfd5dfa7c47424d891c27b0908ee8f566663d3643381cb21a
3
+ size 10138150
models/word_markov/crh_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_contexts": 585200,
6
- "total_transitions": 1230387
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_contexts": 475888,
6
+ "total_transitions": 767490
7
  }
models/word_markov/crh_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca323a9f7ec0e2f8d1a95747ea890278db7668783f6c23a6e5fb60385dc416b1
3
- size 13583842
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9ec4ee75c44b8904cc99f17faf16f7bea9180258b479d3929a09babcc3ee856
3
+ size 11333545
models/word_markov/crh_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_contexts": 663395,
6
- "total_transitions": 1200699
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_contexts": 504736,
6
+ "total_transitions": 738101
7
  }
models/word_ngram/crh_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d99c79cd54a7e225c135d72d01faebb42fc513cea6d991424a374f1c1f37d7b3
3
- size 271118
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38e4591741f05c6464cdd00c48756cae1ce9ebc68dbb5edc00a18785d0a4b37e
3
+ size 166309
models/word_ngram/crh_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_ngrams": 18186,
6
- "total_ngrams": 1289772
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_ngrams": 10225,
6
+ "total_ngrams": 826268
7
  }
models/word_ngram/crh_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5273683d72465d19ccff790d2d7b74fa2a21bc70f48fb303660846dc838afdf4
3
- size 450204
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0d488d4bae7e345da8886938b5756fcf2fa6837a6a001ee13eaf782ae72c20d9
3
+ size 228117
models/word_ngram/crh_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_ngrams": 27457,
6
- "total_ngrams": 1260079
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_ngrams": 13312,
6
+ "total_ngrams": 796879
7
  }
models/word_ngram/crh_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dfb14a5090afc83bba2389cd24b93178e9858ededac8c4e8505df8fb240e9d5f
3
- size 905910
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9dcb5e222de491d28b07541ff9e5eb152aaafd411b98e66613479e8d5a98129
3
+ size 558302
models/word_ngram/crh_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "crh",
5
- "unique_ngrams": 55382,
6
- "total_ngrams": 1230387
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "crh",
5
+ "unique_ngrams": 31529,
6
+ "total_ngrams": 767490
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: 9ba2585626a8d3a717c84ecbe61b662a755162b10a616b2a5e07fd05e28a0a93
  • Pointer size: 131 Bytes
  • Size of remote file: 158 kB

Git LFS Details

  • SHA256: 257f8ac38523c28d60831314514d1bb6f72a8d3ab567a1130426314c047ec2d3
  • Pointer size: 131 Bytes
  • Size of remote file: 151 kB
visualizations/markov_branching.png CHANGED
visualizations/markov_contexts.png CHANGED