omarkamali commited on
Commit
c9da813
·
verified ·
1 Parent(s): b577f76

Upload all models and assets for csb (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 +307 -132
  2. models/embeddings/monolingual/csb_128d.bin +2 -2
  3. models/embeddings/monolingual/csb_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/csb_32d.bin +2 -2
  5. models/embeddings/monolingual/csb_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/csb_64d.bin +2 -2
  7. models/embeddings/monolingual/csb_64d_metadata.json +5 -3
  8. models/subword_markov/csb_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/csb_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/csb_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/csb_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/csb_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/csb_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/csb_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/csb_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/csb_2gram_subword.parquet +2 -2
  17. models/subword_ngram/csb_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/csb_3gram_subword.parquet +2 -2
  19. models/subword_ngram/csb_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/csb_4gram_subword.parquet +2 -2
  21. models/subword_ngram/csb_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/csb_tokenizer_16k.model +2 -2
  23. models/tokenizer/csb_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/csb_tokenizer_32k.model +2 -2
  25. models/tokenizer/csb_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/csb_tokenizer_64k.model +2 -2
  27. models/tokenizer/csb_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/csb_tokenizer_8k.model +2 -2
  29. models/tokenizer/csb_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/csb_vocabulary.parquet +2 -2
  31. models/vocabulary/csb_vocabulary_metadata.json +10 -9
  32. models/word_markov/csb_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/csb_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/csb_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/csb_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/csb_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/csb_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/csb_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/csb_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/csb_2gram_word.parquet +2 -2
  41. models/word_ngram/csb_2gram_word_metadata.json +2 -2
  42. models/word_ngram/csb_3gram_word.parquet +2 -2
  43. models/word_ngram/csb_3gram_word_metadata.json +2 -2
  44. models/word_ngram/csb_4gram_word.parquet +2 -2
  45. models/word_ngram/csb_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: 3.993
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.7945
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 29805
33
- generated: 2025-12-29
34
  ---
35
 
36
  # CSB - 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.275x | 3.21 | 0.1515% | 221,765 |
76
- | **16k** | 3.531x | 3.46 | 0.1633% | 205,707 |
77
- | **32k** | 3.767x | 3.69 | 0.1743% | 192,804 |
78
- | **64k** | 3.993x 🏆 | 3.91 | 0.1847% | 181,902 |
79
 
80
  ### Tokenization Examples
81
 
82
  Below are sample sentences tokenized with each vocabulary size:
83
 
84
- **Sample 1:** `Czôrnogłowòwô miewa (Ichthyaetus melanocephalus) - to je wiôldżi wòdny ptôch z r...`
85
 
86
  | Vocab | Tokens | Count |
87
  |-------|--------|-------|
88
- | 8k | `▁czôrno g łowò mie wa( ich th ya ... (+32 more)` | 42 |
89
- | 16k | `▁czôrno g łowò mie wa( ich th ya ... (+29 more)` | 39 |
90
- | 32k | `▁czôrno g łowò miewa( ich th ya e ... (+26 more)` | 36 |
91
- | 64k | `▁czôrnog łowò miewa( ich th ya e tus ... (+23 more)` | 33 |
92
 
93
- **Sample 2:** `Czôłpino - to je kòlonia w pòmòrsczim wòjewództwie, w stołpsczim krézu, w gminie...`
94
 
95
  | Vocab | Tokens | Count |
96
  |-------|--------|-------|
97
- | 8k | `▁cz ôł pino ▁- ▁toje ▁kòloniaw ▁pòmòrsczim ▁wòjewództwie ... (+18 more)` | 28 |
98
- | 16k | `▁czôł pino ▁- ▁to ▁jekòlonia ▁wpòmòrsczim ▁wòjewództwie , ... (+17 more)` | 27 |
99
- | 32k | `▁czôł pino ▁- ▁to ▁jekòlonia ▁wpòmòrsczim ▁wòjewództwie , ... (+17 more)` | 27 |
100
- | 64k | `▁czôłpino ▁- ▁to ▁je ▁kòloniaw ▁pòmòrsczimwòjewództwie , ▁w ... (+16 more)` | 26 |
101
 
102
- **Sample 3:** `Ágústa Eva Erlendsdóttir (ùr. 28 lëpinca 1982) je islandzkô spiéwôrka ë teatrown...`
103
 
104
  | Vocab | Tokens | Count |
105
  |-------|--------|-------|
106
- | 8k | `▁ á g ú stae va ▁er le nd ... (+36 more)` | 46 |
107
- | 16k | `▁á g ú stae vaer le nds ... (+31 more)` | 41 |
108
- | 32k | `▁á g ú staeva ▁er le nds dóttir ▁( ... (+28 more)` | 38 |
109
- | 64k | `▁ágústaevaer le nds dóttir( ùr . ... (+24 more)` | 34 |
110
 
111
 
112
  ### Key Findings
113
 
114
- - **Best Compression:** 64k achieves 3.993x compression
115
- - **Lowest UNK Rate:** 8k with 0.1515% 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,55 +129,87 @@ 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** | 2,815 🏆 | 11.46 | 10,915 | 29.0% | 63.1% |
131
- | **2-gram** | 527 🏆 | 9.04 | 3,311 | 50.6% | 96.8% |
132
- | **3-gram** | 3,961 | 11.95 | 15,184 | 24.1% | 58.5% |
133
- | **3-gram** | 4,481 | 12.13 | 27,002 | 18.9% | 56.1% |
134
- | **4-gram** | 6,940 | 12.76 | 27,953 | 19.6% | 50.7% |
135
- | **4-gram** | 20,373 | 14.31 | 120,017 | 10.9% | 33.0% |
136
 
137
  ### Top 5 N-grams by Size
138
 
139
- **2-grams:**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
  | Rank | N-gram | Count |
142
  |------|--------|-------|
143
- | 1 | `kategòrëjô :` | 6,721 |
144
- | 2 | `to je` | 2,527 |
145
- | 3 | `. w` | 2,269 |
146
- | 4 | `, w` | 2,124 |
147
- | 5 | `) ,` | 1,989 |
148
 
149
- **3-grams:**
150
 
151
  | Rank | N-gram | Count |
152
  |------|--------|-------|
153
- | 1 | `. kategòrëjô :` | 1,909 |
154
- | 2 | `- to je` | 1,487 |
155
- | 3 | `align = "` | 1,080 |
156
- | 4 | `. bùtnowé lënczi` | 1,077 |
157
- | 5 | `< p align` | 1,053 |
158
 
159
- **4-grams:**
160
 
161
  | Rank | N-gram | Count |
162
  |------|--------|-------|
163
- | 1 | `= " right "` | 1,053 |
164
- | 2 | `< p align =` | 1,053 |
165
- | 3 | `p align = "` | 1,053 |
166
- | 4 | `" right " >` | 1,053 |
167
- | 5 | `align = " right` | 1,053 |
168
 
169
 
170
  ### Key Findings
171
 
172
- - **Best Perplexity:** 2-gram with 527
173
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
174
  - **Coverage:** Top-1000 patterns cover ~33% of corpus
175
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
@@ -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.5086 | 1.423 | 3.23 | 84,682 | 49.1% |
189
- | **1** | 1.1315 | 2.191 | 8.49 | 997 | 0.0% |
190
- | **2** | 0.1827 | 1.135 | 1.41 | 273,056 | 81.7% |
191
- | **2** | 1.0415 | 2.058 | 6.33 | 8,455 | 0.0% |
192
- | **3** | 0.0666 | 1.047 | 1.12 | 383,141 | 93.3% |
193
- | **3** | 0.8899 | 1.853 | 4.06 | 53,427 | 11.0% |
194
- | **4** | 0.0297 🏆 | 1.021 | 1.05 | 428,917 | 97.0% |
195
- | **4** | 0.6225 🏆 | 1.539 | 2.47 | 216,692 | 37.8% |
 
 
 
 
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. `. rok pierszégò tësąclecégò , karna d - 89 dniów . com ) bëł trzëmóny przez`
204
- 2. `, a béł nié gregòriańsczi kalãdôrz na hewòtny rok 1857 kategòrëjô : 48 . geografiô lewo`
205
- 3. `w 1938 - rowni - wënalôzôrz . w pòlsce za zastrzélënego miemca w repùblice ( 2001`
206
 
207
  **Context Size 2:**
208
 
209
- 1. `kategòrëjô : mùzycë gaga , lady`
210
- 2. `to je jednorocznô roscëna z rodzëznë arónowatëch ( araceae ) . charakteristny wëzdrzatk : samc wëzdr...`
211
- 3. `. w rozmienim rzeczenia kùrë rozgrzebałë wieselé , tj . wedle òbecnoscë związków pùrynowëch mùszą ji...`
212
 
213
  **Context Size 3:**
214
 
215
- 1. `. kategòrëjô : szląsczé wòjewództwò kategòrëjô : gardë w pòlsce kategòrëjô : pòmòrsczé wsë kategòrëj...`
216
- 2. `- to je wies w gminie tëchómié , w bëtowsczim krézu , w gminie dãbnica . tu je`
217
- 3. `align = " right " > 10 < p align = " right " > 12 < p`
218
 
219
  **Context Size 4:**
220
 
221
- 1. `" right " > 28 < p align = " right " > 26 < p align = "`
222
- 2. `< p align = " right " > 14 < p align = " right " > 27 <`
223
- 3. `p align = " right " > 17 < p align = " right " > 14 < p`
224
 
225
 
226
  ### Key Findings
227
 
228
- - **Best Predictability:** Context-4 with 97.0% predictability
229
  - **Branching Factor:** Decreases with context size (more deterministic)
230
- - **Memory Trade-off:** Larger contexts require more storage (216,692 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 | 29,805 |
247
- | Total Tokens | 403,484 |
248
- | Mean Frequency | 13.54 |
249
  | Median Frequency | 3 |
250
- | Frequency Std Dev | 150.89 |
251
 
252
  ### Most Common Words
253
 
254
  | Rank | Word | Frequency |
255
  |------|------|-----------|
256
- | 1 | w | 17,332 |
257
- | 2 | je | 7,887 |
258
- | 3 | i | 6,871 |
259
- | 4 | kategòrëjô | 6,724 |
260
- | 5 | na | 6,682 |
261
- | 6 | z | 4,990 |
262
- | 7 | to | 4,758 |
263
- | 8 | | 3,710 |
264
- | 9 | do | 3,395 |
265
- | 10 | rok | 3,184 |
266
 
267
  ### Least Common Words (from vocabulary)
268
 
269
  | Rank | Word | Frequency |
270
  |------|------|-----------|
271
- | 1 | eliminowanié | 2 |
272
- | 2 | pòliticznich | 2 |
273
- | 3 | pôłna | 2 |
274
- | 4 | kòntrola | 2 |
275
- | 5 | ùmòwã | 2 |
276
- | 6 | stalinizm | 2 |
277
- | 7 | ssr1922 | 2 |
278
- | 8 | ssr1936 | 2 |
279
- | 9 | ssr1925 | 2 |
280
- | 10 | fssr | 2 |
281
 
282
  ### Zipf's Law Analysis
283
 
284
  | Metric | Value |
285
  |--------|-------|
286
- | Zipf Coefficient | 0.9980 |
287
- | R² (Goodness of Fit) | 0.996291 |
288
  | Adherence Quality | **excellent** |
289
 
290
  ### Coverage Analysis
291
 
292
  | Top N Words | Coverage |
293
  |-------------|----------|
294
- | Top 100 | 34.8% |
295
- | Top 1,000 | 62.7% |
296
- | Top 5,000 | 79.9% |
297
- | Top 10,000 | 87.6% |
298
 
299
  ### Key Findings
300
 
301
- - **Zipf Compliance:** R²=0.9963 indicates excellent adherence to Zipf's law
302
- - **High Frequency Dominance:** Top 100 words cover 34.8% of corpus
303
- - **Long Tail:** 19,805 words needed for remaining 12.4% coverage
304
 
305
  ---
306
  ## 5. Word Embeddings Evaluation
@@ -313,24 +384,125 @@ 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** | 9,374 | 32 | 4.120 | 1.060 | 0.7945 🏆 |
321
- | **mono_64d** | 9,374 | 64 | 4.324 | 0.986 | 0.5096 |
322
- | **mono_128d** | 9,374 | 128 | 4.393 | 0.976 | 0.1336 |
323
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
324
 
325
  ### Key Findings
326
 
327
- - **Best Isotropy:** mono_32d with 0.7945 (more uniform distribution)
328
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
329
- - **Vocabulary Coverage:** All models cover 9,374 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 +510,12 @@ Below are text samples generated from each Markov chain model:
338
 
339
  | Component | Recommended | Rationale |
340
  |-----------|-------------|-----------|
341
- | Tokenizer | **32k BPE** | Best compression (3.99x) with low UNK rate |
342
- | N-gram | **5-gram** | Lowest perplexity (527) |
343
- | Markov | **Context-4** | Highest predictability (97.0%) |
344
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
345
 
 
346
  ---
347
  ## Appendix: Metrics Glossary & Interpretation Guide
348
 
@@ -532,7 +705,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 +722,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-29 05:39:24*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 4.519
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.7759
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # CSB - 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.573x | 3.58 | 0.1681% | 180,853 |
84
+ | **16k** | 3.908x | 3.91 | 0.1839% | 165,322 |
85
+ | **32k** | 4.227x | 4.23 | 0.1989% | 152,876 |
86
+ | **64k** | 4.519x 🏆 | 4.53 | 0.2126% | 142,981 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `Nowô Zelandzkô - je państwã na òstrowach Spòkójnégò Òceanu. w Aùstralëji i Ocean...`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁nowô ▁zel an dzkô ▁- je ▁państwãna ▁òst rowa ... (+14 more)` | 24 |
97
+ | 16k | `▁nowô ▁zelan dzkô ▁-je ▁państwãna ▁òstrowach ▁spòkójnégò ▁òceanu ... (+6 more)` | 16 |
98
+ | 32k | `▁nowô ▁zelan dzkô ▁-jepaństwã ▁na ▁òstrowach ▁spòkójnégò ▁òceanu ... (+5 more)` | 15 |
99
+ | 64k | `▁nowô ▁zelandzkô ▁-jepaństwã ▁na ▁òstrowach ▁spòkójnégò ▁òceanu . ... (+4 more)` | 14 |
100
 
101
+ **Sample 2:** `802 / DCCCII 800 « 801 « 802 » 803 » 804 Wëdarzenia Ùrodzëlë sã Ùmarlë`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁ 8 0 2 ▁/dccc ii8 0 ... (+25 more)` | 35 |
106
+ | 16k | `▁ 8 0 2 ▁/dccc ii8 0 ... (+25 more)` | 35 |
107
+ | 32k | `▁ 8 0 2 ▁/dccc ii8 0 ... (+25 more)` | 35 |
108
+ | 64k | `▁ 8 0 2 ▁/dccc ii8 0 ... (+25 more)` | 35 |
109
 
110
+ **Sample 3:** `Smierdzący bòcónk (Geranium robertianum L.) to je jednorocznô abò dwalatnô ros...`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁smier dzą cy ▁bòc ónk( ge ra nium ▁robert ... (+26 more)` | 36 |
115
+ | 16k | `▁smier dzący ▁bòc ónk( gera nium robert ian um ... (+24 more)` | 34 |
116
+ | 32k | `▁smier dzący ▁bòc ónk( gera nium ▁robert ian um ... (+23 more)` | 33 |
117
+ | 64k | `▁smier dzący bòcónk( geranium ▁robert ian um l .) ... (+21 more)` | 31 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 4.519x compression
123
+ - **Lowest UNK Rate:** 8k with 0.1681% 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 | 1,973 | 10.95 | 6,252 | 31.3% | 68.4% |
141
+ | **2-gram** | Subword | 459 🏆 | 8.84 | 2,759 | 53.4% | 98.1% |
142
+ | **3-gram** | Word | 2,109 | 11.04 | 7,761 | 31.4% | 68.9% |
143
+ | **3-gram** | Subword | 3,977 | 11.96 | 22,668 | 18.9% | 58.0% |
144
+ | **4-gram** | Word | 3,756 | 11.88 | 15,387 | 27.9% | 59.4% |
145
+ | **4-gram** | Subword | 19,041 | 14.22 | 103,678 | 9.9% | 32.9% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `to je` | 2,509 |
154
+ | 2 | `bùtnowé lënczi` | 1,441 |
155
+ | 3 | `ùrodzëlë sã` | 991 |
156
+ | 4 | `w gminie` | 982 |
157
+ | 5 | `m jin` | 873 |
158
+
159
+ **3-grams (Word):**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `wëdarzenia ùrodzëlë sã` | 849 |
164
+ | 2 | `ùrodzëlë sã ùmarlë` | 814 |
165
+ | 3 | `w pòmòrsczim wòjewództwie` | 642 |
166
+ | 4 | `p p p` | 601 |
167
+ | 5 | `pòmòrsczim wòjewództwie w` | 543 |
168
+
169
+ **4-grams (Word):**
170
+
171
+ | Rank | N-gram | Count |
172
+ |------|--------|-------|
173
+ | 1 | `wëdarzenia ùrodzëlë sã ùmarlë` | 753 |
174
+ | 2 | `p p p p` | 566 |
175
+ | 3 | `w pòmòrsczim wòjewództwie w` | 537 |
176
+ | 4 | `królestwa i jinëch słowiańsczich` | 489 |
177
+ | 5 | `i jinëch słowiańsczich krajów` | 489 |
178
+
179
+ **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
+ | 1 | `c z` | 39,994 |
184
+ | 2 | `a _` | 39,475 |
185
+ | 3 | `_ w` | 38,361 |
186
+ | 4 | `. _` | 33,310 |
187
+ | 5 | `_ p` | 33,120 |
188
 
189
+ **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
+ | 1 | `c z i` | 17,651 |
194
+ | 2 | `_ w _` | 16,987 |
195
+ | 3 | `s c z` | 14,602 |
196
+ | 4 | `_ p ò` | 12,455 |
197
+ | 5 | `n a _` | 11,117 |
198
 
199
+ **4-grams (Subword):**
200
 
201
  | Rank | N-gram | Count |
202
  |------|--------|-------|
203
+ | 1 | `s c z i` | 9,987 |
204
+ | 2 | `c z i _` | 8,529 |
205
+ | 3 | `_ j e _` | 7,782 |
206
+ | 4 | g ò _` | 7,756 |
207
+ | 5 | `_ n a _` | 6,415 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 459
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
  - **Coverage:** Top-1000 patterns cover ~33% of corpus
215
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
 
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.5452 | 1.459 | 2.98 | 81,304 | 45.5% |
231
+ | **1** | Subword | 1.0127 | 2.018 | 7.32 | 978 | 0.0% |
232
+ | **2** | Word | 0.1324 | 1.096 | 1.26 | 240,607 | 86.8% |
233
+ | **2** | Subword | 0.9831 | 1.977 | 6.04 | 7,148 | 1.7% |
234
+ | **3** | Word | 0.0409 | 1.029 | 1.07 | 299,264 | 95.9% |
235
+ | **3** | Subword | 0.8865 | 1.849 | 4.14 | 43,078 | 11.4% |
236
+ | **4** | Word | 0.0201 🏆 | 1.014 | 1.03 | 315,962 | 98.0% |
237
+ | **4** | Subword | 0.6527 | 1.572 | 2.59 | 178,117 | 34.7% |
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. `w gminie wickò w nocë dlô biédnëch robòta jakno dzél wsë czelińskô hëta to béł pòlsczi`
246
+ 2. `je rëba z rodzëznë lycosidae òna rosce m jin na zôczątkù leno w pò ùpôdkù kòmùnizmù`
247
+ 3. `i białków zgòrzałégò zgòrzôłczi pòl jeziora potęgowskie to tak samò rok znoszą od średniowiecza do c...`
248
+
249
+ **Context Size 2:**
250
+
251
+ 1. `to je dzél gardu grëdządza nad wisłą we zdrojach nova berlyn berlyn nigenberlin berlin berlinichen b...`
252
+ 2. `bùtnowé lënczi tadzino w geògraficznym słowôrzu pòlsczégò królestwa i jinëch słowiańsczich krajów pù...`
253
+ 3. `ùrodzëlë sã ùmarlë stolaté`
254
+
255
+ **Context Size 3:**
256
+
257
+ 1. `wëdarzenia ùrodzëlë sã ùmarlë lesser giełdziński kòlekcjonéra dokôzów kùńsztu lesser giełdziński gaz...`
258
+ 2. `ùrodzëlë sã ùmarlë kalãdôrz na hewòtny rok juliańsczi 914 915 916 917 918 919 920 921 922 923`
259
+ 3. `w pòmòrsczim wòjewództwie w kartësczim krézu w gminie pòtãgòwò w stołpsczim krézu w gminie przedkòwò...`
260
+
261
+ **Context Size 4:**
262
 
263
+ 1. `wëdarzenia ùrodzëlë ùmarlë kalãdôrz na hewòtny rok juliańsczi 948 949 950 951 952 953 954 955 956...`
264
+ 2. `p p p p p p p p p p p p p p p p p p p`
265
+ 3. `w pòmòrsczim wòjewództwie w kartësczim krézu w òbéńdze gminë somònino tu w szkòle dzece ùczą sã kasz...`
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. `_kaństrdk_gô_òdz`
275
+ 2. `arstk:_todł_dnch`
276
+ 3. `icze_zegòriczëni`
277
 
278
  **Context Size 2:**
279
 
280
+ 1. `cziwónégò._maińst`
281
+ 2. `a_spòl.)_terticho`
282
+ 3. `_w_rowimòriart_ka`
283
 
284
  **Context Size 3:**
285
 
286
+ 1. `czi,_„roxy_dobis_z`
287
+ 2. `_w_chtërnym_są_z_d`
288
+ 3. `sczé_czajny),_mie_`
289
 
290
  **Context Size 4:**
291
 
292
+ 1. `sczi_egipsczégò_pòc`
293
+ 2. `czi_rôtësz_bëc_kòle`
294
+ 3. `_je_człowiańsczi_kò`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 98.0% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (178,117 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 28,754 |
318
+ | Total Tokens | 367,683 |
319
+ | Mean Frequency | 12.79 |
320
  | Median Frequency | 3 |
321
+ | Frequency Std Dev | 148.11 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | w | 17,439 |
328
+ | 2 | je | 7,833 |
329
+ | 3 | i | 6,889 |
330
+ | 4 | na | 6,729 |
331
+ | 5 | z | 5,037 |
332
+ | 6 | to | 4,739 |
333
+ | 7 | | 3,695 |
334
+ | 8 | do | 3,401 |
335
+ | 9 | rok | 3,185 |
336
+ | 10 | a | 2,487 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | szahada | 2 |
343
+ | 2 | allaha | 2 |
344
+ | 3 | الله | 2 |
345
+ | 4 | llāh | 2 |
346
+ | 5 | tatarzy | 2 |
347
+ | 6 | chtërzy | 2 |
348
+ | 7 | prevost | 2 |
349
+ | 8 | gwiôzdozbiór | 2 |
350
+ | 9 | discover | 2 |
351
+ | 10 | krakowska | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 0.9905 |
358
+ | R² (Goodness of Fit) | 0.995948 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 36.0% |
366
+ | Top 1,000 | 63.2% |
367
+ | Top 5,000 | 79.8% |
368
+ | Top 10,000 | 87.4% |
369
 
370
  ### Key Findings
371
 
372
+ - **Zipf Compliance:** R²=0.9959 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 36.0% of corpus
374
+ - **Long Tail:** 18,754 words needed for remaining 12.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.7759 🏆 | 0.3628 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.4956 | 0.3193 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.1441 | 0.3257 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_32d with 0.7759 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.3359. 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
+ | `-pr` | prozã, przerôbianié, prostonórta |
430
+ | `-pò` | pòmòcë, pòtémù, pòmòcnégò |
431
+
432
+ #### Productive Suffixes
433
+ | Suffix | Examples |
434
+ |--------|----------|
435
+ | `-a` | plëszka, svôta, jóna |
436
+ | `-ch` | chtërnich, artisticznëch, tarnowsczich |
437
+ | `-ów` | kònkùrsów, splecënków, piesniów |
438
+ | `-zi` | marokańsczi, hélsczi, esteticzi |
439
+ | `-czi` | marokańsczi, hélsczi, esteticzi |
440
+
441
+ ### 6.3 Bound Stems (Lexical Roots)
442
+
443
+ 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.
444
+
445
+ | Stem | Cohesion | Substitutability | Examples |
446
+ |------|----------|------------------|----------|
447
+ | `tërn` | 2.01x | 29 contexts | chtërną, chtërna, chtërnã |
448
+ | `htër` | 2.05x | 23 contexts | chtërô, chtërë, chtëre |
449
+ | `chtë` | 1.91x | 27 contexts | chtërô, chtërë, chtëre |
450
+ | `szëb` | 1.99x | 22 contexts | kaszëb, kaszëbi, kaszëba |
451
+ | `zeni` | 1.64x | 32 contexts | zenice, ùczenié, ùczeniô |
452
+ | `odzë` | 1.79x | 22 contexts | rodzëc, rodzënë, godzëną |
453
+ | `stol` | 1.78x | 20 contexts | stole, stolp, stolpe |
454
+ | `rodz` | 1.40x | 44 contexts | rodzy, rodze, rodzą |
455
+ | `aszë` | 1.91x | 14 contexts | kaszëb, kaszëbi, kaszëba |
456
+ | `sczé` | 1.41x | 30 contexts | rusczé, wąsczé, nisczé |
457
+ | `zëzn` | 1.40x | 29 contexts | rodzëzna, rodzëznë, żëdzëzna |
458
+ | `zëbs` | 2.04x | 9 contexts | kaszëbskô, kaszëbskù, kaszëbskò |
459
+
460
+ ### 6.4 Affix Compatibility (Co-occurrence)
461
+
462
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
463
+
464
+ | Prefix | Suffix | Frequency | Examples |
465
+ |--------|--------|-----------|----------|
466
+ | `-pr` | `-a` | 36 words | prałata, prawidła |
467
+ | `-pò` | `-a` | 22 words | pòéta, pòetka |
468
+ | `-pr` | `-ów` | 19 words | procëmników, przezeblôkańców |
469
+ | `-pò` | `-ch` | 15 words | pòlsczich, pòswiãconëch |
470
+ | `-pò` | `-zi` | 12 words | pòrénszi, pòwieczi |
471
+ | `-pò` | `-ów` | 12 words | pòétów, pòkôzków |
472
+ | `-pr` | `-ch` | 10 words | przédnich, prësach |
473
+ | `-pò` | `-czi` | 10 words | pòwieczi, pòprôwczi |
474
+ | `-pr` | `-zi` | 4 words | prëczkòwsczi, prekmùrsczi |
475
+ | `-pr` | `-czi` | 4 words | prëczkòwsczi, prekmùrsczi |
476
+
477
+ ### 6.5 Recursive Morpheme Segmentation
478
+
479
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
480
+
481
+ | Word | Suggested Split | Confidence | Stem |
482
+ |------|-----------------|------------|------|
483
+ | francesczi | **`frances-czi`** | 4.5 | `frances` |
484
+ | przebendowsczich | **`pr-zebendows-czi-ch`** | 4.5 | `zebendows` |
485
+ | rozmajitéch | **`rozmajité-ch`** | 4.5 | `rozmajité` |
486
+ | misyjnych | **`misyjny-ch`** | 4.5 | `misyjny` |
487
+ | kòloniach | **`kòlonia-ch`** | 4.5 | `kòlonia` |
488
+ | instrumentów | **`instrument-ów`** | 4.5 | `instrument` |
489
+ | òpòwiesców | **`òpòwiesc-ów`** | 4.5 | `òpòwiesc` |
490
+ | rockòwich | **`rockòwi-ch`** | 4.5 | `rockòwi` |
491
+ | nôrodnych | **`nôrodny-ch`** | 4.5 | `nôrodny` |
492
+ | kòntinentów | **`kòntinent-ów`** | 4.5 | `kòntinent` |
493
+ | chtërnich | **`chtërni-ch`** | 4.5 | `chtërni` |
494
+ | pierszëch | **`pierszë-ch`** | 4.5 | `pierszë` |
495
+ | napùlsczich | **`napùls-czi-ch`** | 3.0 | `napùls` |
496
+ | pòwijôczowatëch | **`pò-wijôczowatë-ch`** | 3.0 | `wijôczowatë` |
497
+ | profesorów | **`pr-ofesor-ów`** | 3.0 | `ofesor` |
498
+
499
+ ### 6.6 Linguistic Interpretation
500
+
501
+ > **Automated Insight:**
502
+ The language CSB 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.
503
+
504
+ ---
505
+ ## 7. Summary & Recommendations
506
 
507
  ![Performance Dashboard](visualizations/performance_dashboard.png)
508
 
 
510
 
511
  | Component | Recommended | Rationale |
512
  |-----------|-------------|-----------|
513
+ | Tokenizer | **64k BPE** | Best compression (4.52x) |
514
+ | N-gram | **2-gram** | Lowest perplexity (459) |
515
+ | Markov | **Context-4** | Highest predictability (98.0%) |
516
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
517
 
518
+
519
  ---
520
  ## Appendix: Metrics Glossary & Interpretation Guide
521
 
 
705
  author = {Kamali, Omar},
706
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
707
  year = {2025},
708
+ doi = {10.5281/zenodo.18073153},
709
+ publisher = {Zenodo},
710
  url = {https://huggingface.co/wikilangs}
711
  institution = {Omneity Labs}
712
  }
 
722
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
723
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
724
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
725
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
726
  ---
727
  *Generated by Wikilangs Models Pipeline*
728
 
729
+ *Report Date: 2026-01-03 10:37:34*
models/embeddings/monolingual/csb_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b25696cdb50896086fa8765164ac99b1a74f6baa87855743340870de8feb8846
3
- size 1033764191
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41e6f20527f7bdf6b8fa87b31ba74d5a6f79ab296290f0dc98660613cb8a2fe1
3
+ size 1032826887
models/embeddings/monolingual/csb_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": 9374
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": 8475
15
  }
models/embeddings/monolingual/csb_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:20720c555b098f34e4b779eef8775c678739812d35172517c163c47355e7324d
3
- size 258564959
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5cbc494ad59e671d08ac1ee2324782674a0601691c025b52f61a1dc262c55a50
3
+ size 258318087
models/embeddings/monolingual/csb_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": 9374
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": 8475
15
  }
models/embeddings/monolingual/csb_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8f45f0bad986067c8e7d0286759aba19f46dd6e1543da500e24b416baeacabf
3
- size 516964703
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf5715a3cae0ee5b9bb8ac08a4ce47911ac64ce20e714c3910d2bc8b96c6e509
3
+ size 516487687
models/embeddings/monolingual/csb_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": 9374
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": 8475
15
  }
models/subword_markov/csb_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5068a579f2b171e606792ca829e69b9e3143e65339a9efc3506a7ca5115d428
3
- size 67058
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e05a853044730e6b38caaa21dbd01cd8c459c5c597d8ef1f2b019b62bd3a09b
3
+ size 59753
models/subword_markov/csb_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_contexts": 997,
6
- "total_transitions": 3218844
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_contexts": 978,
6
+ "total_transitions": 2901533
7
  }
models/subword_markov/csb_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3967d1eec9d86350b77702cc6bf44691566e26d4118f3b6a5a951c72f64b857c
3
- size 417008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c40dba7c966b35d871440a303053f29b981727b16a9711bc7f3b928ef397d93
3
+ size 348349
models/subword_markov/csb_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_contexts": 8455,
6
- "total_transitions": 3213321
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_contexts": 7148,
6
+ "total_transitions": 2896074
7
  }
models/subword_markov/csb_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1adb1ab503943920e66b3ff9b49e54d0155a7cf3929f47d77c4b006ada368b15
3
- size 1513527
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baf3ffd5d454791b7f04ed0e159954822bec5bc7bb1ca316a99d9ff1110cb21b
3
+ size 1286038
models/subword_markov/csb_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_contexts": 53427,
6
- "total_transitions": 3207798
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_contexts": 43078,
6
+ "total_transitions": 2890615
7
  }
models/subword_markov/csb_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:033de4acd88afc42990f3445f74bc3b566c328579043dc2a44aba71413b171b1
3
- size 4278773
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c7319c1902c4efc845966ed77f3e54a04e733309dd3f842ad88f03e692305da
3
+ size 3560727
models/subword_markov/csb_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_contexts": 216692,
6
- "total_transitions": 3202275
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_contexts": 178117,
6
+ "total_transitions": 2885156
7
  }
models/subword_ngram/csb_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:391e1d583df21fdc46a2aa0ff203e194cbae2e42cdfbc71444077b4e75b45f91
3
- size 45859
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd44ffe8316f9e70b216abc0f7350ace6965b2fb8ca598790d222616a87aa285
3
+ size 39483
models/subword_ngram/csb_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_ngrams": 3311,
6
- "total_ngrams": 3218844
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_ngrams": 2759,
6
+ "total_ngrams": 2901533
7
  }
models/subword_ngram/csb_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4c3002a67a08d5faaeac52d5440402498e06e19305e35f54d276c9528d4a3152
3
- size 336547
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae511b1aec2b3de495c0e9773d3546aa9f63c0161f1fd07bc6a21de62ebbc168
3
+ size 284170
models/subword_ngram/csb_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_ngrams": 27002,
6
- "total_ngrams": 3213321
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_ngrams": 22668,
6
+ "total_ngrams": 2896074
7
  }
models/subword_ngram/csb_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:666072268ae0a2ccac186322c5838b59fae96d23c14780857ba54c7685d9adfc
3
- size 1404811
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12babc3b06e25fb857cc7fd5e7bd597cfa74946c127a0e861d2126235b75b740
3
+ size 1210992
models/subword_ngram/csb_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "csb",
5
- "unique_ngrams": 120017,
6
- "total_ngrams": 3207798
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "csb",
5
+ "unique_ngrams": 103678,
6
+ "total_ngrams": 2890615
7
  }
models/tokenizer/csb_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6794824430b2159e34f31e9d5399a3a51fa91bd5ddb23993929d095a06f814ab
3
- size 513958
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c396d5d00fa2d75c975c56bc121841f40ca7c7c22b9020fd8d1cada0062c2b40
3
+ size 512151
models/tokenizer/csb_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/csb_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:189c4d650dc51fd321cd823422ea651c99f67ced54e082e8b10a68d0fd5dcf41
3
- size 795214
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a45eb87760776eef205d9de1e20ab9be70fab5b15ea858044a82e52b6e3c863a
3
+ size 794869
models/tokenizer/csb_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/csb_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e90c512e91a4cca37e1ed52b1935794a8711b3c1be3ed9d23759b91198934d8c
3
- size 1410697
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f9ecb06a069b33f750a0a07c327a2ef366efe2b86633a89f1e83698fc9f3c0b
3
+ size 1419438
models/tokenizer/csb_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/csb_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cb3964616e0fc66549431807a5f232c1bab21a60b780d08671a92f04877c67f4
3
- size 374311
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e6f3cf7f11f412d56e5d102ff3e025a5475742bdbb3e47358ced7e86ca13cf
3
+ size 374756
models/tokenizer/csb_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/csb_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43400e03ea20ace4b8bdb572e3883499c9f7b97bae69b50d4944fbe2ee536810
3
- size 512071
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4ec8917a796775c330b809302d26f7ef684e595a22733614a196066a8dc7d30
3
+ size 496629
models/vocabulary/csb_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "csb",
3
- "vocabulary_size": 29805,
 
4
  "statistics": {
5
- "type_token_ratio": 0.1846802030013833,
6
  "coverage": {
7
- "top_100": 0.30673194828090294,
8
- "top_1000": 0.5521707445856843,
9
- "top_5000": 0.7036886730290058,
10
- "top_10000": 0.7713288910416694
11
  },
12
- "hapax_count": 54838,
13
- "hapax_ratio": 0.6478740120269839,
14
- "total_documents": 5523
15
  }
16
  }
 
1
  {
2
  "language": "csb",
3
+ "vocabulary_size": 28754,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.19407197802851062,
7
  "coverage": {
8
+ "top_100": 0.31498650560582103,
9
+ "top_1000": 0.5524925988895362,
10
+ "top_5000": 0.6979419562710293,
11
+ "top_10000": 0.7645555172454791
12
  },
13
+ "hapax_count": 52862,
14
+ "hapax_ratio": 0.6476916290923348,
15
+ "total_documents": 5459
16
  }
17
  }
models/word_markov/csb_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ed07c1fba3e9c978f2541528729168751fa7fe61ecec3655bb6f961a9aad71c
3
- size 2783036
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e732ca9b72afa9a30e582ebd48d54d02ff69454bc3acb08680e67d5bbf2db206
3
+ size 2573619
models/word_markov/csb_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_contexts": 84682,
6
- "total_transitions": 603497
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_contexts": 81304,
6
+ "total_transitions": 415086
7
  }
models/word_markov/csb_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddf878b89b081ed8f670e77e8aa7eb3a65026f82687fdb4e392596d39e7081e1
3
- size 5412690
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2660c524e5ebffcf9e518ae94f1ef886c064dab42f134947c976da478ff1da2f
3
+ size 4877767
models/word_markov/csb_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_contexts": 273056,
6
- "total_transitions": 597974
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_contexts": 240607,
6
+ "total_transitions": 409627
7
  }
models/word_markov/csb_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cc1dc5ef590474e910c47d1150f28c5a6b16f78c91a67ace5ed90a83a7ba3a3a
3
- size 7212126
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cdd39ad4b22a2d46c4dd86b7ba493cfc9aa00961c4a78695d6c28451dc5014e
3
+ size 6113660
models/word_markov/csb_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_contexts": 383141,
6
- "total_transitions": 592451
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_contexts": 299264,
6
+ "total_transitions": 404168
7
  }
models/word_markov/csb_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba6380ce77c89d4260f28c12f1486e6c7dcf94d1aef3c758ae27ba08b8c73ea6
3
- size 8333568
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4a131b7f2fd965fe3e9196ca03945933afddb0bd97b2b446cd73e589008419b
3
+ size 6859442
models/word_markov/csb_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_contexts": 428917,
6
- "total_transitions": 586929
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_contexts": 315962,
6
+ "total_transitions": 398709
7
  }
models/word_ngram/csb_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3038dda4f36453107211897fadfb516a87d0bd27d41b4746152f270e1f9b9de1
3
- size 165919
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:375047bb84e33afd42996a82cbcef6a1015c6cbc7389fcb1b320d097c29be0a9
3
+ size 103421
models/word_ngram/csb_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_ngrams": 10915,
6
- "total_ngrams": 603497
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_ngrams": 6252,
6
+ "total_ngrams": 415086
7
  }
models/word_ngram/csb_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:22669c9eb04fbc6e4a77e5f462b38a8b67740b2642b31ced9121ebd2b7092650
3
- size 256311
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6983ae00497186207918a96454e42f53f8e079ce77c5077f14745b9d7388067
3
+ size 149464
models/word_ngram/csb_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_ngrams": 15184,
6
- "total_ngrams": 597974
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_ngrams": 7761,
6
+ "total_ngrams": 409627
7
  }
models/word_ngram/csb_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3191483bf324f5584d851ffef945b583e9736420f11bc19a39065ab9fd8e3d0a
3
- size 512630
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb8edf85039fc6a2284c7729e68323478ba49b2ad62cdb31a7d7ede73e764b9a
3
+ size 324365
models/word_ngram/csb_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "csb",
5
- "unique_ngrams": 27953,
6
- "total_ngrams": 592451
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "csb",
5
+ "unique_ngrams": 15387,
6
+ "total_ngrams": 404168
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: 0535832a5512c890bad66a1bfc6aedc6d254967018e374b3b913e7eb8c692014
  • Pointer size: 131 Bytes
  • Size of remote file: 142 kB

Git LFS Details

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