omarkamali commited on
Commit
972fe45
·
verified ·
1 Parent(s): b7c9fa4

Upload all models and assets for ast (latest)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. README.md +219 -187
  3. models/embeddings/aligned/ast_128d.bin +3 -0
  4. models/embeddings/aligned/ast_128d.meta.json +1 -0
  5. models/embeddings/aligned/ast_128d.projection.npy +3 -0
  6. models/embeddings/aligned/ast_128d_metadata.json +8 -0
  7. models/embeddings/aligned/ast_32d.bin +3 -0
  8. models/embeddings/aligned/ast_32d.meta.json +1 -0
  9. models/embeddings/aligned/ast_32d.projection.npy +3 -0
  10. models/embeddings/aligned/ast_32d_metadata.json +8 -0
  11. models/embeddings/aligned/ast_64d.bin +3 -0
  12. models/embeddings/aligned/ast_64d.meta.json +1 -0
  13. models/embeddings/aligned/ast_64d.projection.npy +3 -0
  14. models/embeddings/aligned/ast_64d_metadata.json +8 -0
  15. models/embeddings/monolingual/ast_128d.bin +2 -2
  16. models/embeddings/monolingual/ast_128d_metadata.json +1 -1
  17. models/embeddings/monolingual/ast_32d.bin +2 -2
  18. models/embeddings/monolingual/ast_32d_metadata.json +1 -1
  19. models/embeddings/monolingual/ast_64d.bin +2 -2
  20. models/embeddings/monolingual/ast_64d_metadata.json +1 -1
  21. models/subword_markov/ast_markov_ctx1_subword.parquet +2 -2
  22. models/subword_markov/ast_markov_ctx1_subword_metadata.json +2 -2
  23. models/subword_markov/ast_markov_ctx2_subword.parquet +2 -2
  24. models/subword_markov/ast_markov_ctx2_subword_metadata.json +2 -2
  25. models/subword_markov/ast_markov_ctx3_subword.parquet +2 -2
  26. models/subword_markov/ast_markov_ctx3_subword_metadata.json +2 -2
  27. models/subword_markov/ast_markov_ctx4_subword.parquet +2 -2
  28. models/subword_markov/ast_markov_ctx4_subword_metadata.json +2 -2
  29. models/subword_ngram/ast_2gram_subword.parquet +2 -2
  30. models/subword_ngram/ast_2gram_subword_metadata.json +2 -2
  31. models/subword_ngram/ast_3gram_subword.parquet +2 -2
  32. models/subword_ngram/ast_3gram_subword_metadata.json +2 -2
  33. models/subword_ngram/ast_4gram_subword.parquet +2 -2
  34. models/subword_ngram/ast_4gram_subword_metadata.json +2 -2
  35. models/subword_ngram/ast_5gram_subword.parquet +3 -0
  36. models/subword_ngram/ast_5gram_subword_metadata.json +7 -0
  37. models/tokenizer/ast_tokenizer_16k.model +2 -2
  38. models/tokenizer/ast_tokenizer_16k.vocab +0 -0
  39. models/tokenizer/ast_tokenizer_32k.model +2 -2
  40. models/tokenizer/ast_tokenizer_32k.vocab +0 -0
  41. models/tokenizer/ast_tokenizer_64k.model +2 -2
  42. models/tokenizer/ast_tokenizer_64k.vocab +0 -0
  43. models/tokenizer/ast_tokenizer_8k.model +2 -2
  44. models/tokenizer/ast_tokenizer_8k.vocab +0 -0
  45. models/vocabulary/ast_vocabulary.parquet +2 -2
  46. models/vocabulary/ast_vocabulary_metadata.json +9 -9
  47. models/word_markov/ast_markov_ctx1_word.parquet +2 -2
  48. models/word_markov/ast_markov_ctx1_word_metadata.json +2 -2
  49. models/word_markov/ast_markov_ctx2_word.parquet +2 -2
  50. models/word_markov/ast_markov_ctx2_word_metadata.json +2 -2
.gitattributes CHANGED
@@ -39,3 +39,4 @@ visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -t
39
  visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
40
  visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
41
  visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
 
 
39
  visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
40
  visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
41
  visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
42
+ visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  language: ast
3
- language_name: AST
4
  language_family: romance_iberian
5
  tags:
6
  - wikilangs
@@ -10,11 +10,21 @@ tags:
10
  - n-gram
11
  - markov
12
  - wikipedia
 
 
 
 
 
 
 
 
 
 
13
  - monolingual
14
  - family-romance_iberian
15
  license: mit
16
  library_name: wikilangs
17
- pipeline_tag: feature-extraction
18
  datasets:
19
  - omarkamali/wikipedia-monthly
20
  dataset_info:
@@ -23,20 +33,20 @@ dataset_info:
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
- value: 4.427
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.7909
30
  - name: vocabulary_size
31
  type: vocab
32
  value: 0
33
- generated: 2026-01-03
34
  ---
35
 
36
- # AST - Wikilangs Models
37
  ## Comprehensive Research Report & Full Ablation Study
38
 
39
- This repository contains NLP models trained and evaluated by Wikilangs, specifically on **AST** Wikipedia data.
40
  We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
41
 
42
  ## 📋 Repository Contents
@@ -60,7 +70,7 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
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)
@@ -80,47 +90,47 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
80
 
81
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
82
  |------------|-------------|---------------|----------|--------------|
83
- | **8k** | 3.569x | 3.57 | 0.0259% | 871,221 |
84
- | **16k** | 3.921x | 3.92 | 0.0285% | 793,006 |
85
- | **32k** | 4.204x | 4.21 | 0.0306% | 739,567 |
86
- | **64k** | 4.427x 🏆 | 4.43 | 0.0322% | 702,254 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
- **Sample 1:** `Luiz Diallisson de Souza Alves ye un futbolista brasilanu. Clubes Kuban Referenc...`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
- | 8k | `▁lu izdi all is sondesou za ▁al ... (+14 more)` | 24 |
97
- | 16k | `▁lu izdi all is sondesou za ▁al ... (+14 more)` | 24 |
98
- | 32k | `▁luizdi all is son ▁desouzaalvesyeun ... (+11 more)` | 21 |
99
- | 64k | `▁luizdi all isson ▁de ▁souzaalvesyeunfutbolista ... (+10 more)` | 20 |
100
 
101
- **Sample 2:** `Vagner da Silva Sarti ye un ex-futbolista brasilanu. Clubes Referencies Enllaces...`
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
- | 8k | `▁va gn er dasilvasar ti ▁ye ▁un ▁ex ... (+10 more)` | 20 |
106
- | 16k | `▁va gnerdasilvasar ti ▁ye ▁un ▁ex - ... (+9 more)` | 19 |
107
- | 32k | `▁va gner dasilvasar ti ▁ye ▁un ▁ex - ... (+9 more)` | 19 |
108
- | 64k | `▁va gner dasilvasar ti ▁ye ▁un ▁ex - ... (+9 more)` | 19 |
109
 
110
- **Sample 3:** `(MMLXXXII) va ser un añu normal entamáu en xueves nel calendariu gregorianu. Ref...`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
- | 8k | `▁( m m l xx x ii ) vaser ... (+17 more)` | 27 |
115
- | 16k | `▁( mm l xx x ii )va ���ser ▁un ... (+14 more)` | 24 |
116
- | 32k | `▁( mm l xx xii ) vaserunañu ... (+12 more)` | 22 |
117
- | 64k | `▁( mm lxx xii ) vaserunañunormal ... (+11 more)` | 21 |
118
 
119
 
120
  ### Key Findings
121
 
122
- - **Best Compression:** 64k achieves 4.427x compression
123
- - **Lowest UNK Rate:** 8k with 0.0259% unknown tokens
124
  - **Trade-off:** Larger vocabularies improve compression but increase model size
125
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
126
 
@@ -137,12 +147,14 @@ Below are sample sentences tokenized with each vocabulary size:
137
 
138
  | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
139
  |--------|---------|------------|---------|----------------|------------------|-------------------|
140
- | **2-gram** | Word | 133,027 | 17.02 | 1,354,323 | 9.8% | 21.6% |
141
- | **2-gram** | Subword | 260 🏆 | 8.02 | 19,069 | 69.7% | 99.1% |
142
- | **3-gram** | Word | 646,899 | 19.30 | 2,908,394 | 4.2% | 10.7% |
143
- | **3-gram** | Subword | 2,223 | 11.12 | 139,212 | 28.0% | 72.3% |
144
- | **4-gram** | Word | 1,559,764 | 20.57 | 4,707,856 | 3.3% | 7.5% |
145
- | **4-gram** | Subword | 13,372 | 13.71 | 791,795 | 13.9% | 39.3% |
 
 
146
 
147
  ### Top 5 N-grams by Size
148
 
@@ -150,68 +162,88 @@ Below are sample sentences tokenized with each vocabulary size:
150
 
151
  | Rank | N-gram | Count |
152
  |------|--------|-------|
153
- | 1 | `de la` | 891,402 |
154
- | 2 | `de los` | 329,410 |
155
- | 3 | `la so` | 220,083 |
156
- | 4 | `a la` | 215,036 |
157
- | 5 | `de les` | 208,071 |
158
 
159
  **3-grams (Word):**
160
 
161
  | Rank | N-gram | Count |
162
  |------|--------|-------|
163
- | 1 | `referencies enllaces esternos` | 101,643 |
164
- | 2 | `de la so` | 48,838 |
165
- | 3 | `d estaos xuníos` | 34,333 |
166
- | 4 | `enllaces esternos de` | 33,237 |
167
- | 5 | `una población de` | 30,269 |
168
 
169
  **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
- | 1 | `referencies enllaces esternos de` | 32,314 |
174
- | 2 | `tien una población de` | 26,720 |
175
- | 3 | `una población de y` | 19,598 |
176
  | 4 | `y una superficie de` | 19,554 |
177
- | 5 | `una superficie de km` | 19,519 |
 
 
 
 
 
 
 
 
 
 
178
 
179
  **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
- | 1 | `a _` | 12,346,491 |
184
- | 2 | `e _` | 10,275,492 |
185
- | 3 | `s _` | 10,054,248 |
186
- | 4 | `_ d` | 9,863,919 |
187
- | 5 | `e s` | 9,411,923 |
188
 
189
  **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
- | 1 | `_ d e` | 7,215,701 |
194
- | 2 | `d e _` | 5,349,035 |
195
- | 3 | `e s _` | 4,769,369 |
196
- | 4 | `o s _` | 3,909,790 |
197
- | 5 | `l a _` | 3,068,189 |
198
 
199
  **4-grams (Subword):**
200
 
201
  | Rank | N-gram | Count |
202
  |------|--------|-------|
203
- | 1 | `_ d e _` | 4,975,922 |
204
- | 2 | `_ l a _` | 2,468,941 |
205
- | 3 | `d e _ l` | 1,667,072 |
206
- | 4 | `a _ d e` | 1,422,241 |
207
- | 5 | `s _ d e` | 1,380,334 |
 
 
 
 
 
 
 
 
 
 
208
 
209
 
210
  ### Key Findings
211
 
212
  - **Best Perplexity:** 2-gram (subword) with 260
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
- - **Coverage:** Top-1000 patterns cover ~39% of corpus
215
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
216
 
217
  ---
@@ -227,14 +259,14 @@ Below are sample sentences tokenized with each vocabulary size:
227
 
228
  | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
229
  |---------|---------|-------------|------------|------------------|-----------------|----------------|
230
- | **1** | Word | 1.0381 | 2.054 | 12.99 | 1,204,316 | 0.0% |
231
- | **1** | Subword | 1.1983 | 2.295 | 7.97 | 10,463 | 0.0% |
232
- | **2** | Word | 0.4193 | 1.337 | 2.57 | 15,634,564 | 58.1% |
233
- | **2** | Subword | 0.6558 | 1.576 | 4.28 | 83,437 | 34.4% |
234
- | **3** | Word | 0.1865 | 1.138 | 1.44 | 40,202,890 | 81.4% |
235
- | **3** | Subword | 0.6846 | 1.607 | 4.03 | 357,207 | 31.5% |
236
- | **4** | Word | 0.0789 🏆 | 1.056 | 1.15 | 57,817,277 | 92.1% |
237
- | **4** | Subword | 0.6846 | 1.607 | 3.51 | 1,439,883 | 31.5% |
238
 
239
  ### Generated Text Samples (Word-based)
240
 
@@ -242,27 +274,27 @@ Below are text samples generated from each word-based Markov chain model:
242
 
243
  **Context Size 1:**
244
 
245
- 1. `de xunu empieza a centros multimodales funciones nel nectariu semilunar o n ucraín y comunicaciones ...`
246
- 2. `la pieza cornelius coffin fit cuando el algebasó 503 mariña d una solución bonal o nun`
247
- 3. `y 15 m sobre l uniforme del postreru gran midida china tales from here mirror weekly`
248
 
249
  **Context Size 2:**
250
 
251
- 1. `de la provincia dende esti tornéu surdió en y persuadió a eliza dushku en películes d estudiante`
252
- 2. `de los documentos relativos al mercáu l so antiguu nome dau más tarde l empresariu estremeñu dueñu`
253
- 3. `la so base na isla parker llogró atrapar la pelota vasca que se llevó a empecipiar una`
254
 
255
  **Context Size 3:**
256
 
257
- 1. `referencies enllaces esternos el salín nel suelu y ente vexetación trupa sicasí en marismas y ribere...`
258
- 2. `de la so agua h havagazı gas o otobüs bus y t troleybüs trolebús magar que los entamos`
259
- 3. `enllaces esternos de côte d or na rexón de gran este llenda con tien una población de 1`
260
 
261
  **Context Size 4:**
262
 
263
- 1. `referencies enllaces esternos de saboya de francia de bretaña de dreux de bretaña`
264
- 2. `tien una población de 1 690 471 habitantes y un puertu fluvial sobre l paraná amás tien importancia ...`
265
- 3. `una población de y una superficie de km ver tamién referencies enllaces esternos de xapón de la pref...`
266
 
267
 
268
  ### Generated Text Samples (Subword-based)
@@ -271,34 +303,34 @@ Below are text samples generated from each subword-based Markov chain model:
271
 
272
  **Context Size 1:**
273
 
274
- 1. `_fén_an_yaconyíc`
275
- 2. `er,_ciesunton_a_`
276
- 3. `a_tostelociz_ce_`
277
 
278
  **Context Size 2:**
279
 
280
- 1. `a_gasainel_tabaro`
281
- 2. `e_es_de_y_chel_má`
282
- 3. `s_astamudia_de_ll`
283
 
284
  **Context Size 3:**
285
 
286
- 1. `_de_scharacióse_le`
287
- 2. `de_tragar_primera_`
288
- 3. `es_so_títulu_miliz`
289
 
290
  **Context Size 4:**
291
 
292
- 1. `_de_los_sobres_del_`
293
- 2. `_la_ermistoria_dife`
294
- 3. `de_los_xeneia,_cons`
295
 
296
 
297
  ### Key Findings
298
 
299
  - **Best Predictability:** Context-4 (word) with 92.1% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
- - **Memory Trade-off:** Larger contexts require more storage (1,439,883 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
@@ -314,48 +346,48 @@ Below are text samples generated from each subword-based Markov chain model:
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
- | Vocabulary Size | 555,056 |
318
- | Total Tokens | 75,071,637 |
319
- | Mean Frequency | 135.25 |
320
  | Median Frequency | 4 |
321
- | Frequency Std Dev | 9337.66 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
- | 1 | de | 4,994,843 |
328
- | 2 | la | 2,512,518 |
329
- | 3 | y | 2,055,358 |
330
- | 4 | d | 1,181,646 |
331
- | 5 | a | 1,163,388 |
332
- | 6 | del | 1,091,464 |
333
- | 7 | en | 1,070,328 |
334
- | 8 | que | 1,013,684 |
335
- | 9 | los | 966,280 |
336
- | 10 | l | 958,680 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
- | 1 | sverlo | 2 |
343
- | 2 | kmca | 2 |
344
- | 3 | antimaterialistas | 2 |
345
- | 4 | infectados | 2 |
346
- | 5 | historietistas | 2 |
347
- | 6 | curtmetratxe | 2 |
348
- | 7 | rugna | 2 |
349
- | 8 | lleáu | 2 |
350
- | 9 | queña | 2 |
351
- | 10 | nkoghe | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
- | Zipf Coefficient | 0.9991 |
358
- | R² (Goodness of Fit) | 0.995555 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
@@ -371,7 +403,7 @@ Below are text samples generated from each subword-based Markov chain model:
371
 
372
  - **Zipf Compliance:** R²=0.9956 indicates excellent adherence to Zipf's law
373
  - **High Frequency Dominance:** Top 100 words cover 41.7% of corpus
374
- - **Long Tail:** 545,056 words needed for remaining 16.9% coverage
375
 
376
  ---
377
  ## 5. Word Embeddings Evaluation
@@ -387,37 +419,40 @@ Below are text samples generated from each subword-based Markov chain model:
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.7909 🏆 | 0.3827 | N/A | N/A |
398
- | **mono_64d** | 64 | 0.7802 | 0.3065 | N/A | N/A |
399
- | **mono_128d** | 128 | 0.7192 | 0.2391 | N/A | N/A |
 
 
 
400
 
401
  ### Key Findings
402
 
403
- - **Best Isotropy:** mono_32d with 0.7909 (more uniform distribution)
404
- - **Semantic Density:** Average pairwise similarity of 0.3094. 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
 
@@ -426,22 +461,19 @@ These are the most productive prefixes and suffixes identified by sampling the v
426
  #### Productive Prefixes
427
  | Prefix | Examples |
428
  |--------|----------|
429
- | `-co` | comíen, compelidos, conciliable |
430
- | `-ma` | maravíase, maça, matematización |
431
- | `-re` | reescalada, reprimió, reconociéralu |
432
- | `-de` | deduz, declaratorio, desfila |
433
- | `-ca` | caminómetru, castromil, caecilia |
434
 
435
  #### Productive Suffixes
436
  | Suffix | Examples |
437
  |--------|----------|
438
- | `-s` | phrygilus, anticolinérgicos, friulianos |
439
- | `-a` | raksasa, estendería, reescalada |
440
- | `-es` | ibes, distopíes, ziríes |
441
- | `-os` | anticolinérgicos, friulianos, afogadiegos |
442
- | `-se` | esmoreciérase, maravíase, cuayábase |
443
- | `-as` | monarquistas, gorgas, mimeografiadas |
444
- | `-en` | altshausen, comíen, blegen |
445
 
446
  ### 6.3 Bound Stems (Lexical Roots)
447
 
@@ -449,18 +481,18 @@ Bound stems are high-frequency subword units that are semantically cohesive but
449
 
450
  | Stem | Cohesion | Substitutability | Examples |
451
  |------|----------|------------------|----------|
452
- | `iend` | 1.80x | 206 contexts | fiend, iendo, viendi |
453
- | `renc` | 2.05x | 99 contexts | frenc, wrench, rencor |
454
- | `ient` | 1.67x | 271 contexts | vient, iente, aient |
455
- | `enci` | 1.52x | 262 contexts | venci, benci, cenci |
456
- | `acio` | 1.63x | 166 contexts | nacio, cacio, tacio |
457
- | `ació` | 1.79x | 94 contexts | lació, xació, ñació |
458
- | `nter` | 1.38x | 335 contexts | inter, enter, unter |
459
- | `ontr` | 1.63x | 118 contexts | contr, contra, montra |
460
- | `ener` | 1.42x | 205 contexts | enerc, tener, enero |
461
- | `ntos` | 1.79x | 67 contexts | antos, entos, tintos |
462
- | `ntes` | 1.49x | 144 contexts | antes, entes, fontes |
463
- | `efer` | 1.61x | 86 contexts | sefer, nefer, refer |
464
 
465
  ### 6.4 Affix Compatibility (Co-occurrence)
466
 
@@ -468,16 +500,16 @@ This table shows which prefixes and suffixes most frequently co-occur on the sam
468
 
469
  | Prefix | Suffix | Frequency | Examples |
470
  |--------|--------|-----------|----------|
471
- | `-co` | `-s` | 59 words | conversas, concinnus |
472
- | `-ca` | `-s` | 53 words | cancelaciones, caloiros |
473
- | `-ca` | `-a` | 49 words | cartajima, campana |
474
- | `-co` | `-a` | 44 words | comella, copia |
475
- | `-ma` | `-a` | 38 words | matina, matrioshka |
476
- | `-re` | `-s` | 34 words | rectos, restaurantes |
477
- | `-ma` | `-s` | 31 words | maniobres, maderensis |
478
- | `-de` | `-s` | 31 words | descatados, definitives |
479
- | `-co` | `-es` | 25 words | cotidales, coleicionables |
480
- | `-re` | `-a` | 24 words | renombraría, retomara |
481
 
482
  ### 6.5 Recursive Morpheme Segmentation
483
 
@@ -485,26 +517,26 @@ Using **Recursive Hierarchical Substitutability**, we decompose complex words in
485
 
486
  | Word | Suggested Split | Confidence | Stem |
487
  |------|-----------------|------------|------|
488
- | retractores | **`re-tractor-es`** | 6.0 | `tractor` |
489
- | aseguráronse | **`aseguráron-se`** | 4.5 | `aseguráron` |
490
- | tendiéronse | **`tendiéron-se`** | 4.5 | `tendiéron` |
491
- | tresversales | **`tresversal-es`** | 4.5 | `tresversal` |
492
- | redefiniéronse | **`re-de-finiéron-se`** | 4.5 | `finiéron` |
493
- | redistributivo | **`re-distributivo`** | 4.5 | `distributivo` |
494
- | prométese | **`prométe-se`** | 4.5 | `prométe` |
495
- | escaecíen | **`escaecí-en`** | 4.5 | `escaecí` |
496
- | domadores | **`domador-es`** | 4.5 | `domador` |
497
- | consérvense | **`co-nsérv-en-se`** | 4.5 | `nsérv` |
498
- | descripto | **`de-scripto`** | 4.5 | `scripto` |
499
- | esaxeróse | **`esaxeró-se`** | 4.5 | `esaxeró` |
500
- | acentores | **`acentor-es`** | 4.5 | `acentor` |
501
- | detrayendo | **`de-trayendo`** | 4.5 | `trayendo` |
502
- | renormalización | **`re-normalización`** | 4.5 | `normalización` |
503
 
504
  ### 6.6 Linguistic Interpretation
505
 
506
  > **Automated Insight:**
507
- The language AST 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.
508
 
509
  ---
510
  ## 7. Summary & Recommendations
@@ -731,4 +763,4 @@ MIT License - Free for academic and commercial use.
731
  ---
732
  *Generated by Wikilangs Models Pipeline*
733
 
734
- *Report Date: 2026-01-03 09:38:21*
 
1
  ---
2
  language: ast
3
+ language_name: Asturian
4
  language_family: romance_iberian
5
  tags:
6
  - wikilangs
 
10
  - n-gram
11
  - markov
12
  - wikipedia
13
+ - feature-extraction
14
+ - sentence-similarity
15
+ - tokenization
16
+ - n-grams
17
+ - markov-chain
18
+ - text-mining
19
+ - fasttext
20
+ - babelvec
21
+ - vocabulous
22
+ - vocabulary
23
  - monolingual
24
  - family-romance_iberian
25
  license: mit
26
  library_name: wikilangs
27
+ pipeline_tag: text-generation
28
  datasets:
29
  - omarkamali/wikipedia-monthly
30
  dataset_info:
 
33
  metrics:
34
  - name: best_compression_ratio
35
  type: compression
36
+ value: 4.429
37
  - name: best_isotropy
38
  type: isotropy
39
+ value: 0.7932
40
  - name: vocabulary_size
41
  type: vocab
42
  value: 0
43
+ generated: 2026-01-04
44
  ---
45
 
46
+ # Asturian - Wikilangs Models
47
  ## Comprehensive Research Report & Full Ablation Study
48
 
49
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Asturian** Wikipedia data.
50
  We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
51
 
52
  ## 📋 Repository Contents
 
70
  - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
71
  - [4. Vocabulary Analysis](#4-vocabulary-analysis)
72
  - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
73
+ - [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
74
  - [7. Summary & Recommendations](#7-summary--recommendations)
75
  - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
76
  - [Visualizations Index](#visualizations-index)
 
90
 
91
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
92
  |------------|-------------|---------------|----------|--------------|
93
+ | **8k** | 3.571x | 3.57 | 0.0264% | 863,429 |
94
+ | **16k** | 3.921x | 3.92 | 0.0290% | 786,292 |
95
+ | **32k** | 4.205x | 4.21 | 0.0311% | 733,251 |
96
+ | **64k** | 4.429x 🏆 | 4.43 | 0.0327% | 696,255 |
97
 
98
  ### Tokenization Examples
99
 
100
  Below are sample sentences tokenized with each vocabulary size:
101
 
102
+ **Sample 1:** `Pol nome de Pedru'l Grande conocemos a dos monarques europeos: Pedru III d'Aragó...`
103
 
104
  | Vocab | Tokens | Count |
105
  |-------|--------|-------|
106
+ | 8k | `▁pol ▁nomede ▁ped ru ' l grandecono ce ... (+21 more)` | 31 |
107
+ | 16k | `▁pol ▁nomede ▁pedru ' lgrandecono ce mos ... (+18 more)` | 28 |
108
+ | 32k | `▁polnome ▁de ▁pedru ' lgrandeconocemosados ... (+15 more)` | 25 |
109
+ | 64k | `▁polnome ▁de ▁pedru ' l grandeconocemosados ... (+15 more)` | 25 |
110
 
111
+ **Sample 2:** `Yuki Ohashi (, ) ye un futbolista xaponés. Clubes Referencies Enllaces esternos ...`
112
 
113
  | Vocab | Tokens | Count |
114
  |-------|--------|-------|
115
+ | 8k | `▁yu kioh as hi (,) ▁ye ▁un ▁futbolista ... (+14 more)` | 24 |
116
+ | 16k | `▁yu kioh ashi (,) ▁ye ▁un ▁futbolista ▁xaponés ... (+12 more)` | 22 |
117
+ | 32k | `▁yukioh ashi (,) ▁ye ▁un ▁futbolista ▁xaponés . ... (+11 more)` | 21 |
118
+ | 64k | `▁yukioh ashi (,) ▁ye ▁un ▁futbolista ▁xaponés . ... (+11 more)` | 21 |
119
 
120
+ **Sample 3:** `Fechos Nacencies Muertes Referencies Enllaces esternos V e.C.`
121
 
122
  | Vocab | Tokens | Count |
123
  |-------|--------|-------|
124
+ | 8k | `▁fechos ▁nacencies ▁muertes ▁referencies ▁enllaces ▁esternosve . c ... (+1 more)` | 11 |
125
+ | 16k | `▁fechos ▁nacencies ▁muertes ▁referencies ▁enllaces ▁esternos ▁ve . c ... (+1 more)` | 11 |
126
+ | 32k | `▁fechos ▁nacencies ▁muertes ▁referenciesenllacesesternosve . c ... (+1 more)` | 11 |
127
+ | 64k | `▁fechos ▁nacencies ▁muertesreferenciesenllacesesternosve . c ... (+1 more)` | 11 |
128
 
129
 
130
  ### Key Findings
131
 
132
+ - **Best Compression:** 64k achieves 4.429x compression
133
+ - **Lowest UNK Rate:** 8k with 0.0264% unknown tokens
134
  - **Trade-off:** Larger vocabularies improve compression but increase model size
135
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
136
 
 
147
 
148
  | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
149
  |--------|---------|------------|---------|----------------|------------------|-------------------|
150
+ | **2-gram** | Word | 132,138 | 17.01 | 1,341,882 | 9.8% | 21.7% |
151
+ | **2-gram** | Subword | 260 🏆 | 8.02 | 19,027 | 69.7% | 99.1% |
152
+ | **3-gram** | Word | 640,312 | 19.29 | 2,878,367 | 4.2% | 10.7% |
153
+ | **3-gram** | Subword | 2,218 | 11.12 | 138,526 | 28.0% | 72.3% |
154
+ | **4-gram** | Word | 1,536,908 | 20.55 | 4,654,291 | 3.3% | 7.6% |
155
+ | **4-gram** | Subword | 13,337 | 13.70 | 787,142 | 13.9% | 39.3% |
156
+ | **5-gram** | Word | 1,050,558 | 20.00 | 2,949,427 | 4.8% | 9.6% |
157
+ | **5-gram** | Subword | 57,630 | 15.81 | 2,701,102 | 7.8% | 23.5% |
158
 
159
  ### Top 5 N-grams by Size
160
 
 
162
 
163
  | Rank | N-gram | Count |
164
  |------|--------|-------|
165
+ | 1 | `de la` | 877,001 |
166
+ | 2 | `de los` | 325,167 |
167
+ | 3 | `la so` | 218,605 |
168
+ | 4 | `a la` | 213,098 |
169
+ | 5 | `de les` | 205,401 |
170
 
171
  **3-grams (Word):**
172
 
173
  | Rank | N-gram | Count |
174
  |------|--------|-------|
175
+ | 1 | `referencies enllaces esternos` | 102,198 |
176
+ | 2 | `de la so` | 48,437 |
177
+ | 3 | `d estaos xuníos` | 34,372 |
178
+ | 4 | `enllaces esternos de` | 33,442 |
179
+ | 5 | `una población de` | 30,281 |
180
 
181
  **4-grams (Word):**
182
 
183
  | Rank | N-gram | Count |
184
  |------|--------|-------|
185
+ | 1 | `referencies enllaces esternos de` | 32,439 |
186
+ | 2 | `tien una población de` | 26,725 |
187
+ | 3 | `una población de y` | 19,595 |
188
  | 4 | `y una superficie de` | 19,554 |
189
+ | 5 | `población de y una` | 19,514 |
190
+
191
+ **5-grams (Word):**
192
+
193
+ | Rank | N-gram | Count |
194
+ |------|--------|-------|
195
+ | 1 | `tien una población de y` | 19,555 |
196
+ | 2 | `una población de y una` | 19,513 |
197
+ | 3 | `de y una superficie de` | 19,492 |
198
+ | 4 | `población de y una superficie` | 19,490 |
199
+ | 5 | `y una superficie de km` | 19,254 |
200
 
201
  **2-grams (Subword):**
202
 
203
  | Rank | N-gram | Count |
204
  |------|--------|-------|
205
+ | 1 | `a _` | 12,223,314 |
206
+ | 2 | `e _` | 10,169,137 |
207
+ | 3 | `s _` | 9,980,231 |
208
+ | 4 | `_ d` | 9,749,761 |
209
+ | 5 | `e s` | 9,339,123 |
210
 
211
  **3-grams (Subword):**
212
 
213
  | Rank | N-gram | Count |
214
  |------|--------|-------|
215
+ | 1 | `_ d e` | 7,125,386 |
216
+ | 2 | `d e _` | 5,278,423 |
217
+ | 3 | `e s _` | 4,734,999 |
218
+ | 4 | `o s _` | 3,881,527 |
219
+ | 5 | `l a _` | 3,034,851 |
220
 
221
  **4-grams (Subword):**
222
 
223
  | Rank | N-gram | Count |
224
  |------|--------|-------|
225
+ | 1 | `_ d e _` | 4,909,705 |
226
+ | 2 | `_ l a _` | 2,443,055 |
227
+ | 3 | `d e _ l` | 1,642,151 |
228
+ | 4 | `a _ d e` | 1,399,483 |
229
+ | 5 | `s _ d e` | 1,367,031 |
230
+
231
+ **5-grams (Subword):**
232
+
233
+ | Rank | N-gram | Count |
234
+ |------|--------|-------|
235
+ | 1 | `_ d e _ l` | 1,593,336 |
236
+ | 2 | `e _ l a _` | 1,090,094 |
237
+ | 3 | `_ d e l _` | 1,070,352 |
238
+ | 4 | `s _ d e _` | 1,000,253 |
239
+ | 5 | `a _ d e _` | 970,617 |
240
 
241
 
242
  ### Key Findings
243
 
244
  - **Best Perplexity:** 2-gram (subword) with 260
245
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
246
+ - **Coverage:** Top-1000 patterns cover ~23% of corpus
247
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
248
 
249
  ---
 
259
 
260
  | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
261
  |---------|---------|-------------|------------|------------------|-----------------|----------------|
262
+ | **1** | Word | 1.0362 | 2.051 | 12.93 | 1,199,957 | 0.0% |
263
+ | **1** | Subword | 1.1986 | 2.295 | 7.97 | 10,438 | 0.0% |
264
+ | **2** | Word | 0.4189 | 1.337 | 2.57 | 15,504,920 | 58.1% |
265
+ | **2** | Subword | 0.6561 | 1.576 | 4.28 | 83,238 | 34.4% |
266
+ | **3** | Word | 0.1863 | 1.138 | 1.44 | 39,817,744 | 81.4% |
267
+ | **3** | Subword | 0.6835 | 1.606 | 4.02 | 356,042 | 31.6% |
268
+ | **4** | Word | 0.0788 🏆 | 1.056 | 1.14 | 57,235,451 | 92.1% |
269
+ | **4** | Subword | 0.6840 | 1.607 | 3.51 | 1,432,910 | 31.6% |
270
 
271
  ### Generated Text Samples (Word-based)
272
 
 
274
 
275
  **Context Size 1:**
276
 
277
+ 1. `de teniente xeneral del planeta mientres la realidá quiciabes d ochobre foi escritu por aciu una`
278
+ 2. `la cual el propósitu un estilu y hornsby consiguieron 31 d alabama intentó nun tour a`
279
+ 3. `y derechos humanos ta estremada en determinóse que caltener la so home l minsiterio de candela`
280
 
281
  **Context Size 2:**
282
 
283
+ 1. `de la cocina nos años y escuchar música dende la edá kim young chae sbs jumpmbc nonstop`
284
+ 2. `de los fundadores de los cinco principales epítetos y títulos descriptivos de los chola fueron movío...`
285
+ 3. `la so bona contrarreló calteniendo a dellos decretos prohibiendo la llibre asociación como ye l cuan...`
286
 
287
  **Context Size 3:**
288
 
289
+ 1. `referencies enllaces esternos green breasted mangu english wikipedia consultáu l 2 de marzu de estab...`
290
+ 2. `de la so política d esclusión nel sieglu xx en que camudó de nome los líderes del movimientu`
291
+ 3. `enllaces esternos de xapón de la prefeutura de hyogo llocalización con una superficie de km ver tami...`
292
 
293
  **Context Size 4:**
294
 
295
+ 1. `referencies enllaces esternos de piloña de piloña`
296
+ 2. `tien una población de y una superficie de km y una población de referencies enllaces esternos de xap...`
297
+ 3. `una población de y una superficie de km referencies enllaces esternos d aquila`
298
 
299
 
300
  ### Generated Text Samples (Subword-based)
 
303
 
304
  **Context Size 1:**
305
 
306
+ 1. `_eral_r_s_de_prm`
307
+ 2. `el_untodesopay_c`
308
+ 3. `armbra_a_wozall_`
309
 
310
  **Context Size 2:**
311
 
312
+ 1. `a_dada_d'alicu_de`
313
+ 2. `e_al_crein_ings._`
314
+ 3. `s_agu_pobres_saos`
315
 
316
  **Context Size 3:**
317
 
318
+ 1. `_de_s'atroxina_pa_`
319
+ 2. `de_los_nuevu._fíos`
320
+ 3. `es_deste_-_frivaes`
321
 
322
  **Context Size 4:**
323
 
324
+ 1. `_de_mouther_de_fort`
325
+ 2. `_la_cada_y_márquist`
326
+ 3. `de_la_sociedá_nacio`
327
 
328
 
329
  ### Key Findings
330
 
331
  - **Best Predictability:** Context-4 (word) with 92.1% predictability
332
  - **Branching Factor:** Decreases with context size (more deterministic)
333
+ - **Memory Trade-off:** Larger contexts require more storage (1,432,910 contexts)
334
  - **Recommendation:** Context-3 or Context-4 for text generation
335
 
336
  ---
 
346
 
347
  | Metric | Value |
348
  |--------|-------|
349
+ | Vocabulary Size | 552,425 |
350
+ | Total Tokens | 74,325,511 |
351
+ | Mean Frequency | 134.54 |
352
  | Median Frequency | 4 |
353
+ | Frequency Std Dev | 9254.05 |
354
 
355
  ### Most Common Words
356
 
357
  | Rank | Word | Frequency |
358
  |------|------|-----------|
359
+ | 1 | de | 4,928,261 |
360
+ | 2 | la | 2,485,426 |
361
+ | 3 | y | 2,042,239 |
362
+ | 4 | d | 1,169,053 |
363
+ | 5 | a | 1,155,083 |
364
+ | 6 | del | 1,074,281 |
365
+ | 7 | en | 1,055,986 |
366
+ | 8 | que | 1,007,870 |
367
+ | 9 | los | 957,887 |
368
+ | 10 | l | 950,908 |
369
 
370
  ### Least Common Words (from vocabulary)
371
 
372
  | Rank | Word | Frequency |
373
  |------|------|-----------|
374
+ | 1 | leptafeke | 2 |
375
+ | 2 | haua | 2 |
376
+ | 3 | küzdoblani | 2 |
377
+ | 4 | contrarrellatu | 2 |
378
+ | 5 | semilleru | 2 |
379
+ | 6 | bisterca | 2 |
380
+ | 7 | šafarsko | 2 |
381
+ | 8 | vyfalu | 2 |
382
+ | 9 | ribich | 2 |
383
+ | 10 | lacos | 2 |
384
 
385
  ### Zipf's Law Analysis
386
 
387
  | Metric | Value |
388
  |--------|-------|
389
+ | Zipf Coefficient | 0.9990 |
390
+ | R² (Goodness of Fit) | 0.995611 |
391
  | Adherence Quality | **excellent** |
392
 
393
  ### Coverage Analysis
 
403
 
404
  - **Zipf Compliance:** R²=0.9956 indicates excellent adherence to Zipf's law
405
  - **High Frequency Dominance:** Top 100 words cover 41.7% of corpus
406
+ - **Long Tail:** 542,425 words needed for remaining 16.9% coverage
407
 
408
  ---
409
  ## 5. Word Embeddings Evaluation
 
419
 
420
  ### 5.1 Cross-Lingual Alignment
421
 
422
+ ![Alignment Quality](visualizations/embedding_alignment_quality.png)
423
+
424
+ ![Multilingual t-SNE](visualizations/embedding_tsne_multilingual.png)
425
 
426
 
427
  ### 5.2 Model Comparison
428
 
429
  | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
430
  |-------|-----------|----------|------------------|---------------|----------------|
431
+ | **mono_32d** | 32 | 0.7932 | 0.3820 | N/A | N/A |
432
+ | **mono_64d** | 64 | 0.7818 | 0.2979 | N/A | N/A |
433
+ | **mono_128d** | 128 | 0.7210 | 0.2388 | N/A | N/A |
434
+ | **aligned_32d** | 32 | 0.7932 🏆 | 0.3922 | 0.3820 | 0.7300 |
435
+ | **aligned_64d** | 64 | 0.7818 | 0.3048 | 0.5840 | 0.8840 |
436
+ | **aligned_128d** | 128 | 0.7210 | 0.2380 | 0.7080 | 0.9240 |
437
 
438
  ### Key Findings
439
 
440
+ - **Best Isotropy:** aligned_32d with 0.7932 (more uniform distribution)
441
+ - **Semantic Density:** Average pairwise similarity of 0.3090. Lower values indicate better semantic separation.
442
+ - **Alignment Quality:** Aligned models achieve up to 70.8% R@1 in cross-lingual retrieval.
443
  - **Recommendation:** 128d aligned for best cross-lingual performance
444
 
445
  ---
446
  ## 6. Morphological Analysis (Experimental)
447
 
 
 
448
  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.
449
 
450
  ### 6.1 Productivity & Complexity
451
 
452
  | Metric | Value | Interpretation | Recommendation |
453
  |--------|-------|----------------|----------------|
454
+ | Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
455
+ | Idiomaticity Gap | **-0.591** | Low formulaic content | - |
456
 
457
  ### 6.2 Affix Inventory (Productive Units)
458
 
 
461
  #### Productive Prefixes
462
  | Prefix | Examples |
463
  |--------|----------|
464
+ | `-co` | control, coetzee, conversión |
465
+ | `-ma` | manifiéstase, marinel, matraqueo |
466
+ | `-re` | rehnskiöld, rendimientos, reichholf |
 
 
467
 
468
  #### Productive Suffixes
469
  | Suffix | Examples |
470
  |--------|----------|
471
+ | `-s` | narganes, supracaudales, señálennos |
472
+ | `-a` | carga, balsámica, trueba |
473
+ | `-es` | narganes, supracaudales, rastres |
474
+ | `-os` | señálennos, sabéivos, visos |
475
+ | `-se` | escapóse, ñublense, manifiéstase |
476
+ | `-as` | tankas, aleutas, ḥechas |
 
477
 
478
  ### 6.3 Bound Stems (Lexical Roots)
479
 
 
481
 
482
  | Stem | Cohesion | Substitutability | Examples |
483
  |------|----------|------------------|----------|
484
+ | `iend` | 1.75x | 206 contexts | fiend, iendo, rienda |
485
+ | `ació` | 1.96x | 92 contexts | ñació, lació, xació |
486
+ | `ogra` | 1.57x | 189 contexts | logra, bogra, sogra |
487
+ | `ient` | 1.46x | 273 contexts | iente, cient, aient |
488
+ | `acio` | 1.55x | 167 contexts | bacio, facio, macio |
489
+ | `renc` | 1.71x | 99 contexts | frenc, lorenc, trench |
490
+ | `ntes` | 1.56x | 144 contexts | antes, entes, entesa |
491
+ | `enci` | 1.35x | 261 contexts | encia, cenci, venci |
492
+ | `efer` | 1.63x | 86 contexts | refer, defer, sefer |
493
+ | `ntos` | 1.72x | 67 contexts | antos, entos, tantos |
494
+ | `raci` | 1.41x | 164 contexts | racib, racio, iraci |
495
+ | `ontr` | 1.50x | 117 contexts | contr, kontra, lontra |
496
 
497
  ### 6.4 Affix Compatibility (Co-occurrence)
498
 
 
500
 
501
  | Prefix | Suffix | Frequency | Examples |
502
  |--------|--------|-----------|----------|
503
+ | `-co` | `-s` | 55 words | consentimientos, correllaciones |
504
+ | `-ma` | `-a` | 44 words | maniobraba, marra |
505
+ | `-ma` | `-s` | 40 words | macromicetes, maorís |
506
+ | `-re` | `-a` | 39 words | reflorestada, respondida |
507
+ | `-co` | `-a` | 37 words | comitia, cornigera |
508
+ | `-re` | `-s` | 33 words | refundiándoles, reprogramables |
509
+ | `-re` | `-se` | 27 words | reproducense, retomándose |
510
+ | `-co` | `-es` | 23 words | correllaciones, coeditores |
511
+ | `-co` | `-se` | 22 words | confiándose, comercializábense |
512
+ | `-re` | `-es` | 20 words | refundiándoles, reprogramables |
513
 
514
  ### 6.5 Recursive Morpheme Segmentation
515
 
 
517
 
518
  | Word | Suggested Split | Confidence | Stem |
519
  |------|-----------------|------------|------|
520
+ | clamorosos | **`clamor-os-os`** | 6.0 | `clamor` |
521
+ | doloroses | **`dolor-os-es`** | 6.0 | `dolor` |
522
+ | velenoses | **`velen-os-es`** | 6.0 | `velen` |
523
+ | escribiríase | **`escribiría-se`** | 4.5 | `escribiría` |
524
+ | mundiales | **`mundial-es`** | 4.5 | `mundial` |
525
+ | desgraciaos | **`desgracia-os`** | 4.5 | `desgracia` |
526
+ | alfayates | **`alfayat-es`** | 4.5 | `alfayat` |
527
+ | cristalizase | **`cristaliza-se`** | 4.5 | `cristaliza` |
528
+ | remensura | **`re-mensura`** | 4.5 | `mensura` |
529
+ | desequilibraos | **`desequilibra-os`** | 4.5 | `desequilibra` |
530
+ | decretase | **`decreta-se`** | 4.5 | `decreta` |
531
+ | coartífice | **`co-artífice`** | 4.5 | `artífice` |
532
+ | declaráse | **`declará-se`** | 4.5 | `declará` |
533
+ | reordenar | **`re-ordenar`** | 4.5 | `ordenar` |
534
+ | pediatres | **`pediatr-es`** | 4.5 | `pediatr` |
535
 
536
  ### 6.6 Linguistic Interpretation
537
 
538
  > **Automated Insight:**
539
+ The language Asturian shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
540
 
541
  ---
542
  ## 7. Summary & Recommendations
 
763
  ---
764
  *Generated by Wikilangs Models Pipeline*
765
 
766
+ *Report Date: 2026-01-04 02:53:18*
models/embeddings/aligned/ast_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:117e4af0e5eeebd084921ab7e00ceec3fdaf5da8a39ee75046517fbade337531
3
+ size 1521825637
models/embeddings/aligned/ast_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ast", "dim": 128, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/ast_128d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0933b97d07adce96c407981abf345cf4da38e52496f04bd5a25340f77949ffc6
3
+ size 65664
models/embeddings/aligned/ast_128d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ast",
3
+ "dimension": 128,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 153826,
7
+ "vocab_size": 477621
8
+ }
models/embeddings/aligned/ast_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24116b4c67245399819efd28c41d4e40aeae14cf5daac9443be544975c264282
3
+ size 387012709
models/embeddings/aligned/ast_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ast", "dim": 32, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/ast_32d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46da77c4ee9c3dbf33f571908ebcc536ec02c7a7c71822d393320c0e2ae81356
3
+ size 4224
models/embeddings/aligned/ast_32d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ast",
3
+ "dimension": 32,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 153826,
7
+ "vocab_size": 477621
8
+ }
models/embeddings/aligned/ast_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1f70d7b0780c34fd320fda5cc24a8a07da0788ffd1f0363aa1a63284f4cde73
3
+ size 765283685
models/embeddings/aligned/ast_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "ast", "dim": 64, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/ast_64d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7180fa74480d959c99d9b6e8438aa69d08493a73920b7efe643090e11e0531dc
3
+ size 16512
models/embeddings/aligned/ast_64d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "ast",
3
+ "dimension": 64,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 153826,
7
+ "vocab_size": 477621
8
+ }
models/embeddings/monolingual/ast_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8c4500458da720e9717e0be530291de837dfe1937d937d8f59cd5975214f6d01
3
- size 1526234273
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:117e4af0e5eeebd084921ab7e00ceec3fdaf5da8a39ee75046517fbade337531
3
+ size 1521825637
models/embeddings/monolingual/ast_128d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 128
13
  },
14
- "vocab_size": 481846
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 128
13
  },
14
+ "vocab_size": 477621
15
  }
models/embeddings/monolingual/ast_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aa3cdba099d3af49ab89043ad5713c1fe468060d520334f5200b000925a5e30e
3
- size 388176545
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24116b4c67245399819efd28c41d4e40aeae14cf5daac9443be544975c264282
3
+ size 387012709
models/embeddings/monolingual/ast_32d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 32
13
  },
14
- "vocab_size": 481846
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 32
13
  },
14
+ "vocab_size": 477621
15
  }
models/embeddings/monolingual/ast_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e24d4561e7c9f15e391c915d7d4096c8b8adf794324cd6df9a60e78e6f5fc6a
3
- size 767529121
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1f70d7b0780c34fd320fda5cc24a8a07da0788ffd1f0363aa1a63284f4cde73
3
+ size 765283685
models/embeddings/monolingual/ast_64d_metadata.json CHANGED
@@ -11,5 +11,5 @@
11
  "encoding_method": "rope",
12
  "dim": 64
13
  },
14
- "vocab_size": 481846
15
  }
 
11
  "encoding_method": "rope",
12
  "dim": 64
13
  },
14
+ "vocab_size": 477621
15
  }
models/subword_markov/ast_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1b9be5fbc395f6cb378f05193e1ba7234945d9bca4e71b4cdad6aea648215809
3
- size 555949
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb148bb49ec5b1e60c50c2b01fac8cc9efe43fa2426141589a2cf61214e447d5
3
+ size 554253
models/subword_markov/ast_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_contexts": 10463,
6
- "total_transitions": 464881103
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_contexts": 10438,
6
+ "total_transitions": 460362172
7
  }
models/subword_markov/ast_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0a7c5f99ccca8b527cebd7afb3189b4a99a6cc219cd1b861b501d17180c93b0
3
- size 2891072
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3f62c27dcd1d6690cf3f120e2f6a5c6224a17e0b6fff5b98a2c7fd95b82a98d
3
+ size 2877694
models/subword_markov/ast_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_contexts": 83437,
6
- "total_transitions": 464744539
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_contexts": 83238,
6
+ "total_transitions": 460224997
7
  }
models/subword_markov/ast_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c060d1174629162cb8911f78054119018ce6e2fc628936bfdeb36691d35489c
3
- size 11949355
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77c6f32d39e8a6d9e1e19e90d355f3621fa0210f657c9f5552ad05bd47ee32b3
3
+ size 11877512
models/subword_markov/ast_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_contexts": 357207,
6
- "total_transitions": 464607975
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_contexts": 356042,
6
+ "total_transitions": 460087822
7
  }
models/subword_markov/ast_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60988880010bce63ffacea78379f2d4b447c453dc44f6445a08b1d6e123f645c
3
- size 39925220
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4775656e3f03420f4fc0be3be8cec53ea2eeef71de2b991104aa1e8c1d6cf3d1
3
+ size 39682149
models/subword_markov/ast_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_contexts": 1439883,
6
- "total_transitions": 464471411
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_contexts": 1432910,
6
+ "total_transitions": 459950647
7
  }
models/subword_ngram/ast_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c50ba055002320ed277521dcbb25feecc7139a7b02e23e72ca8255ada347410
3
- size 259482
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd56e2dc4be03e73c58db00b0c03abc8ff8608831df1dea23265308969403942
3
+ size 258342
models/subword_ngram/ast_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_ngrams": 19069,
6
- "total_ngrams": 464881103
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_ngrams": 19027,
6
+ "total_ngrams": 460362172
7
  }
models/subword_ngram/ast_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d1ee7e63a9f92e3bf668df5f64f593ca6671568eb54bc02ab9e3b50ee2ae7ae4
3
- size 1721257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3cd57d086dcd78e58fdd8bac38b219f34dbf57fee3c237dbbfdecb422adb23a
3
+ size 1714771
models/subword_ngram/ast_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_ngrams": 139212,
6
- "total_ngrams": 464744539
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_ngrams": 138526,
6
+ "total_ngrams": 460224997
7
  }
models/subword_ngram/ast_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:390181c0c7fcc8b118b108e18cb830493109f584b4b87f76850993e3e9dda0be
3
- size 9353492
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0051215fc5b8e570546b680968cec7a30ab1f1f40d6482abe8de8d64d76e87ec
3
+ size 9315195
models/subword_ngram/ast_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "ast",
5
- "unique_ngrams": 791795,
6
- "total_ngrams": 464607975
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "ast",
5
+ "unique_ngrams": 787142,
6
+ "total_ngrams": 460087822
7
  }
models/subword_ngram/ast_5gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:871de8d8f7a57fbba09ee3607d3553722836a85cb02b7adf1d183a8d446d56bc
3
+ size 32616953
models/subword_ngram/ast_5gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 5,
3
+ "variant": "subword",
4
+ "language": "ast",
5
+ "unique_ngrams": 2701102,
6
+ "total_ngrams": 459950647
7
+ }
models/tokenizer/ast_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5014581384d443a91ffa0f71150e3ecc09244a1056ad046785f8b8cbc4ce42c
3
- size 511145
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f71c401c7da4eae84721cbc123f1a6c235b7b1dfb462c41451d14637fbd86d10
3
+ size 511158
models/tokenizer/ast_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ast_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:13c458e53178d158dee7ca9d93a562de7bf19975484f7e21af497697c021bb6a
3
- size 791500
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2353fc5e2eeb724a4586cd0f7378c79af690b3d40482e80b53694caf29b8817c
3
+ size 791804
models/tokenizer/ast_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ast_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b619430c9173d8e202e7905a328c5bca3d915f85a3540adb29b3d6230f10d749
3
- size 1364026
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d86bf05751a152a6024ebd6b9ebc7e1593e13e0b64e8fdfe5ba1d6d641c2157
3
+ size 1362774
models/tokenizer/ast_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/ast_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8172313a7a1d41e2c61618ad0fab8a1cbd16688f798c007cba80fce5c693133c
3
- size 374227
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26e667c6c5b39bfc7a35b0bf9804eeb48c0be5a5d7d5c17c20b250dc8ea4b8aa
3
+ size 374247
models/tokenizer/ast_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/ast_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:42abd03dfba1393adae66a9e07842fcb85830c5f2dbcb0e037ab56b27fbc8846
3
- size 8277795
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:930ab27518f9c77e63b8bcae7de6399074a0884205bb19a395d1e16cff2aa7f6
3
+ size 8227892
models/vocabulary/ast_vocabulary_metadata.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
  "language": "ast",
3
- "vocabulary_size": 555056,
4
  "variant": "full",
5
  "statistics": {
6
- "type_token_ratio": 0.015923489955309757,
7
  "coverage": {
8
- "top_100": 0.4129270164572954,
9
- "top_1000": 0.6027767233040656,
10
- "top_5000": 0.7612431178669916,
11
- "top_10000": 0.8237422388332004
12
  },
13
- "hapax_count": 650708,
14
- "hapax_ratio": 0.5396644782892838,
15
- "total_documents": 136564
16
  }
17
  }
 
1
  {
2
  "language": "ast",
3
+ "vocabulary_size": 552425,
4
  "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.01602418347861808,
7
  "coverage": {
8
+ "top_100": 0.41323848400651364,
9
+ "top_1000": 0.6030334770795577,
10
+ "top_5000": 0.7613726113859179,
11
+ "top_10000": 0.8238610516208773
12
  },
13
+ "hapax_count": 648980,
14
+ "hapax_ratio": 0.5401842009979981,
15
+ "total_documents": 137175
16
  }
17
  }
models/word_markov/ast_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df2720891f77ec4fc87c424807076f856c9ebed7d35e8609e740c581e849ba43
3
- size 130011519
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f34a0e11a7a033e74913e1642c39e04f60936c0248ff641be2235ae59cd00cd9
3
+ size 128939886
models/word_markov/ast_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "ast",
5
- "unique_contexts": 1204316,
6
- "total_transitions": 75585781
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "ast",
5
+ "unique_contexts": 1199957,
6
+ "total_transitions": 74837316
7
  }
models/word_markov/ast_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:360e77ba671d9d79ef0176080b3098535eb366bbb657d0a5d965de6cbcaaf01a
3
- size 443953571
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71190039873c4a7ec294548046388646c3565a4912b05be4866e1a392e872a8e
3
+ size 440719621
models/word_markov/ast_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "ast",
5
- "unique_contexts": 15634564,
6
- "total_transitions": 75449217
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "ast",
5
+ "unique_contexts": 15504920,
6
+ "total_transitions": 74700141
7
  }