Upload all models and assets for bjn (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- README.md +230 -193
- models/embeddings/aligned/bjn_128d.bin +3 -0
- models/embeddings/aligned/bjn_128d.meta.json +1 -0
- models/embeddings/aligned/bjn_128d.projection.npy +3 -0
- models/embeddings/aligned/bjn_128d_metadata.json +8 -0
- models/embeddings/aligned/bjn_32d.bin +3 -0
- models/embeddings/aligned/bjn_32d.meta.json +1 -0
- models/embeddings/aligned/bjn_32d.projection.npy +3 -0
- models/embeddings/aligned/bjn_32d_metadata.json +8 -0
- models/embeddings/aligned/bjn_64d.bin +3 -0
- models/embeddings/aligned/bjn_64d.meta.json +1 -0
- models/embeddings/aligned/bjn_64d.projection.npy +3 -0
- models/embeddings/aligned/bjn_64d_metadata.json +8 -0
- models/embeddings/monolingual/bjn_128d.bin +2 -2
- models/embeddings/monolingual/bjn_128d_metadata.json +1 -1
- models/embeddings/monolingual/bjn_32d.bin +2 -2
- models/embeddings/monolingual/bjn_32d_metadata.json +1 -1
- models/embeddings/monolingual/bjn_64d.bin +2 -2
- models/embeddings/monolingual/bjn_64d_metadata.json +1 -1
- models/subword_markov/bjn_markov_ctx1_subword.parquet +2 -2
- models/subword_markov/bjn_markov_ctx1_subword_metadata.json +2 -2
- models/subword_markov/bjn_markov_ctx2_subword.parquet +2 -2
- models/subword_markov/bjn_markov_ctx2_subword_metadata.json +2 -2
- models/subword_markov/bjn_markov_ctx3_subword.parquet +2 -2
- models/subword_markov/bjn_markov_ctx3_subword_metadata.json +2 -2
- models/subword_markov/bjn_markov_ctx4_subword.parquet +2 -2
- models/subword_markov/bjn_markov_ctx4_subword_metadata.json +2 -2
- models/subword_ngram/bjn_2gram_subword.parquet +2 -2
- models/subword_ngram/bjn_2gram_subword_metadata.json +2 -2
- models/subword_ngram/bjn_3gram_subword.parquet +2 -2
- models/subword_ngram/bjn_3gram_subword_metadata.json +2 -2
- models/subword_ngram/bjn_4gram_subword.parquet +2 -2
- models/subword_ngram/bjn_4gram_subword_metadata.json +2 -2
- models/subword_ngram/bjn_5gram_subword.parquet +3 -0
- models/subword_ngram/bjn_5gram_subword_metadata.json +7 -0
- models/tokenizer/bjn_tokenizer_16k.model +2 -2
- models/tokenizer/bjn_tokenizer_16k.vocab +0 -0
- models/tokenizer/bjn_tokenizer_32k.model +2 -2
- models/tokenizer/bjn_tokenizer_32k.vocab +0 -0
- models/tokenizer/bjn_tokenizer_64k.model +2 -2
- models/tokenizer/bjn_tokenizer_64k.vocab +0 -0
- models/tokenizer/bjn_tokenizer_8k.model +2 -2
- models/tokenizer/bjn_tokenizer_8k.vocab +0 -0
- models/vocabulary/bjn_vocabulary.parquet +2 -2
- models/vocabulary/bjn_vocabulary_metadata.json +9 -9
- models/word_markov/bjn_markov_ctx1_word.parquet +2 -2
- models/word_markov/bjn_markov_ctx1_word_metadata.json +2 -2
- models/word_markov/bjn_markov_ctx2_word.parquet +2 -2
- models/word_markov/bjn_markov_ctx2_word_metadata.json +2 -2
.gitattributes
CHANGED
|
@@ -38,3 +38,4 @@ 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
|
|
|
|
|
|
| 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
|
| 41 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
language: bjn
|
| 3 |
-
language_name:
|
| 4 |
language_family: austronesian_malay
|
| 5 |
tags:
|
| 6 |
- wikilangs
|
|
@@ -10,11 +10,21 @@ tags:
|
|
| 10 |
- n-gram
|
| 11 |
- markov
|
| 12 |
- wikipedia
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- monolingual
|
| 14 |
- family-austronesian_malay
|
| 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: 4.
|
| 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** | 3.761x | 3.76 | 0.
|
| 84 |
-
| **16k** | 4.
|
| 85 |
-
| **32k** | 4.537x | 4.54 | 0.
|
| 86 |
-
| **64k** | 4.
|
| 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 4.
|
| 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 | 6,
|
| 141 |
-
| **2-gram** | Subword |
|
| 142 |
-
| **3-gram** | Word | 3,
|
| 143 |
-
| **3-gram** | Subword | 1,
|
| 144 |
-
| **4-gram** | Word | 5,
|
| 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 | `kampung di` | 5,
|
| 154 |
-
| 2 | `prupinsi kalimantan` | 5,
|
| 155 |
-
| 3 | `di kacamatan` | 5,
|
| 156 |
-
| 4 | `adalah sabuah` | 4,
|
| 157 |
-
| 5 | `sabuah kampung` | 3,
|
| 158 |
|
| 159 |
**3-grams (Word):**
|
| 160 |
|
| 161 |
| Rank | N-gram | Count |
|
| 162 |
|------|--------|-------|
|
| 163 |
| 1 | `kampung di kacamatan` | 5,212 |
|
| 164 |
-
| 2 | `
|
| 165 |
-
| 3 | `sabuah kampung
|
| 166 |
-
| 4 | `kalimantan selatan indunisia` | 2,
|
| 167 |
-
| 5 | `prupinsi kalimantan selatan` | 2,
|
| 168 |
|
| 169 |
**4-grams (Word):**
|
| 170 |
|
| 171 |
| Rank | N-gram | Count |
|
| 172 |
|------|--------|-------|
|
| 173 |
-
| 1 | `sabuah kampung di kacamatan` | 3,
|
| 174 |
-
| 2 | `adalah sabuah kampung di` | 3,
|
| 175 |
-
| 3 | `prupinsi kalimantan selatan indunisia` | 2,
|
| 176 |
| 4 | `prupinsi kalimantan barat indunisia` | 1,806 |
|
| 177 |
-
| 5 | `sabuting kampung di
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
**2-grams (Subword):**
|
| 180 |
|
| 181 |
| Rank | N-gram | Count |
|
| 182 |
|------|--------|-------|
|
| 183 |
-
| 1 | `a n` |
|
| 184 |
-
| 2 | `n _` |
|
| 185 |
-
| 3 | `n g` |
|
| 186 |
-
| 4 | `a _` |
|
| 187 |
-
| 5 | `k a` |
|
| 188 |
|
| 189 |
**3-grams (Subword):**
|
| 190 |
|
| 191 |
| Rank | N-gram | Count |
|
| 192 |
|------|--------|-------|
|
| 193 |
-
| 1 | `a n _` |
|
| 194 |
-
| 2 | `a n g` |
|
| 195 |
-
| 3 | `_ k a` |
|
| 196 |
-
| 4 | `n g _` |
|
| 197 |
-
| 5 | `_ m a` | 57,
|
| 198 |
|
| 199 |
**4-grams (Subword):**
|
| 200 |
|
| 201 |
| Rank | N-gram | Count |
|
| 202 |
|------|--------|-------|
|
| 203 |
-
| 1 | `a n g _` | 48,
|
| 204 |
-
| 2 | `t a n _` | 34,
|
| 205 |
-
| 3 | `n a n g` | 29,
|
| 206 |
-
| 4 | `a t a n` | 29,
|
| 207 |
-
| 5 | `_ n a n` | 28,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.7802 | 1.717 | 3.
|
| 236 |
-
| **4** | Word | 0.
|
| 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. `di
|
| 246 |
-
2. `nang
|
| 247 |
-
3. `wan
|
| 248 |
|
| 249 |
**Context Size 2:**
|
| 250 |
|
| 251 |
-
1. `kampung di
|
| 252 |
-
2. `prupinsi kalimantan
|
| 253 |
-
3. `di kacamatan
|
| 254 |
|
| 255 |
**Context Size 3:**
|
| 256 |
|
| 257 |
-
1. `kampung di kacamatan
|
| 258 |
-
2. `adalah sabuah kampung di kacamatan
|
| 259 |
-
3. `sabuah kampung di kacamatan
|
| 260 |
|
| 261 |
**Context Size 4:**
|
| 262 |
|
| 263 |
-
1. `sabuah kampung di kacamatan
|
| 264 |
-
2. `adalah sabuah kampung di kacamatan
|
| 265 |
-
3. `sabuting kampung di kacamatan
|
| 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 98.5% predictability
|
| 300 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 301 |
-
- **Memory Trade-off:** Larger contexts require more storage (179,
|
| 302 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 303 |
|
| 304 |
---
|
|
@@ -314,48 +346,48 @@ Below are text samples generated from each subword-based Markov chain model:
|
|
| 314 |
|
| 315 |
| Metric | Value |
|
| 316 |
|--------|-------|
|
| 317 |
-
| Vocabulary Size | 41,
|
| 318 |
-
| Total Tokens |
|
| 319 |
-
| Mean Frequency |
|
| 320 |
| Median Frequency | 4 |
|
| 321 |
-
| Frequency Std Dev |
|
| 322 |
|
| 323 |
### Most Common Words
|
| 324 |
|
| 325 |
| Rank | Word | Frequency |
|
| 326 |
|------|------|-----------|
|
| 327 |
-
| 1 | di | 27,
|
| 328 |
-
| 2 | nang |
|
| 329 |
-
| 3 | wan |
|
| 330 |
-
| 4 | adalah | 10,
|
| 331 |
-
| 5 |
|
| 332 |
-
| 6 |
|
| 333 |
-
| 7 | kacamatan | 9,
|
| 334 |
-
| 8 | kalimantan | 8,
|
| 335 |
-
| 9 | kampung | 7,
|
| 336 |
-
| 10 | matan | 7,
|
| 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
|
|
@@ -363,15 +395,15 @@ Below are text samples generated from each subword-based Markov chain model:
|
|
| 363 |
| Top N Words | Coverage |
|
| 364 |
|-------------|----------|
|
| 365 |
| Top 100 | 35.5% |
|
| 366 |
-
| Top 1,000 | 62.
|
| 367 |
| Top 5,000 | 81.6% |
|
| 368 |
| Top 10,000 | 88.8% |
|
| 369 |
|
| 370 |
### Key Findings
|
| 371 |
|
| 372 |
-
- **Zipf Compliance:** R²=0.
|
| 373 |
- **High Frequency Dominance:** Top 100 words cover 35.5% of corpus
|
| 374 |
-
- **Long Tail:** 31,
|
| 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:**
|
| 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,26 +461,26 @@ These are the most productive prefixes and suffixes identified by sampling the v
|
|
| 426 |
#### Productive Prefixes
|
| 427 |
| Prefix | Examples |
|
| 428 |
|--------|----------|
|
| 429 |
-
| `-ma` |
|
| 430 |
-
| `-pa` |
|
| 431 |
-
| `-
|
| 432 |
-
| `-
|
| 433 |
-
| `-ka` |
|
| 434 |
-
| `-
|
| 435 |
-
| `-man` |
|
| 436 |
-
| `-pe` |
|
| 437 |
|
| 438 |
#### Productive Suffixes
|
| 439 |
| Suffix | Examples |
|
| 440 |
|--------|----------|
|
| 441 |
-
| `-n` |
|
| 442 |
-
| `-an` |
|
| 443 |
-
| `-a` |
|
| 444 |
-
| `-ng` |
|
| 445 |
-
| `-
|
| 446 |
-
| `-
|
| 447 |
-
| `-
|
| 448 |
-
| `-akan` |
|
| 449 |
|
| 450 |
### 6.3 Bound Stems (Lexical Roots)
|
| 451 |
|
|
@@ -453,18 +488,18 @@ Bound stems are high-frequency subword units that are semantically cohesive but
|
|
| 453 |
|
| 454 |
| Stem | Cohesion | Substitutability | Examples |
|
| 455 |
|------|----------|------------------|----------|
|
| 456 |
-
| `anga` | 1.
|
| 457 |
-
| `unga` |
|
| 458 |
-
| `
|
| 459 |
-
| `
|
| 460 |
-
| `
|
| 461 |
-
| `
|
| 462 |
-
| `
|
| 463 |
-
| `
|
| 464 |
-
| `dala` | 1.
|
| 465 |
-
| `
|
| 466 |
-
| `
|
| 467 |
-
| `
|
| 468 |
|
| 469 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 470 |
|
|
@@ -472,16 +507,16 @@ This table shows which prefixes and suffixes most frequently co-occur on the sam
|
|
| 472 |
|
| 473 |
| Prefix | Suffix | Frequency | Examples |
|
| 474 |
|--------|--------|-----------|----------|
|
| 475 |
-
| `-pa` | `-n` |
|
| 476 |
-
| `-pa` | `-an` |
|
| 477 |
-
| `-di` | `-n` |
|
| 478 |
-
| `-
|
| 479 |
-
| `-
|
| 480 |
-
| `-di` | `-
|
| 481 |
-
| `-ma` | `-an` |
|
| 482 |
-
| `-
|
| 483 |
-
| `-ka` | `-an` |
|
| 484 |
-
| `-ma` | `-kan` |
|
| 485 |
|
| 486 |
### 6.5 Recursive Morpheme Segmentation
|
| 487 |
|
|
@@ -489,26 +524,28 @@ Using **Recursive Hierarchical Substitutability**, we decompose complex words in
|
|
| 489 |
|
| 490 |
| Word | Suggested Split | Confidence | Stem |
|
| 491 |
|------|-----------------|------------|------|
|
| 492 |
-
|
|
| 493 |
-
|
|
| 494 |
-
|
|
| 495 |
-
|
|
| 496 |
-
|
|
| 497 |
-
|
|
| 498 |
-
|
|
| 499 |
-
|
|
| 500 |
-
|
|
| 501 |
-
|
|
| 502 |
-
|
|
| 503 |
-
|
|
| 504 |
-
|
|
| 505 |
-
|
|
| 506 |
-
|
|
| 507 |
|
| 508 |
### 6.6 Linguistic Interpretation
|
| 509 |
|
| 510 |
> **Automated Insight:**
|
| 511 |
-
The language
|
|
|
|
|
|
|
| 512 |
|
| 513 |
---
|
| 514 |
## 7. Summary & Recommendations
|
|
@@ -520,7 +557,7 @@ The language BJN appears to be more isolating or has a highly fixed vocabulary.
|
|
| 520 |
| Component | Recommended | Rationale |
|
| 521 |
|-----------|-------------|-----------|
|
| 522 |
| Tokenizer | **64k BPE** | Best compression (4.83x) |
|
| 523 |
-
| N-gram | **2-gram** | Lowest perplexity (
|
| 524 |
| Markov | **Context-4** | Highest predictability (98.5%) |
|
| 525 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 526 |
|
|
@@ -735,4 +772,4 @@ MIT License - Free for academic and commercial use.
|
|
| 735 |
---
|
| 736 |
*Generated by Wikilangs Models Pipeline*
|
| 737 |
|
| 738 |
-
*Report Date: 2026-01-03
|
|
|
|
| 1 |
---
|
| 2 |
language: bjn
|
| 3 |
+
language_name: Banjar
|
| 4 |
language_family: austronesian_malay
|
| 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_malay
|
| 25 |
license: mit
|
| 26 |
library_name: wikilangs
|
| 27 |
+
pipeline_tag: text-generation
|
| 28 |
datasets:
|
| 29 |
- omarkamali/wikipedia-monthly
|
| 30 |
dataset_info:
|
|
|
|
| 33 |
metrics:
|
| 34 |
- name: best_compression_ratio
|
| 35 |
type: compression
|
| 36 |
+
value: 4.830
|
| 37 |
- name: best_isotropy
|
| 38 |
type: isotropy
|
| 39 |
+
value: 0.8715
|
| 40 |
- name: vocabulary_size
|
| 41 |
type: vocab
|
| 42 |
value: 0
|
| 43 |
generated: 2026-01-03
|
| 44 |
---
|
| 45 |
|
| 46 |
+
# Banjar - Wikilangs Models
|
| 47 |
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Banjar** Wikipedia data.
|
| 50 |
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 51 |
|
| 52 |
## 📋 Repository Contents
|
|
|
|
| 70 |
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 71 |
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 72 |
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 73 |
+
- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
|
| 74 |
- [7. Summary & Recommendations](#7-summary--recommendations)
|
| 75 |
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 76 |
- [Visualizations Index](#visualizations-index)
|
|
|
|
| 90 |
|
| 91 |
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 92 |
|------------|-------------|---------------|----------|--------------|
|
| 93 |
+
| **8k** | 3.761x | 3.76 | 0.3950% | 367,048 |
|
| 94 |
+
| **16k** | 4.164x | 4.17 | 0.4374% | 331,539 |
|
| 95 |
+
| **32k** | 4.537x | 4.54 | 0.4766% | 304,229 |
|
| 96 |
+
| **64k** | 4.830x 🏆 | 4.83 | 0.5073% | 285,820 |
|
| 97 |
|
| 98 |
### Tokenization Examples
|
| 99 |
|
| 100 |
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
|
| 102 |
+
**Sample 1:** `Wedoro adalah sabuah kampung di Kacamatan Glagah, Kabupatin Lamongan, Prupinsi J...`
|
| 103 |
|
| 104 |
| Vocab | Tokens | Count |
|
| 105 |
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁w ed oro ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁glagah , ... (+9 more)` | 19 |
|
| 107 |
+
| 16k | `▁wed oro ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁glagah , ▁kabupatin ... (+8 more)` | 18 |
|
| 108 |
+
| 32k | `▁wedoro ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁glagah , ▁kabupatin ▁lamongan ... (+7 more)` | 17 |
|
| 109 |
+
| 64k | `▁wedoro ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁glagah , ▁kabupatin ▁lamongan ... (+7 more)` | 17 |
|
| 110 |
|
| 111 |
+
**Sample 2:** `Laburan Baru' adalah sabuah kampung di Kacamatan Paser Belengkong, Kabupatin Pas...`
|
| 112 |
|
| 113 |
| Vocab | Tokens | Count |
|
| 114 |
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁lab uran ▁baru ' ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁paser ... (+12 more)` | 22 |
|
| 116 |
+
| 16k | `▁lab uran ▁baru ' ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁paser ... (+11 more)` | 21 |
|
| 117 |
+
| 32k | `▁laburan ▁baru ' ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁paser ▁belengkong ... (+10 more)` | 20 |
|
| 118 |
+
| 64k | `▁laburan ▁baru ' ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁paser ▁belengkong ... (+10 more)` | 20 |
|
| 119 |
|
| 120 |
+
**Sample 3:** `Nibung adalah sabuah kampung di Kacamatan Selimbau, Kabupatin Kapuas Hulu, Prupi...`
|
| 121 |
|
| 122 |
| Vocab | Tokens | Count |
|
| 123 |
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁n ib ung ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁sel imb ... (+12 more)` | 22 |
|
| 125 |
+
| 16k | `▁n ibung ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁selimbau , ▁kabupatin ... (+9 more)` | 19 |
|
| 126 |
+
| 32k | `▁nibung ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁selimbau , ▁kabupatin ▁kapuas ... (+8 more)` | 18 |
|
| 127 |
+
| 64k | `▁nibung ▁adalah ▁sabuah ▁kampung ▁di ▁kacamatan ▁selimbau , ▁kabupatin ▁kapuas ... (+8 more)` | 18 |
|
| 128 |
|
| 129 |
|
| 130 |
### Key Findings
|
| 131 |
|
| 132 |
+
- **Best Compression:** 64k achieves 4.830x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.3950% 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 | 6,505 | 12.67 | 21,751 | 23.6% | 44.5% |
|
| 151 |
+
| **2-gram** | Subword | 185 🏆 | 7.53 | 2,788 | 78.2% | 99.5% |
|
| 152 |
+
| **3-gram** | Word | 3,849 | 11.91 | 17,881 | 32.5% | 51.6% |
|
| 153 |
+
| **3-gram** | Subword | 1,428 | 10.48 | 20,293 | 34.4% | 80.3% |
|
| 154 |
+
| **4-gram** | Word | 5,302 | 12.37 | 24,831 | 28.9% | 48.0% |
|
| 155 |
+
| **4-gram** | Subword | 7,612 | 12.89 | 99,642 | 17.5% | 50.0% |
|
| 156 |
+
| **5-gram** | Word | 4,712 | 12.20 | 16,656 | 25.7% | 48.4% |
|
| 157 |
+
| **5-gram** | Subword | 25,009 | 14.61 | 245,459 | 12.3% | 34.0% |
|
| 158 |
|
| 159 |
### Top 5 N-grams by Size
|
| 160 |
|
|
|
|
| 162 |
|
| 163 |
| Rank | N-gram | Count |
|
| 164 |
|------|--------|-------|
|
| 165 |
+
| 1 | `kampung di` | 5,961 |
|
| 166 |
+
| 2 | `prupinsi kalimantan` | 5,903 |
|
| 167 |
+
| 3 | `di kacamatan` | 5,625 |
|
| 168 |
+
| 4 | `adalah sabuah` | 4,211 |
|
| 169 |
+
| 5 | `sabuah kampung` | 3,806 |
|
| 170 |
|
| 171 |
**3-grams (Word):**
|
| 172 |
|
| 173 |
| Rank | N-gram | Count |
|
| 174 |
|------|--------|-------|
|
| 175 |
| 1 | `kampung di kacamatan` | 5,212 |
|
| 176 |
+
| 2 | `sabuah kampung di` | 3,803 |
|
| 177 |
+
| 3 | `adalah sabuah kampung` | 3,803 |
|
| 178 |
+
| 4 | `kalimantan selatan indunisia` | 2,201 |
|
| 179 |
+
| 5 | `prupinsi kalimantan selatan` | 2,188 |
|
| 180 |
|
| 181 |
**4-grams (Word):**
|
| 182 |
|
| 183 |
| Rank | N-gram | Count |
|
| 184 |
|------|--------|-------|
|
| 185 |
+
| 1 | `sabuah kampung di kacamatan` | 3,802 |
|
| 186 |
+
| 2 | `adalah sabuah kampung di` | 3,801 |
|
| 187 |
+
| 3 | `prupinsi kalimantan selatan indunisia` | 2,154 |
|
| 188 |
| 4 | `prupinsi kalimantan barat indunisia` | 1,806 |
|
| 189 |
+
| 5 | `yaitu sabuting kampung di` | 1,356 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `adalah sabuah kampung di kacamatan` | 3,801 |
|
| 196 |
+
| 2 | `yaitu sabuting kampung di kacamatan` | 1,253 |
|
| 197 |
+
| 3 | `indunisia géografi watas wilayah watas` | 1,113 |
|
| 198 |
+
| 4 | `géografi watas wilayah watas wilayah` | 1,099 |
|
| 199 |
+
| 5 | `watas wilayah watas wilayah kacamatan` | 739 |
|
| 200 |
|
| 201 |
**2-grams (Subword):**
|
| 202 |
|
| 203 |
| Rank | N-gram | Count |
|
| 204 |
|------|--------|-------|
|
| 205 |
+
| 1 | `a n` | 365,243 |
|
| 206 |
+
| 2 | `n _` | 194,875 |
|
| 207 |
+
| 3 | `n g` | 152,971 |
|
| 208 |
+
| 4 | `a _` | 138,836 |
|
| 209 |
+
| 5 | `k a` | 132,349 |
|
| 210 |
|
| 211 |
**3-grams (Subword):**
|
| 212 |
|
| 213 |
| Rank | N-gram | Count |
|
| 214 |
|------|--------|-------|
|
| 215 |
+
| 1 | `a n _` | 156,222 |
|
| 216 |
+
| 2 | `a n g` | 84,871 |
|
| 217 |
+
| 3 | `_ k a` | 76,502 |
|
| 218 |
+
| 4 | `n g _` | 75,610 |
|
| 219 |
+
| 5 | `_ m a` | 57,961 |
|
| 220 |
|
| 221 |
**4-grams (Subword):**
|
| 222 |
|
| 223 |
| Rank | N-gram | Count |
|
| 224 |
|------|--------|-------|
|
| 225 |
+
| 1 | `a n g _` | 48,934 |
|
| 226 |
+
| 2 | `t a n _` | 34,621 |
|
| 227 |
+
| 3 | `n a n g` | 29,979 |
|
| 228 |
+
| 4 | `a t a n` | 29,470 |
|
| 229 |
+
| 5 | `_ n a n` | 28,658 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ n a n g` | 28,407 |
|
| 236 |
+
| 2 | `n a n g _` | 27,864 |
|
| 237 |
+
| 3 | `a t a n _` | 22,485 |
|
| 238 |
+
| 4 | `m a t a n` | 17,997 |
|
| 239 |
+
| 5 | `_ w a n _` | 17,178 |
|
| 240 |
|
| 241 |
|
| 242 |
### Key Findings
|
| 243 |
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 185
|
| 245 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~34% 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.8469 | 1.799 | 5.67 | 99,056 | 15.3% |
|
| 263 |
+
| **1** | Subword | 0.7172 | 1.644 | 4.59 | 2,416 | 28.3% |
|
| 264 |
+
| **2** | Word | 0.2337 | 1.176 | 1.48 | 559,810 | 76.6% |
|
| 265 |
+
| **2** | Subword | 0.6823 | 1.605 | 4.16 | 11,092 | 31.8% |
|
| 266 |
+
| **3** | Word | 0.0561 | 1.040 | 1.08 | 824,984 | 94.4% |
|
| 267 |
+
| **3** | Subword | 0.7802 | 1.717 | 3.90 | 46,118 | 22.0% |
|
| 268 |
+
| **4** | Word | 0.0150 🏆 | 1.010 | 1.02 | 890,043 | 98.5% |
|
| 269 |
+
| **4** | Subword | 0.6544 | 1.574 | 2.81 | 179,736 | 34.6% |
|
| 270 |
|
| 271 |
### Generated Text Samples (Word-based)
|
| 272 |
|
|
|
|
| 274 |
|
| 275 |
**Context Size 1:**
|
| 276 |
|
| 277 |
+
1. `di kacamatan konang kabupatin sanggau prupinsi kalimantan tengah mesir india indunisia watas wilayah...`
|
| 278 |
+
2. `nang baisi banyak banar dalam bahasa utama liga 3 m 1 sampai pamulaan wan takananya barupa`
|
| 279 |
+
3. `wan manangani kajahatan gasan hintalu diploid buhannya kawa jua gasan pahitungan hisab nitu angin tu...`
|
| 280 |
|
| 281 |
**Context Size 2:**
|
| 282 |
|
| 283 |
+
1. `kampung di kacamatan teluk sampit pambagian administratip kacamatan tualan hulu pambagian administra...`
|
| 284 |
+
2. `prupinsi kalimantan timur indunisia makanan nangkaya tempe matan kacang kacangan imbah disangrai bad...`
|
| 285 |
+
3. `di kacamatan menyuke kabupatin landak prupinsi kalimantan barat indunisia géografi watas wilayah kac...`
|
| 286 |
|
| 287 |
**Context Size 3:**
|
| 288 |
|
| 289 |
+
1. `kampung di kacamatan tambakrejo kabupatin bojonegoro prupinsi jawa timur jujuhutan`
|
| 290 |
+
2. `adalah sabuah kampung di kacamatan semitau kabupatin kapuas hulu prupinsi kalimantan barat indunisia...`
|
| 291 |
+
3. `sabuah kampung di kacamatan long iram kabupatin kutai barat prupinsi kalimantan timur indunisia géog...`
|
| 292 |
|
| 293 |
**Context Size 4:**
|
| 294 |
|
| 295 |
+
1. `sabuah kampung di kacamatan bengalon kabupatin kutai timur prupinsi kalimantan timur indunisia indun...`
|
| 296 |
+
2. `adalah sabuah kampung di kacamatan ketungau tengah kabupatin sintang prupinsi kalimantan barat indun...`
|
| 297 |
+
3. `yaitu sabuting kampung di kacamatan karang intan kabupatin banjar prupinsi kalimantan selatan induni...`
|
| 298 |
|
| 299 |
|
| 300 |
### Generated Text Samples (Subword-based)
|
|
|
|
| 303 |
|
| 304 |
**Context Size 1:**
|
| 305 |
|
| 306 |
+
1. `awanaangik_ta,_t`
|
| 307 |
+
2. `_g_viabara_pa_li`
|
| 308 |
+
3. `ng_ksawarbunteru`
|
| 309 |
|
| 310 |
**Context Size 2:**
|
| 311 |
|
| 312 |
+
1. `anyan_adangga,_br`
|
| 313 |
+
2. `n_kalambang_pem_a`
|
| 314 |
+
3. `ng_dew,_dibantu,_`
|
| 315 |
|
| 316 |
**Context Size 3:**
|
| 317 |
|
| 318 |
+
1. `an_jejani_andan_ka`
|
| 319 |
+
2. `ang_sambara,_pres,`
|
| 320 |
+
3. `_kacamatas_palima_`
|
| 321 |
|
| 322 |
**Context Size 4:**
|
| 323 |
|
| 324 |
+
1. `ang_maman_banjadi_h`
|
| 325 |
+
2. `tan_bakcanganis_rik`
|
| 326 |
+
3. `nang_kampung_dalah_`
|
| 327 |
|
| 328 |
|
| 329 |
### Key Findings
|
| 330 |
|
| 331 |
- **Best Predictability:** Context-4 (word) with 98.5% predictability
|
| 332 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (179,736 contexts)
|
| 334 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
|
| 336 |
---
|
|
|
|
| 346 |
|
| 347 |
| Metric | Value |
|
| 348 |
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 41,351 |
|
| 350 |
+
| Total Tokens | 992,449 |
|
| 351 |
+
| Mean Frequency | 24.00 |
|
| 352 |
| Median Frequency | 4 |
|
| 353 |
+
| Frequency Std Dev | 278.70 |
|
| 354 |
|
| 355 |
### Most Common Words
|
| 356 |
|
| 357 |
| Rank | Word | Frequency |
|
| 358 |
|------|------|-----------|
|
| 359 |
+
| 1 | di | 27,655 |
|
| 360 |
+
| 2 | nang | 27,387 |
|
| 361 |
+
| 3 | wan | 17,250 |
|
| 362 |
+
| 4 | adalah | 10,715 |
|
| 363 |
+
| 5 | lawan | 9,581 |
|
| 364 |
+
| 6 | indunisia | 9,420 |
|
| 365 |
+
| 7 | kacamatan | 9,139 |
|
| 366 |
+
| 8 | kalimantan | 8,368 |
|
| 367 |
+
| 9 | kampung | 7,824 |
|
| 368 |
+
| 10 | matan | 7,698 |
|
| 369 |
|
| 370 |
### Least Common Words (from vocabulary)
|
| 371 |
|
| 372 |
| Rank | Word | Frequency |
|
| 373 |
|------|------|-----------|
|
| 374 |
+
| 1 | beregszásziová | 2 |
|
| 375 |
+
| 2 | košice | 2 |
|
| 376 |
+
| 3 | satian | 2 |
|
| 377 |
+
| 4 | extreme | 2 |
|
| 378 |
+
| 5 | frisna | 2 |
|
| 379 |
+
| 6 | ropang | 2 |
|
| 380 |
+
| 7 | caknan | 2 |
|
| 381 |
+
| 8 | muktamar | 2 |
|
| 382 |
+
| 9 | sandon | 2 |
|
| 383 |
+
| 10 | sékuéns | 2 |
|
| 384 |
|
| 385 |
### Zipf's Law Analysis
|
| 386 |
|
| 387 |
| Metric | Value |
|
| 388 |
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.0491 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.995109 |
|
| 391 |
| Adherence Quality | **excellent** |
|
| 392 |
|
| 393 |
### Coverage Analysis
|
|
|
|
| 395 |
| Top N Words | Coverage |
|
| 396 |
|-------------|----------|
|
| 397 |
| Top 100 | 35.5% |
|
| 398 |
+
| Top 1,000 | 62.4% |
|
| 399 |
| Top 5,000 | 81.6% |
|
| 400 |
| Top 10,000 | 88.8% |
|
| 401 |
|
| 402 |
### Key Findings
|
| 403 |
|
| 404 |
+
- **Zipf Compliance:** R²=0.9951 indicates excellent adherence to Zipf's law
|
| 405 |
- **High Frequency Dominance:** Top 100 words cover 35.5% of corpus
|
| 406 |
+
- **Long Tail:** 31,351 words needed for remaining 11.2% 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.8715 | 0.3303 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.8409 | 0.2593 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.5527 | 0.2130 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8715 🏆 | 0.3312 | 0.0420 | 0.2520 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.8409 | 0.2582 | 0.0680 | 0.3160 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.5527 | 0.2256 | 0.1380 | 0.4260 |
|
| 437 |
|
| 438 |
### Key Findings
|
| 439 |
|
| 440 |
+
- **Best Isotropy:** aligned_32d with 0.8715 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2696. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 13.8% R@1 in cross-lingual retrieval.
|
| 443 |
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
|
| 445 |
---
|
| 446 |
## 6. Morphological Analysis (Experimental)
|
| 447 |
|
|
|
|
|
|
|
| 448 |
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
|
| 450 |
### 6.1 Productivity & Complexity
|
| 451 |
|
| 452 |
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **0.423** | High formulaic/idiomatic content | - |
|
| 456 |
|
| 457 |
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
|
|
|
|
| 461 |
#### Productive Prefixes
|
| 462 |
| Prefix | Examples |
|
| 463 |
|--------|----------|
|
| 464 |
+
| `-ma` | manentang, maut, marked |
|
| 465 |
+
| `-pa` | parachute, pattern, pamain |
|
| 466 |
+
| `-ba` | bantam, babakan, barambai |
|
| 467 |
+
| `-di` | dibawakan, dihimpun, dibatasi |
|
| 468 |
+
| `-ka` | karoseri, kampanye, kahala |
|
| 469 |
+
| `-ta` | tatikap, tahitung, tato |
|
| 470 |
+
| `-man` | manentang, manuruti, manggalungsur |
|
| 471 |
+
| `-pe` | penyelenggara, pengadilan, pertapaan |
|
| 472 |
|
| 473 |
#### Productive Suffixes
|
| 474 |
| Suffix | Examples |
|
| 475 |
|--------|----------|
|
| 476 |
+
| `-n` | pattern, babakan, tikinan |
|
| 477 |
+
| `-an` | babakan, tikinan, kanaan |
|
| 478 |
+
| `-a` | kurbannya, kahala, dhaka |
|
| 479 |
+
| `-ng` | manentang, gondang, rahang |
|
| 480 |
+
| `-kan` | babakan, dibawakan, menguntungkan |
|
| 481 |
+
| `-ya` | kurbannya, karibnya, makanannya |
|
| 482 |
+
| `-nya` | kurbannya, karibnya, makanannya |
|
| 483 |
+
| `-akan` | babakan, dibawakan, maruntuhakan |
|
| 484 |
|
| 485 |
### 6.3 Bound Stems (Lexical Roots)
|
| 486 |
|
|
|
|
| 488 |
|
| 489 |
| Stem | Cohesion | Substitutability | Examples |
|
| 490 |
|------|----------|------------------|----------|
|
| 491 |
+
| `anga` | 1.62x | 225 contexts | sanga, manga, nanga |
|
| 492 |
+
| `unga` | 2.11x | 57 contexts | bunga, rungan, bungas |
|
| 493 |
+
| `ngan` | 1.95x | 58 contexts | pangan, rungan, bongan |
|
| 494 |
+
| `anja` | 1.76x | 82 contexts | sanja, ganja, anjat |
|
| 495 |
+
| `ntan` | 1.89x | 49 contexts | antan, intan, antang |
|
| 496 |
+
| `mant` | 1.94x | 39 contexts | manta, manti, mantel |
|
| 497 |
+
| `ting` | 1.63x | 79 contexts | keting, tingah, eating |
|
| 498 |
+
| `ndun` | 2.15x | 24 contexts | rundun, indung, mendung |
|
| 499 |
+
| `dala` | 1.77x | 38 contexts | dalam, dalas, adalah |
|
| 500 |
+
| `atin` | 1.82x | 26 contexts | atina, batin, latin |
|
| 501 |
+
| `pung` | 1.91x | 21 contexts | apung, pungsi, capung |
|
| 502 |
+
| `adal` | 1.91x | 16 contexts | badal, kadal, adalah |
|
| 503 |
|
| 504 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 505 |
|
|
|
|
| 507 |
|
| 508 |
| Prefix | Suffix | Frequency | Examples |
|
| 509 |
|--------|--------|-----------|----------|
|
| 510 |
+
| `-pa` | `-n` | 207 words | palayanan, paampihan |
|
| 511 |
+
| `-pa` | `-an` | 195 words | palayanan, paampihan |
|
| 512 |
+
| `-di` | `-n` | 149 words | diasingakan, dimanangakan |
|
| 513 |
+
| `-ma` | `-n` | 144 words | manyurangan, mampartahanakan |
|
| 514 |
+
| `-ka` | `-n` | 144 words | kamantirian, kajiwaan |
|
| 515 |
+
| `-di` | `-an` | 140 words | diasingakan, dimanangakan |
|
| 516 |
+
| `-ma` | `-an` | 136 words | manyurangan, mampartahanakan |
|
| 517 |
+
| `-di` | `-kan` | 133 words | diasingakan, dimanangakan |
|
| 518 |
+
| `-ka` | `-an` | 133 words | kamantirian, kajiwaan |
|
| 519 |
+
| `-ma` | `-kan` | 126 words | mampartahanakan, maungkaiakan |
|
| 520 |
|
| 521 |
### 6.5 Recursive Morpheme Segmentation
|
| 522 |
|
|
|
|
| 524 |
|
| 525 |
| Word | Suggested Split | Confidence | Stem |
|
| 526 |
|------|-----------------|------------|------|
|
| 527 |
+
| kaputingannya | **`ka-puti-ng-an-nya`** | 9.0 | `puti` |
|
| 528 |
+
| dimanpaatakan | **`di-man-pa-atak-an`** | 9.0 | `atak` |
|
| 529 |
+
| manjadiakannya | **`man-jadi-akan-nya`** | 7.5 | `jadi` |
|
| 530 |
+
| mamandiakan | **`ma-man-di-akan`** | 7.5 | `akan` |
|
| 531 |
+
| disayangakan | **`di-sa-yang-akan`** | 7.5 | `yang` |
|
| 532 |
+
| peradangan | **`pe-rada-ng-an`** | 7.5 | `rada` |
|
| 533 |
+
| dimakamakan | **`di-ma-ka-makan`** | 7.5 | `makan` |
|
| 534 |
+
| kakacangan | **`ka-ka-cang-an`** | 7.5 | `cang` |
|
| 535 |
+
| disalanggarakan | **`di-sa-langgar-akan`** | 7.5 | `langgar` |
|
| 536 |
+
| takapinggirakan | **`ta-ka-pinggir-akan`** | 7.5 | `pinggir` |
|
| 537 |
+
| dihasilakannya | **`di-hasil-akan-nya`** | 7.5 | `hasil` |
|
| 538 |
+
| pahitungan | **`pa-hitu-ng-an`** | 7.5 | `hitu` |
|
| 539 |
+
| papadahannya | **`pa-pa-dahan-nya`** | 7.5 | `dahan` |
|
| 540 |
+
| sabalumannya | **`sa-ba-luman-nya`** | 7.5 | `luman` |
|
| 541 |
+
| kahiringan | **`ka-hiri-ng-an`** | 7.5 | `hiri` |
|
| 542 |
|
| 543 |
### 6.6 Linguistic Interpretation
|
| 544 |
|
| 545 |
> **Automated Insight:**
|
| 546 |
+
The language Banjar shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 547 |
+
|
| 548 |
+
> **Note on Idiomaticity:** The high Idiomaticity Gap suggests a large number of frequent multi-word expressions or formulaic sequences that are statistically distinct from their component parts.
|
| 549 |
|
| 550 |
---
|
| 551 |
## 7. Summary & Recommendations
|
|
|
|
| 557 |
| Component | Recommended | Rationale |
|
| 558 |
|-----------|-------------|-----------|
|
| 559 |
| Tokenizer | **64k BPE** | Best compression (4.83x) |
|
| 560 |
+
| N-gram | **2-gram** | Lowest perplexity (185) |
|
| 561 |
| Markov | **Context-4** | Highest predictability (98.5%) |
|
| 562 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 563 |
|
|
|
|
| 772 |
---
|
| 773 |
*Generated by Wikilangs Models Pipeline*
|
| 774 |
|
| 775 |
+
*Report Date: 2026-01-03 19:11:59*
|
models/embeddings/aligned/bjn_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c5b1376fe24e9ed09f7a37f65ebcc26d7775683af2dce4a0ddc201ba717092d7
|
| 3 |
+
size 1044955202
|
models/embeddings/aligned/bjn_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bjn", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/bjn_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7659e433a7af24229e0c3f240e4d25dea875e1f239b3e23e2966e850fb16dec5
|
| 3 |
+
size 65664
|
models/embeddings/aligned/bjn_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bjn",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 5941,
|
| 7 |
+
"vocab_size": 20133
|
| 8 |
+
}
|
models/embeddings/aligned/bjn_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bc1da0f0899c29e0ef01c58e6fb37639ed96e4a58a24472ac1661dcdd5e356c
|
| 3 |
+
size 261493058
|
models/embeddings/aligned/bjn_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bjn", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/bjn_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cca5e2396381002102d82a1f0af3b058de4c2e6a3eecb5fb9da7b85cc187c1e5
|
| 3 |
+
size 4224
|
models/embeddings/aligned/bjn_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bjn",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 5941,
|
| 7 |
+
"vocab_size": 20133
|
| 8 |
+
}
|
models/embeddings/aligned/bjn_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d8508862461e2b3899fb13f6a789921fd85a1f73b71aa0982f9456ee258c5aa
|
| 3 |
+
size 522647106
|
models/embeddings/aligned/bjn_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bjn", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/bjn_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a77b0ff4e2ce9a25817bcb42b64f48afec46c70ebbf0b01bdc689a81c2cdcbc1
|
| 3 |
+
size 16512
|
models/embeddings/aligned/bjn_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bjn",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 5941,
|
| 7 |
+
"vocab_size": 20133
|
| 8 |
+
}
|
models/embeddings/monolingual/bjn_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:c5b1376fe24e9ed09f7a37f65ebcc26d7775683af2dce4a0ddc201ba717092d7
|
| 3 |
+
size 1044955202
|
models/embeddings/monolingual/bjn_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": 20133
|
| 15 |
}
|
models/embeddings/monolingual/bjn_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:4bc1da0f0899c29e0ef01c58e6fb37639ed96e4a58a24472ac1661dcdd5e356c
|
| 3 |
+
size 261493058
|
models/embeddings/monolingual/bjn_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": 20133
|
| 15 |
}
|
models/embeddings/monolingual/bjn_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:5d8508862461e2b3899fb13f6a789921fd85a1f73b71aa0982f9456ee258c5aa
|
| 3 |
+
size 522647106
|
models/embeddings/monolingual/bjn_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": 20133
|
| 15 |
}
|
models/subword_markov/bjn_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:d0075b36c13716e538d66bc6c95b0a7098dea9e5d3afadeb2bf746f3bccbc77e
|
| 3 |
+
size 93718
|
models/subword_markov/bjn_markov_ctx1_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 2416,
|
| 6 |
+
"total_transitions": 7420228
|
| 7 |
}
|
models/subword_markov/bjn_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:c06e01c61018a6528ae1dfe9272e8eab428d4cf9d68b20082caa08a8e0394e38
|
| 3 |
+
size 394917
|
models/subword_markov/bjn_markov_ctx2_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 11092,
|
| 6 |
+
"total_transitions": 7408725
|
| 7 |
}
|
models/subword_markov/bjn_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:5be9329a6e42ce8e7fd4e60a640ac7952161fffb037b322466de084f418cb822
|
| 3 |
+
size 1413600
|
models/subword_markov/bjn_markov_ctx3_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 46118,
|
| 6 |
+
"total_transitions": 7397222
|
| 7 |
}
|
models/subword_markov/bjn_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:e926fa10beb5ecf82ce531d290a8774002e61a0e21713340dd9050e7425f54b2
|
| 3 |
+
size 3798519
|
models/subword_markov/bjn_markov_ctx4_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 179736,
|
| 6 |
+
"total_transitions": 7385719
|
| 7 |
}
|
models/subword_ngram/bjn_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:2ae9f98459248ee75d889469f9fbf164f87d751cd75c085207e3c5291b807d8f
|
| 3 |
+
size 37388
|
models/subword_ngram/bjn_2gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_ngrams": 2788,
|
| 6 |
+
"total_ngrams": 7420228
|
| 7 |
}
|
models/subword_ngram/bjn_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:b89eefc90605d6a52225b684fc14e91fcc90caf7a5d2a4e8cc64d811c7346de3
|
| 3 |
+
size 246471
|
models/subword_ngram/bjn_3gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_ngrams": 20293,
|
| 6 |
+
"total_ngrams": 7408725
|
| 7 |
}
|
models/subword_ngram/bjn_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:02479aa7f3aafd426205e27017151d37389a25dfa9cd3c47d323ec88b521bdf4
|
| 3 |
+
size 1118422
|
models/subword_ngram/bjn_4gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_ngrams": 99642,
|
| 6 |
+
"total_ngrams": 7397222
|
| 7 |
}
|
models/subword_ngram/bjn_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17b7616fd5a5e86d548f6b121644238bf3a02dd74a9b59b4ec28dcbfde1a8055
|
| 3 |
+
size 2772560
|
models/subword_ngram/bjn_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bjn",
|
| 5 |
+
"unique_ngrams": 245459,
|
| 6 |
+
"total_ngrams": 7385719
|
| 7 |
+
}
|
models/tokenizer/bjn_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:faaddd93773e7c2ec9a099b8cc18f32a74875884c023c10f7dd41fc2ca607f5e
|
| 3 |
+
size 507025
|
models/tokenizer/bjn_tokenizer_16k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bjn_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:8873930010b0bebd5f37d1b88ab7c10613f1b408839e2c9eec517272abc4bec0
|
| 3 |
+
size 783254
|
models/tokenizer/bjn_tokenizer_32k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bjn_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:8e0d5c97befc71a1a981d127b0e6d1c65b7ad49d3429cb2ebe20a69c1650dabf
|
| 3 |
+
size 1359311
|
models/tokenizer/bjn_tokenizer_64k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bjn_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:c3440f1d40cdbea3958bdf2966d52e30a39ccec52dbf325ac694beee20a30016
|
| 3 |
+
size 372355
|
models/tokenizer/bjn_tokenizer_8k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/bjn_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:86d73a4fd441f201de90ea8dea3e376477144eb9a2b7a08ede3054e833c7a72c
|
| 3 |
+
size 702399
|
models/vocabulary/bjn_vocabulary_metadata.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"language": "bjn",
|
| 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": "bjn",
|
| 3 |
+
"vocabulary_size": 41351,
|
| 4 |
"variant": "full",
|
| 5 |
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.09448990569765173,
|
| 7 |
"coverage": {
|
| 8 |
+
"top_100": 0.3351965306637343,
|
| 9 |
+
"top_1000": 0.5892939938782019,
|
| 10 |
+
"top_5000": 0.7708286324969414,
|
| 11 |
+
"top_10000": 0.8386282602383026
|
| 12 |
},
|
| 13 |
+
"hapax_count": 57896,
|
| 14 |
+
"hapax_ratio": 0.5833526454200127,
|
| 15 |
+
"total_documents": 11503
|
| 16 |
}
|
| 17 |
}
|
models/word_markov/bjn_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:c30af757d17048fd3365266d6ec2b832b58a7202c43123769620aacbc8ed1351
|
| 3 |
+
size 3918586
|
models/word_markov/bjn_markov_ctx1_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 99056,
|
| 6 |
+
"total_transitions": 1038842
|
| 7 |
}
|
models/word_markov/bjn_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:a236fb6d637e19c7de9cbe0dac3c2574566b57ac6b6cceaeafd9484c73be2483
|
| 3 |
+
size 9916222
|
models/word_markov/bjn_markov_ctx2_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "bjn",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "bjn",
|
| 5 |
+
"unique_contexts": 559810,
|
| 6 |
+
"total_transitions": 1027339
|
| 7 |
}
|