omarkamali commited on
Commit
ca0ba91
·
verified ·
1 Parent(s): a268dfa

Upload all models and assets for co (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 +315 -139
  2. models/embeddings/monolingual/co_128d.bin +2 -2
  3. models/embeddings/monolingual/co_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/co_32d.bin +2 -2
  5. models/embeddings/monolingual/co_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/co_64d.bin +2 -2
  7. models/embeddings/monolingual/co_64d_metadata.json +5 -3
  8. models/subword_markov/co_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/co_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/co_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/co_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/co_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/co_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/co_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/co_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/co_2gram_subword.parquet +2 -2
  17. models/subword_ngram/co_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/co_3gram_subword.parquet +2 -2
  19. models/subword_ngram/co_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/co_4gram_subword.parquet +2 -2
  21. models/subword_ngram/co_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/co_tokenizer_16k.model +2 -2
  23. models/tokenizer/co_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/co_tokenizer_32k.model +2 -2
  25. models/tokenizer/co_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/co_tokenizer_64k.model +2 -2
  27. models/tokenizer/co_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/co_tokenizer_8k.model +2 -2
  29. models/tokenizer/co_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/co_vocabulary.parquet +2 -2
  31. models/vocabulary/co_vocabulary_metadata.json +10 -9
  32. models/word_markov/co_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/co_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/co_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/co_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/co_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/co_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/co_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/co_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/co_2gram_word.parquet +2 -2
  41. models/word_ngram/co_2gram_word_metadata.json +2 -2
  42. models/word_ngram/co_3gram_word.parquet +2 -2
  43. models/word_ngram/co_3gram_word_metadata.json +2 -2
  44. models/word_ngram/co_4gram_word.parquet +2 -2
  45. models/word_ngram/co_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.112
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8279
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 60410
33
- generated: 2025-12-28
34
  ---
35
 
36
  # CO - 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,59 +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.411x | 3.34 | 0.0362% | 381,463 |
76
- | **16k** | 3.668x | 3.59 | 0.0389% | 354,761 |
77
- | **32k** | 3.899x | 3.81 | 0.0414% | 333,726 |
78
- | **64k** | 4.112x 🏆 | 4.02 | 0.0436% | 316,458 |
79
 
80
  ### Tokenization Examples
81
 
82
  Below are sample sentences tokenized with each vocabulary size:
83
 
84
- **Sample 1:** `hè una cumuna spagnola di a pruvincia di Soria, in a cumunità autonoma di Castig...`
85
 
86
  | Vocab | Tokens | Count |
87
  |-------|--------|-------|
88
- | 8k | `▁hè ▁una ▁cumuna ▁spagnola ▁di ▁a ▁pruvincia ▁di ▁soria , ... (+14 more)` | 24 |
89
- | 16k | `▁hè ▁una ▁cumuna ▁spagnola ▁di ▁a ▁pruvincia ▁di ▁soria , ... (+14 more)` | 24 |
90
- | 32k | `▁hè ▁una ▁cumuna ▁spagnola ▁di ▁a ▁pruvincia ▁di ▁soria , ... (+14 more)` | 24 |
91
- | 64k | `▁hè ▁una ▁cumuna ▁spagnola ▁di ▁a ▁pruvincia ▁di ▁soria , ... (+14 more)` | 24 |
92
-
93
- **Sample 2:** `Aries Spears hè un attore americanu.
94
-
95
- Biugrafia
96
 
97
- Da vede dinò
98
- Listinu di l'...`
99
 
100
  | Vocab | Tokens | Count |
101
  |-------|--------|-------|
102
- | 8k | `▁ari es ▁spe ars ▁hè ▁unattoreamericanu .biugrafia ... (+22 more)` | 32 |
103
- | 16k | `▁ari es ▁spe ars ▁hè ▁unattoreamericanu .biugrafia ... (+22 more)` | 32 |
104
- | 32k | `▁ari es ▁spe ars ▁hè ▁unattoreamericanu .biugrafia ... (+22 more)` | 32 |
105
- | 64k | `▁ariesspearsunattoreamericanu .biugrafiadavede ... (+16 more)` | 26 |
106
 
107
- **Sample 3:** `Arliss Howard (18 ottobre 1954) hè un attore americanu.
108
-
109
- Da vede dinò
110
- Listinu di...`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
- | 8k | `▁ar li ss ho ward( 1 8ottobre ▁ ... (+23 more)` | 33 |
115
- | 16k | `▁ar li ssho ward( 1 8 ottobre ▁ ... (+23 more)` | 33 |
116
- | 32k | `▁ar li sshoward( 1 8ottobre1 ... (+20 more)` | 30 |
117
- | 64k | `▁arli sshoward( 1 8ottobre1 9 ... (+19 more)` | 29 |
118
 
119
 
120
  ### Key Findings
121
 
122
- - **Best Compression:** 64k achieves 4.112x compression
123
- - **Lowest UNK Rate:** 8k with 0.0362% 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,57 +129,89 @@ Listinu di...`
129
 
130
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
131
 
 
 
132
  ![N-gram Coverage](visualizations/ngram_coverage.png)
133
 
134
  ### Results
135
 
136
- | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
137
- |--------|------------|---------|----------------|------------------|-------------------|
138
- | **2-gram** | 8,586 🏆 | 13.07 | 59,847 | 24.1% | 47.7% |
139
- | **2-gram** | 252 🏆 | 7.98 | 3,720 | 68.2% | 99.4% |
140
- | **3-gram** | 25,561 | 14.64 | 108,167 | 12.3% | 31.9% |
141
- | **3-gram** | 1,976 | 10.95 | 27,040 | 26.7% | 74.8% |
142
- | **4-gram** | 50,965 | 15.64 | 187,731 | 9.1% | 24.8% |
143
- | **4-gram** | 10,378 | 13.34 | 132,259 | 13.2% | 40.9% |
144
 
145
  ### Top 5 N-grams by Size
146
 
147
- **2-grams:**
148
 
149
  | Rank | N-gram | Count |
150
  |------|--------|-------|
151
- | 1 | `l '` | 45,334 |
152
- | 2 | `di u` | 18,690 |
153
- | 3 | `di a` | 18,510 |
154
- | 4 | `d '` | 14,383 |
155
- | 5 | `di l` | 13,245 |
156
 
157
- **3-grams:**
158
 
159
  | Rank | N-gram | Count |
160
  |------|--------|-------|
161
- | 1 | `di l '` | 12,757 |
162
- | 2 | l '` | 5,757 |
163
- | 3 | `a famiglia di` | 4,354 |
164
- | 4 | `hè una spezia` | 3,364 |
165
- | 5 | `com ' è` | 3,225 |
166
 
167
- **4-grams:**
168
 
169
  | Rank | N-gram | Count |
170
  |------|--------|-------|
171
- | 1 | `di a famiglia di` | 2,632 |
172
  | 2 | `a famiglia di i` | 2,171 |
173
- | 3 | `hè una spezia di` | 2,067 |
174
- | 4 | wikimedia commons .` | 1,947 |
175
- | 5 | `annantu à wikimedia commons` | 1,947 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
 
177
 
178
  ### Key Findings
179
 
180
- - **Best Perplexity:** 2-gram with 252
181
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
182
- - **Coverage:** Top-1000 patterns cover ~41% of corpus
183
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
184
 
185
  ---
@@ -187,55 +219,86 @@ Listinu di...`
187
 
188
  ![Markov Entropy](visualizations/markov_entropy.png)
189
 
 
 
190
  ![Markov Branching](visualizations/markov_branching.png)
191
 
192
  ### Results
193
 
194
- | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
195
- |---------|-------------|------------|------------------|-----------------|----------------|
196
- | **1** | 0.8152 | 1.760 | 5.44 | 128,497 | 18.5% |
197
- | **1** | 1.0047 | 2.007 | 7.61 | 1,338 | 0.0% |
198
- | **2** | 0.3514 | 1.276 | 1.95 | 698,773 | 64.9% |
199
- | **2** | 0.9540 | 1.937 | 5.63 | 10,183 | 4.6% |
200
- | **3** | 0.1551 | 1.114 | 1.31 | 1,359,938 | 84.5% |
201
- | **3** | 0.8234 | 1.770 | 4.05 | 57,282 | 17.7% |
202
- | **4** | 0.0762 🏆 | 1.054 | 1.13 | 1,780,901 | 92.4% |
203
- | **4** | 0.6487 🏆 | 1.568 | 2.82 | 232,155 | 35.1% |
204
 
205
- ### Generated Text Samples
206
 
207
- Below are text samples generated from each Markov chain model:
208
 
209
  **Context Size 1:**
210
 
211
- 1. `di l ' edda l ' uparatori devi u unificadori , u rodanu è à`
212
- 2. `, i bordi di a so pusizioni giugrafica . mentri chì , ti pristaraghju u`
213
- 3. `. a so nomu di a femina face di a prima u primu piannu fundata u`
214
 
215
  **Context Size 2:**
216
 
217
- 1. `l ' esemplare più grossu mai truvatu fubbe tumbatu in angola in u mediterraniu . faci parti`
218
- 2. `di u cubu di u 2011 , airbnb raccoltu $ 119 , 8 % in isuzu`
219
- 3. `di a nutazioni pusiziunali micca assà diffarenti rispettu à l ' animali chì si mintuvà :`
220
 
221
  **Context Size 3:**
222
 
223
- 1. `di l ' arte è di a fine di listessu annu deposita à l ' iranu . porphyrio`
224
- 2. l ' università di versailles , cunnisciutu sottu u nome di locu vicinu di u vechju`
225
- 3. `a famiglia di e liliaceae . descrizzione lucalisazione referenze ligami categoria : cumuna di corsic...`
226
 
227
  **Context Size 4:**
228
 
229
- 1. `di a famiglia di i ranunculaceae . discrizzioni ranunculus kuepferi una spezia di acellu chì face...`
230
- 2. `a famiglia di i laniidae , chì cumprende dinù altre spezie d ' aythya . si ciba per u`
231
- 3. `hè una spezia di acellu chì face parte di a famiglia di i polypodiaceae . ' ssa pianta priferisce`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
 
234
  ### Key Findings
235
 
236
- - **Best Predictability:** Context-4 with 92.4% predictability
237
  - **Branching Factor:** Decreases with context size (more deterministic)
238
- - **Memory Trade-off:** Larger contexts require more storage (232,155 contexts)
239
  - **Recommendation:** Context-3 or Context-4 for text generation
240
 
241
  ---
@@ -251,64 +314,64 @@ Below are text samples generated from each Markov chain model:
251
 
252
  | Metric | Value |
253
  |--------|-------|
254
- | Vocabulary Size | 60,410 |
255
- | Total Tokens | 2,262,071 |
256
- | Mean Frequency | 37.45 |
257
  | Median Frequency | 4 |
258
- | Frequency Std Dev | 967.51 |
259
 
260
  ### Most Common Words
261
 
262
  | Rank | Word | Frequency |
263
  |------|------|-----------|
264
- | 1 | di | 143,631 |
265
- | 2 | u | 84,326 |
266
- | 3 | a | 76,229 |
267
- | 4 | è | 67,228 |
268
- | 5 | in | 58,950 |
269
- | 6 | à | 58,500 |
270
- | 7 | l | 48,443 |
271
- | 8 | hè | 46,128 |
272
- | 9 | i | 45,172 |
273
- | 10 | da | 24,646 |
274
 
275
  ### Least Common Words (from vocabulary)
276
 
277
  | Rank | Word | Frequency |
278
  |------|------|-----------|
279
- | 1 | corsehttps | 2 |
280
- | 2 | secchia | 2 |
281
- | 3 | bergeries | 2 |
282
- | 4 | douleur | 2 |
283
- | 5 | bouvier | 2 |
284
- | 6 | spezialità | 2 |
285
- | 7 | alerta | 2 |
286
- | 8 | francebleu | 2 |
287
- | 9 | emissions | 2 |
288
- | 10 | ꦈꦠꦩ | 2 |
289
 
290
  ### Zipf's Law Analysis
291
 
292
  | Metric | Value |
293
  |--------|-------|
294
- | Zipf Coefficient | 1.0521 |
295
- | R² (Goodness of Fit) | 0.997001 |
296
  | Adherence Quality | **excellent** |
297
 
298
  ### Coverage Analysis
299
 
300
  | Top N Words | Coverage |
301
  |-------------|----------|
302
- | Top 100 | 48.2% |
303
- | Top 1,000 | 68.9% |
304
- | Top 5,000 | 83.6% |
305
- | Top 10,000 | 89.1% |
306
 
307
  ### Key Findings
308
 
309
  - **Zipf Compliance:** R²=0.9970 indicates excellent adherence to Zipf's law
310
- - **High Frequency Dominance:** Top 100 words cover 48.2% of corpus
311
- - **Long Tail:** 50,410 words needed for remaining 10.9% coverage
312
 
313
  ---
314
  ## 5. Word Embeddings Evaluation
@@ -321,24 +384,134 @@ Below are text samples generated from each Markov chain model:
321
 
322
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
323
 
324
- ### Model Comparison
325
 
326
- | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
327
- |-------|------------|-----------|----------|----------|----------|
328
- | **mono_32d** | 32,860 | 32 | 4.128 | 1.155 | 0.8279 🏆 |
329
- | **mono_64d** | 32,860 | 64 | 4.723 | 1.023 | 0.8160 |
330
- | **mono_128d** | 32,860 | 128 | 5.374 | 0.857 | 0.7544 |
331
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
332
 
333
  ### Key Findings
334
 
335
- - **Best Isotropy:** mono_32d with 0.8279 (more uniform distribution)
336
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
337
- - **Vocabulary Coverage:** All models cover 32,860 words
338
- - **Recommendation:** 100d for balanced semantic capture and efficiency
339
 
340
  ---
341
- ## 6. Summary & Recommendations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
342
 
343
  ![Performance Dashboard](visualizations/performance_dashboard.png)
344
 
@@ -346,11 +519,12 @@ Below are text samples generated from each Markov chain model:
346
 
347
  | Component | Recommended | Rationale |
348
  |-----------|-------------|-----------|
349
- | Tokenizer | **32k BPE** | Best compression (4.11x) with low UNK rate |
350
- | N-gram | **5-gram** | Lowest perplexity (252) |
351
- | Markov | **Context-4** | Highest predictability (92.4%) |
352
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
353
 
 
354
  ---
355
  ## Appendix: Metrics Glossary & Interpretation Guide
356
 
@@ -540,7 +714,8 @@ If you use these models in your research, please cite:
540
  author = {Kamali, Omar},
541
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
542
  year = {2025},
543
- publisher = {HuggingFace},
 
544
  url = {https://huggingface.co/wikilangs}
545
  institution = {Omneity Labs}
546
  }
@@ -556,7 +731,8 @@ MIT License - Free for academic and commercial use.
556
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
557
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
558
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
 
559
  ---
560
  *Generated by Wikilangs Models Pipeline*
561
 
562
- *Report Date: 2025-12-28 23:12:11*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 4.197
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.8272
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # CO - 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.418x | 3.42 | 0.0321% | 368,161 |
84
+ | **16k** | 3.691x | 3.69 | 0.0346% | 340,883 |
85
+ | **32k** | 3.970x | 3.97 | 0.0372% | 316,946 |
86
+ | **64k** | 4.197x 🏆 | 4.20 | 0.0394% | 299,775 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `Agliana hè una cumuna toscana di a pruvincia di Pistoia. Teni abitanti cumuna di...`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁a gli ana ▁hè ▁una ▁cumuna ▁toscana ▁di ▁a ▁pruvincia ... (+10 more)` | 20 |
97
+ | 16k | `▁a gli ana ▁hè ▁una ▁cumuna ▁toscana ▁di ▁a ▁pruvincia ... (+8 more)` | 18 |
98
+ | 32k | `▁agli ana ▁hè ▁una ▁cumuna ▁toscana ▁di ▁a ▁pruvincia ▁di ... (+7 more)` | 17 |
99
+ | 64k | `▁agliana ▁hè ▁una ▁cumuna ▁toscana ▁di ▁a ▁pruvincia ▁di ▁pistoia ... (+6 more)` | 16 |
 
 
 
 
100
 
101
+ **Sample 2:** `Monteriggioni una cumuna toscana di a pruvincia di Siena.Teni 7.877 abitanti....`
 
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁monte ri ggi oni ▁hè ▁unacumunatoscana ▁dia ... (+15 more)` | 25 |
106
+ | 16k | `▁monte ri ggi oni ▁hè ▁unacumunatoscana ▁dia ... (+15 more)` | 25 |
107
+ | 32k | `▁monte ri ggi oni ▁hè ▁unacumunatoscana ▁dia ... (+15 more)` | 25 |
108
+ | 64k | `▁monteriggioniunacumunatoscanadi ▁apruvinciadisiena ... (+12 more)` | 22 |
109
 
110
+ **Sample 3:** `Sean Justin Penn hè un attore americanu. Biugrafia Da vede dinò The Thin Red Lin...`
 
 
 
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁s eanj us tin pen n ▁hèunattore ... (+22 more)` | 32 |
115
+ | 16k | `▁sean ▁jus tinpen n ▁unattoreamericanu . ... (+16 more)` | 26 |
116
+ | 32k | `▁sean ▁jus tinpenn ▁un ▁attoreamericanu . biugrafia ... (+13 more)` | 23 |
117
+ | 64k | `▁sean ▁justinpenn ▁un ▁attoreamericanu . biugrafia ▁da ... (+12 more)` | 22 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 4.197x compression
123
+ - **Lowest UNK Rate:** 8k with 0.0321% 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 | 9,228 | 13.17 | 49,319 | 22.0% | 44.8% |
141
+ | **2-gram** | Subword | 221 🏆 | 7.79 | 3,181 | 71.2% | 99.6% |
142
+ | **3-gram** | Word | 24,246 | 14.57 | 83,012 | 11.1% | 30.7% |
143
+ | **3-gram** | Subword | 1,706 | 10.74 | 22,404 | 28.4% | 77.6% |
144
+ | **4-gram** | Word | 41,538 | 15.34 | 136,699 | 9.4% | 25.8% |
145
+ | **4-gram** | Subword | 9,044 | 13.14 | 107,042 | 13.9% | 42.6% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
 
151
  | Rank | N-gram | Count |
152
  |------|--------|-------|
153
+ | 1 | `di u` | 18,783 |
154
+ | 2 | `di a` | 18,523 |
155
+ | 3 | `di l` | 13,279 |
156
+ | 4 | `di i` | 10,605 |
157
+ | 5 | u` | 9,199 |
158
 
159
+ **3-grams (Word):**
160
 
161
  | Rank | N-gram | Count |
162
  |------|--------|-------|
163
+ | 1 | `a famiglia di` | 4,349 |
164
+ | 2 | `hè una spezia` | 3,355 |
165
+ | 3 | `di a famiglia` | 2,698 |
166
+ | 4 | `hè una pianta` | 2,612 |
167
+ | 5 | `una spezia di` | 2,287 |
168
 
169
+ **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
+ | 1 | `di a famiglia di` | 2,629 |
174
  | 2 | `a famiglia di i` | 2,171 |
175
+ | 3 | `hè una spezia di` | 2,061 |
176
+ | 4 | `annantu à wikimedia commons` | 1,945 |
177
+ | 5 | wikimedia commons di` | 1,923 |
178
+
179
+ **2-grams (Subword):**
180
+
181
+ | Rank | N-gram | Count |
182
+ |------|--------|-------|
183
+ | 1 | `i _` | 432,981 |
184
+ | 2 | `a _` | 404,157 |
185
+ | 3 | `u _` | 316,081 |
186
+ | 4 | `_ d` | 246,351 |
187
+ | 5 | `d i` | 217,005 |
188
+
189
+ **3-grams (Subword):**
190
+
191
+ | Rank | N-gram | Count |
192
+ |------|--------|-------|
193
+ | 1 | `_ d i` | 173,124 |
194
+ | 2 | `d i _` | 152,141 |
195
+ | 3 | `_ i n` | 82,653 |
196
+ | 4 | `_ u _` | 81,426 |
197
+ | 5 | `_ a _` | 72,871 |
198
+
199
+ **4-grams (Subword):**
200
+
201
+ | Rank | N-gram | Count |
202
+ |------|--------|-------|
203
+ | 1 | `_ d i _` | 143,493 |
204
+ | 2 | `_ i n _` | 57,416 |
205
+ | 3 | `a _ d i` | 45,268 |
206
+ | 4 | `_ h è _` | 44,732 |
207
+ | 5 | `i _ d i` | 35,176 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 221
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
+ - **Coverage:** Top-1000 patterns cover ~43% 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.8949 | 1.860 | 5.60 | 123,267 | 10.5% |
231
+ | **1** | Subword | 1.0516 | 2.073 | 8.41 | 976 | 0.0% |
232
+ | **2** | Word | 0.3102 | 1.240 | 1.80 | 688,381 | 69.0% |
233
+ | **2** | Subword | 0.9618 | 1.948 | 5.61 | 8,204 | 3.8% |
234
+ | **3** | Word | 0.1337 | 1.097 | 1.25 | 1,235,287 | 86.6% |
235
+ | **3** | Subword | 0.7919 | 1.731 | 3.99 | 46,007 | 20.8% |
236
+ | **4** | Word | 0.0622 🏆 | 1.044 | 1.10 | 1,541,605 | 93.8% |
237
+ | **4** | Subword | 0.6473 | 1.566 | 2.90 | 183,668 | 35.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. `di l onore di culombu facciandine e rete di pianta di u guvernu à spessu in`
246
+ 2. `u so foglie basale lanceulate è difficili suprattuttu vocalici senza la tira glǝ munnǝ è`
247
+ 3. `a gioia quandu ridatti i casci forsi statu indipindente di l india di sporti ecunumia`
248
 
249
  **Context Size 2:**
250
 
251
+ 1. `di u muvimentu di a pruvincia agira aidone assoro calascibetta caltanissetta cl gangi pa leonforte n...`
252
+ 2. `di a corsica nordu africa uccidintali in sudafrica è in europa meridiunale è cintrale burhinus oedic...`
253
+ 3. `di l annu avenimenti in corsica jeanmonod d gamisans j flora corsica 2 ed edisud noti altri`
254
 
255
  **Context Size 3:**
256
 
257
+ 1. `a famiglia di e papaveraceae si distingue da i so piccioli ritti ramificati è cuparti à pela`
258
+ 2. `hè una spezia di pianta chì face parte di a famiglia di i labrinae ss articulu pruveni in`
259
+ 3. `di a famiglia di i poaceae discrizzioni poa bulbosa prisenti in l alpi i pirenei è i`
260
 
261
  **Context Size 4:**
262
 
263
+ 1. `di a famiglia di e polygonaceae si distingue da e so fiurarelli rusulatu pallidu à purpureu ragruppa...`
264
+ 2. `a famiglia di i dryopteridaceae ss articulu pruveni in parti o in tutalità da l articulu currispunde...`
265
+ 3. `hè una spezia di pianta arbacea vivaci appartinendu à a famiglia di i fabaceae discrizzioni ornithop...`
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. `_pinaga._i_cavac`
275
+ 2. `isa_se_ssa_villa`
276
+ 3. `ara_dinum'a_dici`
277
+
278
+ **Context Size 2:**
279
+
280
+ 1. `i_fece_fiazionduc`
281
+ 2. `a_hè_a_chì_nalegu`
282
+ 3. `u_50px_le_d'isi_f`
283
+
284
+ **Context Size 3:**
285
+
286
+ 1. `_di_"forte_pianu_p`
287
+ 2. `di_incamplica_è_fa`
288
+ 3. `_in_atlantunimentr`
289
+
290
+ **Context Size 4:**
291
+
292
+ 1. `_di_frutti_in_corsa`
293
+ 2. `_in_u_harrisparterà`
294
+ 3. `a_di_lunghjadori_ri`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 93.8% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (183,668 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 58,612 |
318
+ | Total Tokens | 2,193,141 |
319
+ | Mean Frequency | 37.42 |
320
  | Median Frequency | 4 |
321
+ | Frequency Std Dev | 979.13 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | di | 143,885 |
328
+ | 2 | u | 84,171 |
329
+ | 3 | a | 75,994 |
330
+ | 4 | è | 66,959 |
331
+ | 5 | in | 58,823 |
332
+ | 6 | à | 58,335 |
333
+ | 7 | l | 48,252 |
334
+ | 8 | hè | 45,746 |
335
+ | 9 | i | 45,068 |
336
+ | 10 | da | 24,631 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | zampigiallu | 2 |
343
+ | 2 | lepeletier | 2 |
344
+ | 3 | nigrithorax | 2 |
345
+ | 4 | crabro | 2 |
346
+ | 5 | entomologhi | 2 |
347
+ | 6 | priculusità | 2 |
348
+ | 7 | apiarie | 2 |
349
+ | 8 | cottura | 2 |
350
+ | 9 | risuttati | 2 |
351
+ | 10 | tippicu | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 1.0564 |
358
+ | R² (Goodness of Fit) | 0.996983 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 48.8% |
366
+ | Top 1,000 | 69.5% |
367
+ | Top 5,000 | 84.0% |
368
+ | Top 10,000 | 89.4% |
369
 
370
  ### Key Findings
371
 
372
  - **Zipf Compliance:** R²=0.9970 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 48.8% of corpus
374
+ - **Long Tail:** 48,612 words needed for remaining 10.6% 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.8272 🏆 | 0.3408 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.8188 | 0.2697 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.7473 | 0.2166 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_32d with 0.8272 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.2757. 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
+ | `-cu` | cullisori, cunisciutu, cumbinatoria |
430
+ | `-ca` | cartagene, caerulescens, casagliò |
431
+ | `-ri` | rizomatosu, ritiranu, ricustruita |
432
+ | `-in` | innù, ingannatu, ingaghjatu |
433
+ | `-pr` | produtta, predita, produzzione |
434
+ | `-ma` | macidonia, matrimonii, maestro |
435
+ | `-di` | difendidori, differenziale, dicriscenti |
436
+ | `-pa` | pavillon, paola, parentella |
437
+
438
+ #### Productive Suffixes
439
+ | Suffix | Examples |
440
+ |--------|----------|
441
+ | `-a` | occhjatana, mdina, illeghjittima |
442
+ | `-i` | petrignani, quindici, cullisori |
443
+ | `-u` | locudoresu, glaucu, fuculaghju |
444
+ | `-e` | phryganae, christine, volume |
445
+ | `-tu` | cunisciutu, bassistu, ingannatu |
446
+ | `-ni` | petrignani, parsicuzioni, bizantini |
447
+ | `-ti` | viditi, dalmati, stupefacenti |
448
+ | `-ta` | avvilanata, szocialista, produtta |
449
+
450
+ ### 6.3 Bound Stems (Lexical Roots)
451
+
452
+ 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.
453
+
454
+ | Stem | Cohesion | Substitutability | Examples |
455
+ |------|----------|------------------|----------|
456
+ | `endu` | 2.27x | 73 contexts | fendu, vendu, dendu |
457
+ | `enti` | 1.76x | 119 contexts | lenti, penti, menti |
458
+ | `azio` | 1.86x | 55 contexts | tazio, lazio, orazio |
459
+ | `aghj` | 1.50x | 141 contexts | aghje, aghju, aghja |
460
+ | `ment` | 1.57x | 87 contexts | mentr, menti, menta |
461
+ | `glia` | 1.64x | 69 contexts | aglia, figlia, voglia |
462
+ | `zion` | 1.67x | 63 contexts | lezion, azione, nuzione |
463
+ | `igli` | 1.44x | 112 contexts | figli, migli, cigli |
464
+ | `tura` | 1.59x | 62 contexts | altura, matura, turaci |
465
+ | `cors` | 1.85x | 33 contexts | corsa, corso, corsi |
466
+ | `sica` | 1.55x | 37 contexts | fisica, sicani, musica |
467
+ | `ific` | 1.48x | 43 contexts | edificà, pacific, unificà |
468
+
469
+ ### 6.4 Affix Compatibility (Co-occurrence)
470
+
471
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
472
+
473
+ | Prefix | Suffix | Frequency | Examples |
474
+ |--------|--------|-----------|----------|
475
+ | `-cu` | `-u` | 75 words | cumandamentu, cutratu |
476
+ | `-cu` | `-i` | 74 words | cuttoli, custituenti |
477
+ | `-ri` | `-i` | 69 words | riunghji, riferimenti |
478
+ | `-pr` | `-i` | 66 words | prufundamenti, primuri |
479
+ | `-in` | `-i` | 66 words | infruttuosi, indoauropei |
480
+ | `-cu` | `-a` | 64 words | cumpattezza, cunghjunghja |
481
+ | `-ca` | `-u` | 63 words | cancelieru, cattru |
482
+ | `-cu` | `-e` | 58 words | cuuperazione, cuscione |
483
+ | `-ca` | `-a` | 54 words | capua, cathartica |
484
+ | `-ri` | `-a` | 51 words | rivolta, ridotta |
485
+
486
+ ### 6.5 Recursive Morpheme Segmentation
487
+
488
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
489
+
490
+ | Word | Suggested Split | Confidence | Stem |
491
+ |------|-----------------|------------|------|
492
+ | incasciata | **`in-ca-scia-ta`** | 7.5 | `scia` |
493
+ | mariteddu | **`ma-ri-teddu`** | 6.0 | `teddu` |
494
+ | olivetani | **`olive-ta-ni`** | 6.0 | `olive` |
495
+ | infattonu | **`in-fatto-nu`** | 6.0 | `fatto` |
496
+ | indebulitu | **`in-debuli-tu`** | 6.0 | `debuli` |
497
+ | cunvertuti | **`cu-nver-tu-ti`** | 4.5 | `nver` |
498
+ | sustenenu | **`sustene-nu`** | 4.5 | `sustene` |
499
+ | cunsultatu | **`cu-nsul-ta-tu`** | 4.5 | `nsul` |
500
+ | dilimitatu | **`di-limi-ta-tu`** | 4.5 | `limi` |
501
+ | reichardia | **`reichard-ia`** | 4.5 | `reichard` |
502
+ | affissati | **`affissa-ti`** | 4.5 | `affissa` |
503
+ | riabilità | **`ri-abilità`** | 4.5 | `abilità` |
504
+ | siracusani | **`siracusa-ni`** | 4.5 | `siracusa` |
505
+ | ripresenta | **`ri-pr-esen-ta`** | 4.5 | `esen` |
506
+ | chjappani | **`chjappa-ni`** | 4.5 | `chjappa` |
507
+
508
+ ### 6.6 Linguistic Interpretation
509
+
510
+ > **Automated Insight:**
511
+ The language CO 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.
512
+
513
+ ---
514
+ ## 7. Summary & Recommendations
515
 
516
  ![Performance Dashboard](visualizations/performance_dashboard.png)
517
 
 
519
 
520
  | Component | Recommended | Rationale |
521
  |-----------|-------------|-----------|
522
+ | Tokenizer | **64k BPE** | Best compression (4.20x) |
523
+ | N-gram | **2-gram** | Lowest perplexity (221) |
524
+ | Markov | **Context-4** | Highest predictability (93.8%) |
525
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
526
 
527
+
528
  ---
529
  ## Appendix: Metrics Glossary & Interpretation Guide
530
 
 
714
  author = {Kamali, Omar},
715
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
716
  year = {2025},
717
+ doi = {10.5281/zenodo.18073153},
718
+ publisher = {Zenodo},
719
  url = {https://huggingface.co/wikilangs}
720
  institution = {Omneity Labs}
721
  }
 
731
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
732
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
733
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
734
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
735
  ---
736
  *Generated by Wikilangs Models Pipeline*
737
 
738
+ *Report Date: 2026-01-03 10:28:53*
models/embeddings/monolingual/co_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2031bd1cfa760da5eac047841642409977af029608423421c2a3ddfc0e72065e
3
- size 1058229953
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96cf2c345e68270f8dcdbe99946da8e1091f69fe819c6b9a2158c5e48ed9e52c
3
+ size 1056877904
models/embeddings/monolingual/co_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": 32860
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": 31563
15
  }
models/embeddings/monolingual/co_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0499edff9dff70386e0e580846c3317c14a5ccf69c933f22b5f575af2dc898e8
3
- size 264993473
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1067ad298ad58d7164db3f4db9081298ba2b534ee2da4cd72c1b7dd84f187b81
3
+ size 264637520
models/embeddings/monolingual/co_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": 32860
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": 31563
15
  }
models/embeddings/monolingual/co_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e093d5c0a9be69a973aad2e726911eaa455515d867b6d6363c1d6b142999ae1
3
- size 529405633
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c664f3164ab6a4eac104c4ea7ff6212ebaa4e5e194ba8f7a21e25ea1c0d4871a
3
+ size 528717648
models/embeddings/monolingual/co_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": 32860
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": 31563
15
  }
models/subword_markov/co_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da6ee4e7b7a739f36ca48346a973fe93fbea5bd312654e88ed7d342a2bab158b
3
- size 79505
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8b5e0c398d4f5b2969e1db1c671105a3ac5242a1d374d84d5b0069106642b3d
3
+ size 65281
models/subword_markov/co_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_contexts": 1338,
6
- "total_transitions": 13921716
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_contexts": 976,
6
+ "total_transitions": 13219556
7
  }
models/subword_markov/co_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0fc23d0cb39d2816f1c55c6b721f82a00000b47e3669e0f7ba67c349d8b6c7ad
3
- size 475061
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10d07b4e8c3757cc6b86c68087fcfea9af405d88517a6a0445f37de943be6b99
3
+ size 363878
models/subword_markov/co_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_contexts": 10183,
6
- "total_transitions": 13913087
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_contexts": 8204,
6
+ "total_transitions": 13211059
7
  }
models/subword_markov/co_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:01dda0faf7a4fd2527274349d4d0f2871938d54cd949ca563ff0d600aa16063a
3
- size 1796414
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab0ac62add6f840e66c319753e1b42d3784d61773053b38c73b6b277df4cca3a
3
+ size 1441137
models/subword_markov/co_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_contexts": 57282,
6
- "total_transitions": 13904458
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_contexts": 46007,
6
+ "total_transitions": 13202562
7
  }
models/subword_markov/co_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d597e8410cb0bb1cdc86c793cb94c003b472854ba814995519e18d3efc5619ff
3
- size 5163799
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c83362fcdbe265c5308c85c508b78deedca4f3c3c1ec1a96a44764934510ff
3
+ size 4134190
models/subword_markov/co_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_contexts": 232155,
6
- "total_transitions": 13895829
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_contexts": 183668,
6
+ "total_transitions": 13194065
7
  }
models/subword_ngram/co_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7c590fbecb8a6478958f0834c16ef9fa20994cd0d160f3be79aaf7b0a95db119
3
- size 49835
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899bc5e6584570580099e942da78aa713e4d3807f6ebea5a4ffd604efeea23f2
3
+ size 42648
models/subword_ngram/co_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_ngrams": 3720,
6
- "total_ngrams": 13921716
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_ngrams": 3181,
6
+ "total_ngrams": 13219556
7
  }
models/subword_ngram/co_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58d1ad13e8ff8840d69a15f6a5270873cd07563a631a1a6116168bea8d4953c7
3
- size 345886
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ed57d99baac180f6c586ad2f06d308b877fede514712ded41ed5e8989084810
3
+ size 285900
models/subword_ngram/co_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_ngrams": 27040,
6
- "total_ngrams": 13913087
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_ngrams": 22404,
6
+ "total_ngrams": 13211059
7
  }
models/subword_ngram/co_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ca7fb34ddff62fdaa0ea34b3527d9bc3d9b9e1b086724ccb1d057018c30e16bb
3
- size 1514811
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:094c924c5f844afd2646ce2d24dd1cfc9060e5723e944365817cf9c12106c248
3
+ size 1233900
models/subword_ngram/co_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "co",
5
- "unique_ngrams": 132259,
6
- "total_ngrams": 13904458
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "co",
5
+ "unique_ngrams": 107042,
6
+ "total_ngrams": 13202562
7
  }
models/tokenizer/co_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35b62b7e9ff3a1d060192c00db2891e65de8eef6a5d8e81d9b96f9731f075306
3
- size 514115
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b34f2ba9c5b244ddd93aba34ada7fef4711b8397b21d33fd688d1c317cc7cb41
3
+ size 516047
models/tokenizer/co_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/co_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:09c59715681a237c025f2a6b31f3e716dd585e0e9754482be80ccac672433557
3
- size 802041
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6ae7a171bd1aba13305f06c6f0f2b827daf529b4e36eed333e8c0c56302860c
3
+ size 803640
models/tokenizer/co_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/co_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a730b87621f6700258f75df8ae98e69b637aa8c1505c33f5fbdf6521adf511c5
3
- size 1375688
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17214768ca1dd2e6a0c00363e0983130aeccf918e9ce567d882f1537de050491
3
+ size 1383670
models/tokenizer/co_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/co_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b49d54c08ab0b110c863d83bafc526ea2f48c68226f21a65baeac02c840810d
3
- size 375284
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73dc30b9584b2f1bd0dec231fe033922d1286e98bf5022421f69b9b07cc653e2
3
+ size 376505
models/tokenizer/co_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/co_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f4c6a7878646d33830ca0828c2e640504c8e9f8067222c4ff73a98a9b546a9f8
3
- size 1046993
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf8b269f53cdfcf4bafb12ed650edcd581ad571e89880ac7222ad9b23086308c
3
+ size 1013491
models/vocabulary/co_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "co",
3
- "vocabulary_size": 60410,
 
4
  "statistics": {
5
- "type_token_ratio": 0.05505110462735727,
6
  "coverage": {
7
- "top_100": 0.4675895285944704,
8
- "top_1000": 0.6685259531847793,
9
- "top_5000": 0.8115519548689529,
10
- "top_10000": 0.8655231968740638
11
  },
12
- "hapax_count": 67855,
13
- "hapax_ratio": 0.5290219467508673,
14
- "total_documents": 8629
15
  }
16
  }
 
1
  {
2
  "language": "co",
3
+ "vocabulary_size": 58612,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.05464431503278916,
7
  "coverage": {
8
+ "top_100": 0.4740403851170396,
9
+ "top_1000": 0.6748029483890198,
10
+ "top_5000": 0.8154347093397393,
11
+ "top_10000": 0.8683801088705445
12
  },
13
+ "hapax_count": 64770,
14
+ "hapax_ratio": 0.5249550177497528,
15
+ "total_documents": 8497
16
  }
17
  }
models/word_markov/co_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6949f9b425e3be961b19dd9a0c1f58c5696e86840cf4d9308fe0868394eb5496
3
- size 6003594
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb1cae5d79a7a73adf2ff0919afeebd9f38f7943e4b16f5e68a2a24aa799f516
3
+ size 5678726
models/word_markov/co_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_contexts": 128497,
6
- "total_transitions": 2816255
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_contexts": 123267,
6
+ "total_transitions": 2249414
7
  }
models/word_markov/co_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e93a9113eeda44bf0b2bb164f25bd6eacb2b758db0e5e0548020ff9deb32da36
3
- size 14617480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:793e28fa70d170a16ec64307b53718d88a3f178234de84df35691f3c269d0ab2
3
+ size 14184219
models/word_markov/co_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_contexts": 698773,
6
- "total_transitions": 2807626
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_contexts": 688381,
6
+ "total_transitions": 2240917
7
  }
models/word_markov/co_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7eec15299369b55c2bafb391ac7ba2d709806255c93867717fe9f5a27490303
3
- size 23131102
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3be679dc26e47d1c83affcb1f0bfa604d17eedd9e61c519e7edf6a807644fa78
3
+ size 21498375
models/word_markov/co_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_contexts": 1359938,
6
- "total_transitions": 2798997
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_contexts": 1235287,
6
+ "total_transitions": 2232420
7
  }
models/word_markov/co_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b81f07d48a5d5c30ced1ab8c79658be61832d09a3da8d653212846695af65ec
3
- size 29571363
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45fc9f862083178d82015d22958b5220424828a7df3f1ed4ce32c8a05e0a9a55
3
+ size 26430133
models/word_markov/co_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_contexts": 1780901,
6
- "total_transitions": 2790371
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_contexts": 1541605,
6
+ "total_transitions": 2223923
7
  }
models/word_ngram/co_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3890edf82d50cc4d4ba390f75ca19e8e7859cc5d9c555d49657f0223306edc8
3
- size 848542
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aae2d0f40ab8a8875fecff95ea79de2f0b021415c2cd81ab367e3462b913e5f
3
+ size 733819
models/word_ngram/co_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_ngrams": 59847,
6
- "total_ngrams": 2816255
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_ngrams": 49319,
6
+ "total_ngrams": 2249414
7
  }
models/word_ngram/co_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a3c7db65bf6666a3d88d972de2f776c3796d775b1ce984349b2a21497f9efa3c
3
- size 1557250
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:678ddf4c171105837be92682f1c563d14c857c49ad8a221c632b94a4201f2155
3
+ size 1263431
models/word_ngram/co_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_ngrams": 108167,
6
- "total_ngrams": 2807626
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_ngrams": 83012,
6
+ "total_ngrams": 2240917
7
  }
models/word_ngram/co_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c864a9125949dc68af0721ac2baa0a2c0f334474d9de22a25157676bfd24dc7f
3
- size 2832643
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5ad2774dd632bee639c94f1e7595fb0df6d64aed7e2f4f57fc254ad95ba2d01
3
+ size 2191498
models/word_ngram/co_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "co",
5
- "unique_ngrams": 187731,
6
- "total_ngrams": 2798997
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "co",
5
+ "unique_ngrams": 136699,
6
+ "total_ngrams": 2232420
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: e694637d648323b7f2b971352dd84b1dff294f9e1915c826a53298eb8d706248
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB

Git LFS Details

  • SHA256: cfa01cfb1560d0ac1f00b705f3a204b78a6dcb49fd4b98074d60a8c4d3d5f944
  • Pointer size: 131 Bytes
  • Size of remote file: 139 kB
visualizations/markov_branching.png CHANGED
visualizations/markov_contexts.png CHANGED