Upload all models and assets for ban (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- README.md +225 -192
- models/embeddings/aligned/ban_128d.bin +3 -0
- models/embeddings/aligned/ban_128d.meta.json +1 -0
- models/embeddings/aligned/ban_128d.projection.npy +3 -0
- models/embeddings/aligned/ban_128d_metadata.json +8 -0
- models/embeddings/aligned/ban_32d.bin +3 -0
- models/embeddings/aligned/ban_32d.meta.json +1 -0
- models/embeddings/aligned/ban_32d.projection.npy +3 -0
- models/embeddings/aligned/ban_32d_metadata.json +8 -0
- models/embeddings/aligned/ban_64d.bin +3 -0
- models/embeddings/aligned/ban_64d.meta.json +1 -0
- models/embeddings/aligned/ban_64d.projection.npy +3 -0
- models/embeddings/aligned/ban_64d_metadata.json +8 -0
- models/embeddings/monolingual/ban_128d.bin +2 -2
- models/embeddings/monolingual/ban_128d_metadata.json +1 -1
- models/embeddings/monolingual/ban_32d.bin +2 -2
- models/embeddings/monolingual/ban_32d_metadata.json +1 -1
- models/embeddings/monolingual/ban_64d.bin +2 -2
- models/embeddings/monolingual/ban_64d_metadata.json +1 -1
- models/subword_markov/ban_markov_ctx1_subword.parquet +2 -2
- models/subword_markov/ban_markov_ctx1_subword_metadata.json +2 -2
- models/subword_markov/ban_markov_ctx2_subword.parquet +2 -2
- models/subword_markov/ban_markov_ctx2_subword_metadata.json +2 -2
- models/subword_markov/ban_markov_ctx3_subword.parquet +2 -2
- models/subword_markov/ban_markov_ctx3_subword_metadata.json +2 -2
- models/subword_markov/ban_markov_ctx4_subword.parquet +2 -2
- models/subword_markov/ban_markov_ctx4_subword_metadata.json +2 -2
- models/subword_ngram/ban_2gram_subword.parquet +2 -2
- models/subword_ngram/ban_2gram_subword_metadata.json +2 -2
- models/subword_ngram/ban_3gram_subword.parquet +2 -2
- models/subword_ngram/ban_3gram_subword_metadata.json +2 -2
- models/subword_ngram/ban_4gram_subword.parquet +2 -2
- models/subword_ngram/ban_4gram_subword_metadata.json +2 -2
- models/subword_ngram/ban_5gram_subword.parquet +3 -0
- models/subword_ngram/ban_5gram_subword_metadata.json +7 -0
- models/tokenizer/ban_tokenizer_16k.model +2 -2
- models/tokenizer/ban_tokenizer_16k.vocab +0 -0
- models/tokenizer/ban_tokenizer_32k.model +2 -2
- models/tokenizer/ban_tokenizer_32k.vocab +0 -0
- models/tokenizer/ban_tokenizer_64k.model +2 -2
- models/tokenizer/ban_tokenizer_64k.vocab +0 -0
- models/tokenizer/ban_tokenizer_8k.model +2 -2
- models/tokenizer/ban_tokenizer_8k.vocab +0 -0
- models/vocabulary/ban_vocabulary.parquet +2 -2
- models/vocabulary/ban_vocabulary_metadata.json +9 -9
- models/word_markov/ban_markov_ctx1_word.parquet +2 -2
- models/word_markov/ban_markov_ctx1_word_metadata.json +2 -2
- models/word_markov/ban_markov_ctx2_word.parquet +2 -2
- models/word_markov/ban_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: ban
|
| 3 |
-
language_name:
|
| 4 |
language_family: austronesian_other
|
| 5 |
tags:
|
| 6 |
- wikilangs
|
|
@@ -10,11 +10,21 @@ tags:
|
|
| 10 |
- n-gram
|
| 11 |
- markov
|
| 12 |
- wikipedia
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- monolingual
|
| 14 |
- family-austronesian_other
|
| 15 |
license: mit
|
| 16 |
library_name: wikilangs
|
| 17 |
-
pipeline_tag:
|
| 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: 5.
|
| 27 |
- name: best_isotropy
|
| 28 |
type: isotropy
|
| 29 |
-
value: 0.
|
| 30 |
- name: vocabulary_size
|
| 31 |
type: vocab
|
| 32 |
value: 0
|
| 33 |
generated: 2026-01-03
|
| 34 |
---
|
| 35 |
|
| 36 |
-
#
|
| 37 |
## Comprehensive Research Report & Full Ablation Study
|
| 38 |
|
| 39 |
-
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **
|
| 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
|
| 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** | 4.
|
| 84 |
-
| **16k** | 4.
|
| 85 |
-
| **32k** | 4.
|
| 86 |
-
| **64k** | 5.
|
| 87 |
|
| 88 |
### Tokenization Examples
|
| 89 |
|
| 90 |
Below are sample sentences tokenized with each vocabulary size:
|
| 91 |
|
| 92 |
-
**Sample 1:** `
|
| 93 |
|
| 94 |
| Vocab | Tokens | Count |
|
| 95 |
|-------|--------|-------|
|
| 96 |
-
| 8k | `▁
|
| 97 |
-
| 16k | `▁
|
| 98 |
-
| 32k | `▁
|
| 99 |
-
| 64k | `▁
|
| 100 |
|
| 101 |
-
**Sample 2:** `
|
| 102 |
|
| 103 |
| Vocab | Tokens | Count |
|
| 104 |
|-------|--------|-------|
|
| 105 |
-
| 8k | `▁
|
| 106 |
-
| 16k | `▁
|
| 107 |
-
| 32k | `▁
|
| 108 |
-
| 64k | `▁
|
| 109 |
|
| 110 |
-
**Sample 3:** `
|
| 111 |
|
| 112 |
| Vocab | Tokens | Count |
|
| 113 |
|-------|--------|-------|
|
| 114 |
-
| 8k | `▁
|
| 115 |
-
| 16k | `▁
|
| 116 |
-
| 32k | `▁
|
| 117 |
-
| 64k | `▁
|
| 118 |
|
| 119 |
|
| 120 |
### Key Findings
|
| 121 |
|
| 122 |
-
- **Best Compression:** 64k achieves 5.
|
| 123 |
-
- **Lowest UNK Rate:** 8k with 0.
|
| 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 | 4,
|
| 141 |
-
| **2-gram** | Subword |
|
| 142 |
-
| **3-gram** | Word | 5,
|
| 143 |
-
| **3-gram** | Subword | 1,
|
| 144 |
-
| **4-gram** | Word | 8,
|
| 145 |
-
| **4-gram** | Subword | 7,
|
|
|
|
|
|
|
| 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 | `situs resmi` |
|
| 154 |
-
| 2 | `inggih punika` |
|
| 155 |
-
| 3 | `
|
| 156 |
-
| 4 | `
|
| 157 |
-
| 5 | `
|
| 158 |
|
| 159 |
**3-grams (Word):**
|
| 160 |
|
| 161 |
| Rank | N-gram | Count |
|
| 162 |
|------|--------|-------|
|
| 163 |
-
| 1 | `badan pusat statistik` |
|
| 164 |
-
| 2 | `pustaka pranala jaba` |
|
| 165 |
-
| 3 | `inggih punika silih` |
|
| 166 |
-
| 4 | `punika silih tunggil` |
|
| 167 |
-
| 5 | `pranala jaba situs` |
|
| 168 |
|
| 169 |
**4-grams (Word):**
|
| 170 |
|
| 171 |
| Rank | N-gram | Count |
|
| 172 |
|------|--------|-------|
|
| 173 |
-
| 1 | `inggih punika silih tunggil` |
|
| 174 |
-
| 2 | `pranala jaba situs resmi` |
|
| 175 |
-
| 3 | `pustaka pranala jaba situs` |
|
| 176 |
-
| 4 | `dados kauahin ilang yening` |
|
| 177 |
-
| 5 | `kauahin ilang yening url` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
**2-grams (Subword):**
|
| 180 |
|
| 181 |
| Rank | N-gram | Count |
|
| 182 |
|------|--------|-------|
|
| 183 |
-
| 1 | `a n` |
|
| 184 |
-
| 2 | `n g` |
|
| 185 |
-
| 3 | `a _` |
|
| 186 |
-
| 4 | `i n` |
|
| 187 |
-
| 5 | `n _` |
|
| 188 |
|
| 189 |
**3-grams (Subword):**
|
| 190 |
|
| 191 |
| Rank | N-gram | Count |
|
| 192 |
|------|--------|-------|
|
| 193 |
-
| 1 | `n g _` |
|
| 194 |
-
| 2 | `a n _` |
|
| 195 |
-
| 3 | `i n g` |
|
| 196 |
-
| 4 | `a n g` |
|
| 197 |
-
| 5 | `_ k a` |
|
| 198 |
|
| 199 |
**4-grams (Subword):**
|
| 200 |
|
| 201 |
| Rank | N-gram | Count |
|
| 202 |
|------|--------|-------|
|
| 203 |
-
| 1 | `i n g _` |
|
| 204 |
-
| 2 | `r i n g` |
|
| 205 |
-
| 3 | `_ r i n` |
|
| 206 |
-
| 4 | `a n g _` |
|
| 207 |
-
| 5 | `u n i k` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
|
| 210 |
### Key Findings
|
| 211 |
|
| 212 |
-
- **Best Perplexity:** 2-gram (subword) with
|
| 213 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 214 |
-
- **Coverage:** Top-1000 patterns cover ~
|
| 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 | 0.
|
| 231 |
-
| **1** | Subword | 0.
|
| 232 |
-
| **2** | Word | 0.
|
| 233 |
-
| **2** | Subword | 0.
|
| 234 |
-
| **3** | Word | 0.
|
| 235 |
-
| **3** | Subword | 0.
|
| 236 |
-
| **4** | Word | 0.0289 🏆 | 1.020 | 1.05 | 2,
|
| 237 |
-
| **4** | Subword | 0.
|
| 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. `ring
|
| 246 |
-
2. `kabupatén
|
| 247 |
-
3. `punika silih tunggil
|
| 248 |
|
| 249 |
**Context Size 2:**
|
| 250 |
|
| 251 |
-
1. `situs resmi
|
| 252 |
-
2. `inggih punika silih
|
| 253 |
-
3. `
|
| 254 |
|
| 255 |
**Context Size 3:**
|
| 256 |
|
| 257 |
-
1. `badan pusat statistik
|
| 258 |
-
2. `pustaka pranala jaba situs resmi
|
| 259 |
-
3. `inggih punika silih tunggil kecamatan ring kabupatén
|
| 260 |
|
| 261 |
**Context Size 4:**
|
| 262 |
|
| 263 |
-
1. `inggih punika silih tunggil désa
|
| 264 |
-
2. `pranala jaba situs resmi
|
| 265 |
-
3. `pustaka pranala jaba situs resmi pamrentahan
|
| 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. `
|
| 275 |
-
2. `
|
| 276 |
-
3. `
|
| 277 |
|
| 278 |
**Context Size 2:**
|
| 279 |
|
| 280 |
-
1. `
|
| 281 |
-
2. `
|
| 282 |
-
3. `
|
| 283 |
|
| 284 |
**Context Size 3:**
|
| 285 |
|
| 286 |
-
1. `
|
| 287 |
-
2. `
|
| 288 |
-
3. `
|
| 289 |
|
| 290 |
**Context Size 4:**
|
| 291 |
|
| 292 |
-
1. `
|
| 293 |
-
2. `
|
| 294 |
-
3. `
|
| 295 |
|
| 296 |
|
| 297 |
### Key Findings
|
| 298 |
|
| 299 |
- **Best Predictability:** Context-4 (word) with 97.1% predictability
|
| 300 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 301 |
-
- **Memory Trade-off:** Larger contexts require more storage (
|
| 302 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 303 |
|
| 304 |
---
|
|
@@ -314,64 +346,64 @@ Below are text samples generated from each subword-based Markov chain model:
|
|
| 314 |
|
| 315 |
| Metric | Value |
|
| 316 |
|--------|-------|
|
| 317 |
-
| Vocabulary Size |
|
| 318 |
-
| Total Tokens | 3,
|
| 319 |
-
| Mean Frequency |
|
| 320 |
| Median Frequency | 3 |
|
| 321 |
-
| Frequency Std Dev |
|
| 322 |
|
| 323 |
### Most Common Words
|
| 324 |
|
| 325 |
| Rank | Word | Frequency |
|
| 326 |
|------|------|-----------|
|
| 327 |
-
| 1 | ring |
|
| 328 |
-
| 2 | kabupatén |
|
| 329 |
-
| 3 | punika |
|
| 330 |
-
| 4 |
|
| 331 |
-
| 5 |
|
| 332 |
-
| 6 | resmi |
|
| 333 |
-
| 7 | inggih |
|
| 334 |
-
| 8 | saking |
|
| 335 |
-
| 9 | url |
|
| 336 |
-
| 10 |
|
| 337 |
|
| 338 |
### Least Common Words (from vocabulary)
|
| 339 |
|
| 340 |
| Rank | Word | Frequency |
|
| 341 |
|------|------|-----------|
|
| 342 |
-
| 1 |
|
| 343 |
-
| 2 |
|
| 344 |
-
| 3 |
|
| 345 |
-
| 4 |
|
| 346 |
-
| 5 |
|
| 347 |
-
| 6 |
|
| 348 |
-
| 7 |
|
| 349 |
-
| 8 |
|
| 350 |
-
| 9 |
|
| 351 |
-
| 10 |
|
| 352 |
|
| 353 |
### Zipf's Law Analysis
|
| 354 |
|
| 355 |
| Metric | Value |
|
| 356 |
|--------|-------|
|
| 357 |
-
| Zipf Coefficient | 1.
|
| 358 |
-
| R² (Goodness of Fit) | 0.
|
| 359 |
| Adherence Quality | **excellent** |
|
| 360 |
|
| 361 |
### Coverage Analysis
|
| 362 |
|
| 363 |
| Top N Words | Coverage |
|
| 364 |
|-------------|----------|
|
| 365 |
-
| Top 100 |
|
| 366 |
-
| Top 1,000 |
|
| 367 |
-
| Top 5,000 |
|
| 368 |
-
| Top 10,000 |
|
| 369 |
|
| 370 |
### Key Findings
|
| 371 |
|
| 372 |
-
- **Zipf Compliance:** R²=0.
|
| 373 |
-
- **High Frequency Dominance:** Top 100 words cover
|
| 374 |
-
- **Long Tail:**
|
| 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 |
-
|
|
|
|
|
|
|
| 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.
|
| 398 |
-
| **mono_64d** | 64 | 0.
|
| 399 |
-
| **mono_128d** | 128 | 0.
|
|
|
|
|
|
|
|
|
|
| 400 |
|
| 401 |
### Key Findings
|
| 402 |
|
| 403 |
-
- **Best Isotropy:** mono_32d with 0.
|
| 404 |
-
- **Semantic Density:** Average pairwise similarity of 0.
|
| 405 |
-
- **Alignment Quality:**
|
| 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 | **
|
| 420 |
-
| Idiomaticity Gap |
|
| 421 |
|
| 422 |
### 6.2 Affix Inventory (Productive Units)
|
| 423 |
|
|
@@ -426,19 +461,17 @@ These are the most productive prefixes and suffixes identified by sampling the v
|
|
| 426 |
#### Productive Prefixes
|
| 427 |
| Prefix | Examples |
|
| 428 |
|--------|----------|
|
| 429 |
-
| `-
|
| 430 |
-
| `-
|
| 431 |
-
| `-pa` |
|
| 432 |
-
| `-pe` | peting, pencok, pemantauan |
|
| 433 |
|
| 434 |
#### Productive Suffixes
|
| 435 |
| Suffix | Examples |
|
| 436 |
|--------|----------|
|
| 437 |
-
| `-n` |
|
| 438 |
-
| `-an` |
|
| 439 |
-
| `-ng` |
|
| 440 |
-
| `-ang` |
|
| 441 |
-
| `-né` | leluhurnyané, putranidané, bébékné |
|
| 442 |
|
| 443 |
### 6.3 Bound Stems (Lexical Roots)
|
| 444 |
|
|
@@ -446,18 +479,18 @@ Bound stems are high-frequency subword units that are semantically cohesive but
|
|
| 446 |
|
| 447 |
| Stem | Cohesion | Substitutability | Examples |
|
| 448 |
|------|----------|------------------|----------|
|
| 449 |
-
| `anga` | 1.
|
| 450 |
-
| `
|
| 451 |
-
| `
|
| 452 |
-
| `
|
| 453 |
-
| `
|
| 454 |
-
| `
|
| 455 |
-
| `nggi` | 1.58x |
|
| 456 |
-
| `taha` | 1.
|
| 457 |
-
| `
|
| 458 |
-
| `
|
| 459 |
-
| `
|
| 460 |
-
| `
|
| 461 |
|
| 462 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 463 |
|
|
@@ -465,16 +498,16 @@ This table shows which prefixes and suffixes most frequently co-occur on the sam
|
|
| 465 |
|
| 466 |
| Prefix | Suffix | Frequency | Examples |
|
| 467 |
|--------|--------|-----------|----------|
|
| 468 |
-
| `-
|
| 469 |
-
| `-
|
| 470 |
-
| `-pa` | `-an` |
|
| 471 |
-
| `-
|
| 472 |
-
| `-
|
| 473 |
-
| `-ka` | `-
|
| 474 |
-
| `-
|
| 475 |
-
| `-
|
| 476 |
-
| `-ma` | `-
|
| 477 |
-
| `-ma` | `-
|
| 478 |
|
| 479 |
### 6.5 Recursive Morpheme Segmentation
|
| 480 |
|
|
@@ -482,26 +515,26 @@ Using **Recursive Hierarchical Substitutability**, we decompose complex words in
|
|
| 482 |
|
| 483 |
| Word | Suggested Split | Confidence | Stem |
|
| 484 |
|------|-----------------|------------|------|
|
| 485 |
-
|
|
| 486 |
-
|
|
| 487 |
-
|
|
| 488 |
-
|
|
| 489 |
-
|
|
| 490 |
-
|
|
| 491 |
-
|
|
| 492 |
-
|
|
| 493 |
-
|
|
| 494 |
-
|
|
| 495 |
-
|
|
| 496 |
-
|
|
| 497 |
-
|
|
| 498 |
-
|
|
| 499 |
-
|
|
| 500 |
|
| 501 |
### 6.6 Linguistic Interpretation
|
| 502 |
|
| 503 |
> **Automated Insight:**
|
| 504 |
-
The language
|
| 505 |
|
| 506 |
---
|
| 507 |
## 7. Summary & Recommendations
|
|
@@ -513,7 +546,7 @@ The language BAN appears to be more isolating or has a highly fixed vocabulary.
|
|
| 513 |
| Component | Recommended | Rationale |
|
| 514 |
|-----------|-------------|-----------|
|
| 515 |
| Tokenizer | **64k BPE** | Best compression (5.08x) |
|
| 516 |
-
| N-gram | **2-gram** | Lowest perplexity (
|
| 517 |
| Markov | **Context-4** | Highest predictability (97.1%) |
|
| 518 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 519 |
|
|
@@ -728,4 +761,4 @@ MIT License - Free for academic and commercial use.
|
|
| 728 |
---
|
| 729 |
*Generated by Wikilangs Models Pipeline*
|
| 730 |
|
| 731 |
-
*Report Date: 2026-01-03
|
|
|
|
| 1 |
---
|
| 2 |
language: ban
|
| 3 |
+
language_name: Balinese
|
| 4 |
language_family: austronesian_other
|
| 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-austronesian_other
|
| 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: 5.076
|
| 37 |
- name: best_isotropy
|
| 38 |
type: isotropy
|
| 39 |
+
value: 0.8561
|
| 40 |
- name: vocabulary_size
|
| 41 |
type: vocab
|
| 42 |
value: 0
|
| 43 |
generated: 2026-01-03
|
| 44 |
---
|
| 45 |
|
| 46 |
+
# Balinese - Wikilangs Models
|
| 47 |
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Balinese** 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** | 4.067x | 4.07 | 0.1935% | 240,819 |
|
| 94 |
+
| **16k** | 4.471x | 4.48 | 0.2127% | 219,044 |
|
| 95 |
+
| **32k** | 4.812x | 4.82 | 0.2289% | 203,541 |
|
| 96 |
+
| **64k** | 5.076x 🏆 | 5.08 | 0.2415% | 192,952 |
|
| 97 |
|
| 98 |
### Tokenization Examples
|
| 99 |
|
| 100 |
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
|
| 102 |
+
**Sample 1:** `920 921 922 923 924 925 926 927 928 929 Jadma Embas Seda Pustaka Pranala liyané ...`
|
| 103 |
|
| 104 |
| Vocab | Tokens | Count |
|
| 105 |
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁ 9 2 0 ▁ 9 2 1 ▁ 9 ... (+40 more)` | 50 |
|
| 107 |
+
| 16k | `▁ 9 2 0 ▁ 9 2 1 ▁ 9 ... (+40 more)` | 50 |
|
| 108 |
+
| 32k | `▁ 9 2 0 ▁ 9 2 1 ▁ 9 ... (+40 more)` | 50 |
|
| 109 |
+
| 64k | `▁ 9 2 0 ▁ 9 2 1 ▁ 9 ... (+40 more)` | 50 |
|
| 110 |
|
| 111 |
+
**Sample 2:** `Reutlingen (; Swabia: Reitlenga) inggih punika sinunggil kota ring Baden-Württem...`
|
| 112 |
|
| 113 |
| Vocab | Tokens | Count |
|
| 114 |
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁re ut ling en ▁(; ▁sw ab ia : ▁re ... (+34 more)` | 44 |
|
| 116 |
+
| 16k | `▁re ut ling en ▁(; ▁sw ab ia : ▁re ... (+28 more)` | 38 |
|
| 117 |
+
| 32k | `▁re ut lingen ▁(; ▁sw abia : ▁re it l ... (+25 more)` | 35 |
|
| 118 |
+
| 64k | `▁reut lingen ▁(; ▁sw abia : ▁re it l enga ... (+22 more)` | 32 |
|
| 119 |
|
| 120 |
+
**Sample 3:** `Terneuzen () inggih punika kota miwah kotamadya ring sisi kelod kauh Belanda, ri...`
|
| 121 |
|
| 122 |
| Vocab | Tokens | Count |
|
| 123 |
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁ter ne uz en ▁() ▁inggih ▁punika ▁kota ▁miwah ▁kotamadya ... (+21 more)` | 31 |
|
| 125 |
+
| 16k | `▁ter ne uz en ▁() ▁inggih ▁punika ▁kota ▁miwah ▁kotamadya ... (+17 more)` | 27 |
|
| 126 |
+
| 32k | `▁ter ne uz en ▁() ▁inggih ▁punika ▁kota ▁miwah ▁kotamadya ... (+15 more)` | 25 |
|
| 127 |
+
| 64k | `▁ter ne uzen ▁() ▁inggih ▁punika ▁kota ▁miwah ▁kotamadya ▁ring ... (+14 more)` | 24 |
|
| 128 |
|
| 129 |
|
| 130 |
### Key Findings
|
| 131 |
|
| 132 |
+
- **Best Compression:** 64k achieves 5.076x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.1935% 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 | 4,640 | 12.18 | 61,259 | 36.3% | 57.8% |
|
| 151 |
+
| **2-gram** | Subword | 223 🏆 | 7.80 | 8,004 | 73.6% | 99.2% |
|
| 152 |
+
| **3-gram** | Word | 5,627 | 12.46 | 79,401 | 34.2% | 56.0% |
|
| 153 |
+
| **3-gram** | Subword | 1,643 | 10.68 | 43,230 | 31.4% | 79.4% |
|
| 154 |
+
| **4-gram** | Word | 8,547 | 13.06 | 120,311 | 29.1% | 51.2% |
|
| 155 |
+
| **4-gram** | Subword | 7,491 | 12.87 | 210,661 | 18.4% | 54.1% |
|
| 156 |
+
| **5-gram** | Word | 8,777 | 13.10 | 92,971 | 25.7% | 49.1% |
|
| 157 |
+
| **5-gram** | Subword | 21,126 | 14.37 | 563,270 | 15.0% | 42.7% |
|
| 158 |
|
| 159 |
### Top 5 N-grams by Size
|
| 160 |
|
|
|
|
| 162 |
|
| 163 |
| Rank | N-gram | Count |
|
| 164 |
|------|--------|-------|
|
| 165 |
+
| 1 | `situs resmi` | 43,663 |
|
| 166 |
+
| 2 | `inggih punika` | 39,149 |
|
| 167 |
+
| 3 | `pusat statistik` | 24,769 |
|
| 168 |
+
| 4 | `badan pusat` | 24,755 |
|
| 169 |
+
| 5 | `silih tunggil` | 23,231 |
|
| 170 |
|
| 171 |
**3-grams (Word):**
|
| 172 |
|
| 173 |
| Rank | N-gram | Count |
|
| 174 |
|------|--------|-------|
|
| 175 |
+
| 1 | `badan pusat statistik` | 24,753 |
|
| 176 |
+
| 2 | `pustaka pranala jaba` | 21,680 |
|
| 177 |
+
| 3 | `inggih punika silih` | 20,522 |
|
| 178 |
+
| 4 | `punika silih tunggil` | 20,156 |
|
| 179 |
+
| 5 | `pranala jaba situs` | 19,252 |
|
| 180 |
|
| 181 |
**4-grams (Word):**
|
| 182 |
|
| 183 |
| Rank | N-gram | Count |
|
| 184 |
|------|--------|-------|
|
| 185 |
+
| 1 | `inggih punika silih tunggil` | 20,046 |
|
| 186 |
+
| 2 | `pranala jaba situs resmi` | 19,034 |
|
| 187 |
+
| 3 | `pustaka pranala jaba situs` | 18,664 |
|
| 188 |
+
| 4 | `dados kauahin ilang yening` | 15,610 |
|
| 189 |
+
| 5 | `kauahin ilang yening url` | 15,325 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `pustaka pranala jaba situs resmi` | 18,475 |
|
| 196 |
+
| 2 | `dados kauahin ilang yening url` | 15,325 |
|
| 197 |
+
| 3 | `kauahin ilang yening url nenten` | 15,194 |
|
| 198 |
+
| 4 | `url dados kauahin ilang yening` | 15,039 |
|
| 199 |
+
| 5 | `ilang yening url nenten aktip` | 14,998 |
|
| 200 |
|
| 201 |
**2-grams (Subword):**
|
| 202 |
|
| 203 |
| Rank | N-gram | Count |
|
| 204 |
|------|--------|-------|
|
| 205 |
+
| 1 | `a n` | 914,478 |
|
| 206 |
+
| 2 | `n g` | 765,351 |
|
| 207 |
+
| 3 | `a _` | 556,979 |
|
| 208 |
+
| 4 | `i n` | 546,378 |
|
| 209 |
+
| 5 | `n _` | 539,027 |
|
| 210 |
|
| 211 |
**3-grams (Subword):**
|
| 212 |
|
| 213 |
| Rank | N-gram | Count |
|
| 214 |
|------|--------|-------|
|
| 215 |
+
| 1 | `n g _` | 376,926 |
|
| 216 |
+
| 2 | `a n _` | 301,627 |
|
| 217 |
+
| 3 | `i n g` | 300,756 |
|
| 218 |
+
| 4 | `a n g` | 227,744 |
|
| 219 |
+
| 5 | `_ k a` | 223,144 |
|
| 220 |
|
| 221 |
**4-grams (Subword):**
|
| 222 |
|
| 223 |
| Rank | N-gram | Count |
|
| 224 |
|------|--------|-------|
|
| 225 |
+
| 1 | `i n g _` | 230,681 |
|
| 226 |
+
| 2 | `r i n g` | 152,062 |
|
| 227 |
+
| 3 | `_ r i n` | 133,355 |
|
| 228 |
+
| 4 | `a n g _` | 89,274 |
|
| 229 |
+
| 5 | `u n i k` | 75,300 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `r i n g _` | 149,014 |
|
| 236 |
+
| 2 | `_ r i n g` | 133,072 |
|
| 237 |
+
| 3 | `p u n i k` | 74,857 |
|
| 238 |
+
| 4 | `_ p u n i` | 72,286 |
|
| 239 |
+
| 5 | `b u p a t` | 70,377 |
|
| 240 |
|
| 241 |
|
| 242 |
### Key Findings
|
| 243 |
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 223
|
| 245 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~43% 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 | 0.7231 | 1.651 | 5.15 | 258,667 | 27.7% |
|
| 263 |
+
| **1** | Subword | 0.9698 | 1.959 | 7.06 | 4,719 | 3.0% |
|
| 264 |
+
| **2** | Word | 0.2300 | 1.173 | 1.54 | 1,327,861 | 77.0% |
|
| 265 |
+
| **2** | Subword | 0.6130 | 1.529 | 3.55 | 33,296 | 38.7% |
|
| 266 |
+
| **3** | Word | 0.0751 | 1.053 | 1.14 | 2,029,547 | 92.5% |
|
| 267 |
+
| **3** | Subword | 0.5903 | 1.506 | 3.30 | 118,157 | 41.0% |
|
| 268 |
+
| **4** | Word | 0.0289 🏆 | 1.020 | 1.05 | 2,293,918 | 97.1% |
|
| 269 |
+
| **4** | Subword | 0.6581 | 1.578 | 2.95 | 389,827 | 34.2% |
|
| 270 |
|
| 271 |
### Generated Text Samples (Word-based)
|
| 272 |
|
|
|
|
| 274 |
|
| 275 |
**Context Size 1:**
|
| 276 |
|
| 277 |
+
1. `ring kabupatén manggarai univérsitas téknologi langkungan saking lis kediri propinsi jawa timur situ...`
|
| 278 |
+
2. `kabupatén bandar udara sipil negara wagian connecticut john musker dave akbarshah fikarno partai pol...`
|
| 279 |
+
3. `punika silih tunggil gampong ring panguntat warsa perang sane madaging aglomerasi pays blanc kawentu...`
|
| 280 |
|
| 281 |
**Context Size 2:**
|
| 282 |
|
| 283 |
+
1. `situs resmi provinsi kalimantan timur indonésia pustaka pranala jaba of the betawi and their subordi...`
|
| 284 |
+
2. `inggih punika silih tunggil désa dinas sané magenah ring désa karimunjawa pulau karimunjawa gua sara...`
|
| 285 |
+
3. `pusat statistik provinsi lampung badan pusat statistik nusa tenggara timur ring panegara indonésia p...`
|
| 286 |
|
| 287 |
**Context Size 3:**
|
| 288 |
|
| 289 |
+
1. `badan pusat statistik provinsi lampung badan pusat statistik provinsi banten situs resmi pemerintah ...`
|
| 290 |
+
2. `pustaka pranala jaba situs resmi pamréntahan kota malang prodeskel binapemdes kemendagri banyuwangi ...`
|
| 291 |
+
3. `inggih punika silih tunggil kecamatan ring kabupatén tuban ring jawa timur ring panegara indonésia p...`
|
| 292 |
|
| 293 |
**Context Size 4:**
|
| 294 |
|
| 295 |
+
1. `inggih punika silih tunggil désa dinas sané magenah ring kecamatan pakem ring wawengkon kabupatén bo...`
|
| 296 |
+
2. `pranala jaba situs resmi pamréntahan propinsi kalimantan tengah badan pusat statistik propinsi kalim...`
|
| 297 |
+
3. `pustaka pranala jaba situs resmi pamrentahan propinsi jawa tengah badan pusat statistik propinsi daé...`
|
| 298 |
|
| 299 |
|
| 300 |
### Generated Text Samples (Subword-based)
|
|
|
|
| 303 |
|
| 304 |
**Context Size 1:**
|
| 305 |
|
| 306 |
+
1. `akraning_pa_dang`
|
| 307 |
+
2. `_pawewen,_ako_in`
|
| 308 |
+
3. `ngkang_l_parasih`
|
| 309 |
|
| 310 |
**Context Size 2:**
|
| 311 |
|
| 312 |
+
1. `an_punisi_ka_ma_i`
|
| 313 |
+
2. `ng_doh_for,_namas`
|
| 314 |
+
3. `a_matasur_sur_jaj`
|
| 315 |
|
| 316 |
**Context Size 3:**
|
| 317 |
|
| 318 |
+
1. `ng_pamréntahan_kaa`
|
| 319 |
+
2. `an_sumelaya,_propi`
|
| 320 |
+
3. `ing_richoir,_jani_`
|
| 321 |
|
| 322 |
**Context Size 4:**
|
| 323 |
|
| 324 |
+
1. `ing_lis._gresik_pun`
|
| 325 |
+
2. `ring_radeship_himse`
|
| 326 |
+
3. `_ring_soroh_jaya_be`
|
| 327 |
|
| 328 |
|
| 329 |
### Key Findings
|
| 330 |
|
| 331 |
- **Best Predictability:** Context-4 (word) with 97.1% predictability
|
| 332 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (389,827 contexts)
|
| 334 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
|
| 336 |
---
|
|
|
|
| 346 |
|
| 347 |
| Metric | Value |
|
| 348 |
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 98,403 |
|
| 350 |
+
| Total Tokens | 3,677,636 |
|
| 351 |
+
| Mean Frequency | 37.37 |
|
| 352 |
| Median Frequency | 3 |
|
| 353 |
+
| Frequency Std Dev | 767.63 |
|
| 354 |
|
| 355 |
### Most Common Words
|
| 356 |
|
| 357 |
| Rank | Word | Frequency |
|
| 358 |
|------|------|-----------|
|
| 359 |
+
| 1 | ring | 133,161 |
|
| 360 |
+
| 2 | kabupatén | 61,962 |
|
| 361 |
+
| 3 | punika | 52,592 |
|
| 362 |
+
| 4 | situs | 47,934 |
|
| 363 |
+
| 5 | sané | 47,011 |
|
| 364 |
+
| 6 | resmi | 44,807 |
|
| 365 |
+
| 7 | inggih | 39,587 |
|
| 366 |
+
| 8 | saking | 39,350 |
|
| 367 |
+
| 9 | url | 35,045 |
|
| 368 |
+
| 10 | propinsi | 33,485 |
|
| 369 |
|
| 370 |
### Least Common Words (from vocabulary)
|
| 371 |
|
| 372 |
| Rank | Word | Frequency |
|
| 373 |
|------|------|-----------|
|
| 374 |
+
| 1 | ᬧᬳᬗᬿ | 2 |
|
| 375 |
+
| 2 | ᬧᬓᬓ᭄ | 2 |
|
| 376 |
+
| 3 | ᬮᬸᬦᬸᬓ᭄ | 2 |
|
| 377 |
+
| 4 | ᬫᭂᬭᬜ᭄ᬘᬂ | 2 |
|
| 378 |
+
| 5 | patonangi | 2 |
|
| 379 |
+
| 6 | ᬩᬩᬭᬶᬲ᭄ | 2 |
|
| 380 |
+
| 7 | ᬢᬢᬓᬦ᭄ | 2 |
|
| 381 |
+
| 8 | ᬳᬮᬢ᭄ | 2 |
|
| 382 |
+
| 9 | ᬩᬤᭁᬦ᭄ | 2 |
|
| 383 |
+
| 10 | ᬩᬮᬸᬓᬸᬂ | 2 |
|
| 384 |
|
| 385 |
### Zipf's Law Analysis
|
| 386 |
|
| 387 |
| Metric | Value |
|
| 388 |
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.1326 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.997911 |
|
| 391 |
| Adherence Quality | **excellent** |
|
| 392 |
|
| 393 |
### Coverage Analysis
|
| 394 |
|
| 395 |
| Top N Words | Coverage |
|
| 396 |
|-------------|----------|
|
| 397 |
+
| Top 100 | 45.3% |
|
| 398 |
+
| Top 1,000 | 69.2% |
|
| 399 |
+
| Top 5,000 | 83.1% |
|
| 400 |
+
| Top 10,000 | 88.0% |
|
| 401 |
|
| 402 |
### Key Findings
|
| 403 |
|
| 404 |
+
- **Zipf Compliance:** R²=0.9979 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 45.3% of corpus
|
| 406 |
+
- **Long Tail:** 88,403 words needed for remaining 12.0% coverage
|
| 407 |
|
| 408 |
---
|
| 409 |
## 5. Word Embeddings Evaluation
|
|
|
|
| 419 |
|
| 420 |
### 5.1 Cross-Lingual Alignment
|
| 421 |
|
| 422 |
+

|
| 423 |
+
|
| 424 |
+

|
| 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.8561 🏆 | 0.3559 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.8453 | 0.2824 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.8108 | 0.2152 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8561 | 0.3499 | 0.0500 | 0.3000 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.8453 | 0.2791 | 0.1160 | 0.4180 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.8108 | 0.2217 | 0.1860 | 0.5760 |
|
| 437 |
|
| 438 |
### Key Findings
|
| 439 |
|
| 440 |
+
- **Best Isotropy:** mono_32d with 0.8561 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2840. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 18.6% 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.148** | Low formulaic content | - |
|
| 456 |
|
| 457 |
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
|
|
|
|
| 461 |
#### Productive Prefixes
|
| 462 |
| Prefix | Examples |
|
| 463 |
|--------|----------|
|
| 464 |
+
| `-ka` | kaumahné, kambilo, karangdinoyo |
|
| 465 |
+
| `-ma` | maseosan, matogu, manufaktur |
|
| 466 |
+
| `-pa` | papadun, palmerah, pacing |
|
|
|
|
| 467 |
|
| 468 |
#### Productive Suffixes
|
| 469 |
| Suffix | Examples |
|
| 470 |
|--------|----------|
|
| 471 |
+
| `-n` | alien, gejeran, hughenden |
|
| 472 |
+
| `-an` | gejeran, maseosan, matangnyan |
|
| 473 |
+
| `-ng` | wyoming, siung, yèning |
|
| 474 |
+
| `-ang` | nelebang, renang, hilirundang |
|
|
|
|
| 475 |
|
| 476 |
### 6.3 Bound Stems (Lexical Roots)
|
| 477 |
|
|
|
|
| 479 |
|
| 480 |
| Stem | Cohesion | Substitutability | Examples |
|
| 481 |
|------|----------|------------------|----------|
|
| 482 |
+
| `anga` | 1.63x | 366 contexts | angar, ranga, manga |
|
| 483 |
+
| `nten` | 1.91x | 86 contexts | inten, enten, wnten |
|
| 484 |
+
| `atan` | 1.68x | 151 contexts | batan, vatan, patan |
|
| 485 |
+
| `ngan` | 1.50x | 185 contexts | ingan, angan, ringan |
|
| 486 |
+
| `akin` | 1.95x | 42 contexts | makin, dakin, yakin |
|
| 487 |
+
| `ungg` | 1.47x | 120 contexts | tungg, ungga, unggak |
|
| 488 |
+
| `nggi` | 1.58x | 77 contexts | anggi, nggih, ninggi |
|
| 489 |
+
| `taha` | 1.86x | 33 contexts | tahan, tahai, tahar |
|
| 490 |
+
| `ados` | 2.09x | 21 contexts | dados, sados, padosa |
|
| 491 |
+
| `ggih` | 1.99x | 22 contexts | nggih, inggih, lnggih |
|
| 492 |
+
| `stat` | 1.88x | 20 contexts | state, stats, istat |
|
| 493 |
+
| `isti` | 1.56x | 37 contexts | sistim, bistik, mistik |
|
| 494 |
|
| 495 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 496 |
|
|
|
|
| 498 |
|
| 499 |
| Prefix | Suffix | Frequency | Examples |
|
| 500 |
|--------|--------|-----------|----------|
|
| 501 |
+
| `-ka` | `-n` | 119 words | kapribadian, kaanyarin |
|
| 502 |
+
| `-pa` | `-n` | 117 words | palimanan, pawedaran |
|
| 503 |
+
| `-pa` | `-an` | 104 words | palimanan, pawedaran |
|
| 504 |
+
| `-ka` | `-ng` | 90 words | kagampilang, kalaliang |
|
| 505 |
+
| `-ka` | `-ang` | 75 words | kagampilang, kalaliang |
|
| 506 |
+
| `-ka` | `-an` | 68 words | kapribadian, kalanguan |
|
| 507 |
+
| `-ma` | `-n` | 45 words | malun, maroon |
|
| 508 |
+
| `-ma` | `-an` | 36 words | madénan, mabinaan |
|
| 509 |
+
| `-ma` | `-ng` | 34 words | mamantang, mahondang |
|
| 510 |
+
| `-ma` | `-ang` | 20 words | mamantang, mahondang |
|
| 511 |
|
| 512 |
### 6.5 Recursive Morpheme Segmentation
|
| 513 |
|
|
|
|
| 515 |
|
| 516 |
| Word | Suggested Split | Confidence | Stem |
|
| 517 |
|------|-----------------|------------|------|
|
| 518 |
+
| patarungan | **`pa-taru-ng-an`** | 7.5 | `taru` |
|
| 519 |
+
| kalédangan | **`ka-léda-ng-an`** | 7.5 | `léda` |
|
| 520 |
+
| malimongan | **`ma-limo-ng-an`** | 7.5 | `limo` |
|
| 521 |
+
| kasemaran | **`ka-semar-an`** | 6.0 | `semar` |
|
| 522 |
+
| kaasosiasiang | **`ka-asosiasi-ang`** | 6.0 | `asosiasi` |
|
| 523 |
+
| kadaftarang | **`ka-daftar-ang`** | 6.0 | `daftar` |
|
| 524 |
+
| malaibang | **`ma-laib-ang`** | 6.0 | `laib` |
|
| 525 |
+
| kasunanan | **`ka-sunan-an`** | 6.0 | `sunan` |
|
| 526 |
+
| kawarisang | **`ka-waris-ang`** | 6.0 | `waris` |
|
| 527 |
+
| pangabdian | **`pa-ngabdi-an`** | 6.0 | `ngabdi` |
|
| 528 |
+
| palaibang | **`pa-laib-ang`** | 6.0 | `laib` |
|
| 529 |
+
| kabudayaan | **`ka-budaya-an`** | 6.0 | `budaya` |
|
| 530 |
+
| mapangangge | **`ma-pa-ngangge`** | 6.0 | `ngangge` |
|
| 531 |
+
| mapontang | **`ma-pont-ang`** | 6.0 | `pont` |
|
| 532 |
+
| kajegegan | **`ka-jegeg-an`** | 6.0 | `jegeg` |
|
| 533 |
|
| 534 |
### 6.6 Linguistic Interpretation
|
| 535 |
|
| 536 |
> **Automated Insight:**
|
| 537 |
+
The language Balinese shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 538 |
|
| 539 |
---
|
| 540 |
## 7. Summary & Recommendations
|
|
|
|
| 546 |
| Component | Recommended | Rationale |
|
| 547 |
|-----------|-------------|-----------|
|
| 548 |
| Tokenizer | **64k BPE** | Best compression (5.08x) |
|
| 549 |
+
| N-gram | **2-gram** | Lowest perplexity (223) |
|
| 550 |
| Markov | **Context-4** | Highest predictability (97.1%) |
|
| 551 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 552 |
|
|
|
|
| 761 |
---
|
| 762 |
*Generated by Wikilangs Models Pipeline*
|
| 763 |
|
| 764 |
+
*Report Date: 2026-01-03 18:39:33*
|
models/embeddings/aligned/ban_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa7015dba1b32c26d14135f707769a38af9822fb21669e7e91ac54d8bb06d204
|
| 3 |
+
size 1070163526
|
models/embeddings/aligned/ban_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ban", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ban_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bb3bf0c6d4d0d945a8bfec3bc7023135a84d2c295c5ec74f3b31430a0885d79
|
| 3 |
+
size 65664
|
models/embeddings/aligned/ban_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ban",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 14715,
|
| 7 |
+
"vocab_size": 44349
|
| 8 |
+
}
|
models/embeddings/aligned/ban_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63e94f2703c400ae51ea4776cafae9113ef451be47680e796e6b68a8b15e7c62
|
| 3 |
+
size 268103494
|
models/embeddings/aligned/ban_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ban", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ban_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4609b2ed15b00f8a3811474e5c9d953a1d951b9e23a7a6be7c50a6742e4c8ca8
|
| 3 |
+
size 4224
|
models/embeddings/aligned/ban_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ban",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 14715,
|
| 7 |
+
"vocab_size": 44349
|
| 8 |
+
}
|
models/embeddings/aligned/ban_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0723c484eafe35591778bd74c72acce587929b986611dbef45b5f40e3625f00f
|
| 3 |
+
size 535456838
|
models/embeddings/aligned/ban_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ban", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ban_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09a4bb28588585c56283e814869b4c1ddee25abce34e1e5aad4b39ed3d864aa3
|
| 3 |
+
size 16512
|
models/embeddings/aligned/ban_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ban",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 14715,
|
| 7 |
+
"vocab_size": 44349
|
| 8 |
+
}
|
models/embeddings/monolingual/ban_128d.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa7015dba1b32c26d14135f707769a38af9822fb21669e7e91ac54d8bb06d204
|
| 3 |
+
size 1070163526
|
models/embeddings/monolingual/ban_128d_metadata.json
CHANGED
|
@@ -11,5 +11,5 @@
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 128
|
| 13 |
},
|
| 14 |
-
"vocab_size":
|
| 15 |
}
|
|
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 128
|
| 13 |
},
|
| 14 |
+
"vocab_size": 44349
|
| 15 |
}
|
models/embeddings/monolingual/ban_32d.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63e94f2703c400ae51ea4776cafae9113ef451be47680e796e6b68a8b15e7c62
|
| 3 |
+
size 268103494
|
models/embeddings/monolingual/ban_32d_metadata.json
CHANGED
|
@@ -11,5 +11,5 @@
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 32
|
| 13 |
},
|
| 14 |
-
"vocab_size":
|
| 15 |
}
|
|
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 32
|
| 13 |
},
|
| 14 |
+
"vocab_size": 44349
|
| 15 |
}
|
models/embeddings/monolingual/ban_64d.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0723c484eafe35591778bd74c72acce587929b986611dbef45b5f40e3625f00f
|
| 3 |
+
size 535456838
|
models/embeddings/monolingual/ban_64d_metadata.json
CHANGED
|
@@ -11,5 +11,5 @@
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 64
|
| 13 |
},
|
| 14 |
-
"vocab_size":
|
| 15 |
}
|
|
|
|
| 11 |
"encoding_method": "rope",
|
| 12 |
"dim": 64
|
| 13 |
},
|
| 14 |
+
"vocab_size": 44349
|
| 15 |
}
|
models/subword_markov/ban_markov_ctx1_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:718eb39c64f6851b45cb95f99bbf810ec96f2cc076e64f33264f4d1cf13335c0
|
| 3 |
+
size 242588
|
models/subword_markov/ban_markov_ctx1_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 4719,
|
| 6 |
+
"total_transitions": 27076397
|
| 7 |
}
|
models/subword_markov/ban_markov_ctx2_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3e9a8e2a0e7dde391cd98d4038c21d582c6dbf7a9646e0b5464a19d6ed97b0a
|
| 3 |
+
size 1066241
|
models/subword_markov/ban_markov_ctx2_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 33296,
|
| 6 |
+
"total_transitions": 27042034
|
| 7 |
}
|
models/subword_markov/ban_markov_ctx3_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ecac46deaa421d98934c44e71c7594b179c4b50ff14dcea186802238def94c0
|
| 3 |
+
size 3262707
|
models/subword_markov/ban_markov_ctx3_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 118157,
|
| 6 |
+
"total_transitions": 27007671
|
| 7 |
}
|
models/subword_markov/ban_markov_ctx4_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a596bdbeb821323250ec0d52fb8ba1f6ad34bb3ea2159a62adf907a7b29ed02a
|
| 3 |
+
size 9319931
|
models/subword_markov/ban_markov_ctx4_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 389827,
|
| 6 |
+
"total_transitions": 26973308
|
| 7 |
}
|
models/subword_ngram/ban_2gram_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7fcbc05f1272c5b1332f43cff8a211618970272f4a7a82ab81d4dcd7b6c5e1e8
|
| 3 |
+
size 109826
|
models/subword_ngram/ban_2gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_ngrams": 8004,
|
| 6 |
+
"total_ngrams": 27076397
|
| 7 |
}
|
models/subword_ngram/ban_3gram_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb4d89ef3e14a34a16aa3d600715a522ff2d826f7146a7c998bbe3d7c1c67c9f
|
| 3 |
+
size 584367
|
models/subword_ngram/ban_3gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_ngrams": 43230,
|
| 6 |
+
"total_ngrams": 27042034
|
| 7 |
}
|
models/subword_ngram/ban_4gram_subword.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b15b80930e90d5cbcb46b4cf6f091b611cfcfa749c7466d6db49385f7012264
|
| 3 |
+
size 2381813
|
models/subword_ngram/ban_4gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_ngrams": 210661,
|
| 6 |
+
"total_ngrams": 27007671
|
| 7 |
}
|
models/subword_ngram/ban_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df02a3767b920d1e2f47e25adb9c269988bbba584f47676d81c99c80df21c3fb
|
| 3 |
+
size 6441439
|
models/subword_ngram/ban_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ban",
|
| 5 |
+
"unique_ngrams": 563270,
|
| 6 |
+
"total_ngrams": 26973308
|
| 7 |
+
}
|
models/tokenizer/ban_tokenizer_16k.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88b097bec96c86be17dda7b0ac3181adb2c854d9d5411be044f3b3f6b70daeb1
|
| 3 |
+
size 507335
|
models/tokenizer/ban_tokenizer_16k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ban_tokenizer_32k.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a46272b91e6d11d1d893a911a66a497ebce18277c2e91cf14bc371de57238bea
|
| 3 |
+
size 784420
|
models/tokenizer/ban_tokenizer_32k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ban_tokenizer_64k.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b04a538e67cae4d48d961ecdd8a0a02657476f42538b1a28741d9cf63ad0c1c
|
| 3 |
+
size 1360288
|
models/tokenizer/ban_tokenizer_64k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ban_tokenizer_8k.model
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6f6acca047a065b29e4e6406c18bd7d49a7637ab851303ea7a466119f4f94a4
|
| 3 |
+
size 372967
|
models/tokenizer/ban_tokenizer_8k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/ban_vocabulary.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bfcfa84a48dadb625735b3a0c274277d625a336e6309d08a4092de0a5f31862
|
| 3 |
+
size 1701426
|
models/vocabulary/ban_vocabulary_metadata.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"language": "ban",
|
| 3 |
-
"vocabulary_size":
|
| 4 |
"variant": "full",
|
| 5 |
"statistics": {
|
| 6 |
-
"type_token_ratio": 0.
|
| 7 |
"coverage": {
|
| 8 |
-
"top_100": 0.
|
| 9 |
-
"top_1000": 0.
|
| 10 |
-
"top_5000": 0.
|
| 11 |
-
"top_10000": 0.
|
| 12 |
},
|
| 13 |
-
"hapax_count":
|
| 14 |
-
"hapax_ratio": 0.
|
| 15 |
-
"total_documents":
|
| 16 |
}
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"language": "ban",
|
| 3 |
+
"vocabulary_size": 98403,
|
| 4 |
"variant": "full",
|
| 5 |
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.06744349463678129,
|
| 7 |
"coverage": {
|
| 8 |
+
"top_100": 0.43393023659963936,
|
| 9 |
+
"top_1000": 0.6627173901998574,
|
| 10 |
+
"top_5000": 0.7959204676704827,
|
| 11 |
+
"top_10000": 0.8428477520181278
|
| 12 |
},
|
| 13 |
+
"hapax_count": 160451,
|
| 14 |
+
"hapax_ratio": 0.6198513447735017,
|
| 15 |
+
"total_documents": 34363
|
| 16 |
}
|
| 17 |
}
|
models/word_markov/ban_markov_ctx1_word.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58bd88c2ff7b6fedad91fc291fddfc0eb362aff36cbd25ce91ac0f5e68afd618
|
| 3 |
+
size 12427971
|
models/word_markov/ban_markov_ctx1_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 258667,
|
| 6 |
+
"total_transitions": 3803724
|
| 7 |
}
|
models/word_markov/ban_markov_ctx2_word.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aaef8ba53b9b5f49bb321f3ae6c3e7f0a609ebeb34d6e66e1bfed960a4837c3a
|
| 3 |
+
size 27002495
|
models/word_markov/ban_markov_ctx2_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "ban",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "ban",
|
| 5 |
+
"unique_contexts": 1327861,
|
| 6 |
+
"total_transitions": 3769361
|
| 7 |
}
|