omarkamali commited on
Commit
57165bc
·
verified ·
1 Parent(s): 9a55eff

Upload all models and assets for bh (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 +271 -144
  2. models/embeddings/monolingual/bh_128d.bin +2 -2
  3. models/embeddings/monolingual/bh_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/bh_32d.bin +2 -2
  5. models/embeddings/monolingual/bh_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/bh_64d.bin +2 -2
  7. models/embeddings/monolingual/bh_64d_metadata.json +5 -3
  8. models/subword_markov/bh_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/bh_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/bh_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/bh_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/bh_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/bh_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/bh_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/bh_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/bh_2gram_subword.parquet +2 -2
  17. models/subword_ngram/bh_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/bh_3gram_subword.parquet +2 -2
  19. models/subword_ngram/bh_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/bh_4gram_subword.parquet +2 -2
  21. models/subword_ngram/bh_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/bh_tokenizer_16k.model +2 -2
  23. models/tokenizer/bh_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/bh_tokenizer_32k.model +2 -2
  25. models/tokenizer/bh_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/bh_tokenizer_64k.model +2 -2
  27. models/tokenizer/bh_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/bh_tokenizer_8k.model +2 -2
  29. models/tokenizer/bh_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/bh_vocabulary.parquet +2 -2
  31. models/vocabulary/bh_vocabulary_metadata.json +10 -9
  32. models/word_markov/bh_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/bh_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/bh_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/bh_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/bh_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/bh_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/bh_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/bh_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/bh_2gram_word.parquet +2 -2
  41. models/word_ngram/bh_2gram_word_metadata.json +2 -2
  42. models/word_ngram/bh_3gram_word.parquet +2 -2
  43. models/word_ngram/bh_3gram_word_metadata.json +2 -2
  44. models/word_ngram/bh_4gram_word.parquet +2 -2
  45. models/word_ngram/bh_4gram_word_metadata.json +2 -2
  46. visualizations/embedding_isotropy.png +0 -0
  47. visualizations/embedding_norms.png +0 -0
  48. visualizations/embedding_similarity.png +2 -2
  49. visualizations/markov_branching.png +0 -0
  50. visualizations/markov_contexts.png +0 -0
README.md CHANGED
@@ -23,14 +23,14 @@ dataset_info:
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
- value: 4.138
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8624
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 16281
33
- generated: 2025-12-28
34
  ---
35
 
36
  # BH - 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,62 +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.422x | 3.37 | 0.1263% | 371,376 |
76
- | **16k** | 3.721x | 3.67 | 0.1374% | 341,460 |
77
- | **32k** | 3.953x | 3.90 | 0.1459% | 321,424 |
78
- | **64k** | 4.138x 🏆 | 4.08 | 0.1527% | 307,072 |
79
 
80
  ### Tokenization Examples
81
 
82
  Below are sample sentences tokenized with each vocabulary size:
83
 
84
- **Sample 1:** `कड़ुआ तेल चाहे करूआ तेल एक परकार के तेल हऽ जेकरा सरसो के बीया के पिसि के बनावल ज...`
85
 
86
  | Vocab | Tokens | Count |
87
  |-------|--------|-------|
88
- | 8k | `▁कड़ ुआ ▁तेल ▁चाहे ▁कर ▁तेल ▁एक ▁परकार ... (+24 more)` | 34 |
89
- | 16k | `▁कड़ ुआ ▁तेल ▁चाहे ▁कर ▁तेल ▁एक ▁परकार ... (+21 more)` | 31 |
90
- | 32k | `▁कड़ ुआ ▁तेल ▁चाहे ▁कर ▁तेल ▁एक ▁परकार ... (+20 more)` | 30 |
91
- | 64k | `▁कड़ ुआ ▁तेल ▁चाहे ▁कर ूआ ▁तेल ▁एक ▁परकार ▁के ... (+19 more)` | 29 |
92
-
93
- **Sample 2:** `भगतडीह भारत के झारखंड राज्य में एक ठो कसबा बाटे।
94
 
95
- श्रेणी:झारखंड के शहर‏‎ कस्बा`
96
 
97
  | Vocab | Tokens | Count |
98
  |-------|--------|-------|
99
- | 8k | `▁भगत डी ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁एक ▁ठो ... (+10 more)` | 20 |
100
- | 16k | `▁भगत डीह ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁एक ▁ठो ▁कसबा ... (+9 more)` | 19 |
101
- | 32k | `▁भगत डीह ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁एक ▁ठो ▁कसबा ... (+9 more)` | 19 |
102
- | 64k | `▁भगत डीह ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁एक ▁ठो ▁कसबा ... (+9 more)` | 19 |
103
-
104
- **Sample 3:** `घटना
105
-
106
- जनम
107
-
108
- निधन
109
-
110
- तिहुआर, छुट्टी अउरी खास महत्व
111
 
112
- श्रेणी:साल के दिन
113
- श्रेणी:अगस्त`
114
 
115
  | Vocab | Tokens | Count |
116
  |-------|--------|-------|
117
- | 8k | `▁घटना ▁जनम ▁निधन ▁तिहुआर , ▁छुट्टी ▁अउरी ▁खास ▁महत्व ▁श्रेणी ... (+7 more)` | 17 |
118
- | 16k | `▁घटना ▁जनम ▁निधन ▁तिहुआर , ▁छुट्टी ▁अउरी ▁खास ▁महत्व ▁श्रेणी ... (+7 more)` | 17 |
119
- | 32k | `▁घटना ▁जनम ▁निधन ▁तिहुआर , ▁छुट्टी ▁अउरी ▁खास ▁महत्व ▁श्रेणी ... (+7 more)` | 17 |
120
- | 64k | `▁घटना ▁जनम ▁निधन ▁तिहुआर , ▁छुट्टी ▁अउरी ▁खास ▁महत्व ▁श्रेणी ... (+7 more)` | 17 |
121
 
122
 
123
  ### Key Findings
124
 
125
- - **Best Compression:** 64k achieves 4.138x compression
126
- - **Lowest UNK Rate:** 8k with 0.1263% unknown tokens
127
  - **Trade-off:** Larger vocabularies improve compression but increase model size
128
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
129
 
@@ -132,57 +129,89 @@ Below are sample sentences tokenized with each vocabulary size:
132
 
133
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
134
 
 
 
135
  ![N-gram Coverage](visualizations/ngram_coverage.png)
136
 
137
  ### Results
138
 
139
- | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
140
- |--------|------------|---------|----------------|------------------|-------------------|
141
- | **2-gram** | 1,553 🏆 | 10.60 | 29,844 | 40.4% | 78.0% |
142
- | **2-gram** | 643 🏆 | 9.33 | 6,318 | 48.7% | 91.9% |
143
- | **3-gram** | 11,076 | 13.44 | 104,826 | 16.6% | 45.2% |
144
- | **3-gram** | 4,981 | 12.28 | 50,779 | 21.0% | 55.3% |
145
- | **4-gram** | 42,879 | 15.39 | 294,598 | 9.9% | 28.5% |
146
- | **4-gram** | 22,284 | 14.44 | 220,351 | 12.6% | 34.3% |
147
 
148
  ### Top 5 N-grams by Size
149
 
150
- **2-grams:**
 
 
 
 
 
 
 
 
 
 
151
 
152
  | Rank | N-gram | Count |
153
  |------|--------|-------|
154
- | 1 | `क े` | 114,130 |
155
- | 2 | `े ं` | 61,648 |
156
- | 3 | `म े` | 52,589 |
157
- | 4 | `् र` | 51,939 |
158
- | 5 | `ल ा` | 46,397 |
159
 
160
- **3-grams:**
161
 
162
  | Rank | N-gram | Count |
163
  |------|--------|-------|
164
- | 1 | `म ं` | 46,997 |
165
- | 2 | `् े` | 23,873 |
166
- | 3 | `ा े` | 20,218 |
167
- | 4 | `श र` | 18,887 |
168
- | 5 | `र ण` | 18,054 |
169
 
170
- **4-grams:**
171
 
172
  | Rank | N-gram | Count |
173
  |------|--------|-------|
174
- | 1 | `श र े` | 18,107 |
175
- | 2 | `् े ण` | 18,022 |
176
- | 3 | `र ण ी` | 18,015 |
177
- | 4 | `े ी :` | 17,670 |
178
- | 5 | `ब ट े` | 8,587 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
 
180
 
181
  ### Key Findings
182
 
183
- - **Best Perplexity:** 2-gram with 643
184
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
185
- - **Coverage:** Top-1000 patterns cover ~34% of corpus
186
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
187
 
188
  ---
@@ -190,55 +219,86 @@ Below are sample sentences tokenized with each vocabulary size:
190
 
191
  ![Markov Entropy](visualizations/markov_entropy.png)
192
 
 
 
193
  ![Markov Branching](visualizations/markov_branching.png)
194
 
195
  ### Results
196
 
197
- | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
198
- |---------|-------------|------------|------------------|-----------------|----------------|
199
- | **1** | 0.5759 | 1.491 | 5.28 | 42,274 | 42.4% |
200
- | **1** | 1.2819 | 2.432 | 11.97 | 1,128 | 0.0% |
201
- | **2** | 0.3584 | 1.282 | 2.50 | 223,237 | 64.2% |
202
- | **2** | 1.1592 | 2.233 | 7.49 | 13,497 | 0.0% |
203
- | **3** | 0.2903 | 1.223 | 1.93 | 557,656 | 71.0% |
204
- | **3** | 0.8362 | 1.785 | 4.01 | 101,022 | 16.4% |
205
- | **4** | 0.2272 🏆 | 1.171 | 1.55 | 1,074,886 | 77.3% |
206
- | **4** | 0.5736 🏆 | 1.488 | 2.44 | 405,495 | 42.6% |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
- ### Generated Text Samples
209
 
210
- Below are text samples generated from each Markov chain model:
211
 
212
  **Context Size 1:**
213
 
214
- 1. `ा ब ि ं आ य स ा क ि ल गइल । 1847 म स`
215
- 2. `े खक आ अब ा थ ा लगववल े । एकर ठ ो र े ं`
216
- 3. `् र ा न क े क े वन ब ि र ि ड ़ क`
217
 
218
  **Context Size 2:**
219
 
220
- 1. `क े उपशहर ी इल ा क े ख ा त ा आ इनक े म ्`
221
- 2. `े ं द ् र ि ल ा । एकर क े क ु म ा म`
222
- 3. `म े ं व े ल ा । घटन ा सम ू ह ि मनद , मन`
223
 
224
  **Context Size 3:**
225
 
226
- 1. `म े ं अउर ी कल ा न ि यर र ी फ ि ल ् म बनल`
227
- 2. `् र े ण ी : ग ा यब ह ो च ु कल ब ा ड ़`
228
- 3. `ा क े औसत ढ ा ल क े भइल पह ि ल ा व े व`
229
 
230
  **Context Size 4:**
231
 
232
- 1. `श ् र े ण ी : 1991 श ् र े ण ी : भ ा रत ी`
233
- 2. `् र े ण ी : न े क ् टरन ि ड ा ई ( फ ू ल`
234
- 3. `र े ण ी : र ो हत ा स - र ो हत ा स ज ि नक`
235
 
236
 
237
  ### Key Findings
238
 
239
- - **Best Predictability:** Context-4 with 77.3% predictability
240
  - **Branching Factor:** Decreases with context size (more deterministic)
241
- - **Memory Trade-off:** Larger contexts require more storage (405,495 contexts)
242
  - **Recommendation:** Context-3 or Context-4 for text generation
243
 
244
  ---
@@ -254,64 +314,64 @@ Below are text samples generated from each Markov chain model:
254
 
255
  | Metric | Value |
256
  |--------|-------|
257
- | Vocabulary Size | 16,281 |
258
- | Total Tokens | 2,496,952 |
259
- | Mean Frequency | 153.37 |
260
  | Median Frequency | 4 |
261
- | Frequency Std Dev | 3206.88 |
262
 
263
  ### Most Common Words
264
 
265
  | Rank | Word | Frequency |
266
  |------|------|-----------|
267
- | 1 | | 211,186 |
268
- | 2 | | 156,322 |
269
- | 3 | | 130,779 |
270
- | 4 | �� | 126,220 |
271
- | 5 | | 115,896 |
272
- | 6 | | 83,252 |
273
- | 7 | | 77,121 |
274
- | 8 | | 73,804 |
275
- | 9 | | 63,272 |
276
- | 10 | | 61,248 |
277
 
278
  ### Least Common Words (from vocabulary)
279
 
280
  | Rank | Word | Frequency |
281
  |------|------|-----------|
282
- | 1 | जदम | 2 |
283
- | 2 | जदब | 2 |
284
- | 3 | जदड | 2 |
285
- | 4 | ईजदय | 2 |
286
- | 5 | वजदय | 2 |
287
- | 6 | जदअन | 2 |
288
- | 7 | यरमतद | 2 |
289
- | 8 | धनमह | 2 |
290
- | 9 | नगद | 2 |
291
- | 10 | रचनन | 2 |
292
 
293
  ### Zipf's Law Analysis
294
 
295
  | Metric | Value |
296
  |--------|-------|
297
- | Zipf Coefficient | 1.4509 |
298
- | R² (Goodness of Fit) | 0.997542 |
299
  | Adherence Quality | **excellent** |
300
 
301
  ### Coverage Analysis
302
 
303
  | Top N Words | Coverage |
304
  |-------------|----------|
305
- | Top 100 | 80.9% |
306
- | Top 1,000 | 94.9% |
307
- | Top 5,000 | 98.5% |
308
- | Top 10,000 | 99.5% |
309
 
310
  ### Key Findings
311
 
312
- - **Zipf Compliance:** R²=0.9975 indicates excellent adherence to Zipf's law
313
- - **High Frequency Dominance:** Top 100 words cover 80.9% of corpus
314
- - **Long Tail:** 6,281 words needed for remaining 0.5% coverage
315
 
316
  ---
317
  ## 5. Word Embeddings Evaluation
@@ -324,24 +384,88 @@ Below are text samples generated from each Markov chain model:
324
 
325
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
326
 
327
- ### Model Comparison
328
 
329
- | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
330
- |-------|------------|-----------|----------|----------|----------|
331
- | **mono_32d** | 18,690 | 32 | 3.381 | 0.836 | 0.8624 🏆 |
332
- | **mono_64d** | 18,690 | 64 | 3.821 | 0.782 | 0.8215 |
333
- | **mono_128d** | 18,690 | 128 | 4.172 | 0.721 | 0.6400 |
334
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
335
 
336
  ### Key Findings
337
 
338
- - **Best Isotropy:** mono_32d with 0.8624 (more uniform distribution)
339
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
340
- - **Vocabulary Coverage:** All models cover 18,690 words
341
- - **Recommendation:** 100d for balanced semantic capture and efficiency
342
 
343
  ---
344
- ## 6. Summary & Recommendations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
345
 
346
  ![Performance Dashboard](visualizations/performance_dashboard.png)
347
 
@@ -349,11 +473,12 @@ Below are text samples generated from each Markov chain model:
349
 
350
  | Component | Recommended | Rationale |
351
  |-----------|-------------|-----------|
352
- | Tokenizer | **32k BPE** | Best compression (4.14x) with low UNK rate |
353
- | N-gram | **5-gram** | Lowest perplexity (643) |
354
- | Markov | **Context-4** | Highest predictability (77.3%) |
355
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
356
 
 
357
  ---
358
  ## Appendix: Metrics Glossary & Interpretation Guide
359
 
@@ -543,7 +668,8 @@ If you use these models in your research, please cite:
543
  author = {Kamali, Omar},
544
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
545
  year = {2025},
546
- publisher = {HuggingFace},
 
547
  url = {https://huggingface.co/wikilangs}
548
  institution = {Omneity Labs}
549
  }
@@ -559,7 +685,8 @@ MIT License - Free for academic and commercial use.
559
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
560
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
561
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
 
562
  ---
563
  *Generated by Wikilangs Models Pipeline*
564
 
565
- *Report Date: 2025-12-28 05:13:57*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 4.103
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.8668
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # BH - 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.436x | 3.44 | 0.1753% | 369,577 |
84
+ | **16k** | 3.741x | 3.74 | 0.1909% | 339,439 |
85
+ | **32k** | 3.960x | 3.96 | 0.2021% | 320,666 |
86
+ | **64k** | 4.103x 🏆 | 4.11 | 0.2094% | 309,485 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `अँगारपाथर भारत के झारखंड राज्य में धनबाद शहर के एगो मोहल्ला बाटे। संदर्भ के शहर‏...`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁अँ गार पा थर ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁धन ... (+12 more)` | 22 |
97
+ | 16k | `▁अँ गार पा थर ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁धनबाद ... (+11 more)` | 21 |
98
+ | 32k | `▁अँ गार पाथर ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁धनबाद ▁शहर ... (+10 more)` | 20 |
99
+ | 64k | `▁अँगारपाथर ▁भारत ▁के ▁झारखंड ▁राज्य ▁में ▁धनबाद ▁शहर ▁के ▁एगो ... (+8 more)` | 18 |
 
 
100
 
101
+ **Sample 2:** `जून ग्रेगरियन कैलेंडर के छठवाँ महीना ह। घटना तिहुआर अउरी दूसर महत्व के दिन अउरी ...`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁जून ▁ग्रेगरियन ▁कैलेंडर ▁के ▁छठ वाँ ▁महीना ▁ह ▁घटना ... (+14 more)` | 24 |
106
+ | 16k | `▁जून ▁ग्रेगरियन ▁कैलेंडर ▁के ▁छठवाँ ▁महीना ▁ह ▁घटना ▁तिहुआर ... (+13 more)` | 23 |
107
+ | 32k | `▁जून ▁ग्रेगरियन ▁कैलेंडर ▁के ▁छठवाँ ▁महीना ▁ह ▁घटना ▁तिहुआर ... (+13 more)` | 23 |
108
+ | 64k | `▁जून ▁ग्रेगरियन ▁कैलेंडर ▁के ▁छठवाँ ▁महीना ▁ह ▁घटना ▁तिहुआर ... (+13 more)` | 23 |
 
 
 
 
 
 
 
 
109
 
110
+ **Sample 3:** `बदायूँ जिला उत्तर प्रदेश की बरेली मंडल में एगो जिला बाटे जौना के मुख्यालय बदायूँ...`
 
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁ब दाय ूँ ▁जिला ▁उत्तर ▁प्रदेश ▁की ▁ब रेली ▁मंडल ... (+19 more)` | 29 |
115
+ | 16k | `▁ब दाय ूँ ▁जिला ▁उत्तर ▁प्रदेश ▁की ▁बरेली ▁मंडल ▁में ... (+18 more)` | 28 |
116
+ | 32k | `▁ब दायूँ ▁जिला ▁उत्तर ▁प्रदेश ▁की ▁बरेली ▁मंडल ▁में ▁एगो ... (+16 more)` | 26 |
117
+ | 64k | `▁बदायूँ ▁जिला ▁उत्तर ▁प्रदेश ▁की ▁बरेली ▁मंडल ▁में ▁एगो ▁जिला ... (+14 more)` | 24 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 4.103x compression
123
+ - **Lowest UNK Rate:** 8k with 0.1753% unknown tokens
124
  - **Trade-off:** Larger vocabularies improve compression but increase model size
125
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
126
 
 
129
 
130
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
131
 
132
+ ![N-gram Unique](visualizations/ngram_unique.png)
133
+
134
  ![N-gram Coverage](visualizations/ngram_coverage.png)
135
 
136
  ### Results
137
 
138
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
139
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
140
+ | **2-gram** | Word | 9,163 | 13.16 | 29,857 | 16.5% | 43.3% |
141
+ | **2-gram** | Subword | 1,500 🏆 | 10.55 | 21,796 | 39.5% | 76.5% |
142
+ | **3-gram** | Word | 13,824 | 13.75 | 38,729 | 15.8% | 36.1% |
143
+ | **3-gram** | Subword | 11,162 | 13.45 | 93,652 | 16.7% | 42.2% |
144
+ | **4-gram** | Word | 17,666 | 14.11 | 53,247 | 17.6% | 35.4% |
145
+ | **4-gram** | Subword | 44,915 | 15.45 | 295,453 | 9.1% | 27.7% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `सभ के` | 4,161 |
154
+ | 2 | `भारत के` | 3,814 |
155
+ | 3 | `रूप में` | 3,157 |
156
+ | 4 | `के रूप` | 2,933 |
157
+ | 5 | `देखल जाय` | 2,149 |
158
+
159
+ **3-grams (Word):**
160
 
161
  | Rank | N-gram | Count |
162
  |------|--------|-------|
163
+ | 1 | `के रूप में` | 2,740 |
164
+ | 2 | `इहो देखल जाय` | 2,002 |
165
+ | 3 | `के हिसाब से` | 1,423 |
166
+ | 4 | `संदर्भ बाहरी कड़ी` | 1,392 |
167
+ | 5 | `शहर कस्बा` | 1,209 |
168
 
169
+ **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
+ | 1 | `के शहर कस्बा` | 1,206 |
174
+ | 2 | `बाटे इहो देखल जाय` | 780 |
175
+ | 3 | `राज्य में एक ठो` | 667 |
176
+ | 4 | `के हिसाब से ई` | 539 |
177
+ | 5 | `में एगो जिला बाटे` | 536 |
178
 
179
+ **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
+ | 1 | `के _` | 114,253 |
184
+ | 2 | `_ के` | 110,824 |
185
+ | 3 | `र _` | 75,001 |
186
+ | 4 | `ल _` | 68,413 |
187
+ | 5 | `न _` | 54,528 |
188
+
189
+ **3-grams (Subword):**
190
+
191
+ | Rank | N-gram | Count |
192
+ |------|--------|-------|
193
+ | 1 | `_ के _` | 109,027 |
194
+ | 2 | `_ में _` | 44,490 |
195
+ | 3 | `_ आ _` | 29,937 |
196
+ | 4 | `_ से _` | 20,956 |
197
+ | 5 | `ल _ जा` | 13,886 |
198
+
199
+ **4-grams (Subword):**
200
+
201
+ | Rank | N-gram | Count |
202
+ |------|--------|-------|
203
+ | 1 | `न _ के _` | 9,495 |
204
+ | 2 | `_ स भ _` | 8,569 |
205
+ | 3 | `_ ए गो _` | 8,113 |
206
+ | 4 | `र _ के _` | 7,353 |
207
+ | 5 | `ल _ जा ला` | 7,231 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 1,500
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.8766 | 1.836 | 6.16 | 84,482 | 12.3% |
231
+ | **1** | Subword | 0.9997 | 2.000 | 12.30 | 4,952 | 0.0% |
232
+ | **2** | Word | 0.2946 | 1.227 | 1.77 | 519,009 | 70.5% |
233
+ | **2** | Subword | 0.5586 | 1.473 | 4.02 | 60,879 | 44.1% |
234
+ | **3** | Word | 0.1069 | 1.077 | 1.19 | 917,743 | 89.3% |
235
+ | **3** | Subword | 0.5222 | 1.436 | 2.95 | 244,880 | 47.8% |
236
+ | **4** | Word | 0.0351 🏆 | 1.025 | 1.05 | 1,088,288 | 96.5% |
237
+ | **4** | Subword | 0.3351 | 1.261 | 1.87 | 721,221 | 66.5% |
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. `के कुछ अउरी पढ़े के इस्तेमाल होला आ नया विमानन क के दैविक घटना जनम 11`
246
+ 2. `में एकट्ठा क क्षमता में राजा दशरथ आ एकर नक़ल उतारे जा सके ला बाद के`
247
+ 3. `आ भोजपुरी में एक ठो इतिहासी भूबिज्ञान आ मिजोरम के नाँव ढेर बरफ के अबतक ले`
248
+
249
+ **Context Size 2:**
250
+
251
+ 1. `सभ के कक्षा ऑर्बिट सुरुज के सभसे पबित्र मानल जाला एह दिन के मतलब मैदान के मैदान`
252
+ 2. `भारत के बारहवाँ कार्यकाल अनुसार 14वाँ आ वर्तमान में भारत के प्रतिनिधित्व यूरोपियन कमीशन द्वारा 12 मई`
253
+ 3. `रूप में अवधारणा के अंतर्राष्ट्रीय बॉर्डर के रूप में निरूपण नक्शा कौनों इलाका के मिला लिहल जाय`
254
+
255
+ **Context Size 3:**
256
+
257
+ 1. `के रूप में बर्गीकरण कइल जाला कुछ दशा में घार्मिक कामकाज खातिर भी ई नगर के महतव बा`
258
+ 2. `इहो देखल जाय बिहार सरकार बिहार के बिकास के रूप में एमबीए कइलें स्टैनफोर्ड में पढ़त घरी इनके`
259
+ 3. `के हिसाब से दुनिया के छत्तीसवाँ देस हवे आ पूरबी हिस्सा में उत्तर से दक्खिन ओर फइलल बिसाल`
260
+
261
+ **Context Size 4:**
262
+
263
+ 1. `बाटे इहो देखल जाय ओडिशा के जिला भारत के जिला सभ के लिस्ट संदर्भ बाहरी कड़ी जिला समन्वय समिति`
264
+ 2. `राज्य में एक ठो कसबा बाटे के शहर आ कस्बा जिला के शहर आ कस्बा बंगाल के शहर आ`
265
+ 3. `के हिसाब से ई भारत के 191वाँ शहर बाटे जनगणना आँकड़ा के मोताबिक एह शहर में लिंगानुपात 992 आ`
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. `_क्रिके_की_दर्भ_रव_धन_हो`
275
+ 2. `रण_योना_ल_मिल_बिकरेडिट`
276
+ 3. `के_mainnaronamoxt`
277
 
278
  **Context Size 2:**
279
 
280
+ 1. `के_पाँचवीं_सस्पेंसन_-टिप्पणी_के`
281
+ 2. `_के_दिल्ली_गेम_बस_ce_th`
282
+ 3. `र_स्थान_का_आउटवारा_से_सुन`
283
 
284
  **Context Size 3:**
285
 
286
+ 1. `_के_राजा_हवे,_एक_ठो_छोट_`
287
+ 2. `_में_इनहन_में_गलुन्गाम,_पीप`
288
+ 3. `__इनकर_दि_बीच_के_पहिला`
289
 
290
  **Context Size 4:**
291
 
292
+ 1. `न_के_राजनर्तकी_अंबपाली_(आम्रपा`
293
+ 2. `_सभ_में_राज_कर_सके_ला,_ब`
294
+ 3. `_एगो_काल्पनिक_दुनिया_के_इस्तेमाल`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 96.5% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (721,221 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 38,858 |
318
+ | Total Tokens | 1,245,419 |
319
+ | Mean Frequency | 32.05 |
320
  | Median Frequency | 4 |
321
+ | Frequency Std Dev | 665.90 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | के | 109,634 |
328
+ | 2 | में | 46,202 |
329
+ | 3 | | 30,024 |
330
+ | 4 | से | 21,308 |
331
+ | 5 | बा | 11,775 |
332
+ | 6 | | 10,655 |
333
+ | 7 | सभ | 8,830 |
334
+ | 8 | बाटे | 8,519 |
335
+ | 9 | एगो | 8,159 |
336
+ | 10 | जाला | 8,051 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | मापे | 2 |
343
+ | 2 | संयुक्‍त | 2 |
344
+ | 3 | व्युत्क्रमानुपात | 2 |
345
+ | 4 | सीमाएँ | 2 |
346
+ | 5 | एहन | 2 |
347
+ | 6 | परिपथ | 2 |
348
+ | 7 | voltage | 2 |
349
+ | 8 | विभवांतर | 2 |
350
+ | 9 | वोल्ट | 2 |
351
+ | 10 | एम्पियर | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 1.1200 |
358
+ | R² (Goodness of Fit) | 0.994371 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 43.0% |
366
+ | Top 1,000 | 69.5% |
367
+ | Top 5,000 | 86.1% |
368
+ | Top 10,000 | 91.7% |
369
 
370
  ### Key Findings
371
 
372
+ - **Zipf Compliance:** R²=0.9944 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 43.0% of corpus
374
+ - **Long Tail:** 28,858 words needed for remaining 8.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.8668 🏆 | 0.3638 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.8282 | 0.2819 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.6394 | 0.2329 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_32d with 0.8668 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.2929. 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
+ *No productive affixes detected.*
427
+
428
+
429
+ ### 6.3 Bound Stems (Lexical Roots)
430
+
431
+ 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.
432
+
433
+ | Stem | Cohesion | Substitutability | Examples |
434
+ |------|----------|------------------|----------|
435
+ | `ther` | 2.68x | 27 contexts | other, there, rather |
436
+ | `ight` | 2.68x | 21 contexts | fight, right, light |
437
+ | `tion` | 2.59x | 21 contexts | action, nation, motion |
438
+ | `ount` | 2.65x | 15 contexts | count, mount, amount |
439
+ | `atio` | 2.62x | 15 contexts | ratio, nation, nations |
440
+ | `ctio` | 2.61x | 14 contexts | action, fiction, auction |
441
+ | `ater` | 2.67x | 11 contexts | eater, water, later |
442
+ | `stat` | 2.63x | 10 contexts | stato, state, stats |
443
+ | `vers` | 2.52x | 11 contexts | verse, covers, rivers |
444
+ | `rati` | 2.58x | 9 contexts | ratio, rating, bharati |
445
+ | `ment` | 2.50x | 9 contexts | cement, ferment, element |
446
+ | `ical` | 2.57x | 8 contexts | radical, musical, typical |
447
+
448
+ ### 6.4 Affix Compatibility (Co-occurrence)
449
+
450
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
451
+
452
+ *No significant affix co-occurrences detected.*
453
+
454
+
455
+ ### 6.5 Recursive Morpheme Segmentation
456
+
457
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
458
+
459
+ *Insufficient data for recursive segmentation.*
460
+
461
+
462
+ ### 6.6 Linguistic Interpretation
463
+
464
+ > **Automated Insight:**
465
+ The language BH 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.
466
+
467
+ ---
468
+ ## 7. Summary & Recommendations
469
 
470
  ![Performance Dashboard](visualizations/performance_dashboard.png)
471
 
 
473
 
474
  | Component | Recommended | Rationale |
475
  |-----------|-------------|-----------|
476
+ | Tokenizer | **64k BPE** | Best compression (4.10x) |
477
+ | N-gram | **2-gram** | Lowest perplexity (1,500) |
478
+ | Markov | **Context-4** | Highest predictability (96.5%) |
479
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
480
 
481
+
482
  ---
483
  ## Appendix: Metrics Glossary & Interpretation Guide
484
 
 
668
  author = {Kamali, Omar},
669
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
670
  year = {2025},
671
+ doi = {10.5281/zenodo.18073153},
672
+ publisher = {Zenodo},
673
  url = {https://huggingface.co/wikilangs}
674
  institution = {Omneity Labs}
675
  }
 
685
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
686
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
687
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
688
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
689
  ---
690
  *Generated by Wikilangs Models Pipeline*
691
 
692
+ *Report Date: 2026-01-03 07:15:04*
models/embeddings/monolingual/bh_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b1ff2a50937859b5360046ab048515a5ac046170ccc776fa29af74552a1947e
3
- size 1043608397
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b54269438aa2440d60ff4d391e0d7d5fe6f82e878ecccb3b40c6d625a663fdac
3
+ size 1042368151
models/embeddings/monolingual/bh_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": 18690
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": 17513
15
  }
models/embeddings/monolingual/bh_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce3ef16ac87b649feee451bd2f7b16b3f7ce19355ed064d1e46186107cd4b881
3
- size 261254477
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fc27b77183033d6f955d2050d7664babad88301230b75a3837360a073560355
3
+ size 260918167
models/embeddings/monolingual/bh_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": 18690
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": 17513
15
  }
models/embeddings/monolingual/bh_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:486a99b2d2d495f6861e5d7e3f58ad9b6ce636c0d60745f18dca97df31fcd2b4
3
- size 522039117
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e537a56a3e60b9d66cfebd9427db3b6086b87ba6d254b7115af9f4351f51ee9
3
+ size 521401495
models/embeddings/monolingual/bh_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": 18690
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": 17513
15
  }
models/subword_markov/bh_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69cdf549946ec27557811610ffcb016a41a77c1f7890f2e6bfc79de1f616c82f
3
- size 106588
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a66696e8530ad494e5751234f5b92a3bd0818c8159bfbb9706dcb5b0b509e8c
3
+ size 417541
models/subword_markov/bh_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_contexts": 1128,
6
- "total_transitions": 7494326
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_contexts": 4952,
6
+ "total_transitions": 4812401
7
  }
models/subword_markov/bh_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:615ad0f901cc2ca48f906d9d728389af05ad0d2d90163a1ef103e58ae6cd4d1d
3
- size 759236
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c671b706107b700c31f8eb2af638805a0914ba3b55f1ce6cbdde36b234bc3e5
3
+ size 1958764
models/subword_markov/bh_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_contexts": 13497,
6
- "total_transitions": 7485436
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_contexts": 60879,
6
+ "total_transitions": 4803696
7
  }
models/subword_markov/bh_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f04fbf31f7e2685a99636ad40560cbf1ef9b299b1cf2c8896fc34bddef7449cc
3
- size 2846117
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82bb62a4fc528dad712c5f681a9bc4d24b2fb4660975eb2b9fd5687311890b9
3
+ size 6336160
models/subword_markov/bh_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_contexts": 101022,
6
- "total_transitions": 7476546
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_contexts": 244880,
6
+ "total_transitions": 4794991
7
  }
models/subword_markov/bh_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8df27eacc02f78ff6597ef2754ad51dee35853fba207531251e99ed64431c7a6
3
- size 8727174
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2311c03179b14bfb2afa166ca250ff4c7d2dea7a46e1bf00cd42ce46698deb50
3
+ size 15120750
models/subword_markov/bh_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_contexts": 405495,
6
- "total_transitions": 7467656
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_contexts": 721221,
6
+ "total_transitions": 4786286
7
  }
models/subword_ngram/bh_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4a7ae290794b22de21cc6a4e4d6b1e711f11b604ed51f2c18bb80ee312c9ec3
3
- size 84812
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ccdb8f666b779178ca817f13ce58935b027cf7910ea8685631ae2bed535b525
3
+ size 327904
models/subword_ngram/bh_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_ngrams": 6318,
6
- "total_ngrams": 7494326
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_ngrams": 21796,
6
+ "total_ngrams": 4812401
7
  }
models/subword_ngram/bh_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad55bef17a77bd5c4d71c6ad5f5002a0520dd3d2e47998884e722f97608269dc
3
- size 650077
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a7163268a6eacd9599d89bf5194ce294c4818e15be4eee3b8f7e92ec8dbbc7d
3
+ size 1357005
models/subword_ngram/bh_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_ngrams": 50779,
6
- "total_ngrams": 7485436
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_ngrams": 93652,
6
+ "total_ngrams": 4803696
7
  }
models/subword_ngram/bh_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3723adc967a3e75e97a7cb5f8f8e97fb0c9ea2c0bed0ac37110ee5d6b24248d3
3
- size 2759247
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55ff05f51da64f27b2db568ecf99adc094808b5963aba504d817728e105ceaf2
3
+ size 4398449
models/subword_ngram/bh_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bh",
5
- "unique_ngrams": 220351,
6
- "total_ngrams": 7476546
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "bh",
5
+ "unique_ngrams": 295453,
6
+ "total_ngrams": 4794991
7
  }
models/tokenizer/bh_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dc89a93a2834b601d762408fa6c5c1b0e2d93181406641693ab423aa525a5d85
3
- size 604607
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e2c6b69efb0696c2593a4e674d531da6cc186970c006b009a5da905fa2c510c
3
+ size 609055
models/tokenizer/bh_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bh_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e403fe31557505ddad30a39ed01cff1c6aa60370ef5283dad079679f82639115
3
- size 993131
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0da439439d6270f2063db9c16c1f281095ac0ed4458b76695c52f7cde9774aa
3
+ size 994788
models/tokenizer/bh_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bh_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:85cd6ebc734cc4ea97dd8f8495efa400e2d1517a8388c0513880653d6d06499c
3
- size 1784572
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e2b6202b97f515f97c09ecfc32ba51664cabebf6f035981a41fc7b7dd5f2814
3
+ size 1811363
models/tokenizer/bh_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/bh_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:adcaedcc6c154db25766a576018c150c327b28e69509230d48e109e8444b4e9c
3
- size 418066
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:628a8222f74f579cd406af45e334c28746fbd9325f4a9fcd5c6793ab2534c437
3
+ size 420480
models/tokenizer/bh_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/bh_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:77d40dde0ef6e5b66ef83c70b1d41bd20dc473cb13e9ced47128fcf6bfb78f43
3
- size 266114
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebd185f91b3ddec379354027ad53da261b000d0e2dccfa4cbfda1efe36a7354d
3
+ size 740324
models/vocabulary/bh_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "bh",
3
- "vocabulary_size": 16281,
 
4
  "statistics": {
5
- "type_token_ratio": 0.016656816074580676,
6
  "coverage": {
7
- "top_100": 0.8005899255992907,
8
- "top_1000": 0.9395661220498269,
9
- "top_5000": 0.9751138764121329,
10
- "top_10000": 0.9843766041897323
11
  },
12
- "hapax_count": 25739,
13
- "hapax_ratio": 0.6125416468348406,
14
- "total_documents": 8890
15
  }
16
  }
 
1
  {
2
  "language": "bh",
3
+ "vocabulary_size": 38858,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.06547537905779276,
7
  "coverage": {
8
+ "top_100": 0.41446182158414246,
9
+ "top_1000": 0.6701453648682979,
10
+ "top_5000": 0.8302279613599608,
11
+ "top_10000": 0.8843223122060637
12
  },
13
+ "hapax_count": 45677,
14
+ "hapax_ratio": 0.5403324066954516,
15
+ "total_documents": 8705
16
  }
17
  }
models/word_markov/bh_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:252e6e9814b33628c12ecc02738f2fd113b1a3736388560c48bb91fe13490fdf
3
- size 1670612
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:073f45c70364978f33599e10f7fceb20f9022efb2b123ccffca4352c3c559f2b
3
+ size 5186664
models/word_markov/bh_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_contexts": 42274,
6
- "total_transitions": 4613638
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_contexts": 84482,
6
+ "total_transitions": 1282391
7
  }
models/word_markov/bh_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:77d0a4ffa8e786438a321a5920beb57b3bdc420e63d551feb3dd0f8948ee3362
3
- size 4930135
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a451816cb173e2f9ea644994e76882f796bf7065d5fff1d37c89f78c1ae41b17
3
+ size 14774364
models/word_markov/bh_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_contexts": 223237,
6
- "total_transitions": 4604748
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_contexts": 519009,
6
+ "total_transitions": 1273686
7
  }
models/word_markov/bh_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:94881ee1b2c62d04c10a93deef131652cd66362bd5114616ecc62b18e7d69c3b
3
- size 11167272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:680ced9c1e8b69912207d0b18b1a212447d99ccf23ff1e2566888889e05ce256
3
+ size 23197527
models/word_markov/bh_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_contexts": 557656,
6
- "total_transitions": 4595859
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_contexts": 917743,
6
+ "total_transitions": 1264981
7
  }
models/word_markov/bh_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9d5c3651e210a6d2bddfa7d0bb7d0dd360a6eb40048135aba4bcb0a73a3c2a56
3
- size 20308057
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8250fe64650886f54c3e5c9e5f460ea7418b226c2812cbd94d0837e470a92eb
3
+ size 28187056
models/word_markov/bh_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_contexts": 1074886,
6
- "total_transitions": 4586970
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_contexts": 1088288,
6
+ "total_transitions": 1256276
7
  }
models/word_ngram/bh_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b0c4dd9d3af349404f11790e8ef5a5c05d0d144df6541a2c72b9e8c7fa528032
3
- size 422945
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4141ecad38d9f7774f3dd9904b1a6863de3cbda29a595c2b1fbe7f0db5d83941
3
+ size 594257
models/word_ngram/bh_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_ngrams": 29844,
6
- "total_ngrams": 4613638
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_ngrams": 29857,
6
+ "total_ngrams": 1282391
7
  }
models/word_ngram/bh_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:41f8def9633bec7bd266d75861a561a98338565712553cd7c9053ca4c03c0278
3
- size 1430098
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f052da2c233a2332f4efd34c54fe1a284f577aad87670fed9cae61c8380ec406
3
+ size 898283
models/word_ngram/bh_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_ngrams": 104826,
6
- "total_ngrams": 4604748
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_ngrams": 38729,
6
+ "total_ngrams": 1273686
7
  }
models/word_ngram/bh_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea9eb1016246ebf30425a2e109fd56a6c149bda0fe7ad0461813f8f29c1abb0c
3
- size 4130422
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cbd4bdf202e522296fc743ecbedff3f3c2de48df39c84775dc26336cb11af98
3
+ size 1340231
models/word_ngram/bh_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "bh",
5
- "unique_ngrams": 294598,
6
- "total_ngrams": 4595859
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "bh",
5
+ "unique_ngrams": 53247,
6
+ "total_ngrams": 1264981
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: ecfccb99ce04083b1d80077a9e3dce41433d02e5c9e37ebcd64212158ed39607
  • Pointer size: 131 Bytes
  • Size of remote file: 145 kB

Git LFS Details

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