omarkamali commited on
Commit
a9b0579
·
verified ·
1 Parent(s): d0034c6

Upload all models and assets for bar (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 +308 -141
  2. models/embeddings/monolingual/bar_128d.bin +2 -2
  3. models/embeddings/monolingual/bar_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/bar_32d.bin +2 -2
  5. models/embeddings/monolingual/bar_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/bar_64d.bin +2 -2
  7. models/embeddings/monolingual/bar_64d_metadata.json +5 -3
  8. models/subword_markov/bar_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/bar_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/bar_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/bar_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/bar_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/bar_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/bar_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/bar_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/bar_2gram_subword.parquet +2 -2
  17. models/subword_ngram/bar_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/bar_3gram_subword.parquet +2 -2
  19. models/subword_ngram/bar_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/bar_4gram_subword.parquet +2 -2
  21. models/subword_ngram/bar_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/bar_tokenizer_16k.model +2 -2
  23. models/tokenizer/bar_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/bar_tokenizer_32k.model +2 -2
  25. models/tokenizer/bar_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/bar_tokenizer_64k.model +2 -2
  27. models/tokenizer/bar_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/bar_tokenizer_8k.model +2 -2
  29. models/tokenizer/bar_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/bar_vocabulary.parquet +2 -2
  31. models/vocabulary/bar_vocabulary_metadata.json +10 -9
  32. models/word_markov/bar_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/bar_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/bar_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/bar_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/bar_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/bar_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/bar_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/bar_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/bar_2gram_word.parquet +2 -2
  41. models/word_ngram/bar_2gram_word_metadata.json +2 -2
  42. models/word_ngram/bar_3gram_word.parquet +2 -2
  43. models/word_ngram/bar_3gram_word_metadata.json +2 -2
  44. models/word_ngram/bar_4gram_word.parquet +2 -2
  45. models/word_ngram/bar_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.790
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8361
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 225914
33
- generated: 2025-12-28
34
  ---
35
 
36
  # BAR - 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.051x | 3.01 | 0.0348% | 1,184,756 |
76
- | **16k** | 3.320x | 3.27 | 0.0378% | 1,088,767 |
77
- | **32k** | 3.568x | 3.52 | 0.0407% | 1,013,044 |
78
- | **64k** | 3.790x 🏆 | 3.74 | 0.0432% | 953,541 |
79
 
80
  ### Tokenization Examples
81
 
82
  Below are sample sentences tokenized with each vocabulary size:
83
 
84
- **Sample 1:** `Platte County is a County in Nebraska in da USA.
85
-
86
- Beleg
87
-
88
- Im Netz
89
-
90
- Kategorie:...`
91
 
92
  | Vocab | Tokens | Count |
93
  |-------|--------|-------|
94
- | 8k | `▁plat te ▁county ▁isacounty ▁in ▁nebraskainda ... (+10 more)` | 20 |
95
- | 16k | `▁plat te ▁county ▁isacounty ▁in ▁nebraskainda ... (+10 more)` | 20 |
96
- | 32k | `▁platte ▁county ▁isacounty ▁in ▁nebraska ▁indausa ... (+9 more)` | 19 |
97
- | 64k | `▁platte ▁county ▁isacounty ▁in ▁nebraska ▁indausa ... (+9 more)` | 19 |
98
 
99
- **Sample 2:** `Union County. Obgruafa am 22. Feba 2011 is a County in South Carolina in da USA....`
100
 
101
  | Vocab | Tokens | Count |
102
  |-------|--------|-------|
103
- | 8k | `▁union ▁county . ▁obgruafa ▁am ▁ 2 2 . ▁feba ... (+24 more)` | 34 |
104
- | 16k | `▁union ▁county . ▁obgruafa ▁am ▁ 2 2 . ▁feba ... (+24 more)` | 34 |
105
- | 32k | `▁union ▁county . ▁obgruafa ▁am ▁ 2 2 . ▁feba ... (+24 more)` | 34 |
106
- | 64k | `▁union ▁county . ▁obgruafa ▁am ▁ 2 2 . ▁feba ... (+24 more)` | 34 |
107
-
108
- **Sample 3:** `Des is a Iwablick iwas Joar 1561.
109
 
110
- Im Netz`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
- | 8k | `▁des ▁isaiwablick ▁iwasjoar 1 5 6 ... (+4 more)` | 14 |
115
- | 16k | `▁des ▁isaiwablick ▁iwasjoar 1 5 6 ... (+4 more)` | 14 |
116
- | 32k | `▁des ▁isaiwablick ▁iwasjoar 1 5 6 ... (+4 more)` | 14 |
117
- | 64k | `▁desisaiwablickiwasjoar1 5 6 ... (+4 more)` | 14 |
118
 
119
 
120
  ### Key Findings
121
 
122
- - **Best Compression:** 64k achieves 3.790x compression
123
- - **Lowest UNK Rate:** 8k with 0.0348% 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 @@ Kategorie:...`
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** | 26,677 🏆 | 14.70 | 159,756 | 14.4% | 35.4% |
139
- | **2-gram** | 438 🏆 | 8.77 | 9,188 | 56.6% | 97.2% |
140
- | **3-gram** | 61,390 | 15.91 | 246,468 | 9.0% | 25.7% |
141
- | **3-gram** | 4,733 | 12.21 | 83,186 | 18.8% | 56.7% |
142
- | **4-gram** | 99,269 | 16.60 | 386,315 | 9.1% | 23.6% |
143
- | **4-gram** | 33,953 | 15.05 | 473,217 | 8.7% | 26.5% |
144
 
145
  ### Top 5 N-grams by Size
146
 
147
- **2-grams:**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
 
149
  | Rank | N-gram | Count |
150
  |------|--------|-------|
151
- | 1 | `kategorie :` | 38,959 |
152
- | 2 | `vo da` | 26,615 |
153
- | 3 | `is a` | 23,040 |
154
- | 4 | `in da` | 22,485 |
155
- | 5 | `. de` | 21,082 |
156
 
157
- **3-grams:**
158
 
159
  | Rank | N-gram | Count |
160
  |------|--------|-------|
161
- | 1 | `beleg kategorie :` | 6,999 |
162
- | 2 | `isbn 3 -` | 5,924 |
163
- | 3 | `. im netz` | 5,460 |
164
- | 4 | `kategorie : ort` | 5,121 |
165
- | 5 | `| | |` | 4,937 |
166
 
167
- **4-grams:**
168
 
169
  | Rank | N-gram | Count |
170
  |------|--------|-------|
171
- | 1 | `, isbn 3 -` | 4,499 |
172
- | 2 | `| align = "` | 3,879 |
173
- | 3 | `align = " center` | 3,590 |
174
- | 4 | `= " center "` | 3,590 |
175
- | 5 | `kategorie : ort im` | 3,505 |
 
 
 
 
 
 
 
 
 
 
176
 
177
 
178
  ### Key Findings
179
 
180
- - **Best Perplexity:** 2-gram with 438
181
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
182
- - **Coverage:** Top-1000 patterns cover ~27% of corpus
183
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
184
 
185
  ---
@@ -187,55 +219,86 @@ Kategorie:...`
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.6074 | 1.523 | 4.85 | 638,594 | 39.3% |
197
- | **1** | 1.0706 | 2.100 | 7.75 | 3,379 | 0.0% |
198
- | **2** | 0.2487 | 1.188 | 1.74 | 3,093,978 | 75.1% |
199
- | **2** | 0.9487 | 1.930 | 6.44 | 26,199 | 5.1% |
200
- | **3** | 0.0996 | 1.071 | 1.21 | 5,375,695 | 90.0% |
201
- | **3** | 0.9366 | 1.914 | 4.86 | 168,731 | 6.3% |
202
- | **4** | 0.0401 🏆 | 1.028 | 1.07 | 6,470,090 | 96.0% |
203
- | **4** | 0.7672 🏆 | 1.702 | 3.38 | 820,482 | 23.3% |
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. `. 524 angewachsen und die fläche vo dera zoagt , par les ' n ) u`
212
- 2. `, isbn 978 - mal 1920 bis auf des is kemnath ( " franz kafka .`
213
- 3. `- deitscha schauspuia und a zaumgroida schdrudl is ois broad bekaunnt hans ( 2016 saha air`
214
 
215
  **Context Size 2:**
216
 
217
- 1. `kategorie : artikel auf niederösterreichisch kategorie : ortsteil von wieseth kategorie : geboren 18...`
218
- 2. `vo da mathematik , schau gorkhaland`
219
- 3. `is a bruck ' nschlåg ; da linné aun an rio xingu . as gericht håtn zu`
220
 
221
  **Context Size 3:**
222
 
223
- 1. `beleg kategorie : johann nestroy ; stücke 21 . s . highway 84 mindt . uma 32 kilometa`
224
- 2. `isbn 3 - 417 - 20675 - 8 ( teubner - studienbücher der geographie ) . im joa`
225
- 3. `kategorie : ort auf den färöern kategorie : streymoy`
226
 
227
  **Context Size 4:**
228
 
229
- 1. `, isbn 3 - 406 - 46224 - 3 birgit zotz : destination tibet . touristisches image zwischen politik`
230
- 2. `| align = " center " | | - | berleu | | | | | | | |`
231
- 3. `= " center " | | | align = " center " | | | fatututa | | align`
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
 
234
  ### Key Findings
235
 
236
- - **Best Predictability:** Context-4 with 96.0% predictability
237
  - **Branching Factor:** Decreases with context size (more deterministic)
238
- - **Memory Trade-off:** Larger contexts require more storage (820,482 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 | 225,914 |
255
- | Total Tokens | 5,874,699 |
256
- | Mean Frequency | 26.00 |
257
  | Median Frequency | 3 |
258
- | Frequency Std Dev | 709.74 |
259
 
260
  ### Most Common Words
261
 
262
  | Rank | Word | Frequency |
263
  |------|------|-----------|
264
- | 1 | de | 139,734 |
265
- | 2 | da | 136,994 |
266
- | 3 | und | 120,375 |
267
- | 4 | in | 102,834 |
268
- | 5 | a | 93,585 |
269
- | 6 | vo | 92,275 |
270
- | 7 | is | 88,045 |
271
- | 8 | im | 71,546 |
272
- | 9 | kategorie | 39,103 |
273
- | 10 | des | 34,614 |
274
 
275
  ### Least Common Words (from vocabulary)
276
 
277
  | Rank | Word | Frequency |
278
  |------|------|-----------|
279
- | 1 | mechanisches | 2 |
280
- | 2 | stabilisierungssystem | 2 |
281
- | 3 | voeffentlecht | 2 |
282
- | 4 | innpuls | 2 |
283
- | 5 | buagstej | 2 |
284
- | 6 | nuwenburg | 2 |
285
- | 7 | kulturweges | 2 |
286
- | 8 | spessartprojektes | 2 |
287
- | 9 | terrassnfermig | 2 |
288
- | 10 | tuamhigi | 2 |
289
 
290
  ### Zipf's Law Analysis
291
 
292
  | Metric | Value |
293
  |--------|-------|
294
- | Zipf Coefficient | 0.9896 |
295
- | R² (Goodness of Fit) | 0.999155 |
296
  | Adherence Quality | **excellent** |
297
 
298
  ### Coverage Analysis
299
 
300
  | Top N Words | Coverage |
301
  |-------------|----------|
302
- | Top 100 | 32.7% |
303
- | Top 1,000 | 54.6% |
304
- | Top 5,000 | 70.2% |
305
- | Top 10,000 | 76.9% |
306
 
307
  ### Key Findings
308
 
309
- - **Zipf Compliance:** R²=0.9992 indicates excellent adherence to Zipf's law
310
- - **High Frequency Dominance:** Top 100 words cover 32.7% of corpus
311
- - **Long Tail:** 215,914 words needed for remaining 23.1% coverage
312
 
313
  ---
314
  ## 5. Word Embeddings Evaluation
@@ -321,24 +384,125 @@ 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** | 92,573 | 32 | 3.954 | 1.316 | 0.8131 |
329
- | **mono_64d** | 92,573 | 64 | 4.642 | 1.256 | 0.8361 🏆 |
330
- | **mono_128d** | 92,573 | 128 | 5.543 | 1.143 | 0.8310 |
331
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
332
 
333
  ### Key Findings
334
 
335
- - **Best Isotropy:** mono_64d with 0.8361 (more uniform distribution)
336
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
337
- - **Vocabulary Coverage:** All models cover 92,573 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 +510,12 @@ Below are text samples generated from each Markov chain model:
346
 
347
  | Component | Recommended | Rationale |
348
  |-----------|-------------|-----------|
349
- | Tokenizer | **32k BPE** | Best compression (3.79x) with low UNK rate |
350
- | N-gram | **5-gram** | Lowest perplexity (438) |
351
- | Markov | **Context-4** | Highest predictability (96.0%) |
352
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
353
 
 
354
  ---
355
  ## Appendix: Metrics Glossary & Interpretation Guide
356
 
@@ -540,7 +705,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 +722,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 00:09:41*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 4.002
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.8442
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # BAR - 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.167x | 3.17 | 0.0429% | 1,049,729 |
84
+ | **16k** | 3.475x | 3.48 | 0.0470% | 956,699 |
85
+ | **32k** | 3.752x | 3.75 | 0.0508% | 885,998 |
86
+ | **64k** | 4.002x 🏆 | 4.00 | 0.0542% | 830,614 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `Buffalo County Obgruafa am 22. Feba is a County in Wisconsin in da USA. Beleg Im...`
 
 
 
 
 
 
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁buffalo ▁county ▁obgruafaam2 2 . febais ... (+13 more)` | 23 |
97
+ | 16k | `▁buffalo ▁county ▁obgruafaam2 2 . febais ... (+13 more)` | 23 |
98
+ | 32k | `▁buffalo ▁county ▁obgruafaam2 2 .febais ... (+13 more)` | 23 |
99
+ | 64k | `▁buffalo ▁county ▁obgruafaam2 2 .febais ... (+13 more)` | 23 |
100
 
101
+ **Sample 2:** `Fauquier County. Obgruafa am 22. Feba is a County in Virginia in da USA. Beleg I...`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁f au qui er ▁county . ▁obgruafa ▁am ▁ 2 ... (+17 more)` | 27 |
106
+ | 16k | `▁f au qui er ▁county . ▁obgruafa ▁am ▁ 2 ... (+17 more)` | 27 |
107
+ | 32k | `▁fau qui er ▁county . ▁obgruafa ▁am ▁ 2 2 ... (+16 more)` | 26 |
108
+ | 64k | `▁fau qui er ▁county . ▁obgruafa ▁am ▁ 2 2 ... (+16 more)` | 26 |
 
 
109
 
110
+ **Sample 3:** `Carlow stähd fia: Carlow, Stod in Irland County Carlow, irische Grofschoft Carlo...`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁carl owstähdfia :carl ow , ▁stod ▁in ... (+18 more)` | 28 |
115
+ | 16k | `▁carl owstähdfia :carl ow , ▁stod ▁in ... (+17 more)` | 27 |
116
+ | 32k | `▁carl owstähdfia :carl ow , ▁stod ▁in ... (+16 more)` | 26 |
117
+ | 64k | `▁carlowstähdfia : carlow , stodinirland ▁county ... (+10 more)` | 20 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 4.002x compression
123
+ - **Lowest UNK Rate:** 8k with 0.0429% 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 | 27,417 | 14.74 | 110,635 | 12.9% | 31.4% |
141
+ | **2-gram** | Subword | 362 🏆 | 8.50 | 7,805 | 60.7% | 98.3% |
142
+ | **3-gram** | Word | 41,058 | 15.33 | 129,534 | 12.6% | 26.5% |
143
+ | **3-gram** | Subword | 3,802 | 11.89 | 63,080 | 20.6% | 60.8% |
144
+ | **4-gram** | Word | 57,367 | 15.81 | 187,348 | 13.7% | 25.1% |
145
+ | **4-gram** | Subword | 27,463 | 14.75 | 363,810 | 9.1% | 28.4% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `vo da` | 26,665 |
154
+ | 2 | `is a` | 22,998 |
155
+ | 3 | `in da` | 22,567 |
156
+ | 4 | `im netz` | 14,649 |
157
+ | 5 | `vo de` | 13,503 |
158
+
159
+ **3-grams (Word):**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `beleg im netz` | 3,527 |
164
+ | 2 | `in da usa` | 3,478 |
165
+ | 3 | `da beziak hod` | 2,393 |
166
+ | 4 | `des is a` | 2,037 |
167
+ | 5 | `im netz in` | 2,001 |
168
+
169
+ **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
+ | 1 | `beleg im netz in` | 1,573 |
174
+ | 2 | `da sitz vo da` | 1,483 |
175
+ | 3 | `is a county in` | 1,429 |
176
+ | 4 | `in da usa da` | 1,407 |
177
+ | 5 | `a katastralgmoa in da` | 1,387 |
178
 
179
+ **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
+ | 1 | `n _` | 706,670 |
184
+ | 2 | `a _` | 671,532 |
185
+ | 3 | `c h` | 640,658 |
186
+ | 4 | `_ d` | 560,830 |
187
+ | 5 | `e _` | 482,452 |
188
 
189
+ **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
+ | 1 | `s c h` | 305,657 |
194
+ | 2 | `_ d e` | 255,292 |
195
+ | 3 | `_ d a` | 174,094 |
196
+ | 4 | `n d _` | 170,331 |
197
+ | 5 | `d a _` | 169,070 |
198
+
199
+ **4-grams (Subword):**
200
+
201
+ | Rank | N-gram | Count |
202
+ |------|--------|-------|
203
+ | 1 | `_ d a _` | 133,118 |
204
+ | 2 | `_ d e _` | 131,138 |
205
+ | 3 | `u n d _` | 128,509 |
206
+ | 4 | `_ u n d` | 120,455 |
207
+ | 5 | `i s c h` | 100,072 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 362
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
+ - **Coverage:** Top-1000 patterns cover ~28% 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.7091 | 1.635 | 5.19 | 569,846 | 29.1% |
231
+ | **1** | Subword | 0.9426 | 1.922 | 6.61 | 3,388 | 5.7% |
232
+ | **2** | Word | 0.2116 | 1.158 | 1.52 | 2,948,968 | 78.8% |
233
+ | **2** | Subword | 0.9158 | 1.887 | 5.85 | 22,382 | 8.4% |
234
+ | **3** | Word | 0.0664 | 1.047 | 1.12 | 4,475,523 | 93.4% |
235
+ | **3** | Subword | 0.8683 | 1.826 | 4.67 | 130,801 | 13.2% |
236
+ | **4** | Word | 0.0224 🏆 | 1.016 | 1.04 | 4,973,907 | 97.8% |
237
+ | **4** | Subword | 0.7777 | 1.714 | 3.53 | 610,360 | 22.2% |
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. `de flugsauria buidns de knaj oda negakuss domois ghairat hod direkt in den jüngling oder goar`
246
+ 2. `da insl blaagad hom niks gwisst hod a öatschoft im netz hoamseitn vo mercia zrugg mei`
247
+ 3. `und is er im neich augleande mocha oda z himinbjörg und ů und san letztle zua`
248
 
249
  **Context Size 2:**
250
 
251
+ 1. `vo da vawoitung is in n gensatz za altn welt is a bleamalkiag ausgoat und in bemen`
252
+ 2. `is a urtschoft und a jeda miassat eintritt brandln dann war des eagebnis vo de großn industriezentre...`
253
+ 3. `in da usa on da anderson mesa in da langobardischn ehefrow vom kini ludwig i vo habsbuag`
254
 
255
  **Context Size 3:**
256
 
257
+ 1. `in da usa beleg im netz in south carolina in da usa da beziak hod a fläche vo`
258
+ 2. `beleg im netz eana hoamseitn eana myspace seitn eana facebook seitn volksmusik`
259
+ 3. `da beziak hod a fläch vo 802 km af dena 49 970 eihwohna lem stond gmoana da powiat`
260
 
261
  **Context Size 4:**
262
 
263
+ 1. `beleg im netz in der normandie im département seine maritime in da region normandie ea liegd im arro...`
264
+ 2. `da sitz vo da vawoitung is lake city da beziak hod a flächn vo quadratkilometa dovo san 1 quadratkil...`
265
+ 3. `is a county in virginia in da usa beleg im netz in missouri`
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. `_heerinznachrnea`
275
+ 2. `an_knenant_getun`
276
+ 3. `eichaumo_bh_ll,_`
277
+
278
+ **Context Size 2:**
279
+
280
+ 1. `n_de_autz)_val_(z`
281
+ 2. `a_berseeka)_trejn`
282
+ 3. `chulretiveicittbo`
283
+
284
+ **Context Size 3:**
285
+
286
+ 1. `sch-wei_in_de_im_o`
287
+ 2. `_der_schaubind_so_`
288
+ 3. `_da_hamation_phana`
289
+
290
+ **Context Size 4:**
291
+
292
+ 1. `_da_sicht_große_sog`
293
+ 2. `_de_kompillatinen_t`
294
+ 3. `und_europäischen_(a`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 97.8% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (610,360 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 213,465 |
318
+ | Total Tokens | 5,378,004 |
319
+ | Mean Frequency | 25.19 |
320
  | Median Frequency | 3 |
321
+ | Frequency Std Dev | 715.69 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | de | 137,737 |
328
+ | 2 | da | 137,316 |
329
+ | 3 | und | 119,692 |
330
+ | 4 | in | 102,651 |
331
+ | 5 | a | 92,739 |
332
+ | 6 | vo | 92,570 |
333
+ | 7 | is | 86,950 |
334
+ | 8 | im | 71,173 |
335
+ | 9 | des | 34,457 |
336
+ | 10 | hod | 30,772 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | vorarlberga | 2 |
343
+ | 2 | opfenbach | 2 |
344
+ | 3 | raubibafäi | 2 |
345
+ | 4 | marcianopel | 2 |
346
+ | 5 | sachtler | 2 |
347
+ | 6 | vitec | 2 |
348
+ | 7 | videocom | 2 |
349
+ | 8 | promovierten | 2 |
350
+ | 9 | mechanisches | 2 |
351
+ | 10 | stabilisierungssystem | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 0.9728 |
358
+ | R² (Goodness of Fit) | 0.999432 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 34.1% |
366
+ | Top 1,000 | 55.0% |
367
+ | Top 5,000 | 70.0% |
368
+ | Top 10,000 | 76.7% |
369
 
370
  ### Key Findings
371
 
372
+ - **Zipf Compliance:** R²=0.9994 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 34.1% of corpus
374
+ - **Long Tail:** 203,465 words needed for remaining 23.3% 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.8230 | 0.3300 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.8442 🏆 | 0.2564 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.8427 | 0.1773 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_64d with 0.8442 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.2546. 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
+ | `-be` | begleitendn, bewohnde, bewiabt |
430
+ | `-sc` | schwingt, schienengebundenen, schwefelhölzern |
431
+
432
+ #### Productive Suffixes
433
+ | Suffix | Examples |
434
+ |--------|----------|
435
+ | `-n` | begleitendn, lesegerätn, clipperton |
436
+ | `-en` | warmgemäßigten, alanen, aussen |
437
+ | `-er` | puppentheater, kirchenmusiker, rothmüller |
438
+ | `-ng` | hamhŭng, polung, urauffüahrung |
439
+ | `-ch` | woifschbouch, mittlboarisch, meafoch |
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
+ | `icht` | 1.84x | 346 contexts | richt, eicht, dicht |
448
+ | `schr` | 2.11x | 137 contexts | schrei, schräg, schrag |
449
+ | `gsch` | 1.93x | 181 contexts | gschdö, gscher, gschod |
450
+ | `schl` | 1.64x | 288 contexts | eschl, ischl, göschl |
451
+ | `chte` | 1.70x | 217 contexts | åchte, echte, ochte |
452
+ | `itsc` | 2.10x | 64 contexts | gitsch, kitsch, nitsch |
453
+ | `chof` | 2.22x | 50 contexts | schof, schofn, schoft |
454
+ | `tlic` | 1.76x | 137 contexts | etlich, etlichs, rötlich |
455
+ | `atio` | 2.18x | 45 contexts | natio, ratio, nation |
456
+ | `nisc` | 1.72x | 127 contexts | nisch, nischt, nischn |
457
+ | `ichn` | 1.97x | 68 contexts | eichn, suichn, zoichn |
458
+ | `uach` | 1.78x | 99 contexts | duach, buach, suach |
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
+ | `-sc` | `-n` | 53 words | schleierbaracken, schüidln |
467
+ | `-be` | `-n` | 43 words | betroffanan, berichtigungen |
468
+ | `-sc` | `-en` | 13 words | schleierbaracken, schnupfen |
469
+ | `-be` | `-ng` | 13 words | bevejkarungsentwigglung, bereicherung |
470
+ | `-sc` | `-er` | 13 words | schimpfkalender, schweller |
471
+ | `-sc` | `-ch` | 10 words | schrambach, schpruch |
472
+ | `-be` | `-en` | 9 words | berichtigungen, beten |
473
+ | `-be` | `-ch` | 4 words | besuch, bessenbach |
474
+ | `-be` | `-er` | 3 words | bettinger, berghammer |
475
+ | `-sc` | `-ng` | 3 words | schoidruckpeglmindarung, schiefling |
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
+ | betreiber | **`be-treib-er`** | 6.0 | `treib` |
484
+ | vorarlberger | **`vorarlberg-er`** | 4.5 | `vorarlberg` |
485
+ | verkaufen | **`verkauf-en`** | 4.5 | `verkauf` |
486
+ | grotesken | **`grotesk-en`** | 4.5 | `grotesk` |
487
+ | schwabinger | **`sc-hwabi-ng-er`** | 4.5 | `hwabi` |
488
+ | gsprochenen | **`gspro-ch-en-en`** | 4.5 | `gspro` |
489
+ | waxenberger | **`waxenberg-er`** | 4.5 | `waxenberg` |
490
+ | scheazhoft | **`sc-heazhoft`** | 4.5 | `heazhoft` |
491
+ | gebildeten | **`gebildet-en`** | 4.5 | `gebildet` |
492
+ | carstensen | **`carstens-en`** | 4.5 | `carstens` |
493
+ | bewundern | **`be-wundern`** | 4.5 | `wundern` |
494
+ | dornröschen | **`dornrös-ch-en`** | 3.0 | `dornrös` |
495
+ | überetscher | **`überets-ch-er`** | 3.0 | `überets` |
496
+ | betrieblich | **`be-triebli-ch`** | 3.0 | `triebli` |
497
+ | umgebungen | **`umgebu-ng-en`** | 3.0 | `umgebu` |
498
+
499
+ ### 6.6 Linguistic Interpretation
500
+
501
+ > **Automated Insight:**
502
+ The language BAR 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.00x) |
514
+ | N-gram | **2-gram** | Lowest perplexity (362) |
515
+ | Markov | **Context-4** | Highest predictability (97.8%) |
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 06:42:51*
models/embeddings/monolingual/bar_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b67e002458c6ffe3851456e1d214d989436508fafb3940aa0a7aeac7f9501600
3
- size 1120431691
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6256ddf046563a10ad0e96ef58deffac4839b1eb48bc65facd0dd74ba05e830b
3
+ size 1115788582
models/embeddings/monolingual/bar_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": 92573
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": 88124
15
  }
models/embeddings/monolingual/bar_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d60a4fc93329fd2886ca8100a062412d4d07afea28e09e264dc800ac247d496b
3
- size 281335627
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc7a6c48e154f63a623a8376127a01b222af8bf2a04aba41f602a929eb6c27af
3
+ size 280109350
models/embeddings/monolingual/bar_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": 92573
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": 88124
15
  }
models/embeddings/monolingual/bar_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8669bc90711c772638673e6ddeca2a5ceb915402131cac9b7c3628c941baa702
3
- size 561034315
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9998545a04e63264d36cca0eb51c1e069804e9cdba44f02039cd26cd05531df8
3
+ size 558669094
models/embeddings/monolingual/bar_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": 92573
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": 88124
15
  }
models/subword_markov/bar_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60e1fcddc267b2ddb4763a4f04458f5fc0a3864d4d3b65b068a66791c6d11ca9
3
- size 199512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e6c3a72c3c4d893f6ddf06c56e1234d3475b1b1443e819143470ab5f1b4e23
3
+ size 182402
models/subword_markov/bar_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_contexts": 3379,
6
- "total_transitions": 41526016
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_contexts": 3388,
6
+ "total_transitions": 36898936
7
  }
models/subword_markov/bar_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:44ac0dfee6ebc508b0694bd88f8515a3ecd00e7b531cab5055a6e18d776b7900
3
- size 1274970
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc48393a4abf97a7708eb8626bb77b238a51c44b6bba67b7e1d4fd0bd11ec189
3
+ size 1029228
models/subword_markov/bar_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_contexts": 26199,
6
- "total_transitions": 41498726
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_contexts": 22382,
6
+ "total_transitions": 36872004
7
  }
models/subword_markov/bar_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dab3f88d8a597024d6c2d45205f49335376cff21c6acc22705b1aeb5a3d6d9b7
3
- size 5898144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2791996798e11cff4740288bb4e88ef150e9193843760570285c334a6ad21342
3
+ size 4585569
models/subword_markov/bar_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_contexts": 168731,
6
- "total_transitions": 41471436
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_contexts": 130801,
6
+ "total_transitions": 36845072
7
  }
models/subword_markov/bar_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e7d35e1ed6aa219268b066af5ab218034a029fe871fbf27a8621d574e9ea9bf2
3
- size 20162408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19edd5d2767e201a87efc206fec70368c6dc23b8ed658bbf39f26635b1f373d3
3
+ size 15789022
models/subword_markov/bar_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_contexts": 820482,
6
- "total_transitions": 41444146
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_contexts": 610360,
6
+ "total_transitions": 36818140
7
  }
models/subword_ngram/bar_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98fc1ea2db56ddb0c1e4d55f5df47bce76f4c454fad62a3186181d6e59bf7819
3
- size 120210
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e38e7d14a00c23438ba07cef06a0be700a6eaea54c9aa917c3319ce7eba165f
3
+ size 102154
models/subword_ngram/bar_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_ngrams": 9188,
6
- "total_ngrams": 41526016
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_ngrams": 7805,
6
+ "total_ngrams": 36898936
7
  }
models/subword_ngram/bar_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:eb5ad1ec42d5688187fa2244bcea28e012a96c3954cbff00e1919cc637e39cfa
3
- size 980179
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff09d3ef6e1cfa552449a8dedd31d9754c60b8a91db7126c3cc9c4c71957830a
3
+ size 780954
models/subword_ngram/bar_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_ngrams": 83186,
6
- "total_ngrams": 41498726
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_ngrams": 63080,
6
+ "total_ngrams": 36872004
7
  }
models/subword_ngram/bar_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:74cb0c9a29de3bf166be1817974bf03a79e844a9172dca886d1e6c11444fe105
3
- size 5250784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72f067181a08a87d97a0065d3a1bdaeb78404363053efae74d287fdc5e58187b
3
+ size 4090739
models/subword_ngram/bar_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bar",
5
- "unique_ngrams": 473217,
6
- "total_ngrams": 41471436
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bar",
5
+ "unique_ngrams": 363810,
6
+ "total_ngrams": 36845072
7
  }
models/tokenizer/bar_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:86990145267f2f23bece3cf170063df25b610b0172bb06154c137114776c8277
3
- size 497891
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70ddb2da3b8a1d35b41491bf8a0ea06f6e0357f42e81f619258dafcbc3567d87
3
+ size 500516
models/tokenizer/bar_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bar_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75f629bdc6954475d208780fe096b578aa8ab68a13993884c783d727d30b36c9
3
- size 769242
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f7c6a1964c1d0a5e0f3f657f5fe39d0fc4524fef607b13be5a9d6be1c48e71b2
3
+ size 773157
models/tokenizer/bar_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bar_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3817f1c29c6409fc0d09a5641df6d546b4d73373e90aff314bd676d06f34afe9
3
- size 1329778
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a6c179e6feecfed4b2ee3d6bb1547e591a0fdece5e1f9b05bc8dc198ae6ac1b
3
+ size 1335748
models/tokenizer/bar_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bar_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cc3653e3a2ae044e86fc99a6e9f56a602c7345188f2a36c7e517e330131174fa
3
- size 367058
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77089651ccfa512d13316ef10f75bd2ec3ead99b2fce243a47c46f50b404db47
3
+ size 368818
models/tokenizer/bar_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/bar_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c50b70ce0ccf85aa73d5c98c50c1637e81c02c9079bae2cfca6036b4a7fd444
3
- size 3610908
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7edcd6cf37858bad1ad7f0f51a2247a6bb728fc9c8b48ffb32bfd46cfe4ee3f
3
+ size 3431123
models/vocabulary/bar_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "bar",
3
- "vocabulary_size": 225914,
 
4
  "statistics": {
5
- "type_token_ratio": 0.1016273267091797,
6
  "coverage": {
7
- "top_100": 0.3056598360284214,
8
- "top_1000": 0.5100686297601529,
9
- "top_5000": 0.6556657283942213,
10
- "top_10000": 0.7183725874101852
11
  },
12
- "hapax_count": 413098,
13
- "hapax_ratio": 0.6464636031874206,
14
- "total_documents": 27290
15
  }
16
  }
 
1
  {
2
  "language": "bar",
3
+ "vocabulary_size": 213465,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.0995109201675251,
7
  "coverage": {
8
+ "top_100": 0.3198175845558876,
9
+ "top_1000": 0.5158986689356716,
10
+ "top_5000": 0.6559721791165527,
11
+ "top_10000": 0.7190383696641477
12
  },
13
+ "hapax_count": 357256,
14
+ "hapax_ratio": 0.6259731112049496,
15
+ "total_documents": 26932
16
  }
17
  }
models/word_markov/bar_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b3dd31c7a802cfbef574568e2ba6b615e18144bf29db409393fb10850929bd7d
3
- size 30129994
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51608c66d7996b04b88bec1cf78dd596b044f1df0c12652fcb092ce187c00456
3
+ size 29383606
models/word_markov/bar_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_contexts": 638594,
6
- "total_transitions": 8127466
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_contexts": 569846,
6
+ "total_transitions": 5708328
7
  }
models/word_markov/bar_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3db5d683eb8fa5679d0baab234482104310aed5348832ff37632b96f81bac464
3
- size 67578257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa0c4b83dfa569be9152f9aa90cd11f1e0d964b9f72a6e43fd8f8c02a1c4229
3
+ size 62105262
models/word_markov/bar_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_contexts": 3093978,
6
- "total_transitions": 8100177
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_contexts": 2948968,
6
+ "total_transitions": 5681396
7
  }
models/word_markov/bar_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9253b3e64a7a3aa9bd84e29a7bf91e310187acd7b81345ac3362887b3c6a9f7b
3
- size 96618918
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563c3760b53559738c956fa71ade32f9ab51d036d6cbaf2f0eb9276d18a64547
3
+ size 82156156
models/word_markov/bar_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_contexts": 5375695,
6
- "total_transitions": 8072889
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_contexts": 4475523,
6
+ "total_transitions": 5654464
7
  }
models/word_markov/bar_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab88f182fc703c53bba76e38edc370a4c8ed1ad8a0ec15d58155beab90c2d334
3
- size 113834013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c30b22ec78b8b8678b0b13acf2ffae3de2029fda73f5076c124066a8dc0af5c9
3
+ size 93499333
models/word_markov/bar_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_contexts": 6470090,
6
- "total_transitions": 8045602
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_contexts": 4973907,
6
+ "total_transitions": 5627532
7
  }
models/word_ngram/bar_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:305be2b4a731fc13d78d8a31b51d838be655ee3899d4a3479c5d81c5bc114a10
3
- size 2084252
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9d1fd00d794d3cbcff9b6abaf96b0600f5711bb2e3767de57949c3b54808ba8
3
+ size 1517204
models/word_ngram/bar_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_ngrams": 159756,
6
- "total_ngrams": 8127466
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_ngrams": 110635,
6
+ "total_ngrams": 5708328
7
  }
models/word_ngram/bar_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:817288d320b289c5f49b63cb4084a8d5c1cfaf5535e133621f6117c6ac86bce6
3
- size 3391005
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddf18025f58d5d74e756ca438583de919245a4a89dafdf1e1698d3c0ad41d5da
3
+ size 1935462
models/word_ngram/bar_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_ngrams": 246468,
6
- "total_ngrams": 8100177
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_ngrams": 129534,
6
+ "total_ngrams": 5681396
7
  }
models/word_ngram/bar_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:70d5bc187fee7c4a76f7ca6f6f46bdc686870760f287cface360e35199b8986c
3
- size 5697675
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c7b231b1b6bf00b737f2acedc276944c25abba63ec6d096669529bb9951ec97
3
+ size 3042682
models/word_ngram/bar_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "bar",
5
- "unique_ngrams": 386315,
6
- "total_ngrams": 8072889
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "bar",
5
+ "unique_ngrams": 187348,
6
+ "total_ngrams": 5654464
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: bc30b0f8b9c728e08d6730b40a80cf4cc2997b8f89d865c514cb172582eea809
  • Pointer size: 131 Bytes
  • Size of remote file: 150 kB

Git LFS Details

  • SHA256: 29630f0fd4c2ecbbca1da4917482330b861db13a90a2e53121af8288a54e0aa3
  • Pointer size: 131 Bytes
  • Size of remote file: 148 kB
visualizations/markov_branching.png CHANGED
visualizations/markov_contexts.png CHANGED