omarkamali commited on
Commit
0a72378
·
verified ·
1 Parent(s): cc078f3

Upload all models and assets for anp (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 +282 -136
  2. models/embeddings/monolingual/anp_128d.bin +2 -2
  3. models/embeddings/monolingual/anp_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/anp_32d.bin +2 -2
  5. models/embeddings/monolingual/anp_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/anp_64d.bin +2 -2
  7. models/embeddings/monolingual/anp_64d_metadata.json +5 -3
  8. models/subword_markov/anp_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/anp_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/anp_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/anp_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/anp_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/anp_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/anp_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/anp_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/anp_2gram_subword.parquet +2 -2
  17. models/subword_ngram/anp_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/anp_3gram_subword.parquet +2 -2
  19. models/subword_ngram/anp_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/anp_4gram_subword.parquet +2 -2
  21. models/subword_ngram/anp_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/anp_tokenizer_16k.model +2 -2
  23. models/tokenizer/anp_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/anp_tokenizer_32k.model +2 -2
  25. models/tokenizer/anp_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/anp_tokenizer_8k.model +2 -2
  27. models/tokenizer/anp_tokenizer_8k.vocab +0 -0
  28. models/vocabulary/anp_vocabulary.parquet +2 -2
  29. models/vocabulary/anp_vocabulary_metadata.json +10 -9
  30. models/word_markov/anp_markov_ctx1_word.parquet +2 -2
  31. models/word_markov/anp_markov_ctx1_word_metadata.json +2 -2
  32. models/word_markov/anp_markov_ctx2_word.parquet +2 -2
  33. models/word_markov/anp_markov_ctx2_word_metadata.json +2 -2
  34. models/word_markov/anp_markov_ctx3_word.parquet +2 -2
  35. models/word_markov/anp_markov_ctx3_word_metadata.json +2 -2
  36. models/word_markov/anp_markov_ctx4_word.parquet +2 -2
  37. models/word_markov/anp_markov_ctx4_word_metadata.json +2 -2
  38. models/word_ngram/anp_2gram_word.parquet +2 -2
  39. models/word_ngram/anp_2gram_word_metadata.json +2 -2
  40. models/word_ngram/anp_3gram_word.parquet +2 -2
  41. models/word_ngram/anp_3gram_word_metadata.json +2 -2
  42. models/word_ngram/anp_4gram_word.parquet +2 -2
  43. models/word_ngram/anp_4gram_word_metadata.json +2 -2
  44. visualizations/embedding_isotropy.png +0 -0
  45. visualizations/embedding_norms.png +0 -0
  46. visualizations/embedding_similarity.png +2 -2
  47. visualizations/markov_branching.png +0 -0
  48. visualizations/markov_contexts.png +0 -0
  49. visualizations/markov_entropy.png +0 -0
  50. visualizations/model_sizes.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.233
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8322
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 9567
33
- generated: 2025-12-27
34
  ---
35
 
36
  # ANP - 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,54 +70,53 @@ 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.431x | 3.37 | 0.0938% | 441,405 |
76
- | **16k** | 3.755x | 3.69 | 0.1026% | 403,338 |
77
- | **32k** | 4.015x | 3.95 | 0.1098% | 377,196 |
78
- | **64k** | 4.233x 🏆 | 4.16 | 0.1157% | 357,719 |
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 | `▁म ंज ूष ▁कला ▁अंग प्र देश ▁के ▁एक ... (+16 more)` | 26 |
89
- | 16k | `▁मंज ूष ▁कला ▁अंग प्रदेश ▁के ▁एक ▁बहु ... (+13 more)` | 23 |
90
- | 32k | `▁मंज ूष ▁कला ▁अंगप्रदेश ▁के ▁एक ▁बहु चर्चित ▁लोकगाथा ... (+7 more)` | 17 |
91
- | 64k | `▁मंजूषा ▁कला ▁अंगप्रदेश ▁के ▁एक ▁बहुचर्चित ▁लोकगाथा ▁बिहुला ▁विष हरी ... (+4 more)` | 14 |
92
 
93
- **Sample 2:** `कार्बन के रासायनिक तत्व छेकै। ठोस अवस्था मँ पैलौ जाय वाला अधातु छेकै।
94
-
95
- एकरो दे...`
96
 
97
  | Vocab | Tokens | Count |
98
  |-------|--------|-------|
99
- | 8k | `▁कार्बन ▁के ▁रासायनिक ▁तत्व ▁छेकै ▁इ ▁ठोस ▁अवस्था ▁मँ ... (+13 more)` | 23 |
100
- | 16k | `▁कार्बन ▁के ▁रासायनिक ▁तत्व ▁छेकै ▁इ ▁ठोस ▁अवस्था ▁मँ ... (+11 more)` | 21 |
101
- | 32k | `▁कार्बन ▁के ▁रासायनिक ▁तत्�� ▁छेकै ▁इ ▁ठोस ▁अवस्था ▁मँ ... (+11 more)` | 21 |
102
- | 64k | `▁कार्बन ▁के ▁रासायनिक ▁तत्व ▁छेकै । ▁इ ▁ठोस ▁अवस्था ▁मँ ... (+11 more)` | 21 |
103
 
104
- **Sample 3:** `ब्रह्मपुत्र
105
- श्रेणी:नद्दी`
106
 
107
  | Vocab | Tokens | Count |
108
  |-------|--------|-------|
109
- | 8k | `▁ब्रह्म पुत्र ▁श्रेणी : द्दी` | 6 |
110
- | 16k | `▁ब्रह्मपुत्र ▁श्रेणी : द्दी` | 5 |
111
- | 32k | `▁ब्रह्मपुत्र ▁श्रेणी : नद्दी` | 4 |
112
- | 64k | `▁ब्रह्मपुत्र ▁श्रेणी : नद्दी` | 4 |
113
 
114
 
115
  ### Key Findings
116
 
117
- - **Best Compression:** 64k achieves 4.233x compression
118
- - **Lowest UNK Rate:** 8k with 0.0938% unknown tokens
119
  - **Trade-off:** Larger vocabularies improve compression but increase model size
120
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
121
 
@@ -124,57 +125,89 @@ Below are sample sentences tokenized with each vocabulary size:
124
 
125
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
126
 
 
 
127
  ![N-gram Coverage](visualizations/ngram_coverage.png)
128
 
129
  ### Results
130
 
131
- | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
132
- |--------|------------|---------|----------------|------------------|-------------------|
133
- | **2-gram** | 1,473 🏆 | 10.52 | 19,190 | 39.0% | 79.4% |
134
- | **2-gram** | 611 🏆 | 9.26 | 5,088 | 50.3% | 92.6% |
135
- | **3-gram** | 10,511 | 13.36 | 71,690 | 14.3% | 44.9% |
136
- | **3-gram** | 4,774 | 12.22 | 39,446 | 20.6% | 57.0% |
137
- | **4-gram** | 37,995 | 15.21 | 200,757 | 8.2% | 28.1% |
138
- | **4-gram** | 20,752 | 14.34 | 155,528 | 10.6% | 34.2% |
139
 
140
  ### Top 5 N-grams by Size
141
 
142
- **2-grams:**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  | Rank | N-gram | Count |
145
  |------|--------|-------|
146
- | 1 | `क े` | 45,157 |
147
- | 2 | `ा र` | 27,669 |
148
- | 3 | `् र` | 26,110 |
149
- | 4 | `ि क` | 21,854 |
150
- | 5 | `य ा` | 21,115 |
151
 
152
- **3-grams:**
153
 
154
  | Rank | N-gram | Count |
155
  |------|--------|-------|
156
- | 1 | `म ं` | 15,079 |
157
- | 2 | `ि ा` | 9,483 |
158
- | 3 | `छ ।` | 7,624 |
159
- | 4 | `् ा` | 7,466 |
160
- | 5 | `ा े` | 7,405 |
161
 
162
- **4-grams:**
163
 
164
  | Rank | N-gram | Count |
165
  |------|--------|-------|
166
- | 1 | `भ ा` | 4,716 |
167
- | 2 | `प ा` | 3,403 |
168
- | 3 | `क ौ` | 3,367 |
169
- | 4 | `ा ।` | 3,140 |
170
- | 5 | `ै , े` | 3,079 |
171
 
172
 
173
  ### Key Findings
174
 
175
- - **Best Perplexity:** 2-gram with 611
176
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
177
- - **Coverage:** Top-1000 patterns cover ~34% of corpus
178
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
179
 
180
  ---
@@ -182,55 +215,86 @@ Below are sample sentences tokenized with each vocabulary size:
182
 
183
  ![Markov Entropy](visualizations/markov_entropy.png)
184
 
 
 
185
  ![Markov Branching](visualizations/markov_branching.png)
186
 
187
  ### Results
188
 
189
- | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
190
- |---------|-------------|------------|------------------|-----------------|----------------|
191
- | **1** | 0.6716 | 1.593 | 6.02 | 20,822 | 32.8% |
192
- | **1** | 1.3840 | 2.610 | 13.82 | 755 | 0.0% |
193
- | **2** | 0.3861 | 1.307 | 2.68 | 125,337 | 61.4% |
194
- | **2** | 1.1859 | 2.275 | 7.36 | 10,432 | 0.0% |
195
- | **3** | 0.3331 | 1.260 | 2.02 | 335,781 | 66.7% |
196
- | **3** | 0.8363 | 1.785 | 3.79 | 76,706 | 16.4% |
197
- | **4** | 0.2418 🏆 | 1.182 | 1.55 | 678,169 | 75.8% |
198
- | **4** | 0.5341 🏆 | 1.448 | 2.27 | 290,862 | 46.6% |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
 
200
- ### Generated Text Samples
 
 
 
 
 
 
 
201
 
202
- Below are text samples generated from each Markov chain model:
203
 
204
  **Context Size 1:**
205
 
206
- 1. `ा ण ी कम ी ] स ा ) घ ो क ृ त ् रभ`
207
- 2. `् डल स ं ख ् ध ा य ु न े ण अक ा प`
208
- 3. `े म ँ स ू प ि त च ा जन ा न ह ै ज`
209
 
210
  **Context Size 2:**
211
 
212
- 1. `क े प ु स ् थ अलग करत ी थ ी , ड ा इऑक ्`
213
- 2. `ा र अध ि न े अध ि क ा ल ा म द ि य ा`
214
- 3. `् र ो स ि मड े ग ा न , 2006 क ो खतर े क`
215
 
216
  **Context Size 3:**
217
 
218
- 1. `म े ं क े द ु मक ा स ॑ ई बड ़ ऽ क ् ष`
219
- 2. `ि य ा च ि त ह ै और यह ी ं भ ी उनक े प ा`
220
- 3. `् य ा 1484 छ े ल ै । २८ नवम ् बर 1889 क ो और तन`
221
 
222
  **Context Size 4:**
223
 
224
- 1. `भ ा ष ा स ि न ी क स ं स ् थ ा प ि त करन`
225
- 2. `प ् र ा प ् त छ ै । शब ् द - स ा धन इत ि`
226
- 3. `क े र ौ व ि भ ि न ् न - भ ि न ् न प ्`
227
 
228
 
229
  ### Key Findings
230
 
231
- - **Best Predictability:** Context-4 with 75.8% predictability
232
  - **Branching Factor:** Decreases with context size (more deterministic)
233
- - **Memory Trade-off:** Larger contexts require more storage (290,862 contexts)
234
  - **Recommendation:** Context-3 or Context-4 for text generation
235
 
236
  ---
@@ -246,64 +310,64 @@ Below are text samples generated from each Markov chain model:
246
 
247
  | Metric | Value |
248
  |--------|-------|
249
- | Vocabulary Size | 9,567 |
250
- | Total Tokens | 1,448,534 |
251
- | Mean Frequency | 151.41 |
252
  | Median Frequency | 4 |
253
- | Frequency Std Dev | 2528.69 |
254
 
255
  ### Most Common Words
256
 
257
  | Rank | Word | Frequency |
258
  |------|------|-----------|
259
- | 1 | | 136,096 |
260
- | 2 | | 92,258 |
261
- | 3 | | 77,006 |
262
- | 4 | | 59,103 |
263
- | 5 | | 56,261 |
264
- | 6 | | 54,426 |
265
- | 7 | | 53,099 |
266
- | 8 | | 48,343 |
267
- | 9 | | 45,425 |
268
- | 10 | | 44,325 |
269
 
270
  ### Least Common Words (from vocabulary)
271
 
272
  | Rank | Word | Frequency |
273
  |------|------|-----------|
274
- | 1 | css | 2 |
275
- | 2 | zeros | 2 |
276
- | 3 | ignored | 2 |
277
- | 4 | dmy | 2 |
278
- | 5 | mdy | 2 |
279
- | 6 | paren | 2 |
280
- | 7 | breaking | 2 |
281
- | 8 | inserted | 2 |
282
- | 9 | values | 2 |
283
- | 10 | separator | 2 |
284
 
285
  ### Zipf's Law Analysis
286
 
287
  | Metric | Value |
288
  |--------|-------|
289
- | Zipf Coefficient | 1.4601 |
290
- | R² (Goodness of Fit) | 0.993188 |
291
  | Adherence Quality | **excellent** |
292
 
293
  ### Coverage Analysis
294
 
295
  | Top N Words | Coverage |
296
  |-------------|----------|
297
- | Top 100 | 82.8% |
298
- | Top 1,000 | 96.2% |
299
- | Top 5,000 | 99.3% |
300
- | Top 10,000 | 0.0% |
301
 
302
  ### Key Findings
303
 
304
- - **Zipf Compliance:** R²=0.9932 indicates excellent adherence to Zipf's law
305
- - **High Frequency Dominance:** Top 100 words cover 82.8% of corpus
306
- - **Long Tail:** -433 words needed for remaining 100.0% coverage
307
 
308
  ---
309
  ## 5. Word Embeddings Evaluation
@@ -316,24 +380,103 @@ Below are text samples generated from each Markov chain model:
316
 
317
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
318
 
319
- ### Model Comparison
320
 
321
- | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
322
- |-------|------------|-----------|----------|----------|----------|
323
- | **mono_32d** | 12,167 | 32 | 3.479 | 0.971 | 0.8322 🏆 |
324
- | **mono_64d** | 12,167 | 64 | 3.809 | 0.905 | 0.7196 |
325
- | **mono_128d** | 12,167 | 128 | 3.964 | 0.866 | 0.3647 |
326
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
327
 
328
  ### Key Findings
329
 
330
- - **Best Isotropy:** mono_32d with 0.8322 (more uniform distribution)
331
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
332
- - **Vocabulary Coverage:** All models cover 12,167 words
333
- - **Recommendation:** 100d for balanced semantic capture and efficiency
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
 
335
  ---
336
- ## 6. Summary & Recommendations
337
 
338
  ![Performance Dashboard](visualizations/performance_dashboard.png)
339
 
@@ -341,11 +484,12 @@ Below are text samples generated from each Markov chain model:
341
 
342
  | Component | Recommended | Rationale |
343
  |-----------|-------------|-----------|
344
- | Tokenizer | **32k BPE** | Best compression (4.23x) with low UNK rate |
345
- | N-gram | **5-gram** | Lowest perplexity (611) |
346
- | Markov | **Context-4** | Highest predictability (75.8%) |
347
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
348
 
 
349
  ---
350
  ## Appendix: Metrics Glossary & Interpretation Guide
351
 
@@ -535,7 +679,8 @@ If you use these models in your research, please cite:
535
  author = {Kamali, Omar},
536
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
537
  year = {2025},
538
- publisher = {HuggingFace},
 
539
  url = {https://huggingface.co/wikilangs}
540
  institution = {Omneity Labs}
541
  }
@@ -551,7 +696,8 @@ MIT License - Free for academic and commercial use.
551
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
552
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
553
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
 
554
  ---
555
  *Generated by Wikilangs Models Pipeline*
556
 
557
- *Report Date: 2025-12-27 06:08:15*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 3.779
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.8284
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # ANP - 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.293x | 3.29 | 0.1162% | 454,392 |
84
+ | **16k** | 3.578x | 3.58 | 0.1263% | 418,207 |
85
+ | **32k** | 3.779x 🏆 | 3.78 | 0.1334% | 395,905 |
 
86
 
87
  ### Tokenization Examples
88
 
89
  Below are sample sentences tokenized with each vocabulary size:
90
 
91
+ **Sample 1:** `मई ग्रेगोरी कैलंडर 5मां महीना छेकै। सात महीना मँ सँ एक छेकै जेकरौ दिन सिनी...`
92
 
93
  | Vocab | Tokens | Count |
94
  |-------|--------|-------|
95
+ | 8k | `▁मई ▁ग्रेगोरी ▁कैलंडर ▁क 5 मां ▁महीना ▁छेकै ... (+24 more)` | 34 |
96
+ | 16k | `▁मई ▁ग्रेगोरी ▁कैलंडर ▁क 5 मां ▁महीना ▁छेकै ... (+24 more)` | 34 |
97
+ | 32k | `▁मई ▁ग्रेगोरी ▁कैलंडर ▁क 5 मां ▁महीना ▁छेकै ... (+24 more)` | 34 |
 
98
 
99
+ **Sample 2:** `राजा महेश ठाकुर ई. तक मधुबनी जिला के भउर (भौर) गांव म॑ छेलै, जे मधुबनी स॑ करीब...`
 
 
100
 
101
  | Vocab | Tokens | Count |
102
  |-------|--------|-------|
103
+ | 8k | `▁राजा ▁महेश ▁ठाकुर ▁– ▁ई . ▁तक ▁मधुबनी ▁जिला ▁के ... (+28 more)` | 38 |
104
+ | 16k | `▁राजा ▁महेश ▁ठाकुर ▁– ▁ई . ▁तक ▁मधुबनी ▁जिला ▁के ... (+27 more)` | 37 |
105
+ | 32k | `▁राजा ▁महेश ▁ठाकुर ▁– ▁ई . ▁तक ▁मधुबनी ▁जिला ▁के ... (+24 more)` | 34 |
 
106
 
107
+ **Sample 3:** `पति पत्नी नंदा केरऽ ई. मं॑ बनलऽ हिंदी फ़िल्म छेकै.`
 
108
 
109
  | Vocab | Tokens | Count |
110
  |-------|--------|-------|
111
+ | 8k | `▁पति ▁पत्नी ▁नंदा ▁केरऽ ▁ई . ▁मं॑ ▁बनलऽ ▁हिंदी ▁फ़िल्म ... (+2 more)` | 12 |
112
+ | 16k | `▁पति ▁पत्नी ▁नंदा ▁केरऽ ▁ई . ▁मं॑ ▁बनलऽ ▁हिंदी ▁फ़िल्म ... (+2 more)` | 12 |
113
+ | 32k | `▁पति ▁पत्नी ▁नंदा ▁केरऽ ▁ई . ▁मं॑ ▁बनलऽ ▁हिंदी ▁फ़िल्म ... (+2 more)` | 12 |
 
114
 
115
 
116
  ### Key Findings
117
 
118
+ - **Best Compression:** 32k achieves 3.779x compression
119
+ - **Lowest UNK Rate:** 8k with 0.1162% unknown tokens
120
  - **Trade-off:** Larger vocabularies improve compression but increase model size
121
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
122
 
 
125
 
126
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
127
 
128
+ ![N-gram Unique](visualizations/ngram_unique.png)
129
+
130
  ![N-gram Coverage](visualizations/ngram_coverage.png)
131
 
132
  ### Results
133
 
134
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
135
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
136
+ | **2-gram** | Word | 5,052 | 12.30 | 15,168 | 20.6% | 52.3% |
137
+ | **2-gram** | Subword | 1,738 🏆 | 10.76 | 17,876 | 38.2% | 73.8% |
138
+ | **3-gram** | Word | 4,130 | 12.01 | 14,962 | 20.9% | 59.9% |
139
+ | **3-gram** | Subword | 12,170 | 13.57 | 72,480 | 14.9% | 40.7% |
140
+ | **4-gram** | Word | 6,457 | 12.66 | 28,266 | 18.2% | 56.2% |
141
+ | **4-gram** | Subword | 41,486 | 15.34 | 205,918 | 8.4% | 27.1% |
142
 
143
  ### Top 5 N-grams by Size
144
 
145
+ **2-grams (Word):**
146
+
147
+ | Rank | N-gram | Count |
148
+ |------|--------|-------|
149
+ | 1 | `के लिए` | 2,018 |
150
+ | 2 | `के अनुसार` | 1,711 |
151
+ | 3 | `छै जे` | 1,623 |
152
+ | 4 | `छै जेकरा` | 1,477 |
153
+ | 5 | `के औसत` | 1,421 |
154
+
155
+ **3-grams (Word):**
156
+
157
+ | Rank | N-gram | Count |
158
+ |------|--------|-------|
159
+ | 1 | `छै जेकरा म` | 1,239 |
160
+ | 2 | `जनगणना के अनुसार` | 1,231 |
161
+ | 3 | `के रूप में` | 808 |
162
+ | 4 | `परिवार रहै छै` | 789 |
163
+ | 5 | `म स्थित ऐगो` | 690 |
164
+
165
+ **4-grams (Word):**
166
+
167
+ | Rank | N-gram | Count |
168
+ |------|--------|-------|
169
+ | 1 | `छै जेकरा म कुल` | 638 |
170
+ | 2 | `के औसत लिंग अनुपात` | 559 |
171
+ | 3 | `छै जनगणना के अनुसार` | 535 |
172
+ | 4 | `के जनगणना के अनुसार` | 498 |
173
+ | 5 | `गाँव छै जेकरा म` | 479 |
174
+
175
+ **2-grams (Subword):**
176
 
177
  | Rank | N-gram | Count |
178
  |------|--------|-------|
179
+ | 1 | `र _` | 44,044 |
180
+ | 2 | `_ के` | 42,780 |
181
+ | 3 | `के _` | 39,580 |
182
+ | 4 | `, _` | 27,198 |
183
+ | 5 | `। _` | 27,084 |
184
 
185
+ **3-grams (Subword):**
186
 
187
  | Rank | N-gram | Count |
188
  |------|--------|-------|
189
+ | 1 | `_ के _` | 37,016 |
190
+ | 2 | `_ में _` | 14,280 |
191
+ | 3 | `_ की _` | 9,494 |
192
+ | 4 | `_ र` | 9,303 |
193
+ | 5 | `औ _` | 9,298 |
194
 
195
+ **4-grams (Subword):**
196
 
197
  | Rank | N-gram | Count |
198
  |------|--------|-------|
199
+ | 1 | `_ _` | 9,269 |
200
+ | 2 | `_ है _` | 6,536 |
201
+ | 3 | `_ छै _` | 5,833 |
202
+ | 4 | `_ _` | 4,768 |
203
+ | 5 | `र _ के _` | 3,598 |
204
 
205
 
206
  ### Key Findings
207
 
208
+ - **Best Perplexity:** 2-gram (subword) with 1,738
209
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
210
+ - **Coverage:** Top-1000 patterns cover ~27% of corpus
211
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
212
 
213
  ---
 
215
 
216
  ![Markov Entropy](visualizations/markov_entropy.png)
217
 
218
+ ![Markov Contexts](visualizations/markov_contexts.png)
219
+
220
  ![Markov Branching](visualizations/markov_branching.png)
221
 
222
  ### Results
223
 
224
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
225
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
226
+ | **1** | Word | 0.8691 | 1.827 | 5.82 | 57,434 | 13.1% |
227
+ | **1** | Subword | 0.9723 | 1.962 | 11.43 | 4,617 | 2.8% |
228
+ | **2** | Word | 0.2533 | 1.192 | 1.57 | 333,590 | 74.7% |
229
+ | **2** | Subword | 0.5474 | 1.461 | 3.83 | 52,772 | 45.3% |
230
+ | **3** | Word | 0.0719 | 1.051 | 1.12 | 522,356 | 92.8% |
231
+ | **3** | Subword | 0.4946 | 1.409 | 2.66 | 202,187 | 50.5% |
232
+ | **4** | Word | 0.0215 🏆 | 1.015 | 1.03 | 583,736 | 97.9% |
233
+ | **4** | Subword | 0.2981 | 1.230 | 1.71 | 538,126 | 70.2% |
234
+
235
+ ### Generated Text Samples (Word-based)
236
+
237
+ Below are text samples generated from each word-based Markov chain model:
238
+
239
+ **Context Size 1:**
240
+
241
+ 1. `के बीच शासन और विज्ञापन और २०० फिल्में रिलीज़ हुआ है जिसके कारण ही मैन 2`
242
+ 2. `में पाकिस्तान श्रीलंका मे पुणे शहर आरू एकरऽ द्रव्यमान संरक्षण के स्थान पऽ एकाग्र करै लेली`
243
+ 3. `है कि विक्की ग्युरेरो के बच्चा के बच्चा के 61 80 मीटर 16 राज्यो मँ संकटग्रस्त`
244
+
245
+ **Context Size 2:**
246
+
247
+ 1. `के लिए पौधों को जिन्हें फूलने से पहले उन्होंने डस्टी रोहड्स का भी समर्थन प्राप्त हो सकती`
248
+ 2. `के अनुसार मुंजथ गांव के कुल आबादी के साथ दो दुर्भाग्यपूर्ण मामलों के लिए लिख लेते थे`
249
+ 3. `छै जे बिहार राज्य मँ स्थित छै इ जिला पौराणिक काल म॑ विश्व भर में १० १४`
250
+
251
+ **Context Size 3:**
252
+
253
+ 1. `छै जेकरा म कुल 22 परिवार रहै छै तुम्बापहाड़ गांव के जनसंख्या 188 छै जेकरा म पुरुष आरू`
254
+ 2. `जनगणना के अनुसार गोबिंदपुर गाँव के जनसंख्या छै जेकरा पुरुष आरु महिला छै गौरीपुर गांव के औसत लिंग`
255
+ 3. `के रूप में अरबी गोंद के साथ मिलाया जा सकता था इसी कारणवश बादशाह मुहम्‍मद बिन तुगलक ने`
256
 
257
+ **Context Size 4:**
258
+
259
+ 1. `छै जेकरा म कुल 545 परिवार रहै छै के जनगणना के अनुसार मुस्तफाबाद गाँव के जनसंख्या 291 छै जे`
260
+ 2. `के औसत लिंग अनुपात 782 छै जे बिहार राज्य के औसत 918 स कम छै जनगणना के अनुसार तेतरिया`
261
+ 3. `छै जनगणना के अनुसार सहनी खेड़ा के बाल लिंग अनुपात 836 छै जे बिहार राज्य के औसत 918 स`
262
+
263
+
264
+ ### Generated Text Samples (Subword-based)
265
 
266
+ Below are text samples generated from each subword-based Markov chain model:
267
 
268
  **Context Size 1:**
269
 
270
+ 1. `_ला_का_अनुसाय_उसनता_शि`
271
+ 2. `रचरण-हा_जे_के_शिय-_में`
272
+ 3. `क_किंगर_मशिक्षा_बांकारलिंग_`
273
 
274
  **Context Size 2:**
275
 
276
+ 1. `र_सम्पादक_छै_।_नीतिक_न॑_`
277
+ 2. `_के_कुल_रूप_पुर_सक्षमता_`
278
+ 3. `के_लिमिटेड_श्रेणी:_भास्कराचार_`
279
 
280
  **Context Size 3:**
281
 
282
+ 1. `_के_रूप_से_एक_छै।_जनसंख्या`
283
+ 2. `_में_रूचि_रखै_वाला_नहीं_है।_`
284
+ 3. `_की_भी_हैं_दाग_डॉक्टर_के_रूप`
285
 
286
  **Context Size 4:**
287
 
288
+ 1. `_और_श्रुति_साहित्य,_दर्शन_हेतु_`
289
+ 2. `_है।_इसके_बजाय_व्याख्यान_क_ए`
290
+ 3. `_छै।_चूना_ऐगो_अंतर_छै,_अपि`
291
 
292
 
293
  ### Key Findings
294
 
295
+ - **Best Predictability:** Context-4 (word) with 97.9% predictability
296
  - **Branching Factor:** Decreases with context size (more deterministic)
297
+ - **Memory Trade-off:** Larger contexts require more storage (538,126 contexts)
298
  - **Recommendation:** Context-3 or Context-4 for text generation
299
 
300
  ---
 
310
 
311
  | Metric | Value |
312
  |--------|-------|
313
+ | Vocabulary Size | 26,612 |
314
+ | Total Tokens | 692,487 |
315
+ | Mean Frequency | 26.02 |
316
  | Median Frequency | 4 |
317
+ | Frequency Std Dev | 316.81 |
318
 
319
  ### Most Common Words
320
 
321
  | Rank | Word | Frequency |
322
  |------|------|-----------|
323
+ | 1 | के | 37,114 |
324
+ | 2 | में | 15,064 |
325
+ | 3 | छै | 12,685 |
326
+ | 4 | है | 12,473 |
327
+ | 5 | की | 9,887 |
328
+ | 6 | और | 9,313 |
329
+ | 7 | का | 7,757 |
330
+ | 8 | से | 7,397 |
331
+ | 9 | को | 5,594 |
332
+ | 10 | हैं | 5,335 |
333
 
334
  ### Least Common Words (from vocabulary)
335
 
336
  | Rank | Word | Frequency |
337
  |------|------|-----------|
338
+ | 1 | pmegp | 2 |
339
+ | 2 | odop | 2 |
340
+ | 3 | naps | 2 |
341
+ | 4 | संवर्द्धन | 2 |
342
+ | 5 | आईज़ | 2 |
343
+ | 6 | रिटेल | 2 |
344
+ | 7 | एक्सीलेंस | 2 |
345
+ | 8 | इंस्टाग्राम | 2 |
346
+ | 9 | कास्टिंग | 2 |
347
+ | 10 | ईयर | 2 |
348
 
349
  ### Zipf's Law Analysis
350
 
351
  | Metric | Value |
352
  |--------|-------|
353
+ | Zipf Coefficient | 1.1238 |
354
+ | R² (Goodness of Fit) | 0.994960 |
355
  | Adherence Quality | **excellent** |
356
 
357
  ### Coverage Analysis
358
 
359
  | Top N Words | Coverage |
360
  |-------------|----------|
361
+ | Top 100 | 40.3% |
362
+ | Top 1,000 | 69.8% |
363
+ | Top 5,000 | 87.2% |
364
+ | Top 10,000 | 93.2% |
365
 
366
  ### Key Findings
367
 
368
+ - **Zipf Compliance:** R²=0.9950 indicates excellent adherence to Zipf's law
369
+ - **High Frequency Dominance:** Top 100 words cover 40.3% of corpus
370
+ - **Long Tail:** 16,612 words needed for remaining 6.8% coverage
371
 
372
  ---
373
  ## 5. Word Embeddings Evaluation
 
380
 
381
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
382
 
 
383
 
384
+ ### 5.1 Cross-Lingual Alignment
385
+
386
+ > *Note: Multilingual alignment visualization not available for this language.*
387
+
388
+
389
+ ### 5.2 Model Comparison
390
+
391
+ | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
392
+ |-------|-----------|----------|------------------|---------------|----------------|
393
+ | **mono_32d** | 32 | 0.8284 🏆 | 0.3485 | N/A | N/A |
394
+ | **mono_64d** | 64 | 0.6880 | 0.2899 | N/A | N/A |
395
+ | **mono_128d** | 128 | 0.3275 | 0.2699 | N/A | N/A |
396
 
397
  ### Key Findings
398
 
399
+ - **Best Isotropy:** mono_32d with 0.8284 (more uniform distribution)
400
+ - **Semantic Density:** Average pairwise similarity of 0.3027. Lower values indicate better semantic separation.
401
+ - **Alignment Quality:** No aligned models evaluated in this run.
402
+ - **Recommendation:** 128d aligned for best cross-lingual performance
403
+
404
+ ---
405
+ ## 6. Morphological Analysis (Experimental)
406
+
407
+ > ⚠️ **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.
408
+
409
+ 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.
410
+
411
+ ### 6.1 Productivity & Complexity
412
+
413
+ | Metric | Value | Interpretation | Recommendation |
414
+ |--------|-------|----------------|----------------|
415
+ | Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
416
+ | Idiomaticity Gap | **-1.000** | Low formulaic content | - |
417
+
418
+ ### 6.2 Affix Inventory (Productive Units)
419
+
420
+ 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.
421
+
422
+ #### Productive Prefixes
423
+ | Prefix | Examples |
424
+ |--------|----------|
425
+ | `-प्` | प्रिंत्सीप, प्रतिअंकन, प्रभाग |
426
+ | `-प्र` | प्रिंत्सीप, प्रतिअंकन, प्रभाग |
427
+
428
+ #### Productive Suffixes
429
+ | Suffix | Examples |
430
+ |--------|----------|
431
+ | `-ों` | साँपों, अनुभववादियों, रेलों |
432
+
433
+ ### 6.3 Bound Stems (Lexical Roots)
434
+
435
+ 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.
436
+
437
+ | Stem | Cohesion | Substitutability | Examples |
438
+ |------|----------|------------------|----------|
439
+ | `tion` | 2.57x | 12 contexts | motion, action, section |
440
+ | `atio` | 2.57x | 12 contexts | station, nations, stations |
441
+ | `stat` | 2.59x | 6 contexts | state, states, status |
442
+
443
+ ### 6.4 Affix Compatibility (Co-occurrence)
444
+
445
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
446
+
447
+ | Prefix | Suffix | Frequency | Examples |
448
+ |--------|--------|-----------|----------|
449
+ | `-प्` | `-ों` | 20 words | प्रयासों, प्रकृतिवादियों |
450
+
451
+ ### 6.5 Recursive Morpheme Segmentation
452
+
453
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
454
+
455
+ | Word | Suggested Split | Confidence | Stem |
456
+ |------|-----------------|------------|------|
457
+ | प्रवृत्ति | **`प्र-वृत्ति`** | 4.5 | `वृत्ति` |
458
+ | अक्षांशों | **`अक्षांश-ों`** | 4.5 | `अक्षांश` |
459
+ | व्यवसायों | **`व्यवसाय-ों`** | 4.5 | `व्यवसाय` |
460
+ | चक्रवातों | **`चक्रवात-ों`** | 4.5 | `चक्रवात` |
461
+ | भागीदारों | **`भागीदार-ों`** | 4.5 | `भागीदार` |
462
+ | तीर्थंकरों | **`तीर्थंकर-ों`** | 4.5 | `तीर्थंकर` |
463
+ | उद्दीपकों | **`उद्दीपक-ों`** | 4.5 | `उद्दीपक` |
464
+ | काव्यतत्वों | **`काव्यतत्व-ों`** | 4.5 | `काव्यतत्व` |
465
+ | संग्रहालयों | **`संग्रहालय-ों`** | 4.5 | `संग्रहालय` |
466
+ | साहित्यकारों | **`साहित्यकार-ों`** | 4.5 | `साहित्यकार` |
467
+ | चिकित्सकों | **`चिकित्सक-ों`** | 4.5 | `चिकित्सक` |
468
+ | उद्देश्यों | **`उद्देश्य-ों`** | 4.5 | `उद्देश्य` |
469
+ | विश्वकोशों | **`विश्वकोश-ों`** | 4.5 | `विश्वकोश` |
470
+ | निष्कर्षों | **`निष्कर्ष-ों`** | 4.5 | `निष्कर्ष` |
471
+ | प्रशंसकों | **`प्र-शंसक-ों`** | 3.0 | `शंसक` |
472
+
473
+ ### 6.6 Linguistic Interpretation
474
+
475
+ > **Automated Insight:**
476
+ The language ANP 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.
477
 
478
  ---
479
+ ## 7. Summary & Recommendations
480
 
481
  ![Performance Dashboard](visualizations/performance_dashboard.png)
482
 
 
484
 
485
  | Component | Recommended | Rationale |
486
  |-----------|-------------|-----------|
487
+ | Tokenizer | **32k BPE** | Best compression (3.78x) |
488
+ | N-gram | **2-gram** | Lowest perplexity (1,738) |
489
+ | Markov | **Context-4** | Highest predictability (97.9%) |
490
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
491
 
492
+
493
  ---
494
  ## Appendix: Metrics Glossary & Interpretation Guide
495
 
 
679
  author = {Kamali, Omar},
680
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
681
  year = {2025},
682
+ doi = {10.5281/zenodo.18073153},
683
+ publisher = {Zenodo},
684
  url = {https://huggingface.co/wikilangs}
685
  institution = {Omneity Labs}
686
  }
 
696
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
697
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
698
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
699
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
700
  ---
701
  *Generated by Wikilangs Models Pipeline*
702
 
703
+ *Report Date: 2026-01-03 05:15:16*
models/embeddings/monolingual/anp_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e5037926f606a5261779717c539c9dbbd1ae5b5239b116508b41fe3616febae
3
- size 1036770452
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9caacde775c5d9ed45854d4282f8461327a3fb82d634b04bde4c1a7010bfb01
3
+ size 1036094760
models/embeddings/monolingual/anp_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": 12167
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": 11521
15
  }
models/embeddings/monolingual/anp_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd35312939967d31d7d904a9ca1a76cbbdcc4c44fad15183039efe9bf32cbdd2
3
- size 259426196
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:550b641eec37665cd8011ee7edf15fb97b5a67b4ea66eddae766e6ab6db5fa8b
3
+ size 259246632
models/embeddings/monolingual/anp_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": 12167
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": 11521
15
  }
models/embeddings/monolingual/anp_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:95dc1f4810dddc464023dcea010decc1b484ac058bc2a8c9392076ea90c65544
3
- size 518540948
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d2fb6809bbbfd3fdc21a99d5055c629f05387c2aad2b8c7bd73362067d6a1b8
3
+ size 518196008
models/embeddings/monolingual/anp_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": 12167
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": 11521
15
  }
models/subword_markov/anp_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4297aac5947b461b82ded3981b487a038458065f66a84607b9d1d55bb71f1718
3
- size 83720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95c04e6c8a5663b3755575bf1c4f4bd7a74ee1859643e6a15404e0aefd1820ec
3
+ size 364915
models/subword_markov/anp_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_contexts": 755,
6
- "total_transitions": 4171640
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_contexts": 4617,
6
+ "total_transitions": 2607475
7
  }
models/subword_markov/anp_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0e556496b318b18ecfe9c97c36c2d23a696de1824af13d8e624e9d9e2c53bad
3
- size 561964
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa9cbe0600238ddf33258710db221432206594aadb8cd97e7c233736df61bc1
3
+ size 1615892
models/subword_markov/anp_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_contexts": 10432,
6
- "total_transitions": 4168473
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_contexts": 52772,
6
+ "total_transitions": 2604446
7
  }
models/subword_markov/anp_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c16a8be91a6fe7953eef4ac6eccf82dca4b99b8816d61fea6fe3718b7600bb34
3
- size 2057035
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c285b9eb6f3174cff5126cc788535f54c2aac763cfabb71374694688d74bb8d7
3
+ size 4795293
models/subword_markov/anp_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_contexts": 76706,
6
- "total_transitions": 4165306
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_contexts": 202187,
6
+ "total_transitions": 2601417
7
  }
models/subword_markov/anp_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e54d19d4e7dafad81e1f50c98d138e50a189da919f32e24193b667682fa96a8
3
- size 5952951
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf8bec6d17e4fe549aa7177f537ef96f42090d3142c162b4f6ddcecc9a3ca3f9
3
+ size 10831894
models/subword_markov/anp_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_contexts": 290862,
6
- "total_transitions": 4162139
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_contexts": 538126,
6
+ "total_transitions": 2598388
7
  }
models/subword_ngram/anp_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:355f1e9ea12646e5552194569897d90f61b54d55a6596d37ad576bac53b4c18a
3
- size 66307
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:775113617eee04863418a0e3d9184050647852be0f10c589b8fe1da6543c4c55
3
+ size 264208
models/subword_ngram/anp_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_ngrams": 5088,
6
- "total_ngrams": 4171640
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_ngrams": 17876,
6
+ "total_ngrams": 2607475
7
  }
models/subword_ngram/anp_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b14727440da7b6e77cb354d37b0c27476ed4374fb0258851694ef1e8116220f5
3
- size 516525
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1beda611527797d1c53b1c09dc17f9ce7383569eb890ec2fb07d1f5209c0c22
3
+ size 1044126
models/subword_ngram/anp_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_ngrams": 39446,
6
- "total_ngrams": 4168473
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_ngrams": 72480,
6
+ "total_ngrams": 2604446
7
  }
models/subword_ngram/anp_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e2aa49d6568ec1b8bf85049449b1f7efb6e4ddd46688f5f01f50be945751e4cd
3
- size 1939235
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fe6cf4b2975ea16eac745cd73317aa126e7bd7842670a9adabb558d579c736b
3
+ size 3083912
models/subword_ngram/anp_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "anp",
5
- "unique_ngrams": 155528,
6
- "total_ngrams": 4165306
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "anp",
5
+ "unique_ngrams": 205918,
6
+ "total_ngrams": 2601417
7
  }
models/tokenizer/anp_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:efb5cb1039a55c7f7bb857ffb86e33f81c6dc4d0c89b00b0b2bf254abbf18eaa
3
- size 617718
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dbad16cbb100bec382d11f61c37dc66eb44c51310eda04fcecebe9af7d4c358
3
+ size 626731
models/tokenizer/anp_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/anp_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b0c4178d49ec2b0885bec0eaad33f6a5f7167c07accfe726ef9bfc8acb39865
3
- size 1020495
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:307cc8ede7a5261bd978c0775a7d475811f92b91caf248ac449e45d8c1a3f03d
3
+ size 1055594
models/tokenizer/anp_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/anp_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:326640bb83ed996d173f81797fc5a30047a8b1b52c4a054dda0f50dacd58e6d7
3
- size 424492
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa6e8b6fe63bd83b4d41987afef044fc696594969b6cbbbe9dc22aee174de945
3
+ size 430161
models/tokenizer/anp_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/anp_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7846de396d06f632490fe25bb62f459573bd28942c91c218251658557d166439
3
- size 154433
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23c24e34a334b98f6f430ae4bfb9547516edad531380c24b4d8922e550ce220d
3
+ size 502668
models/vocabulary/anp_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "anp",
3
- "vocabulary_size": 9567,
 
4
  "statistics": {
5
- "type_token_ratio": 0.014131336612329602,
6
  "coverage": {
7
- "top_100": 0.8221627535895281,
8
- "top_1000": 0.954931271936766,
9
- "top_5000": 0.9849848553672154,
10
- "top_10000": 0.992719888352438
11
  },
12
- "hapax_count": 11059,
13
- "hapax_ratio": 0.5361679433724426,
14
- "total_documents": 3167
15
  }
16
  }
 
1
  {
2
  "language": "anp",
3
+ "vocabulary_size": 26612,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.07945542193325766,
7
  "coverage": {
8
+ "top_100": 0.3854363523002036,
9
+ "top_1000": 0.6679237822959595,
10
+ "top_5000": 0.8348141768358013,
11
+ "top_10000": 0.8920299882905762
12
  },
13
+ "hapax_count": 30862,
14
+ "hapax_ratio": 0.5369732400737725,
15
+ "total_documents": 3029
16
  }
17
  }
models/word_markov/anp_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:192ca60a300173cfabd8b1fb3660b244c3be732254c68e60bf1ee02dd07b598e
3
- size 886162
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d37e0230173ff329a06a1b9fde21c583b6b6fb6e94481f23a7a68e72460175c5
3
+ size 2920307
models/word_markov/anp_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_contexts": 20822,
6
- "total_transitions": 2733532
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_contexts": 57434,
6
+ "total_transitions": 720320
7
  }
models/word_markov/anp_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a4a530af52e6c9f3eaab3f9243da477a38d9854b21682a25de5c7b9f6c8f144
3
- size 2833179
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdf85ce95679a912c641b5ffb10719ad0f16e152363efc3c3922f250107b17b8
3
+ size 8558224
models/word_markov/anp_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_contexts": 125337,
6
- "total_transitions": 2730365
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_contexts": 333590,
6
+ "total_transitions": 717291
7
  }
models/word_markov/anp_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7e40a5b87677577d689aa253f08740d9ad689107604462b8e1e4df9ad5a7cba
3
- size 6746500
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d46521c8f50238b1c6c19de18c1d6e31bb2ae9bb5e64373564f718f502ccb21a
3
+ size 12610274
models/word_markov/anp_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_contexts": 335781,
6
- "total_transitions": 2727198
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_contexts": 522356,
6
+ "total_transitions": 714262
7
  }
models/word_markov/anp_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df1d380e4e3dbf318266422fddd74c8e3c3c5bbb43bcf44df36feb99255fc67d
3
- size 12362534
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a6d0791af9d7c4cd60f49ebd2f3e62098fd20d5aa9181255874c2868e60584a
3
+ size 15137005
models/word_markov/anp_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_contexts": 678169,
6
- "total_transitions": 2724031
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_contexts": 583736,
6
+ "total_transitions": 711233
7
  }
models/word_ngram/anp_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:380fd982ea2b330e8e2918f8c25bfd63e9d5582ff2d103f96917453a9eec5bcd
3
- size 261069
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c89f5961a7a5db5f9e4f519a74d84544451a49614e2bf927884a2b6969b4d734
3
+ size 309620
models/word_ngram/anp_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_ngrams": 19190,
6
- "total_ngrams": 2733532
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_ngrams": 15168,
6
+ "total_ngrams": 720320
7
  }
models/word_ngram/anp_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6f8e4b8e3220800bfc9f062abf2dce74ef08616fa574c66f309c8d9d202644d1
3
- size 955234
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67658d2f94c99a0c6dcc25772c19631b533310f0ff80aaa0a3d844108d031bd1
3
+ size 351736
models/word_ngram/anp_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_ngrams": 71690,
6
- "total_ngrams": 2730365
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_ngrams": 14962,
6
+ "total_ngrams": 717291
7
  }
models/word_ngram/anp_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9711dcecd0f23b0bdaba6380c42f3dd115a1ded144cc810366c614694e28520a
3
- size 2713081
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c170b7b16fc88c43f6a225f5978bb19aefa148a6d008bfb548a6416e19c1573
3
+ size 702952
models/word_ngram/anp_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "anp",
5
- "unique_ngrams": 200757,
6
- "total_ngrams": 2727198
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "anp",
5
+ "unique_ngrams": 28266,
6
+ "total_ngrams": 714262
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: 7909845c39c9658b9dcd890202261d8b19ab0814d10b2afa52daab368c6d492e
  • Pointer size: 131 Bytes
  • Size of remote file: 138 kB

Git LFS Details

  • SHA256: fd54e042490f0b86a61ce466be1fe38eb0fff007c1c387c701441d6ea811c71c
  • Pointer size: 131 Bytes
  • Size of remote file: 138 kB
visualizations/markov_branching.png CHANGED
visualizations/markov_contexts.png CHANGED
visualizations/markov_entropy.png CHANGED
visualizations/model_sizes.png CHANGED