Upload all models and assets for csb (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- README.md +215 -178
- models/embeddings/aligned/csb_128d.bin +3 -0
- models/embeddings/aligned/csb_128d.meta.json +1 -0
- models/embeddings/aligned/csb_128d.projection.npy +3 -0
- models/embeddings/aligned/csb_128d_metadata.json +8 -0
- models/embeddings/aligned/csb_32d.bin +3 -0
- models/embeddings/aligned/csb_32d.meta.json +1 -0
- models/embeddings/aligned/csb_32d.projection.npy +3 -0
- models/embeddings/aligned/csb_32d_metadata.json +8 -0
- models/embeddings/aligned/csb_64d.bin +3 -0
- models/embeddings/aligned/csb_64d.meta.json +1 -0
- models/embeddings/aligned/csb_64d.projection.npy +3 -0
- models/embeddings/aligned/csb_64d_metadata.json +8 -0
- models/embeddings/monolingual/csb_128d.bin +2 -2
- models/embeddings/monolingual/csb_128d_metadata.json +1 -1
- models/embeddings/monolingual/csb_32d.bin +2 -2
- models/embeddings/monolingual/csb_32d_metadata.json +1 -1
- models/embeddings/monolingual/csb_64d.bin +2 -2
- models/embeddings/monolingual/csb_64d_metadata.json +1 -1
- models/subword_markov/csb_markov_ctx1_subword.parquet +2 -2
- models/subword_markov/csb_markov_ctx1_subword_metadata.json +2 -2
- models/subword_markov/csb_markov_ctx2_subword.parquet +2 -2
- models/subword_markov/csb_markov_ctx2_subword_metadata.json +2 -2
- models/subword_markov/csb_markov_ctx3_subword.parquet +2 -2
- models/subword_markov/csb_markov_ctx3_subword_metadata.json +2 -2
- models/subword_markov/csb_markov_ctx4_subword.parquet +2 -2
- models/subword_markov/csb_markov_ctx4_subword_metadata.json +2 -2
- models/subword_ngram/csb_2gram_subword.parquet +2 -2
- models/subword_ngram/csb_2gram_subword_metadata.json +2 -2
- models/subword_ngram/csb_3gram_subword.parquet +2 -2
- models/subword_ngram/csb_3gram_subword_metadata.json +2 -2
- models/subword_ngram/csb_4gram_subword.parquet +2 -2
- models/subword_ngram/csb_4gram_subword_metadata.json +2 -2
- models/subword_ngram/csb_5gram_subword.parquet +3 -0
- models/subword_ngram/csb_5gram_subword_metadata.json +7 -0
- models/tokenizer/csb_tokenizer_16k.model +2 -2
- models/tokenizer/csb_tokenizer_16k.vocab +0 -0
- models/tokenizer/csb_tokenizer_32k.model +2 -2
- models/tokenizer/csb_tokenizer_32k.vocab +0 -0
- models/tokenizer/csb_tokenizer_64k.model +2 -2
- models/tokenizer/csb_tokenizer_64k.vocab +0 -0
- models/tokenizer/csb_tokenizer_8k.model +2 -2
- models/tokenizer/csb_tokenizer_8k.vocab +0 -0
- models/vocabulary/csb_vocabulary.parquet +2 -2
- models/vocabulary/csb_vocabulary_metadata.json +9 -9
- models/word_markov/csb_markov_ctx1_word.parquet +2 -2
- models/word_markov/csb_markov_ctx1_word_metadata.json +2 -2
- models/word_markov/csb_markov_ctx2_word.parquet +2 -2
- models/word_markov/csb_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: csb
|
| 3 |
-
language_name:
|
| 4 |
language_family: slavic_west
|
| 5 |
tags:
|
| 6 |
- wikilangs
|
|
@@ -10,11 +10,21 @@ tags:
|
|
| 10 |
- n-gram
|
| 11 |
- markov
|
| 12 |
- wikipedia
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- monolingual
|
| 14 |
- family-slavic_west
|
| 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.
|
| 84 |
-
| **16k** | 3.
|
| 85 |
-
| **32k** | 4.
|
| 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 | 1,
|
| 141 |
-
| **2-gram** | Subword |
|
| 142 |
-
| **3-gram** | Word | 2,
|
| 143 |
-
| **3-gram** | Subword | 3,
|
| 144 |
-
| **4-gram** | Word | 3,
|
| 145 |
-
| **4-gram** | Subword |
|
|
|
|
|
|
|
| 146 |
|
| 147 |
### Top 5 N-grams by Size
|
| 148 |
|
|
@@ -150,11 +162,11 @@ Below are sample sentences tokenized with each vocabulary size:
|
|
| 150 |
|
| 151 |
| Rank | N-gram | Count |
|
| 152 |
|------|--------|-------|
|
| 153 |
-
| 1 | `to je` | 2,
|
| 154 |
-
| 2 | `bùtnowé lënczi` | 1,
|
| 155 |
| 3 | `ùrodzëlë sã` | 991 |
|
| 156 |
| 4 | `w gminie` | 982 |
|
| 157 |
-
| 5 | `m jin` |
|
| 158 |
|
| 159 |
**3-grams (Word):**
|
| 160 |
|
|
@@ -173,45 +185,65 @@ Below are sample sentences tokenized with each vocabulary size:
|
|
| 173 |
| 1 | `wëdarzenia ùrodzëlë sã ùmarlë` | 753 |
|
| 174 |
| 2 | `p p p p` | 566 |
|
| 175 |
| 3 | `w pòmòrsczim wòjewództwie w` | 537 |
|
| 176 |
-
| 4 | `
|
| 177 |
-
| 5 | `i jinëch słowiańsczich
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 178 |
|
| 179 |
**2-grams (Subword):**
|
| 180 |
|
| 181 |
| Rank | N-gram | Count |
|
| 182 |
|------|--------|-------|
|
| 183 |
-
| 1 | `c z` | 39,
|
| 184 |
-
| 2 | `a _` |
|
| 185 |
-
| 3 | `_ w` | 38,
|
| 186 |
-
| 4 | `. _` | 33,
|
| 187 |
-
| 5 | `_ p` |
|
| 188 |
|
| 189 |
**3-grams (Subword):**
|
| 190 |
|
| 191 |
| Rank | N-gram | Count |
|
| 192 |
|------|--------|-------|
|
| 193 |
-
| 1 | `c z i` | 17,
|
| 194 |
-
| 2 | `_ w _` | 16,
|
| 195 |
-
| 3 | `s c z` | 14,
|
| 196 |
-
| 4 | `_ p ò` | 12,
|
| 197 |
-
| 5 | `n a _` |
|
| 198 |
|
| 199 |
**4-grams (Subword):**
|
| 200 |
|
| 201 |
| Rank | N-gram | Count |
|
| 202 |
|------|--------|-------|
|
| 203 |
-
| 1 | `s c z i` | 9,
|
| 204 |
-
| 2 | `c z i _` | 8,
|
| 205 |
-
| 3 | `_ j e _` | 7,
|
| 206 |
-
| 4 | `é g ò _` | 7,
|
| 207 |
-
| 5 | `_ n a _` | 6,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 | 1.
|
| 232 |
-
| **2** | Word | 0.
|
| 233 |
-
| **2** | Subword | 0.
|
| 234 |
-
| **3** | Word | 0.0409 | 1.029 | 1.07 |
|
| 235 |
-
| **3** | Subword | 0.
|
| 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. `w
|
| 246 |
-
2. `je
|
| 247 |
-
3. `i
|
| 248 |
|
| 249 |
**Context Size 2:**
|
| 250 |
|
| 251 |
-
1. `to je
|
| 252 |
-
2. `bùtnowé lënczi
|
| 253 |
-
3. `ùrodzëlë sã ùmarlë
|
| 254 |
|
| 255 |
**Context Size 3:**
|
| 256 |
|
| 257 |
-
1. `wëdarzenia ùrodzëlë sã ùmarlë
|
| 258 |
-
2. `ùrodzëlë sã ùmarlë
|
| 259 |
-
3. `w pòmòrsczim wòjewództwie w
|
| 260 |
|
| 261 |
**Context Size 4:**
|
| 262 |
|
| 263 |
-
1. `wëdarzenia ùrodzëlë sã ùmarlë
|
| 264 |
-
2. `p p p p p p p p p p p p p p p
|
| 265 |
-
3. `w pòmòrsczim wòjewództwie w kartësczim krézu w
|
| 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.0% 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 | 28,
|
| 318 |
-
| Total Tokens |
|
| 319 |
-
| Mean Frequency | 12.
|
| 320 |
| Median Frequency | 3 |
|
| 321 |
-
| Frequency Std Dev |
|
| 322 |
|
| 323 |
### Most Common Words
|
| 324 |
|
| 325 |
| Rank | Word | Frequency |
|
| 326 |
|------|------|-----------|
|
| 327 |
-
| 1 | w | 17,
|
| 328 |
-
| 2 | je | 7,
|
| 329 |
-
| 3 | i | 6,
|
| 330 |
-
| 4 | na | 6,
|
| 331 |
-
| 5 | z |
|
| 332 |
-
| 6 | to | 4,
|
| 333 |
-
| 7 | sã | 3,
|
| 334 |
-
| 8 | do | 3,
|
| 335 |
-
| 9 | rok | 3,
|
| 336 |
-
| 10 | a | 2,
|
| 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 | 0.
|
| 358 |
-
| R² (Goodness of Fit) | 0.
|
| 359 |
| Adherence Quality | **excellent** |
|
| 360 |
|
| 361 |
### Coverage Analysis
|
| 362 |
|
| 363 |
| Top N Words | Coverage |
|
| 364 |
|-------------|----------|
|
| 365 |
-
| Top 100 | 36.
|
| 366 |
-
| Top 1,000 | 63.
|
| 367 |
-
| Top 5,000 |
|
| 368 |
-
| Top 10,000 | 87.
|
| 369 |
|
| 370 |
### Key Findings
|
| 371 |
|
| 372 |
-
- **Zipf Compliance:** R²=0.
|
| 373 |
-
- **High Frequency Dominance:** Top 100 words cover 36.
|
| 374 |
-
- **Long Tail:** 18,
|
| 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,17 +461,17 @@ These are the most productive prefixes and suffixes identified by sampling the v
|
|
| 426 |
#### Productive Prefixes
|
| 427 |
| Prefix | Examples |
|
| 428 |
|--------|----------|
|
| 429 |
-
| `-pr` |
|
| 430 |
-
| `-pò` |
|
| 431 |
|
| 432 |
#### Productive Suffixes
|
| 433 |
| Suffix | Examples |
|
| 434 |
|--------|----------|
|
| 435 |
-
| `-a` |
|
| 436 |
-
| `-ch` |
|
| 437 |
-
|
|
| 438 |
-
| `-
|
| 439 |
-
|
|
| 440 |
|
| 441 |
### 6.3 Bound Stems (Lexical Roots)
|
| 442 |
|
|
@@ -444,18 +479,18 @@ Bound stems are high-frequency subword units that are semantically cohesive but
|
|
| 444 |
|
| 445 |
| Stem | Cohesion | Substitutability | Examples |
|
| 446 |
|------|----------|------------------|----------|
|
| 447 |
-
| `tërn` |
|
| 448 |
-
| `
|
| 449 |
-
| `
|
| 450 |
-
| `szëb` |
|
| 451 |
-
| `
|
| 452 |
-
| `
|
| 453 |
-
| `
|
| 454 |
-
| `
|
| 455 |
-
| `
|
| 456 |
-
| `
|
| 457 |
-
| `
|
| 458 |
-
| `zëbs` | 2.
|
| 459 |
|
| 460 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 461 |
|
|
@@ -463,16 +498,16 @@ This table shows which prefixes and suffixes most frequently co-occur on the sam
|
|
| 463 |
|
| 464 |
| Prefix | Suffix | Frequency | Examples |
|
| 465 |
|--------|--------|-----------|----------|
|
| 466 |
-
| `-pr` |
|
| 467 |
-
| `-
|
| 468 |
-
| `-
|
| 469 |
-
| `-pò` | `-ch` |
|
| 470 |
-
| `-pò` |
|
| 471 |
-
| `-
|
| 472 |
-
| `-
|
| 473 |
-
| `-pò` | `-czi` |
|
| 474 |
-
| `-pr` | `-zi` |
|
| 475 |
-
| `-pr` | `-czi` | 4 words | prëczkòwsczi,
|
| 476 |
|
| 477 |
### 6.5 Recursive Morpheme Segmentation
|
| 478 |
|
|
@@ -480,26 +515,28 @@ Using **Recursive Hierarchical Substitutability**, we decompose complex words in
|
|
| 480 |
|
| 481 |
| Word | Suggested Split | Confidence | Stem |
|
| 482 |
|------|-----------------|------------|------|
|
| 483 |
-
|
|
|
|
|
| 484 |
| przebendowsczich | **`pr-zebendows-czi-ch`** | 4.5 | `zebendows` |
|
| 485 |
-
|
|
| 486 |
-
|
|
| 487 |
-
|
|
|
|
|
| 488 |
| instrumentów | **`instrument-ów`** | 4.5 | `instrument` |
|
| 489 |
-
|
|
| 490 |
-
|
|
| 491 |
-
|
|
| 492 |
-
|
|
| 493 |
-
|
|
| 494 |
-
|
|
| 495 |
-
|
|
| 496 |
-
| pòwijôczowatëch | **`pò-wijôczowatë-ch`** | 3.0 | `wijôczowatë` |
|
| 497 |
-
| profesorów | **`pr-ofesor-ów`** | 3.0 | `ofesor` |
|
| 498 |
|
| 499 |
### 6.6 Linguistic Interpretation
|
| 500 |
|
| 501 |
> **Automated Insight:**
|
| 502 |
-
The language
|
|
|
|
|
|
|
| 503 |
|
| 504 |
---
|
| 505 |
## 7. Summary & Recommendations
|
|
@@ -511,7 +548,7 @@ The language CSB appears to be more isolating or has a highly fixed vocabulary.
|
|
| 511 |
| Component | Recommended | Rationale |
|
| 512 |
|-----------|-------------|-----------|
|
| 513 |
| Tokenizer | **64k BPE** | Best compression (4.52x) |
|
| 514 |
-
| N-gram | **2-gram** | Lowest perplexity (
|
| 515 |
| Markov | **Context-4** | Highest predictability (98.0%) |
|
| 516 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 517 |
|
|
@@ -726,4 +763,4 @@ MIT License - Free for academic and commercial use.
|
|
| 726 |
---
|
| 727 |
*Generated by Wikilangs Models Pipeline*
|
| 728 |
|
| 729 |
-
*Report Date: 2026-01-03
|
|
|
|
| 1 |
---
|
| 2 |
language: csb
|
| 3 |
+
language_name: Kashubian
|
| 4 |
language_family: slavic_west
|
| 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-slavic_west
|
| 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.520
|
| 37 |
- name: best_isotropy
|
| 38 |
type: isotropy
|
| 39 |
+
value: 0.7585
|
| 40 |
- name: vocabulary_size
|
| 41 |
type: vocab
|
| 42 |
value: 0
|
| 43 |
generated: 2026-01-03
|
| 44 |
---
|
| 45 |
|
| 46 |
+
# Kashubian - Wikilangs Models
|
| 47 |
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Kashubian** 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.576x | 3.58 | 0.1685% | 179,827 |
|
| 94 |
+
| **16k** | 3.912x | 3.92 | 0.1843% | 164,376 |
|
| 95 |
+
| **32k** | 4.229x | 4.24 | 0.1993% | 152,042 |
|
| 96 |
+
| **64k** | 4.520x 🏆 | 4.53 | 0.2130% | 142,258 |
|
| 97 |
|
| 98 |
### Tokenization Examples
|
| 99 |
|
| 100 |
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
|
| 102 |
+
**Sample 1:** `Mòrzebób abò lësy ògón (Lycopodium clavatum L.) - to je wielelatnô roscëna z rod...`
|
| 103 |
|
| 104 |
| Vocab | Tokens | Count |
|
| 105 |
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁mòrze b ób ▁abò ▁lë sy ▁ògón ▁( ly co ... (+29 more)` | 39 |
|
| 107 |
+
| 16k | `▁mòrze b ób ▁abò ▁lë sy ▁ògón ▁( ly copo ... (+26 more)` | 36 |
|
| 108 |
+
| 32k | `▁mòrze b ób ▁abò ▁lë sy ▁ògón ▁( lycopo dium ... (+22 more)` | 32 |
|
| 109 |
+
| 64k | `▁mòrze b ób ▁abò ▁lë sy ▁ògón ▁( lycopodium ▁cla ... (+21 more)` | 31 |
|
| 110 |
|
| 111 |
+
**Sample 2:** `Niemieckô Karznica (pòl. Karzniczka) - to je wies w pòmòrsczim wòjewództwie, w s...`
|
| 112 |
|
| 113 |
| Vocab | Tokens | Count |
|
| 114 |
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁niemie ckô ▁ka rz nica ▁( pòl . ▁ka rz ... (+19 more)` | 29 |
|
| 116 |
+
| 16k | `▁niemieckô ▁karz nica ▁( pòl . ▁karz niczka ) ▁- ... (+16 more)` | 26 |
|
| 117 |
+
| 32k | `▁niemieckô ▁karznica ▁( pòl . ▁karz niczka ) ▁- ▁to ... (+15 more)` | 25 |
|
| 118 |
+
| 64k | `▁niemieckô ▁karznica ▁( pòl . ▁karzniczka ) ▁- ▁to ▁je ... (+14 more)` | 24 |
|
| 119 |
|
| 120 |
+
**Sample 3:** `Wëdarzenia Pòlsczi król Władisłôw I Herman wëdôł rozkôz spôleniô gardów w Gduńsc...`
|
| 121 |
|
| 122 |
| Vocab | Tokens | Count |
|
| 123 |
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁wëdarzenia ▁pòlsczi ▁król ▁władisłôw ▁i ▁her man ▁wëdôł ▁roz kôz ... (+6 more)` | 16 |
|
| 125 |
+
| 16k | `▁wëdarzenia ▁pòlsczi ▁król ▁władisłôw ▁i ▁her man ▁wëdôł ▁roz kôz ... (+6 more)` | 16 |
|
| 126 |
+
| 32k | `▁wëdarzenia ▁pòlsczi ▁król ▁władisłôw ▁i ▁herman ▁wëdôł ▁roz kôz ▁spô ... (+5 more)` | 15 |
|
| 127 |
+
| 64k | `▁wëdarzenia ▁pòlsczi ▁król ▁władisłôw ▁i ▁herman ▁wëdôł ▁rozkôz ▁spôleniô ▁gardów ... (+3 more)` | 13 |
|
| 128 |
|
| 129 |
|
| 130 |
### Key Findings
|
| 131 |
|
| 132 |
+
- **Best Compression:** 64k achieves 4.520x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.1685% 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 | 1,947 | 10.93 | 6,180 | 31.4% | 68.7% |
|
| 151 |
+
| **2-gram** | Subword | 457 🏆 | 8.84 | 2,749 | 53.5% | 98.1% |
|
| 152 |
+
| **3-gram** | Word | 2,094 | 11.03 | 7,716 | 31.5% | 69.0% |
|
| 153 |
+
| **3-gram** | Subword | 3,953 | 11.95 | 22,499 | 18.9% | 58.2% |
|
| 154 |
+
| **4-gram** | Word | 3,732 | 11.87 | 15,312 | 28.0% | 59.5% |
|
| 155 |
+
| **4-gram** | Subword | 18,873 | 14.20 | 102,765 | 10.0% | 33.1% |
|
| 156 |
+
| **5-gram** | Word | 3,059 | 11.58 | 12,171 | 29.4% | 62.6% |
|
| 157 |
+
| **5-gram** | Subword | 46,114 | 15.49 | 210,801 | 7.4% | 25.0% |
|
| 158 |
|
| 159 |
### Top 5 N-grams by Size
|
| 160 |
|
|
|
|
| 162 |
|
| 163 |
| Rank | N-gram | Count |
|
| 164 |
|------|--------|-------|
|
| 165 |
+
| 1 | `to je` | 2,500 |
|
| 166 |
+
| 2 | `bùtnowé lënczi` | 1,440 |
|
| 167 |
| 3 | `ùrodzëlë sã` | 991 |
|
| 168 |
| 4 | `w gminie` | 982 |
|
| 169 |
+
| 5 | `m jin` | 870 |
|
| 170 |
|
| 171 |
**3-grams (Word):**
|
| 172 |
|
|
|
|
| 185 |
| 1 | `wëdarzenia ùrodzëlë sã ùmarlë` | 753 |
|
| 186 |
| 2 | `p p p p` | 566 |
|
| 187 |
| 3 | `w pòmòrsczim wòjewództwie w` | 537 |
|
| 188 |
+
| 4 | `i jinëch słowiańsczich krajów` | 489 |
|
| 189 |
+
| 5 | `królestwa i jinëch słowiańsczich` | 489 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `p p p p p` | 532 |
|
| 196 |
+
| 2 | `pòlsczégò królestwa i jinëch słowiańsczich` | 489 |
|
| 197 |
+
| 3 | `królestwa i jinëch słowiańsczich krajów` | 489 |
|
| 198 |
+
| 4 | `słowôrzu pòlsczégò królestwa i jinëch` | 488 |
|
| 199 |
+
| 5 | `geògraficznym słowôrzu pòlsczégò królestwa i` | 487 |
|
| 200 |
|
| 201 |
**2-grams (Subword):**
|
| 202 |
|
| 203 |
| Rank | N-gram | Count |
|
| 204 |
|------|--------|-------|
|
| 205 |
+
| 1 | `c z` | 39,727 |
|
| 206 |
+
| 2 | `a _` | 38,964 |
|
| 207 |
+
| 3 | `_ w` | 38,073 |
|
| 208 |
+
| 4 | `. _` | 33,276 |
|
| 209 |
+
| 5 | `_ p` | 32,909 |
|
| 210 |
|
| 211 |
**3-grams (Subword):**
|
| 212 |
|
| 213 |
| Rank | N-gram | Count |
|
| 214 |
|------|--------|-------|
|
| 215 |
+
| 1 | `c z i` | 17,503 |
|
| 216 |
+
| 2 | `_ w _` | 16,830 |
|
| 217 |
+
| 3 | `s c z` | 14,512 |
|
| 218 |
+
| 4 | `_ p ò` | 12,375 |
|
| 219 |
+
| 5 | `n a _` | 10,995 |
|
| 220 |
|
| 221 |
**4-grams (Subword):**
|
| 222 |
|
| 223 |
| Rank | N-gram | Count |
|
| 224 |
|------|--------|-------|
|
| 225 |
+
| 1 | `s c z i` | 9,919 |
|
| 226 |
+
| 2 | `c z i _` | 8,412 |
|
| 227 |
+
| 3 | `_ j e _` | 7,786 |
|
| 228 |
+
| 4 | `é g ò _` | 7,710 |
|
| 229 |
+
| 5 | `_ n a _` | 6,352 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ k a s z` | 5,271 |
|
| 236 |
+
| 2 | `k a s z ë` | 4,572 |
|
| 237 |
+
| 3 | `a s z ë b` | 4,569 |
|
| 238 |
+
| 4 | `s c z i _` | 4,317 |
|
| 239 |
+
| 5 | `z é g ò _` | 4,004 |
|
| 240 |
|
| 241 |
|
| 242 |
### Key Findings
|
| 243 |
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 457
|
| 245 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~25% 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.5411 | 1.455 | 2.97 | 80,925 | 45.9% |
|
| 263 |
+
| **1** | Subword | 1.0139 | 2.019 | 7.32 | 979 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.1312 | 1.095 | 1.25 | 237,972 | 86.9% |
|
| 265 |
+
| **2** | Subword | 0.9776 | 1.969 | 6.00 | 7,156 | 2.2% |
|
| 266 |
+
| **3** | Word | 0.0409 | 1.029 | 1.07 | 295,594 | 95.9% |
|
| 267 |
+
| **3** | Subword | 0.8837 | 1.845 | 4.13 | 42,873 | 11.6% |
|
| 268 |
+
| **4** | Word | 0.0202 🏆 | 1.014 | 1.03 | 312,105 | 98.0% |
|
| 269 |
+
| **4** | Subword | 0.6519 | 1.571 | 2.59 | 176,892 | 34.8% |
|
| 270 |
|
| 271 |
### Generated Text Samples (Word-based)
|
| 272 |
|
|
|
|
| 274 |
|
| 275 |
**Context Size 1:**
|
| 276 |
|
| 277 |
+
1. `w drëdżich wëstąpiwo nacygnienié i bùtnową z eùropejsczégò partnerstwa pòrtë to ekònomicznô rzôdzëzn...`
|
| 278 |
+
2. `je w geògraficznym słowôrzu pòlsczégò królestwa i pierre bourdieu francësczi jãzëk to bëło jich rozm...`
|
| 279 |
+
3. `i jedzenié wedle wielënë lëdztwa z kaszëbsczégò krôjòbraznégò parkù òn béł wërëti òn pisôł m jin`
|
| 280 |
|
| 281 |
**Context Size 2:**
|
| 282 |
|
| 283 |
+
1. `to je susk z rodzëznë swiniowatëch suidae na kaszëbach ten łëzgôcz żëwi sã roscënama`
|
| 284 |
+
2. `bùtnowé lënczi picus viridis to je roscëna z rodzëznë cyperaceae òn rosce m jin w gardze dérowałë`
|
| 285 |
+
3. `ùrodzëlë sã ùmarlë gregòriańsczi kalãdôrz zaczął bëc ùżiwóny dopiérze w na zôczątkù leno w niechtërn...`
|
| 286 |
|
| 287 |
**Context Size 3:**
|
| 288 |
|
| 289 |
+
1. `wëdarzenia ùrodzëlë sã ùmarlë przësłowia barbara swiãtô ò rëbôkach pamiãtô jak na barbarã mróz schòw...`
|
| 290 |
+
2. `ùrodzëlë sã ùmarlë augùstin dominik chtëren napisôł m jin że kaszëbi cassubiorum gôdają pò wandalskù...`
|
| 291 |
+
3. `w pòmòrsczim wòjewództwie w bëtowsczim krézu w pòmòrsczim wòjewództwie tu je pałac a w nim klôsztór ...`
|
| 292 |
|
| 293 |
**Context Size 4:**
|
| 294 |
|
| 295 |
+
1. `wëdarzenia ùrodzëlë sã ùmarlë przësłowié w stôrim piéckù diabeł pôli`
|
| 296 |
+
2. `p p p p p p p p p p p p p p p swiãta ë ùroczëznë midzënôrodné`
|
| 297 |
+
3. `w pòmòrsczim wòjewództwie w kartësczim krézu w gminie kartuzë tu ùrodzył sã gerard labùda niedalek ò...`
|
| 298 |
|
| 299 |
|
| 300 |
### Generated Text Samples (Subword-based)
|
|
|
|
| 303 |
|
| 304 |
**Context Size 1:**
|
| 305 |
|
| 306 |
+
1. `_jeczącz_wierëne`
|
| 307 |
+
2. `a_xycok_w_słowin`
|
| 308 |
+
3. `i_pò_aromstë_adz`
|
| 309 |
|
| 310 |
**Context Size 2:**
|
| 311 |
|
| 312 |
+
1. `cz_gmik_47_iniewò`
|
| 313 |
+
2. `a_z_pòzwëbski)_na`
|
| 314 |
+
3. `_w_rok_drólotam_p`
|
| 315 |
|
| 316 |
**Context Size 3:**
|
| 317 |
|
| 318 |
+
1. `czim_jãzëkã._strzé`
|
| 319 |
+
2. `_w_pòzwa_«lucjonal`
|
| 320 |
+
3. `sczi_kaszëbsczégò_`
|
| 321 |
|
| 322 |
**Context Size 4:**
|
| 323 |
|
| 324 |
+
1. `sczi)._wiesłowie_ho`
|
| 325 |
+
2. `czi_lëdztwa_kaszëbs`
|
| 326 |
+
3. `_je_w_tim_célu_gduń`
|
| 327 |
|
| 328 |
|
| 329 |
### Key Findings
|
| 330 |
|
| 331 |
- **Best Predictability:** Context-4 (word) with 98.0% predictability
|
| 332 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (176,892 contexts)
|
| 334 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
|
| 336 |
---
|
|
|
|
| 346 |
|
| 347 |
| Metric | Value |
|
| 348 |
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 28,419 |
|
| 350 |
+
| Total Tokens | 363,789 |
|
| 351 |
+
| Mean Frequency | 12.80 |
|
| 352 |
| Median Frequency | 3 |
|
| 353 |
+
| Frequency Std Dev | 147.85 |
|
| 354 |
|
| 355 |
### Most Common Words
|
| 356 |
|
| 357 |
| Rank | Word | Frequency |
|
| 358 |
|------|------|-----------|
|
| 359 |
+
| 1 | w | 17,269 |
|
| 360 |
+
| 2 | je | 7,835 |
|
| 361 |
+
| 3 | i | 6,858 |
|
| 362 |
+
| 4 | na | 6,665 |
|
| 363 |
+
| 5 | z | 4,968 |
|
| 364 |
+
| 6 | to | 4,725 |
|
| 365 |
+
| 7 | sã | 3,705 |
|
| 366 |
+
| 8 | do | 3,388 |
|
| 367 |
+
| 9 | rok | 3,182 |
|
| 368 |
+
| 10 | a | 2,483 |
|
| 369 |
|
| 370 |
### Least Common Words (from vocabulary)
|
| 371 |
|
| 372 |
| Rank | Word | Frequency |
|
| 373 |
|------|------|-----------|
|
| 374 |
+
| 1 | krakowska | 2 |
|
| 375 |
+
| 2 | włãczëne | 2 |
|
| 376 |
+
| 3 | союз | 2 |
|
| 377 |
+
| 4 | eliminowanié | 2 |
|
| 378 |
+
| 5 | pòliticznich | 2 |
|
| 379 |
+
| 6 | pôłna | 2 |
|
| 380 |
+
| 7 | kòntrola | 2 |
|
| 381 |
+
| 8 | ùmòwã | 2 |
|
| 382 |
+
| 9 | stalinizm | 2 |
|
| 383 |
+
| 10 | fssr | 2 |
|
| 384 |
|
| 385 |
### Zipf's Law Analysis
|
| 386 |
|
| 387 |
| Metric | Value |
|
| 388 |
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 0.9915 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.995964 |
|
| 391 |
| Adherence Quality | **excellent** |
|
| 392 |
|
| 393 |
### Coverage Analysis
|
| 394 |
|
| 395 |
| Top N Words | Coverage |
|
| 396 |
|-------------|----------|
|
| 397 |
+
| Top 100 | 36.1% |
|
| 398 |
+
| Top 1,000 | 63.4% |
|
| 399 |
+
| Top 5,000 | 80.0% |
|
| 400 |
+
| Top 10,000 | 87.6% |
|
| 401 |
|
| 402 |
### Key Findings
|
| 403 |
|
| 404 |
+
- **Zipf Compliance:** R²=0.9960 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 36.1% of corpus
|
| 406 |
+
- **Long Tail:** 18,419 words needed for remaining 12.4% 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.7585 | 0.3620 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.5824 | 0.3234 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.1382 | 0.3213 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.7585 🏆 | 0.3595 | 0.0200 | 0.1880 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.5824 | 0.3217 | 0.0600 | 0.2480 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.1382 | 0.3200 | 0.1040 | 0.3580 |
|
| 437 |
|
| 438 |
### Key Findings
|
| 439 |
|
| 440 |
+
- **Best Isotropy:** aligned_32d with 0.7585 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.3347. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 10.4% 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 | **1.504** | High formulaic/idiomatic content | - |
|
| 456 |
|
| 457 |
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
|
|
|
|
| 461 |
#### Productive Prefixes
|
| 462 |
| Prefix | Examples |
|
| 463 |
|--------|----------|
|
| 464 |
+
| `-pr` | przednik, przistãpną, prowincëjã |
|
| 465 |
+
| `-pò` | pòzycji, pòkòrë, pòdôwô |
|
| 466 |
|
| 467 |
#### Productive Suffixes
|
| 468 |
| Suffix | Examples |
|
| 469 |
|--------|----------|
|
| 470 |
+
| `-a` | gdùńska, chòrobama, tradycja |
|
| 471 |
+
| `-ch` | griphenberch, błãdnëch, pòdwòrzach |
|
| 472 |
+
| `-zi` | czedrowsczi, krëszczi, amerikansczi |
|
| 473 |
+
| `-czi` | czedrowsczi, krëszczi, amerikansczi |
|
| 474 |
+
| `-ów` | ùrządzeniów, wëdôwków, dzélëków |
|
| 475 |
|
| 476 |
### 6.3 Bound Stems (Lexical Roots)
|
| 477 |
|
|
|
|
| 479 |
|
| 480 |
| Stem | Cohesion | Substitutability | Examples |
|
| 481 |
|------|----------|------------------|----------|
|
| 482 |
+
| `tërn` | 1.98x | 29 contexts | chtërny, chtërno, chtërnë |
|
| 483 |
+
| `chtë` | 2.02x | 27 contexts | chtërë, sëchtë, zëchtë |
|
| 484 |
+
| `htër` | 2.06x | 23 contexts | chtërë, chtëre, chtërô |
|
| 485 |
+
| `szëb` | 2.02x | 22 contexts | kaszëb, kaszëbą, kaszëbã |
|
| 486 |
+
| `sczi` | 1.43x | 67 contexts | bùsczi, łasczi, bòsczi |
|
| 487 |
+
| `zeni` | 1.61x | 32 contexts | zenice, grzenia, ùczeniô |
|
| 488 |
+
| `odzë` | 1.76x | 23 contexts | rodzëc, rodzënë, rodzëcë |
|
| 489 |
+
| `stol` | 1.81x | 20 contexts | stolp, stole, stolpe |
|
| 490 |
+
| `rodz` | 1.40x | 45 contexts | rodzą, rodzy, rodze |
|
| 491 |
+
| `aszë` | 1.93x | 14 contexts | kaszëb, kaszëbą, kaszëbã |
|
| 492 |
+
| `sczé` | 1.44x | 30 contexts | rusczé, nisczé, wąsczé |
|
| 493 |
+
| `zëbs` | 2.09x | 9 contexts | kaszëbsko, kaszëbsce, kaszëbskù |
|
| 494 |
|
| 495 |
### 6.4 Affix Compatibility (Co-occurrence)
|
| 496 |
|
|
|
|
| 498 |
|
| 499 |
| Prefix | Suffix | Frequency | Examples |
|
| 500 |
|--------|--------|-----------|----------|
|
| 501 |
+
| `-pr` | `-ów` | 23 words | prawów, przezeblôkańców |
|
| 502 |
+
| `-pr` | `-a` | 20 words | procesama, praha |
|
| 503 |
+
| `-pò` | `-a` | 14 words | pòsłëga, pòlsczima |
|
| 504 |
+
| `-pò` | `-ch` | 13 words | pòłączeniach, pòdwòdnëch |
|
| 505 |
+
| `-pò` | `-ów` | 9 words | pòzwów, pòspólnotów |
|
| 506 |
+
| `-pr` | `-ch` | 7 words | prawach, prezidencczich |
|
| 507 |
+
| `-pò` | `-zi` | 6 words | pòlszczi, pòmerénczi |
|
| 508 |
+
| `-pò` | `-czi` | 6 words | pòlszczi, pòmerénczi |
|
| 509 |
+
| `-pr` | `-zi` | 6 words | prëczkòwsczi, prasczi |
|
| 510 |
+
| `-pr` | `-czi` | 4 words | prëczkòwsczi, prasczi |
|
| 511 |
|
| 512 |
### 6.5 Recursive Morpheme Segmentation
|
| 513 |
|
|
|
|
| 515 |
|
| 516 |
| Word | Suggested Split | Confidence | Stem |
|
| 517 |
|------|-----------------|------------|------|
|
| 518 |
+
| państwòwich | **`państwòwi-ch`** | 4.5 | `państwòwi` |
|
| 519 |
+
| mòdlëtwów | **`mòdlëtw-ów`** | 4.5 | `mòdlëtw` |
|
| 520 |
| przebendowsczich | **`pr-zebendows-czi-ch`** | 4.5 | `zebendows` |
|
| 521 |
+
| czerënków | **`czerënk-ów`** | 4.5 | `czerënk` |
|
| 522 |
+
| gòspòdarztwach | **`gòspòdarztwa-ch`** | 4.5 | `gòspòdarztwa` |
|
| 523 |
+
| kòmpùtrach | **`kòmpùtra-ch`** | 4.5 | `kòmpùtra` |
|
| 524 |
+
| chternych | **`chterny-ch`** | 4.5 | `chterny` |
|
| 525 |
| instrumentów | **`instrument-ów`** | 4.5 | `instrument` |
|
| 526 |
+
| wiérztczi | **`wiérzt-czi`** | 4.5 | `wiérzt` |
|
| 527 |
+
| etnicznych | **`etniczny-ch`** | 4.5 | `etniczny` |
|
| 528 |
+
| kònkùrsów | **`kònkùrs-ów`** | 4.5 | `kònkùrs` |
|
| 529 |
+
| wòjskòwich | **`wòjskòwi-ch`** | 4.5 | `wòjskòwi` |
|
| 530 |
+
| miemiecczich | **`miemiec-czi-ch`** | 3.0 | `miemiec` |
|
| 531 |
+
| pòległëch | **`pò-ległë-ch`** | 3.0 | `ległë` |
|
| 532 |
+
| programach | **`pr-ograma-ch`** | 3.0 | `ograma` |
|
|
|
|
|
|
|
| 533 |
|
| 534 |
### 6.6 Linguistic Interpretation
|
| 535 |
|
| 536 |
> **Automated Insight:**
|
| 537 |
+
The language Kashubian shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 538 |
+
|
| 539 |
+
> **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.
|
| 540 |
|
| 541 |
---
|
| 542 |
## 7. Summary & Recommendations
|
|
|
|
| 548 |
| Component | Recommended | Rationale |
|
| 549 |
|-----------|-------------|-----------|
|
| 550 |
| Tokenizer | **64k BPE** | Best compression (4.52x) |
|
| 551 |
+
| N-gram | **2-gram** | Lowest perplexity (457) |
|
| 552 |
| Markov | **Context-4** | Highest predictability (98.0%) |
|
| 553 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 554 |
|
|
|
|
| 763 |
---
|
| 764 |
*Generated by Wikilangs Models Pipeline*
|
| 765 |
|
| 766 |
+
*Report Date: 2026-01-03 20:55:59*
|
models/embeddings/aligned/csb_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43c16a3877fc0cb095ba4ff3327fee74803119be2a9e7f20081afa461282b882
|
| 3 |
+
size 1032709206
|
models/embeddings/aligned/csb_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "csb", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/csb_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82a25567e36768d3dd6c94cb4d646624c69d2b3259a8acd77b503d8bd46816d6
|
| 3 |
+
size 65664
|
models/embeddings/aligned/csb_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "csb",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1997,
|
| 7 |
+
"vocab_size": 8362
|
| 8 |
+
}
|
models/embeddings/aligned/csb_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2bb2172bdfcc3d2a8f53b936c3f8101b78d6dfdb5eae5e396a887a3a7169611
|
| 3 |
+
size 258287190
|
models/embeddings/aligned/csb_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "csb", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/csb_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70af405e299a4b5f2a106a46c4ed598039a321b33e20e6e79b429efe14b53bad
|
| 3 |
+
size 4224
|
models/embeddings/aligned/csb_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "csb",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1997,
|
| 7 |
+
"vocab_size": 8362
|
| 8 |
+
}
|
models/embeddings/aligned/csb_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d0920564c633a2a22bc60f797cc31f28ae35c1dd6531daa7cd32db1ffe2b9da
|
| 3 |
+
size 516427862
|
models/embeddings/aligned/csb_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "csb", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/csb_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe6a56697e1060de28a3e13138ae748199b88287d6e1fbdc82d3c6c23e8da33c
|
| 3 |
+
size 16512
|
models/embeddings/aligned/csb_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "csb",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1997,
|
| 7 |
+
"vocab_size": 8362
|
| 8 |
+
}
|
models/embeddings/monolingual/csb_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:43c16a3877fc0cb095ba4ff3327fee74803119be2a9e7f20081afa461282b882
|
| 3 |
+
size 1032709206
|
models/embeddings/monolingual/csb_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": 8362
|
| 15 |
}
|
models/embeddings/monolingual/csb_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:f2bb2172bdfcc3d2a8f53b936c3f8101b78d6dfdb5eae5e396a887a3a7169611
|
| 3 |
+
size 258287190
|
models/embeddings/monolingual/csb_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": 8362
|
| 15 |
}
|
models/embeddings/monolingual/csb_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:8d0920564c633a2a22bc60f797cc31f28ae35c1dd6531daa7cd32db1ffe2b9da
|
| 3 |
+
size 516427862
|
models/embeddings/monolingual/csb_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": 8362
|
| 15 |
}
|
models/subword_markov/csb_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:07eb6d169e3ffd28d93cc892cd907a2570cae0d5f4d502f701e7b56450cbaf41
|
| 3 |
+
size 59418
|
models/subword_markov/csb_markov_ctx1_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 979,
|
| 6 |
+
"total_transitions": 2875478
|
| 7 |
}
|
models/subword_markov/csb_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:00453bfd0428c74f169fc250cc72839e9b5be33c55c1202acd67810aa99b42ad
|
| 3 |
+
size 338971
|
models/subword_markov/csb_markov_ctx2_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 7156,
|
| 6 |
+
"total_transitions": 2870015
|
| 7 |
}
|
models/subword_markov/csb_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:d83e6ab8b9405b08960d7b9e06958ed76a019d9fcfaf38af0f021e65364e14c0
|
| 3 |
+
size 1286095
|
models/subword_markov/csb_markov_ctx3_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 42873,
|
| 6 |
+
"total_transitions": 2864552
|
| 7 |
}
|
models/subword_markov/csb_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:78238e27a8f4af66d93ad597fd4f60ddc27e630f9ba723af590e6c88ec4b2e48
|
| 3 |
+
size 3564109
|
models/subword_markov/csb_markov_ctx4_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 176892,
|
| 6 |
+
"total_transitions": 2859089
|
| 7 |
}
|
models/subword_ngram/csb_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:40917317e28e13d4228b19162f4f9e76a456818b2b363f27993f2281ea575568
|
| 3 |
+
size 39268
|
models/subword_ngram/csb_2gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_ngrams": 2749,
|
| 6 |
+
"total_ngrams": 2875478
|
| 7 |
}
|
models/subword_ngram/csb_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:f5596a9d5bb811dc3f44b4afba898558c7c00cb30c04f5784909945808e7ca65
|
| 3 |
+
size 281995
|
models/subword_ngram/csb_3gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_ngrams": 22499,
|
| 6 |
+
"total_ngrams": 2870015
|
| 7 |
}
|
models/subword_ngram/csb_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:f9c7a747d028ad968f03169031ba3678448ae4a3d57bfa89fdc232e93d6a3be1
|
| 3 |
+
size 1200627
|
models/subword_ngram/csb_4gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_ngrams": 102765,
|
| 6 |
+
"total_ngrams": 2864552
|
| 7 |
}
|
models/subword_ngram/csb_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:33e69de94b839b835a3a0e7e9affd94bf27d26e11d1673802cdb8940bef59ee0
|
| 3 |
+
size 2541917
|
models/subword_ngram/csb_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "csb",
|
| 5 |
+
"unique_ngrams": 210801,
|
| 6 |
+
"total_ngrams": 2859089
|
| 7 |
+
}
|
models/tokenizer/csb_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:d02e0145e192ef700356d843d6237f98715147f78634bb2300d6f2eea840f7db
|
| 3 |
+
size 512250
|
models/tokenizer/csb_tokenizer_16k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/csb_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:7ceaf1030ec78c2d3886b42ae9d8848969e8efddf8cdd8bec2c51fddc56fd37c
|
| 3 |
+
size 794778
|
models/tokenizer/csb_tokenizer_32k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/csb_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:f73c8de3bbadc860535a7b50d36e6fe3a2b224807b2b54cf36c21121e611b23a
|
| 3 |
+
size 1420921
|
models/tokenizer/csb_tokenizer_64k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/csb_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:171f6e45e564f0a1c09a28b681680e14f1de999eb483707de14434d19ab1a060
|
| 3 |
+
size 374708
|
models/tokenizer/csb_tokenizer_8k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/csb_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:fe22e4af6ddea2fa9868d9195a53c2762291d71d1b71388fed2f82923821c1cf
|
| 3 |
+
size 495850
|
models/vocabulary/csb_vocabulary_metadata.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"language": "csb",
|
| 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": "csb",
|
| 3 |
+
"vocabulary_size": 28419,
|
| 4 |
"variant": "full",
|
| 5 |
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.19500058808139045,
|
| 7 |
"coverage": {
|
| 8 |
+
"top_100": 0.31544685784512577,
|
| 9 |
+
"top_1000": 0.5532501698235036,
|
| 10 |
+
"top_5000": 0.6984774692817486,
|
| 11 |
+
"top_10000": 0.7649330667364364
|
| 12 |
},
|
| 13 |
+
"hapax_count": 52820,
|
| 14 |
+
"hapax_ratio": 0.6501803321065006,
|
| 15 |
+
"total_documents": 5463
|
| 16 |
}
|
| 17 |
}
|
models/word_markov/csb_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:fc6bdec0fd1ec6bc5a83035f365843669521b25c56ba1798b6558918e6d997f2
|
| 3 |
+
size 2559387
|
models/word_markov/csb_markov_ctx1_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 80925,
|
| 6 |
+
"total_transitions": 411146
|
| 7 |
}
|
models/word_markov/csb_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:ab631eed2145ba815309e4d6cb61f5fa7d512d6972d20426c14fe86f8d2d72aa
|
| 3 |
+
size 4833234
|
models/word_markov/csb_markov_ctx2_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "csb",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "csb",
|
| 5 |
+
"unique_contexts": 237972,
|
| 6 |
+
"total_transitions": 405683
|
| 7 |
}
|