Upload all models and assets for bdr (20251001)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +5 -0
- README.md +709 -0
- models/embeddings/monolingual/bdr_128d.bin +3 -0
- models/embeddings/monolingual/bdr_128d.meta.json +1 -0
- models/embeddings/monolingual/bdr_128d_metadata.json +15 -0
- models/embeddings/monolingual/bdr_32d.bin +3 -0
- models/embeddings/monolingual/bdr_32d.meta.json +1 -0
- models/embeddings/monolingual/bdr_32d_metadata.json +15 -0
- models/embeddings/monolingual/bdr_64d.bin +3 -0
- models/embeddings/monolingual/bdr_64d.meta.json +1 -0
- models/embeddings/monolingual/bdr_64d_metadata.json +15 -0
- models/subword_markov/bdr_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/bdr_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/bdr_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/bdr_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/bdr_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/bdr_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/bdr_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/bdr_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/bdr_2gram_subword.parquet +3 -0
- models/subword_ngram/bdr_2gram_subword_metadata.json +7 -0
- models/subword_ngram/bdr_3gram_subword.parquet +3 -0
- models/subword_ngram/bdr_3gram_subword_metadata.json +7 -0
- models/subword_ngram/bdr_4gram_subword.parquet +3 -0
- models/subword_ngram/bdr_4gram_subword_metadata.json +7 -0
- models/tokenizer/bdr_tokenizer_8k.model +3 -0
- models/tokenizer/bdr_tokenizer_8k.vocab +0 -0
- models/vocabulary/bdr_vocabulary.parquet +3 -0
- models/vocabulary/bdr_vocabulary_metadata.json +16 -0
- models/word_markov/bdr_markov_ctx1_word.parquet +3 -0
- models/word_markov/bdr_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/bdr_markov_ctx2_word.parquet +3 -0
- models/word_markov/bdr_markov_ctx2_word_metadata.json +7 -0
- models/word_markov/bdr_markov_ctx3_word.parquet +3 -0
- models/word_markov/bdr_markov_ctx3_word_metadata.json +7 -0
- models/word_markov/bdr_markov_ctx4_word.parquet +3 -0
- models/word_markov/bdr_markov_ctx4_word_metadata.json +7 -0
- models/word_ngram/bdr_2gram_word.parquet +3 -0
- models/word_ngram/bdr_2gram_word_metadata.json +7 -0
- models/word_ngram/bdr_3gram_word.parquet +3 -0
- models/word_ngram/bdr_3gram_word_metadata.json +7 -0
- models/word_ngram/bdr_4gram_word.parquet +3 -0
- models/word_ngram/bdr_4gram_word_metadata.json +7 -0
- visualizations/embedding_isotropy.png +0 -0
- visualizations/embedding_norms.png +0 -0
- visualizations/embedding_similarity.png +3 -0
- visualizations/markov_branching.png +0 -0
- visualizations/markov_contexts.png +0 -0
- visualizations/markov_entropy.png +0 -0
- visualizations/model_sizes.png +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,709 @@
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: bdr
|
| 3 |
+
language_name: BDR
|
| 4 |
+
language_family: austronesian_other
|
| 5 |
+
tags:
|
| 6 |
+
- wikilangs
|
| 7 |
+
- nlp
|
| 8 |
+
- tokenizer
|
| 9 |
+
- embeddings
|
| 10 |
+
- n-gram
|
| 11 |
+
- markov
|
| 12 |
+
- wikipedia
|
| 13 |
+
- monolingual
|
| 14 |
+
- family-austronesian_other
|
| 15 |
+
license: mit
|
| 16 |
+
library_name: wikilangs
|
| 17 |
+
pipeline_tag: feature-extraction
|
| 18 |
+
datasets:
|
| 19 |
+
- omarkamali/wikipedia-monthly
|
| 20 |
+
dataset_info:
|
| 21 |
+
name: wikipedia-monthly
|
| 22 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 23 |
+
metrics:
|
| 24 |
+
- name: best_compression_ratio
|
| 25 |
+
type: compression
|
| 26 |
+
value: 4.792
|
| 27 |
+
- name: best_isotropy
|
| 28 |
+
type: isotropy
|
| 29 |
+
value: 0.0482
|
| 30 |
+
- name: vocabulary_size
|
| 31 |
+
type: vocab
|
| 32 |
+
value: 0
|
| 33 |
+
generated: 2026-01-03
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# BDR - Wikilangs Models
|
| 37 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 38 |
+
|
| 39 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **BDR** Wikipedia data.
|
| 40 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 41 |
+
|
| 42 |
+
## 📋 Repository Contents
|
| 43 |
+
|
| 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 |
+

|
| 55 |
+
|
| 56 |
+
### Analysis and Evaluation
|
| 57 |
+
|
| 58 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 59 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-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 |
+
|
| 68 |
+
---
|
| 69 |
+
## 1. Tokenizer Evaluation
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+

|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
|
| 77 |
+

|
| 78 |
+
|
| 79 |
+
### Results
|
| 80 |
+
|
| 81 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 82 |
+
|------------|-------------|---------------|----------|--------------|
|
| 83 |
+
| **8k** | 4.792x 🏆 | 4.81 | 0.1661% | 33,107 |
|
| 84 |
+
|
| 85 |
+
### Tokenization Examples
|
| 86 |
+
|
| 87 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 88 |
+
|
| 89 |
+
**Sample 1:** `Nimbug iyono indu' manuk nuut ngentelo ta' keteraan manuk lain.`
|
| 90 |
+
|
| 91 |
+
| Vocab | Tokens | Count |
|
| 92 |
+
|-------|--------|-------|
|
| 93 |
+
| 8k | `▁nimbug ▁iyono ▁indu ' ▁manuk ▁nuut ▁ngentelo ▁ta ' ▁keteraan ... (+3 more)` | 13 |
|
| 94 |
+
|
| 95 |
+
**Sample 2:** `Raja iyo no' dangan jomo kuleh kuasa diom pemerintah dikau kerajaan.Endo rojo pi...`
|
| 96 |
+
|
| 97 |
+
| Vocab | Tokens | Count |
|
| 98 |
+
|-------|--------|-------|
|
| 99 |
+
| 8k | `▁raja ▁iyo ▁no ' ▁dangan ▁jomo ▁kuleh ▁kuasa ▁diom ▁pemerintah ... (+20 more)` | 30 |
|
| 100 |
+
|
| 101 |
+
**Sample 3:** `Para-para iyo no tempat ngena segala barang enjata rak`
|
| 102 |
+
|
| 103 |
+
| Vocab | Tokens | Count |
|
| 104 |
+
|-------|--------|-------|
|
| 105 |
+
| 8k | `▁para - para ▁iyo ▁no ▁tempat ▁ngena ▁segala ▁barang ▁enjata ... (+1 more)` | 11 |
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
### Key Findings
|
| 109 |
+
|
| 110 |
+
- **Best Compression:** 8k achieves 4.792x compression
|
| 111 |
+
- **Lowest UNK Rate:** 8k with 0.1661% unknown tokens
|
| 112 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 113 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
## 2. N-gram Model Evaluation
|
| 117 |
+
|
| 118 |
+

|
| 119 |
+
|
| 120 |
+

|
| 121 |
+
|
| 122 |
+

|
| 123 |
+
|
| 124 |
+
### Results
|
| 125 |
+
|
| 126 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 127 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 128 |
+
| **2-gram** | Word | 287 | 8.16 | 401 | 53.3% | 100.0% |
|
| 129 |
+
| **2-gram** | Subword | 181 🏆 | 7.50 | 597 | 77.1% | 100.0% |
|
| 130 |
+
| **3-gram** | Word | 221 | 7.79 | 271 | 59.6% | 100.0% |
|
| 131 |
+
| **3-gram** | Subword | 1,140 | 10.15 | 3,421 | 32.8% | 85.1% |
|
| 132 |
+
| **4-gram** | Word | 273 | 8.09 | 346 | 51.1% | 100.0% |
|
| 133 |
+
| **4-gram** | Subword | 4,426 | 12.11 | 11,413 | 17.0% | 52.6% |
|
| 134 |
+
|
| 135 |
+
### Top 5 N-grams by Size
|
| 136 |
+
|
| 137 |
+
**2-grams (Word):**
|
| 138 |
+
|
| 139 |
+
| Rank | N-gram | Count |
|
| 140 |
+
|------|--------|-------|
|
| 141 |
+
| 1 | `tungan metelak` | 162 |
|
| 142 |
+
| 2 | `iyo no` | 138 |
|
| 143 |
+
| 3 | `iyo noh` | 69 |
|
| 144 |
+
| 4 | `iyo tu` | 68 |
|
| 145 |
+
| 5 | `bioso ni` | 45 |
|
| 146 |
+
|
| 147 |
+
**3-grams (Word):**
|
| 148 |
+
|
| 149 |
+
| Rank | N-gram | Count |
|
| 150 |
+
|------|--------|-------|
|
| 151 |
+
| 1 | `ma na ni` | 40 |
|
| 152 |
+
| 2 | `dewan undangan negeri` | 26 |
|
| 153 |
+
| 3 | `undangan negeri sabah` | 25 |
|
| 154 |
+
| 4 | `iyo tu dangan` | 19 |
|
| 155 |
+
| 5 | `tungan metelak dendo` | 18 |
|
| 156 |
+
|
| 157 |
+
**4-grams (Word):**
|
| 158 |
+
|
| 159 |
+
| Rank | N-gram | Count |
|
| 160 |
+
|------|--------|-------|
|
| 161 |
+
| 1 | `dewan undangan negeri sabah` | 25 |
|
| 162 |
+
| 2 | `tungan metelak dendo malaysia` | 18 |
|
| 163 |
+
| 3 | `sama ma na ni` | 14 |
|
| 164 |
+
| 4 | `iyo no endangan jomo` | 12 |
|
| 165 |
+
| 5 | `no endangan jomo politik` | 12 |
|
| 166 |
+
|
| 167 |
+
**2-grams (Subword):**
|
| 168 |
+
|
| 169 |
+
| Rank | N-gram | Count |
|
| 170 |
+
|------|--------|-------|
|
| 171 |
+
| 1 | `a n` | 5,437 |
|
| 172 |
+
| 2 | `n _` | 3,734 |
|
| 173 |
+
| 3 | `n g` | 3,473 |
|
| 174 |
+
| 4 | `i _` | 3,019 |
|
| 175 |
+
| 5 | `_ t` | 2,998 |
|
| 176 |
+
|
| 177 |
+
**3-grams (Subword):**
|
| 178 |
+
|
| 179 |
+
| Rank | N-gram | Count |
|
| 180 |
+
|------|--------|-------|
|
| 181 |
+
| 1 | `a n _` | 2,443 |
|
| 182 |
+
| 2 | `a n g` | 1,577 |
|
| 183 |
+
| 3 | `n g _` | 1,357 |
|
| 184 |
+
| 4 | `_ t a` | 1,076 |
|
| 185 |
+
| 5 | `_ n i` | 987 |
|
| 186 |
+
|
| 187 |
+
**4-grams (Subword):**
|
| 188 |
+
|
| 189 |
+
| Rank | N-gram | Count |
|
| 190 |
+
|------|--------|-------|
|
| 191 |
+
| 1 | `a n g _` | 910 |
|
| 192 |
+
| 2 | `_ n i _` | 650 |
|
| 193 |
+
| 3 | `_ i y o` | 643 |
|
| 194 |
+
| 4 | `n g a n` | 619 |
|
| 195 |
+
| 5 | `g a n _` | 579 |
|
| 196 |
+
|
| 197 |
+
|
| 198 |
+
### Key Findings
|
| 199 |
+
|
| 200 |
+
- **Best Perplexity:** 2-gram (subword) with 181
|
| 201 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 202 |
+
- **Coverage:** Top-1000 patterns cover ~53% of corpus
|
| 203 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 204 |
+
|
| 205 |
+
---
|
| 206 |
+
## 3. Markov Chain Evaluation
|
| 207 |
+
|
| 208 |
+

|
| 209 |
+
|
| 210 |
+

|
| 211 |
+
|
| 212 |
+

|
| 213 |
+
|
| 214 |
+
### Results
|
| 215 |
+
|
| 216 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 217 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 218 |
+
| **1** | Word | 0.8053 | 1.747 | 3.60 | 5,241 | 19.5% |
|
| 219 |
+
| **1** | Subword | 1.4652 | 2.761 | 11.14 | 104 | 0.0% |
|
| 220 |
+
| **2** | Word | 0.1666 | 1.122 | 1.26 | 18,592 | 83.3% |
|
| 221 |
+
| **2** | Subword | 1.1951 | 2.290 | 5.74 | 1,154 | 0.0% |
|
| 222 |
+
| **3** | Word | 0.0377 | 1.026 | 1.05 | 22,996 | 96.2% |
|
| 223 |
+
| **3** | Subword | 0.7985 | 1.739 | 3.15 | 6,603 | 20.2% |
|
| 224 |
+
| **4** | Word | 0.0104 🏆 | 1.007 | 1.01 | 23,590 | 99.0% |
|
| 225 |
+
| **4** | Subword | 0.5443 | 1.458 | 2.09 | 20,699 | 45.6% |
|
| 226 |
+
|
| 227 |
+
### Generated Text Samples (Word-based)
|
| 228 |
+
|
| 229 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 230 |
+
|
| 231 |
+
**Context Size 1:**
|
| 232 |
+
|
| 233 |
+
1. `ni ta lok kuah engko tangsi selegubdi tu terhasil moko dangan pelego dendo malaysia beliau tu`
|
| 234 |
+
2. `tu tungan ni un duo ni mediam tepung buas tak sekul tena tana amun pinapi enggo`
|
| 235 |
+
3. `iyo boi nilego oleg ni jomo yang bok ni pan akan buan raya kota belud tu`
|
| 236 |
+
|
| 237 |
+
**Context Size 2:**
|
| 238 |
+
|
| 239 |
+
1. `iyo no nyaun preskripsi toos bineli ta farmasi atau mediam kadai yang nyaun sebarang halangan engko ...`
|
| 240 |
+
2. `iyo noh kui tradisional jomo mitu sabah kui tu bentuk ni dokon indung jari engko binuat lua`
|
| 241 |
+
3. `iyo tu boi ni urus le ni gua a masi un sampai betiru terutama ni sembiang pardu`
|
| 242 |
+
|
| 243 |
+
**Context Size 3:**
|
| 244 |
+
|
| 245 |
+
1. `ma na ni teko ta tampat tungan setemu tapi jomo tenemuan ai no lumaan`
|
| 246 |
+
2. `dewan undangan negeri sabah ta kewasan tempasuk lua tungan metelak politik malaysia di pertua laat a...`
|
| 247 |
+
3. `undangan negeri sabah betiru`
|
| 248 |
+
|
| 249 |
+
**Context Size 4:**
|
| 250 |
+
|
| 251 |
+
1. `dewan undangan negeri sabah dun lua september tu anggota pertubuhan kebangsaan melayu bersatu malays...`
|
| 252 |
+
2. `sama ma na ni ai ngemban matai`
|
| 253 |
+
3. `ahli dewan undangan negeri sabah dewan undangan negeri sabah dewan undangan negeri sabah ta kewasan ...`
|
| 254 |
+
|
| 255 |
+
|
| 256 |
+
### Generated Text Samples (Subword-based)
|
| 257 |
+
|
| 258 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 259 |
+
|
| 260 |
+
**Context Size 1:**
|
| 261 |
+
|
| 262 |
+
1. `_njano-bo_cseria`
|
| 263 |
+
2. `anegal_8_t_bu"_b`
|
| 264 |
+
3. `ngim_nd_bo_isaup`
|
| 265 |
+
|
| 266 |
+
**Context Size 2:**
|
| 267 |
+
|
| 268 |
+
1. `an_kain_tamuḥamal`
|
| 269 |
+
2. `n_jom_no_turi_mud`
|
| 270 |
+
3. `ngko_ta_tang_boi_`
|
| 271 |
+
|
| 272 |
+
**Context Size 3:**
|
| 273 |
+
|
| 274 |
+
1. `an_ni_ana'_nakasal`
|
| 275 |
+
2. `ang_jomo_untuan_ta`
|
| 276 |
+
3. `ng_teali_pulo_ko'_`
|
| 277 |
+
|
| 278 |
+
**Context Size 4:**
|
| 279 |
+
|
| 280 |
+
1. `ang_sefalopod_lua'_`
|
| 281 |
+
2. `_ni_denga_septembag`
|
| 282 |
+
3. `_iyo_no_telia_punya`
|
| 283 |
+
|
| 284 |
+
|
| 285 |
+
### Key Findings
|
| 286 |
+
|
| 287 |
+
- **Best Predictability:** Context-4 (word) with 99.0% predictability
|
| 288 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 289 |
+
- **Memory Trade-off:** Larger contexts require more storage (20,699 contexts)
|
| 290 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 291 |
+
|
| 292 |
+
---
|
| 293 |
+
## 4. Vocabulary Analysis
|
| 294 |
+
|
| 295 |
+

|
| 296 |
+
|
| 297 |
+

|
| 298 |
+
|
| 299 |
+

|
| 300 |
+
|
| 301 |
+
### Statistics
|
| 302 |
+
|
| 303 |
+
| Metric | Value |
|
| 304 |
+
|--------|-------|
|
| 305 |
+
| Vocabulary Size | 2,342 |
|
| 306 |
+
| Total Tokens | 23,366 |
|
| 307 |
+
| Mean Frequency | 9.98 |
|
| 308 |
+
| Median Frequency | 3 |
|
| 309 |
+
| Frequency Std Dev | 33.27 |
|
| 310 |
+
|
| 311 |
+
### Most Common Words
|
| 312 |
+
|
| 313 |
+
| Rank | Word | Frequency |
|
| 314 |
+
|------|------|-----------|
|
| 315 |
+
| 1 | ni | 760 |
|
| 316 |
+
| 2 | tu | 584 |
|
| 317 |
+
| 3 | iyo | 549 |
|
| 318 |
+
| 4 | ta | 455 |
|
| 319 |
+
| 5 | yang | 382 |
|
| 320 |
+
| 6 | boi | 354 |
|
| 321 |
+
| 7 | pan | 303 |
|
| 322 |
+
| 8 | kok | 280 |
|
| 323 |
+
| 9 | jomo | 275 |
|
| 324 |
+
| 10 | tungan | 250 |
|
| 325 |
+
|
| 326 |
+
### Least Common Words (from vocabulary)
|
| 327 |
+
|
| 328 |
+
| Rank | Word | Frequency |
|
| 329 |
+
|------|------|-----------|
|
| 330 |
+
| 1 | pelikat | 2 |
|
| 331 |
+
| 2 | avi | 2 |
|
| 332 |
+
| 3 | me | 2 |
|
| 333 |
+
| 4 | jewatan | 2 |
|
| 334 |
+
| 5 | michael | 2 |
|
| 335 |
+
| 6 | joseph | 2 |
|
| 336 |
+
| 7 | ho | 2 |
|
| 337 |
+
| 8 | ny | 2 |
|
| 338 |
+
| 9 | pembunuh | 2 |
|
| 339 |
+
| 10 | mundu | 2 |
|
| 340 |
+
|
| 341 |
+
### Zipf's Law Analysis
|
| 342 |
+
|
| 343 |
+
| Metric | Value |
|
| 344 |
+
|--------|-------|
|
| 345 |
+
| Zipf Coefficient | 0.9532 |
|
| 346 |
+
| R² (Goodness of Fit) | 0.984280 |
|
| 347 |
+
| Adherence Quality | **excellent** |
|
| 348 |
+
|
| 349 |
+
### Coverage Analysis
|
| 350 |
+
|
| 351 |
+
| Top N Words | Coverage |
|
| 352 |
+
|-------------|----------|
|
| 353 |
+
| Top 100 | 45.5% |
|
| 354 |
+
| Top 1,000 | 85.6% |
|
| 355 |
+
| Top 5,000 | 0.0% |
|
| 356 |
+
| Top 10,000 | 0.0% |
|
| 357 |
+
|
| 358 |
+
### Key Findings
|
| 359 |
+
|
| 360 |
+
- **Zipf Compliance:** R²=0.9843 indicates excellent adherence to Zipf's law
|
| 361 |
+
- **High Frequency Dominance:** Top 100 words cover 45.5% of corpus
|
| 362 |
+
- **Long Tail:** -7,658 words needed for remaining 100.0% coverage
|
| 363 |
+
|
| 364 |
+
---
|
| 365 |
+
## 5. Word Embeddings Evaluation
|
| 366 |
+
|
| 367 |
+

|
| 368 |
+
|
| 369 |
+

|
| 370 |
+
|
| 371 |
+

|
| 372 |
+
|
| 373 |
+

|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
### 5.1 Cross-Lingual Alignment
|
| 377 |
+
|
| 378 |
+
> *Note: Multilingual alignment visualization not available for this language.*
|
| 379 |
+
|
| 380 |
+
|
| 381 |
+
### 5.2 Model Comparison
|
| 382 |
+
|
| 383 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 384 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 385 |
+
| **mono_32d** | 32 | 0.0482 🏆 | 0.8825 | N/A | N/A |
|
| 386 |
+
| **mono_64d** | 64 | 0.0132 | 0.9050 | N/A | N/A |
|
| 387 |
+
| **mono_128d** | 128 | 0.0053 | 0.9273 | N/A | N/A |
|
| 388 |
+
|
| 389 |
+
### Key Findings
|
| 390 |
+
|
| 391 |
+
- **Best Isotropy:** mono_32d with 0.0482 (more uniform distribution)
|
| 392 |
+
- **Semantic Density:** Average pairwise similarity of 0.9049. Lower values indicate better semantic separation.
|
| 393 |
+
- **Alignment Quality:** No aligned models evaluated in this run.
|
| 394 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 395 |
+
|
| 396 |
+
---
|
| 397 |
+
## 6. Morphological Analysis (Experimental)
|
| 398 |
+
|
| 399 |
+
> ⚠️ **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.
|
| 400 |
+
|
| 401 |
+
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.
|
| 402 |
+
|
| 403 |
+
### 6.1 Productivity & Complexity
|
| 404 |
+
|
| 405 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 406 |
+
|--------|-------|----------------|----------------|
|
| 407 |
+
| Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
|
| 408 |
+
| Idiomaticity Gap | **-1.000** | Low formulaic content | - |
|
| 409 |
+
|
| 410 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 411 |
+
|
| 412 |
+
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.
|
| 413 |
+
|
| 414 |
+
#### Productive Prefixes
|
| 415 |
+
| Prefix | Examples |
|
| 416 |
+
|--------|----------|
|
| 417 |
+
| `-pe` | petaling, pekakas, peketa |
|
| 418 |
+
| `-se` | sejak, seniram, sejati |
|
| 419 |
+
| `-ke` | kenangan, kerita, keratas |
|
| 420 |
+
| `-te` | tehe, tempoh, tetiak |
|
| 421 |
+
| `-me` | meruma, menurut, melioro |
|
| 422 |
+
| `-be` | berukuran, berfikir, benua |
|
| 423 |
+
|
| 424 |
+
#### Productive Suffixes
|
| 425 |
+
| Suffix | Examples |
|
| 426 |
+
|--------|----------|
|
| 427 |
+
| `-n` | kumpulan, regisin, haiwan |
|
| 428 |
+
| `-an` | kumpulan, haiwan, berukuran |
|
| 429 |
+
| `-ng` | petaling, kantung, ngulang |
|
| 430 |
+
| `-ang` | ngulang, manang, sayang |
|
| 431 |
+
| `-ah` | tah, fatimah, umrah |
|
| 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 |
+
*No significant bound stems detected.*
|
| 438 |
+
|
| 439 |
+
|
| 440 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 441 |
+
|
| 442 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 443 |
+
|
| 444 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 445 |
+
|--------|--------|-----------|----------|
|
| 446 |
+
| `-pe` | `-n` | 55 words | pelan, pentaran |
|
| 447 |
+
| `-pe` | `-an` | 49 words | pelan, pentaran |
|
| 448 |
+
| `-ke` | `-n` | 42 words | kenangan, keteraan |
|
| 449 |
+
| `-ke` | `-an` | 36 words | kenangan, keteraan |
|
| 450 |
+
| `-se` | `-n` | 11 words | sebahagian, selain |
|
| 451 |
+
| `-te` | `-n` | 9 words | temban, tenomon |
|
| 452 |
+
| `-se` | `-ng` | 9 words | sedong, sepanjang |
|
| 453 |
+
| `-me` | `-n` | 9 words | mesimpon, meluman |
|
| 454 |
+
| `-pe` | `-ng` | 7 words | petaling, pelancong |
|
| 455 |
+
| `-be` | `-n` | 7 words | berukuran, been |
|
| 456 |
+
|
| 457 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 458 |
+
|
| 459 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 460 |
+
|
| 461 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 462 |
+
|------|-----------------|------------|------|
|
| 463 |
+
| kebenyakan | **`ke-be-nyak-an`** | 7.5 | `nyak` |
|
| 464 |
+
| kebangsaan | **`ke-bangsa-an`** | 6.0 | `bangsa` |
|
| 465 |
+
| kelebihan | **`ke-lebih-an`** | 6.0 | `lebih` |
|
| 466 |
+
| kelahiran | **`ke-lahir-an`** | 6.0 | `lahir` |
|
| 467 |
+
| keramaian | **`ke-ramai-an`** | 6.0 | `ramai` |
|
| 468 |
+
| kepulauan | **`ke-pulau-an`** | 6.0 | `pulau` |
|
| 469 |
+
| kebudayaan | **`ke-budaya-an`** | 6.0 | `budaya` |
|
| 470 |
+
| keputeraan | **`ke-putera-an`** | 6.0 | `putera` |
|
| 471 |
+
| sedembila | **`se-dembila`** | 4.5 | `dembila` |
|
| 472 |
+
| perpisahan | **`pe-rpis-ah-an`** | 4.5 | `rpis` |
|
| 473 |
+
| keselamatan | **`ke-se-lamat-an`** | 4.5 | `lamat` |
|
| 474 |
+
| pernikahan | **`pe-rnik-ah-an`** | 4.5 | `rnik` |
|
| 475 |
+
| perjuangan | **`pe-rjua-ng-an`** | 4.5 | `rjua` |
|
| 476 |
+
| kemerdekaan | **`ke-me-rdeka-an`** | 4.5 | `rdeka` |
|
| 477 |
+
| kepelbagaian | **`ke-pe-lbagai-an`** | 4.5 | `lbagai` |
|
| 478 |
+
|
| 479 |
+
### 6.6 Linguistic Interpretation
|
| 480 |
+
|
| 481 |
+
> **Automated Insight:**
|
| 482 |
+
The language BDR 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.
|
| 483 |
+
|
| 484 |
+
---
|
| 485 |
+
## 7. Summary & Recommendations
|
| 486 |
+
|
| 487 |
+

|
| 488 |
+
|
| 489 |
+
### Production Recommendations
|
| 490 |
+
|
| 491 |
+
| Component | Recommended | Rationale |
|
| 492 |
+
|-----------|-------------|-----------|
|
| 493 |
+
| Tokenizer | **8k BPE** | Best compression (4.79x) |
|
| 494 |
+
| N-gram | **2-gram** | Lowest perplexity (181) |
|
| 495 |
+
| Markov | **Context-4** | Highest predictability (99.0%) |
|
| 496 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 497 |
+
|
| 498 |
+
|
| 499 |
+
---
|
| 500 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 501 |
+
|
| 502 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 503 |
+
|
| 504 |
+
### Tokenizer Metrics
|
| 505 |
+
|
| 506 |
+
**Compression Ratio**
|
| 507 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 508 |
+
>
|
| 509 |
+
> *Intuition:* Higher compression means fewer tokens needed to represent the same text, reducing sequence lengths for downstream models. A 3x compression means ~3 characters per token on average.
|
| 510 |
+
>
|
| 511 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 512 |
+
|
| 513 |
+
**Average Token Length (Fertility)**
|
| 514 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 515 |
+
>
|
| 516 |
+
> *Intuition:* Reflects the granularity of tokenization. Longer tokens capture more context but may struggle with rare words; shorter tokens are more flexible but increase sequence length.
|
| 517 |
+
>
|
| 518 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 519 |
+
|
| 520 |
+
**Unknown Token Rate (OOV Rate)**
|
| 521 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 522 |
+
>
|
| 523 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 524 |
+
>
|
| 525 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 526 |
+
|
| 527 |
+
### N-gram Model Metrics
|
| 528 |
+
|
| 529 |
+
**Perplexity**
|
| 530 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 531 |
+
>
|
| 532 |
+
> *Intuition:* If perplexity is 100, the model is as uncertain as if choosing uniformly among 100 options at each step. A perplexity of 10 means effectively choosing among 10 equally likely options.
|
| 533 |
+
>
|
| 534 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 535 |
+
|
| 536 |
+
**Entropy**
|
| 537 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 538 |
+
>
|
| 539 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 540 |
+
>
|
| 541 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 542 |
+
|
| 543 |
+
**Coverage (Top-K)**
|
| 544 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 545 |
+
>
|
| 546 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 547 |
+
>
|
| 548 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 549 |
+
|
| 550 |
+
### Markov Chain Metrics
|
| 551 |
+
|
| 552 |
+
**Average Entropy**
|
| 553 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 554 |
+
>
|
| 555 |
+
> *Intuition:* Lower entropy means the model is more confident about what comes next. Context-1 has high entropy (many possible next words); Context-4 has low entropy (few likely continuations).
|
| 556 |
+
>
|
| 557 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 558 |
+
|
| 559 |
+
**Branching Factor**
|
| 560 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 561 |
+
>
|
| 562 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 563 |
+
>
|
| 564 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 565 |
+
|
| 566 |
+
**Predictability**
|
| 567 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 568 |
+
>
|
| 569 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 570 |
+
>
|
| 571 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 572 |
+
|
| 573 |
+
### Vocabulary & Zipf's Law Metrics
|
| 574 |
+
|
| 575 |
+
**Zipf's Coefficient**
|
| 576 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 577 |
+
>
|
| 578 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 579 |
+
>
|
| 580 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 581 |
+
|
| 582 |
+
**R² (Coefficient of Determination)**
|
| 583 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 584 |
+
>
|
| 585 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 586 |
+
>
|
| 587 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 588 |
+
|
| 589 |
+
**Vocabulary Coverage**
|
| 590 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 591 |
+
>
|
| 592 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 593 |
+
>
|
| 594 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 595 |
+
|
| 596 |
+
### Word Embedding Metrics
|
| 597 |
+
|
| 598 |
+
**Isotropy**
|
| 599 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 600 |
+
>
|
| 601 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 602 |
+
>
|
| 603 |
+
> *What to seek:* Higher isotropy generally indicates better-quality embeddings. Values > 0.1 are reasonable; > 0.3 is good. Lower-dimensional embeddings tend to have higher isotropy.
|
| 604 |
+
|
| 605 |
+
**Average Norm**
|
| 606 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 607 |
+
>
|
| 608 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 609 |
+
>
|
| 610 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 611 |
+
|
| 612 |
+
**Cosine Similarity**
|
| 613 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 614 |
+
>
|
| 615 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 616 |
+
>
|
| 617 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 618 |
+
|
| 619 |
+
**t-SNE Visualization**
|
| 620 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 621 |
+
>
|
| 622 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 623 |
+
>
|
| 624 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 625 |
+
|
| 626 |
+
### General Interpretation Guidelines
|
| 627 |
+
|
| 628 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 629 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 630 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 631 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 632 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 633 |
+
|
| 634 |
+
|
| 635 |
+
### Visualizations Index
|
| 636 |
+
|
| 637 |
+
| Visualization | Description |
|
| 638 |
+
|---------------|-------------|
|
| 639 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 640 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 641 |
+
| Tokenizer OOV | Unknown token rates |
|
| 642 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 643 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 644 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 645 |
+
| N-gram Coverage | Top pattern coverage |
|
| 646 |
+
| N-gram Unique | Unique n-gram counts |
|
| 647 |
+
| Markov Entropy | Entropy by context size |
|
| 648 |
+
| Markov Branching | Branching factor by context |
|
| 649 |
+
| Markov Contexts | Unique context counts |
|
| 650 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 651 |
+
| Vocab Frequency | Word frequency distribution |
|
| 652 |
+
| Top 20 Words | Most frequent words |
|
| 653 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 654 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 655 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 656 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 657 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 658 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 659 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 660 |
+
| Position Encoding | Encoding method comparison |
|
| 661 |
+
| Model Sizes | Storage requirements |
|
| 662 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 663 |
+
|
| 664 |
+
---
|
| 665 |
+
## About This Project
|
| 666 |
+
|
| 667 |
+
### Data Source
|
| 668 |
+
|
| 669 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 670 |
+
|
| 671 |
+
### Project
|
| 672 |
+
|
| 673 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 674 |
+
|
| 675 |
+
### Maintainer
|
| 676 |
+
|
| 677 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 678 |
+
|
| 679 |
+
### Citation
|
| 680 |
+
|
| 681 |
+
If you use these models in your research, please cite:
|
| 682 |
+
|
| 683 |
+
```bibtex
|
| 684 |
+
@misc{wikilangs2025,
|
| 685 |
+
author = {Kamali, Omar},
|
| 686 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 687 |
+
year = {2025},
|
| 688 |
+
doi = {10.5281/zenodo.18073153},
|
| 689 |
+
publisher = {Zenodo},
|
| 690 |
+
url = {https://huggingface.co/wikilangs}
|
| 691 |
+
institution = {Omneity Labs}
|
| 692 |
+
}
|
| 693 |
+
```
|
| 694 |
+
|
| 695 |
+
### License
|
| 696 |
+
|
| 697 |
+
MIT License - Free for academic and commercial use.
|
| 698 |
+
|
| 699 |
+
### Links
|
| 700 |
+
|
| 701 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 702 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 703 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 704 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 705 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 706 |
+
---
|
| 707 |
+
*Generated by Wikilangs Models Pipeline*
|
| 708 |
+
|
| 709 |
+
*Report Date: 2026-01-03 06:44:23*
|
models/embeddings/monolingual/bdr_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14901cc49f6d41fceff30e160e6f74a2d3e4c31128383c0eb0c581df8f55667d
|
| 3 |
+
size 1024837728
|
models/embeddings/monolingual/bdr_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bdr", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bdr_128d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bdr",
|
| 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": 806
|
| 15 |
+
}
|
models/embeddings/monolingual/bdr_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa045fafcb5ac078ce6dc442fa1420ea920b282300bd6a2013469a40763dfb5e
|
| 3 |
+
size 256218720
|
models/embeddings/monolingual/bdr_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bdr", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bdr_32d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bdr",
|
| 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": 806
|
| 15 |
+
}
|
models/embeddings/monolingual/bdr_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f57494e6d97c810c174b928ec3c054ba096b896edd93f5bb2951c51ea1469fb
|
| 3 |
+
size 512425056
|
models/embeddings/monolingual/bdr_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bdr", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bdr_64d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bdr",
|
| 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": 806
|
| 15 |
+
}
|
models/subword_markov/bdr_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:90dd99baf68b20403d569b8e5f8d37366e4ddf2960b74590e45c40e1931d3cf1
|
| 3 |
+
size 12465
|
models/subword_markov/bdr_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 104,
|
| 6 |
+
"total_transitions": 158102
|
| 7 |
+
}
|
models/subword_markov/bdr_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de0458067f06b19cd92069895f072cb47f6cdac7b1aec47edc3f54439b9dc8fb
|
| 3 |
+
size 51058
|
models/subword_markov/bdr_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 1154,
|
| 6 |
+
"total_transitions": 157564
|
| 7 |
+
}
|
models/subword_markov/bdr_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a603938c76585d0058fba20159b63f48cc8de1a081d60c9e812d5ef4cc856c2
|
| 3 |
+
size 147977
|
models/subword_markov/bdr_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 6603,
|
| 6 |
+
"total_transitions": 157026
|
| 7 |
+
}
|
models/subword_markov/bdr_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40b65aa668a1cff884dd7d1981f09619017109f7d40edc49b7916cb9d523100b
|
| 3 |
+
size 355053
|
models/subword_markov/bdr_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 20699,
|
| 6 |
+
"total_transitions": 156488
|
| 7 |
+
}
|
models/subword_ngram/bdr_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f89d4cd1bab1bda41e8fb6e1bcbdcfb402307503bc759166623f23f6684cb7d8
|
| 3 |
+
size 9761
|
models/subword_ngram/bdr_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 597,
|
| 6 |
+
"total_ngrams": 158102
|
| 7 |
+
}
|
models/subword_ngram/bdr_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82c353ab6740086eface298a08842c1494816358218a9e1924c16d5cc9298c3d
|
| 3 |
+
size 37547
|
models/subword_ngram/bdr_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 3421,
|
| 6 |
+
"total_ngrams": 157564
|
| 7 |
+
}
|
models/subword_ngram/bdr_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00c9461926041d02b2401848dda26b82b5b87974371b657a4eeb9a268d495f8c
|
| 3 |
+
size 128743
|
models/subword_ngram/bdr_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 11413,
|
| 6 |
+
"total_ngrams": 157026
|
| 7 |
+
}
|
models/tokenizer/bdr_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60470ba72369b5d6feb2a6ddd8122b4eb757065597901f8d33f1f47db9d61152
|
| 3 |
+
size 373260
|
models/tokenizer/bdr_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/bdr_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a58092d4262f6aa43f6194c3af31f93b2c60e2e1f1457610992d6848f4156246
|
| 3 |
+
size 38048
|
models/vocabulary/bdr_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bdr",
|
| 3 |
+
"vocabulary_size": 2342,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.20221606648199447,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.4034075816795052,
|
| 9 |
+
"top_1000": 0.7593442871779305,
|
| 10 |
+
"top_5000": 0.9875156528668463
|
| 11 |
+
},
|
| 12 |
+
"hapax_count": 2987,
|
| 13 |
+
"hapax_ratio": 0.5605179208106587,
|
| 14 |
+
"total_documents": 538
|
| 15 |
+
}
|
| 16 |
+
}
|
models/word_markov/bdr_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50da15bb2d596e55b1af74da418be234ae20d7994f359665a73457c179ace2c4
|
| 3 |
+
size 149999
|
models/word_markov/bdr_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 5241,
|
| 6 |
+
"total_transitions": 25815
|
| 7 |
+
}
|
models/word_markov/bdr_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a70c0745d64f93f951581ccf1e770bc0198416279a90b1c76af931bc397bb65f
|
| 3 |
+
size 308032
|
models/word_markov/bdr_markov_ctx2_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 18592,
|
| 6 |
+
"total_transitions": 25277
|
| 7 |
+
}
|
models/word_markov/bdr_markov_ctx3_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:223447078bb309ba5d758145f41c4571806689ffaf1efe8aef015c68c49c7526
|
| 3 |
+
size 388681
|
models/word_markov/bdr_markov_ctx3_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 22996,
|
| 6 |
+
"total_transitions": 24739
|
| 7 |
+
}
|
models/word_markov/bdr_markov_ctx4_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66c6e307074a65e79883d656ec156325dab1be18c7c2082eab0c9665ad6e3133
|
| 3 |
+
size 429090
|
models/word_markov/bdr_markov_ctx4_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_contexts": 23590,
|
| 6 |
+
"total_transitions": 24201
|
| 7 |
+
}
|
models/word_ngram/bdr_2gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f7dbbf4075f6494f4e948bc0417ec1b327b33cb3676c74c44c5cf7b15c76e93
|
| 3 |
+
size 7711
|
models/word_ngram/bdr_2gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 401,
|
| 6 |
+
"total_ngrams": 25815
|
| 7 |
+
}
|
models/word_ngram/bdr_3gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03582a17ce01397bddd0d583a4eb8301b1d9ad4a0ebaa6b95bafe86a66321950
|
| 3 |
+
size 6657
|
models/word_ngram/bdr_3gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 271,
|
| 6 |
+
"total_ngrams": 25277
|
| 7 |
+
}
|
models/word_ngram/bdr_4gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b39ba29b04354ddf98ba4fefae173d2708834a6a0814a4f9cd3970bc844751a
|
| 3 |
+
size 8746
|
models/word_ngram/bdr_4gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bdr",
|
| 5 |
+
"unique_ngrams": 346,
|
| 6 |
+
"total_ngrams": 24739
|
| 7 |
+
}
|
visualizations/embedding_isotropy.png
ADDED
|
visualizations/embedding_norms.png
ADDED
|
visualizations/embedding_similarity.png
ADDED
|
Git LFS Details
|
visualizations/markov_branching.png
ADDED
|
visualizations/markov_contexts.png
ADDED
|
visualizations/markov_entropy.png
ADDED
|
visualizations/model_sizes.png
ADDED
|