Upload all models and assets for cy (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- README.md +328 -134
- models/embeddings/aligned/cy_128d.bin +3 -0
- models/embeddings/aligned/cy_128d.meta.json +1 -0
- models/embeddings/aligned/cy_128d.projection.npy +3 -0
- models/embeddings/aligned/cy_128d_metadata.json +8 -0
- models/embeddings/aligned/cy_32d.bin +3 -0
- models/embeddings/aligned/cy_32d.meta.json +1 -0
- models/embeddings/aligned/cy_32d.projection.npy +3 -0
- models/embeddings/aligned/cy_32d_metadata.json +8 -0
- models/embeddings/aligned/cy_64d.bin +3 -0
- models/embeddings/aligned/cy_64d.meta.json +1 -0
- models/embeddings/aligned/cy_64d.projection.npy +3 -0
- models/embeddings/aligned/cy_64d_metadata.json +8 -0
- models/embeddings/monolingual/cy_128d.bin +2 -2
- models/embeddings/monolingual/cy_128d_metadata.json +5 -3
- models/embeddings/monolingual/cy_32d.bin +2 -2
- models/embeddings/monolingual/cy_32d_metadata.json +5 -3
- models/embeddings/monolingual/cy_64d.bin +2 -2
- models/embeddings/monolingual/cy_64d_metadata.json +5 -3
- models/subword_markov/cy_markov_ctx1_subword.parquet +2 -2
- models/subword_markov/cy_markov_ctx1_subword_metadata.json +2 -2
- models/subword_markov/cy_markov_ctx2_subword.parquet +2 -2
- models/subword_markov/cy_markov_ctx2_subword_metadata.json +2 -2
- models/subword_markov/cy_markov_ctx3_subword.parquet +2 -2
- models/subword_markov/cy_markov_ctx3_subword_metadata.json +2 -2
- models/subword_markov/cy_markov_ctx4_subword.parquet +2 -2
- models/subword_markov/cy_markov_ctx4_subword_metadata.json +2 -2
- models/subword_ngram/cy_2gram_subword.parquet +2 -2
- models/subword_ngram/cy_2gram_subword_metadata.json +2 -2
- models/subword_ngram/cy_3gram_subword.parquet +2 -2
- models/subword_ngram/cy_3gram_subword_metadata.json +2 -2
- models/subword_ngram/cy_4gram_subword.parquet +2 -2
- models/subword_ngram/cy_4gram_subword_metadata.json +2 -2
- models/subword_ngram/cy_5gram_subword.parquet +3 -0
- models/subword_ngram/cy_5gram_subword_metadata.json +7 -0
- models/tokenizer/cy_tokenizer_16k.model +2 -2
- models/tokenizer/cy_tokenizer_16k.vocab +0 -0
- models/tokenizer/cy_tokenizer_32k.model +2 -2
- models/tokenizer/cy_tokenizer_32k.vocab +0 -0
- models/tokenizer/cy_tokenizer_64k.model +2 -2
- models/tokenizer/cy_tokenizer_64k.vocab +0 -0
- models/tokenizer/cy_tokenizer_8k.model +2 -2
- models/tokenizer/cy_tokenizer_8k.vocab +0 -0
- models/vocabulary/cy_vocabulary.parquet +2 -2
- models/vocabulary/cy_vocabulary_metadata.json +10 -9
- models/word_markov/cy_markov_ctx1_word.parquet +2 -2
- models/word_markov/cy_markov_ctx1_word_metadata.json +2 -2
- models/word_markov/cy_markov_ctx2_word.parquet +2 -2
- models/word_markov/cy_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
|
@@ -10,11 +10,21 @@ tags:
|
|
| 10 |
- n-gram
|
| 11 |
- markov
|
| 12 |
- wikipedia
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- monolingual
|
| 14 |
- family-celtic_brythonic
|
| 15 |
license: mit
|
| 16 |
library_name: wikilangs
|
| 17 |
-
pipeline_tag:
|
| 18 |
datasets:
|
| 19 |
- omarkamali/wikipedia-monthly
|
| 20 |
dataset_info:
|
|
@@ -23,14 +33,14 @@ dataset_info:
|
|
| 23 |
metrics:
|
| 24 |
- name: best_compression_ratio
|
| 25 |
type: compression
|
| 26 |
-
value:
|
| 27 |
- name: best_isotropy
|
| 28 |
type: isotropy
|
| 29 |
-
value: 0.
|
| 30 |
- name: vocabulary_size
|
| 31 |
type: vocab
|
| 32 |
-
value:
|
| 33 |
-
generated:
|
| 34 |
---
|
| 35 |
|
| 36 |
# Welsh - Wikilangs Models
|
|
@@ -44,12 +54,13 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
|
|
| 44 |
### Models & Assets
|
| 45 |
|
| 46 |
- Tokenizers (8k, 16k, 32k, 64k)
|
| 47 |
-
- N-gram models (2, 3, 4-gram)
|
| 48 |
-
- Markov chains (context of 1, 2, 3 and
|
| 49 |
- Subword N-gram and Markov chains
|
| 50 |
-
- Embeddings in various sizes and dimensions
|
| 51 |
- Language Vocabulary
|
| 52 |
- Language Statistics
|
|
|
|
| 53 |

|
| 54 |
|
| 55 |
### Analysis and Evaluation
|
|
@@ -59,7 +70,8 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
|
|
| 59 |
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 60 |
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 61 |
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 62 |
-
- [6.
|
|
|
|
| 63 |
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 64 |
- [Visualizations Index](#visualizations-index)
|
| 65 |
|
|
@@ -68,55 +80,57 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
|
|
| 68 |
|
| 69 |

|
| 70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
### Results
|
| 72 |
|
| 73 |
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 74 |
|------------|-------------|---------------|----------|--------------|
|
| 75 |
-
| **8k** |
|
| 76 |
-
| **16k** | 3.
|
| 77 |
-
| **32k** | 3.
|
| 78 |
-
| **64k** |
|
| 79 |
|
| 80 |
### Tokenization Examples
|
| 81 |
|
| 82 |
Below are sample sentences tokenized with each vocabulary size:
|
| 83 |
|
| 84 |
-
**Sample 1:** `
|
| 85 |
|
| 86 |
| Vocab | Tokens | Count |
|
| 87 |
|-------|--------|-------|
|
| 88 |
-
| 8k | `▁
|
| 89 |
-
| 16k | `▁
|
| 90 |
-
| 32k | `▁
|
| 91 |
-
| 64k | `▁
|
| 92 |
|
| 93 |
-
**Sample 2:** `
|
| 94 |
-
Gregg Township, Union County, Pennsy...`
|
| 95 |
|
| 96 |
| Vocab | Tokens | Count |
|
| 97 |
|-------|--------|-------|
|
| 98 |
-
| 8k | `▁
|
| 99 |
-
| 16k | `▁
|
| 100 |
-
| 32k | `▁
|
| 101 |
-
| 64k | `▁
|
| 102 |
-
|
| 103 |
-
**Sample 3:** `Ceir sawl Swydd Butte yn yr Unol Daleithiau:
|
| 104 |
|
| 105 |
-
|
| 106 |
-
Swydd B...`
|
| 107 |
|
| 108 |
| Vocab | Tokens | Count |
|
| 109 |
|-------|--------|-------|
|
| 110 |
-
| 8k | `▁
|
| 111 |
-
| 16k | `▁
|
| 112 |
-
| 32k | `▁
|
| 113 |
-
| 64k | `▁
|
| 114 |
|
| 115 |
|
| 116 |
### Key Findings
|
| 117 |
|
| 118 |
-
- **Best Compression:** 64k achieves
|
| 119 |
-
- **Lowest UNK Rate:** 8k with 0.
|
| 120 |
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 121 |
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 122 |
|
|
@@ -125,57 +139,111 @@ Gregg Township, Union County, Pennsy...`
|
|
| 125 |
|
| 126 |

|
| 127 |
|
|
|
|
|
|
|
| 128 |

|
| 129 |
|
| 130 |
### Results
|
| 131 |
|
| 132 |
-
| N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 133 |
-
|
| 134 |
-
| **2-gram** |
|
| 135 |
-
| **2-gram** |
|
| 136 |
-
| **3-gram** |
|
| 137 |
-
| **3-gram** | 2,
|
| 138 |
-
| **4-gram** |
|
| 139 |
-
| **4-gram** |
|
|
|
|
|
|
|
| 140 |
|
| 141 |
### Top 5 N-grams by Size
|
| 142 |
|
| 143 |
-
**2-grams:**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
| Rank | N-gram | Count |
|
| 146 |
|------|--------|-------|
|
| 147 |
-
| 1 | `
|
| 148 |
-
| 2 |
|
| 149 |
-
| 3 |
|
| 150 |
-
| 4 | `
|
| 151 |
-
| 5 | `
|
| 152 |
|
| 153 |
-
**
|
| 154 |
|
| 155 |
| Rank | N-gram | Count |
|
| 156 |
|------|--------|-------|
|
| 157 |
-
| 1 | `
|
| 158 |
-
| 2 |
|
| 159 |
-
| 3 | `
|
| 160 |
-
| 4 | `
|
| 161 |
-
| 5 | `
|
| 162 |
|
| 163 |
-
**
|
| 164 |
|
| 165 |
| Rank | N-gram | Count |
|
| 166 |
|------|--------|-------|
|
| 167 |
-
| 1 |
|
| 168 |
-
| 2 | `
|
| 169 |
-
| 3 | `
|
| 170 |
-
| 4 | `
|
| 171 |
-
| 5 | `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
|
| 173 |
|
| 174 |
### Key Findings
|
| 175 |
|
| 176 |
-
- **Best Perplexity:** 2-gram with
|
| 177 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 178 |
-
- **Coverage:** Top-1000 patterns cover ~
|
| 179 |
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 180 |
|
| 181 |
---
|
|
@@ -183,55 +251,86 @@ Gregg Township, Union County, Pennsy...`
|
|
| 183 |
|
| 184 |

|
| 185 |
|
|
|
|
|
|
|
| 186 |

|
| 187 |
|
| 188 |
### Results
|
| 189 |
|
| 190 |
-
| Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 191 |
-
|
| 192 |
-
| **1** | 0.
|
| 193 |
-
| **1** | 1.
|
| 194 |
-
| **2** | 0.
|
| 195 |
-
| **2** | 0.
|
| 196 |
-
| **3** | 0.
|
| 197 |
-
| **3** | 0.
|
| 198 |
-
| **4** | 0.
|
| 199 |
-
| **4** | 0.
|
| 200 |
|
| 201 |
-
### Generated Text Samples
|
| 202 |
|
| 203 |
-
Below are text samples generated from each Markov chain model:
|
| 204 |
|
| 205 |
**Context Size 1:**
|
| 206 |
|
| 207 |
-
1.
|
| 208 |
-
2.
|
| 209 |
-
3. `
|
| 210 |
|
| 211 |
**Context Size 2:**
|
| 212 |
|
| 213 |
-
1. `
|
| 214 |
-
2.
|
| 215 |
-
3.
|
| 216 |
|
| 217 |
**Context Size 3:**
|
| 218 |
|
| 219 |
-
1. `
|
| 220 |
-
2.
|
| 221 |
-
3. `
|
| 222 |
|
| 223 |
**Context Size 4:**
|
| 224 |
|
| 225 |
-
1.
|
| 226 |
-
2. `
|
| 227 |
-
3. `gan gynnwys y canlynol
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
|
| 229 |
|
| 230 |
### Key Findings
|
| 231 |
|
| 232 |
-
- **Best Predictability:** Context-4 with
|
| 233 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 234 |
-
- **Memory Trade-off:** Larger contexts require more storage (
|
| 235 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 236 |
|
| 237 |
---
|
|
@@ -247,37 +346,37 @@ Below are text samples generated from each Markov chain model:
|
|
| 247 |
|
| 248 |
| Metric | Value |
|
| 249 |
|--------|-------|
|
| 250 |
-
| Vocabulary Size |
|
| 251 |
-
| Total Tokens |
|
| 252 |
-
| Mean Frequency |
|
| 253 |
| Median Frequency | 5 |
|
| 254 |
-
| Frequency Std Dev |
|
| 255 |
|
| 256 |
### Most Common Words
|
| 257 |
|
| 258 |
| Rank | Word | Frequency |
|
| 259 |
|------|------|-----------|
|
| 260 |
-
| 1 | y | 2,
|
| 261 |
-
| 2 | yn | 2,
|
| 262 |
-
| 3 | o | 1,
|
| 263 |
-
| 4 |
|
| 264 |
-
| 5 |
|
| 265 |
-
| 6 |
|
| 266 |
-
| 7 |
|
| 267 |
-
| 8 |
|
| 268 |
-
| 9 |
|
| 269 |
-
| 10 |
|
| 270 |
|
| 271 |
### Least Common Words (from vocabulary)
|
| 272 |
|
| 273 |
| Rank | Word | Frequency |
|
| 274 |
|------|------|-----------|
|
| 275 |
-
| 1 |
|
| 276 |
-
| 2 |
|
| 277 |
-
| 3 |
|
| 278 |
-
| 4 |
|
| 279 |
-
| 5 |
|
| 280 |
-
| 6 |
|
| 281 |
| 7 | defynydd | 2 |
|
| 282 |
| 8 | clwsterau | 2 |
|
| 283 |
| 9 | ŋm | 2 |
|
|
@@ -287,24 +386,24 @@ Below are text samples generated from each Markov chain model:
|
|
| 287 |
|
| 288 |
| Metric | Value |
|
| 289 |
|--------|-------|
|
| 290 |
-
| Zipf Coefficient | 1.
|
| 291 |
-
| R² (Goodness of Fit) | 0.
|
| 292 |
| Adherence Quality | **excellent** |
|
| 293 |
|
| 294 |
### Coverage Analysis
|
| 295 |
|
| 296 |
| Top N Words | Coverage |
|
| 297 |
|-------------|----------|
|
| 298 |
-
| Top 100 |
|
| 299 |
-
| Top 1,000 |
|
| 300 |
-
| Top 5,000 |
|
| 301 |
-
| Top 10,000 |
|
| 302 |
|
| 303 |
### Key Findings
|
| 304 |
|
| 305 |
-
- **Zipf Compliance:** R²=0.
|
| 306 |
-
- **High Frequency Dominance:** Top 100 words cover
|
| 307 |
-
- **Long Tail:**
|
| 308 |
|
| 309 |
---
|
| 310 |
## 5. Word Embeddings Evaluation
|
|
@@ -317,24 +416,116 @@ Below are text samples generated from each Markov chain model:
|
|
| 317 |
|
| 318 |

|
| 319 |
|
| 320 |
-
### Model Comparison
|
| 321 |
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 328 |
|
| 329 |
### Key Findings
|
| 330 |
|
| 331 |
-
- **Best Isotropy:** mono_32d with 0.
|
| 332 |
-
- **
|
| 333 |
-
- **
|
| 334 |
-
- **Recommendation:**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 335 |
|
| 336 |
---
|
| 337 |
-
##
|
| 338 |
|
| 339 |

|
| 340 |
|
|
@@ -342,11 +533,12 @@ Below are text samples generated from each Markov chain model:
|
|
| 342 |
|
| 343 |
| Component | Recommended | Rationale |
|
| 344 |
|-----------|-------------|-----------|
|
| 345 |
-
| Tokenizer | **
|
| 346 |
-
| N-gram | **
|
| 347 |
-
| Markov | **Context-4** | Highest predictability (
|
| 348 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 349 |
|
|
|
|
| 350 |
---
|
| 351 |
## Appendix: Metrics Glossary & Interpretation Guide
|
| 352 |
|
|
@@ -536,7 +728,8 @@ If you use these models in your research, please cite:
|
|
| 536 |
author = {Kamali, Omar},
|
| 537 |
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 538 |
year = {2025},
|
| 539 |
-
|
|
|
|
| 540 |
url = {https://huggingface.co/wikilangs}
|
| 541 |
institution = {Omneity Labs}
|
| 542 |
}
|
|
@@ -552,7 +745,8 @@ MIT License - Free for academic and commercial use.
|
|
| 552 |
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 553 |
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 554 |
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
|
|
|
| 555 |
---
|
| 556 |
*Generated by Wikilangs Models Pipeline*
|
| 557 |
|
| 558 |
-
*Report Date:
|
|
|
|
| 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-celtic_brythonic
|
| 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.109
|
| 37 |
- name: best_isotropy
|
| 38 |
type: isotropy
|
| 39 |
+
value: 0.8420
|
| 40 |
- name: vocabulary_size
|
| 41 |
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-04
|
| 44 |
---
|
| 45 |
|
| 46 |
# Welsh - Wikilangs Models
|
|
|
|
| 54 |
### Models & Assets
|
| 55 |
|
| 56 |
- Tokenizers (8k, 16k, 32k, 64k)
|
| 57 |
+
- N-gram models (2, 3, 4, 5-gram)
|
| 58 |
+
- Markov chains (context of 1, 2, 3, 4 and 5)
|
| 59 |
- Subword N-gram and Markov chains
|
| 60 |
+
- Embeddings in various sizes and dimensions (aligned and unaligned)
|
| 61 |
- Language Vocabulary
|
| 62 |
- Language Statistics
|
| 63 |
+
|
| 64 |

|
| 65 |
|
| 66 |
### Analysis and Evaluation
|
|
|
|
| 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)
|
| 77 |
|
|
|
|
| 80 |
|
| 81 |

|
| 82 |
|
| 83 |
+

|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
### Results
|
| 90 |
|
| 91 |
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 92 |
|------------|-------------|---------------|----------|--------------|
|
| 93 |
+
| **8k** | 3.346x | 3.35 | 0.0427% | 894,556 |
|
| 94 |
+
| **16k** | 3.678x | 3.68 | 0.0469% | 813,770 |
|
| 95 |
+
| **32k** | 3.925x | 3.93 | 0.0501% | 762,670 |
|
| 96 |
+
| **64k** | 4.109x 🏆 | 4.11 | 0.0524% | 728,422 |
|
| 97 |
|
| 98 |
### Tokenization Examples
|
| 99 |
|
| 100 |
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
|
| 102 |
+
**Sample 1:** `Canwr opera o Ganada oedd Jonathan Stewart Vickers, CC (29 Hydref – 10 Gorffenna...`
|
| 103 |
|
| 104 |
| Vocab | Tokens | Count |
|
| 105 |
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁canwr ▁opera ▁o ▁ganada ▁oedd ▁jonathan ▁stewart ▁v ick ers ... (+30 more)` | 40 |
|
| 107 |
+
| 16k | `▁canwr ▁opera ▁o ▁ganada ▁oedd ▁jonathan ▁stewart ▁vick ers , ... (+27 more)` | 37 |
|
| 108 |
+
| 32k | `▁canwr ▁opera ▁o ▁ganada ▁oedd ▁jonathan ▁stewart ▁vick ers , ... (+26 more)` | 36 |
|
| 109 |
+
| 64k | `▁canwr ▁opera ▁o ▁ganada ▁oedd ▁jonathan ▁stewart ▁vickers , ▁cc ... (+22 more)` | 32 |
|
| 110 |
|
| 111 |
+
**Sample 2:** `Pêl-droediwr o Japan yw (ganed 11 Rhagfyr Tîm Cenedlaethol Tîm cenedlaethol Dole...`
|
|
|
|
| 112 |
|
| 113 |
| Vocab | Tokens | Count |
|
| 114 |
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁pêl - droediwr ▁o ▁japan ▁yw ▁( ganed ▁ 1 ... (+15 more)` | 25 |
|
| 116 |
+
| 16k | `▁pêl - droediwr ▁o ▁japan ▁yw ▁( ganed ▁ 1 ... (+15 more)` | 25 |
|
| 117 |
+
| 32k | `▁pêl - droediwr ▁o ▁japan ▁yw ▁( ganed ▁ 1 ... (+15 more)` | 25 |
|
| 118 |
+
| 64k | `▁pêl - droediwr ▁o ▁japan ▁yw ▁( ganed ▁ 1 ... (+15 more)` | 25 |
|
|
|
|
|
|
|
| 119 |
|
| 120 |
+
**Sample 3:** `Clostridium tetani yw'r bacteria sy'n achosi Tetanws.`
|
|
|
|
| 121 |
|
| 122 |
| Vocab | Tokens | Count |
|
| 123 |
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁cl ost rid ium ▁t et ani ▁yw ' r ... (+13 more)` | 23 |
|
| 125 |
+
| 16k | `▁cl ost rid ium ▁t et ani ▁yw ' r ... (+12 more)` | 22 |
|
| 126 |
+
| 32k | `▁cl ost rid ium ▁tet ani ▁yw ' r ▁bacteria ... (+8 more)` | 18 |
|
| 127 |
+
| 64k | `▁cl ost rid ium ▁tet ani ▁yw ' r ▁bacteria ... (+8 more)` | 18 |
|
| 128 |
|
| 129 |
|
| 130 |
### Key Findings
|
| 131 |
|
| 132 |
+
- **Best Compression:** 64k achieves 4.109x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.0427% unknown tokens
|
| 134 |
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 135 |
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 136 |
|
|
|
|
| 139 |
|
| 140 |

|
| 141 |
|
| 142 |
+

|
| 143 |
+
|
| 144 |

|
| 145 |
|
| 146 |
### Results
|
| 147 |
|
| 148 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 149 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 150 |
+
| **2-gram** | Word | 17,960 | 14.13 | 742,720 | 26.5% | 49.5% |
|
| 151 |
+
| **2-gram** | Subword | 266 🏆 | 8.05 | 14,977 | 67.6% | 99.3% |
|
| 152 |
+
| **3-gram** | Word | 34,403 | 15.07 | 1,470,847 | 23.6% | 43.7% |
|
| 153 |
+
| **3-gram** | Subword | 2,056 | 11.01 | 96,402 | 28.1% | 74.0% |
|
| 154 |
+
| **4-gram** | Word | 58,140 | 15.83 | 2,520,966 | 20.5% | 39.2% |
|
| 155 |
+
| **4-gram** | Subword | 9,573 | 13.22 | 505,960 | 17.0% | 48.0% |
|
| 156 |
+
| **5-gram** | Word | 66,270 | 16.02 | 2,303,277 | 18.6% | 36.6% |
|
| 157 |
+
| **5-gram** | Subword | 29,179 | 14.83 | 1,685,188 | 12.7% | 38.3% |
|
| 158 |
|
| 159 |
### Top 5 N-grams by Size
|
| 160 |
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `unol daleithiau` | 486,479 |
|
| 166 |
+
| 2 | `daleithiau america` | 459,399 |
|
| 167 |
+
| 3 | `y ffilm` | 330,346 |
|
| 168 |
+
| 4 | `y cyfarwyddwr` | 255,174 |
|
| 169 |
+
| 5 | `o ffilmiau` | 249,770 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `unol daleithiau america` | 447,977 |
|
| 176 |
+
| 2 | `daleithiau america saesneg` | 189,392 |
|
| 177 |
+
| 3 | `gan y cyfarwyddwr` | 147,806 |
|
| 178 |
+
| 4 | `gan gynnwys y` | 143,480 |
|
| 179 |
+
| 5 | `gynnwys y canlynol` | 142,458 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `unol daleithiau america saesneg` | 183,879 |
|
| 186 |
+
| 2 | `gan gynnwys y canlynol` | 142,457 |
|
| 187 |
+
| 3 | `o ffilmiau gan gynnwys` | 141,034 |
|
| 188 |
+
| 4 | `nifer o ffilmiau gan` | 141,018 |
|
| 189 |
+
| 5 | `ffilmiau gan gynnwys y` | 141,004 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
|
| 193 |
| Rank | N-gram | Count |
|
| 194 |
|------|--------|-------|
|
| 195 |
+
| 1 | `nifer o ffilmiau gan gynnwys` | 141,016 |
|
| 196 |
+
| 2 | `o ffilmiau gan gynnwys y` | 141,003 |
|
| 197 |
+
| 3 | `ffilmiau gan gynnwys y canlynol` | 140,997 |
|
| 198 |
+
| 4 | `y nodwyd cyhoeddwyd y ffilm` | 140,932 |
|
| 199 |
+
| 5 | `fel y nodwyd cyhoeddwyd y` | 140,932 |
|
| 200 |
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
|
| 203 |
| Rank | N-gram | Count |
|
| 204 |
|------|--------|-------|
|
| 205 |
+
| 1 | `n _` | 6,965,988 |
|
| 206 |
+
| 2 | `d _` | 6,143,531 |
|
| 207 |
+
| 3 | `_ y` | 5,977,485 |
|
| 208 |
+
| 4 | `d d` | 5,740,307 |
|
| 209 |
+
| 5 | `_ a` | 5,232,448 |
|
| 210 |
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
|
| 213 |
| Rank | N-gram | Count |
|
| 214 |
|------|--------|-------|
|
| 215 |
+
| 1 | `y n _` | 2,646,508 |
|
| 216 |
+
| 2 | `d d _` | 2,490,077 |
|
| 217 |
+
| 3 | `_ y n` | 2,304,841 |
|
| 218 |
+
| 4 | `w y d` | 2,285,145 |
|
| 219 |
+
| 5 | `_ y _` | 2,240,041 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ y n _` | 2,171,280 |
|
| 226 |
+
| 2 | `f i l m` | 1,586,546 |
|
| 227 |
+
| 3 | `f f i l` | 1,571,751 |
|
| 228 |
+
| 4 | `_ f f i` | 1,455,954 |
|
| 229 |
+
| 5 | `i l m _` | 1,222,896 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `f f i l m` | 1,569,304 |
|
| 236 |
+
| 2 | `_ f f i l` | 1,419,063 |
|
| 237 |
+
| 3 | `f i l m _` | 1,222,863 |
|
| 238 |
+
| 4 | `_ g a n _` | 924,207 |
|
| 239 |
+
| 5 | `w y d _ y` | 781,315 |
|
| 240 |
|
| 241 |
|
| 242 |
### Key Findings
|
| 243 |
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 266
|
| 245 |
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~38% of corpus
|
| 247 |
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 248 |
|
| 249 |
---
|
|
|
|
| 251 |
|
| 252 |

|
| 253 |
|
| 254 |
+

|
| 255 |
+
|
| 256 |

|
| 257 |
|
| 258 |
### Results
|
| 259 |
|
| 260 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 261 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 262 |
+
| **1** | Word | 0.9977 | 1.997 | 9.84 | 671,269 | 0.2% |
|
| 263 |
+
| **1** | Subword | 1.0862 | 2.123 | 6.65 | 8,673 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.3690 | 1.291 | 2.18 | 6,591,949 | 63.1% |
|
| 265 |
+
| **2** | Subword | 0.6157 | 1.532 | 3.90 | 57,679 | 38.4% |
|
| 266 |
+
| **3** | Word | 0.1502 | 1.110 | 1.34 | 14,351,859 | 85.0% |
|
| 267 |
+
| **3** | Subword | 0.6340 | 1.552 | 3.78 | 225,011 | 36.6% |
|
| 268 |
+
| **4** | Word | 0.0687 🏆 | 1.049 | 1.14 | 19,154,889 | 93.1% |
|
| 269 |
+
| **4** | Subword | 0.6561 | 1.576 | 3.40 | 850,309 | 34.4% |
|
| 270 |
|
| 271 |
+
### Generated Text Samples (Word-based)
|
| 272 |
|
| 273 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 274 |
|
| 275 |
**Context Size 1:**
|
| 276 |
|
| 277 |
+
1. `y ffindir gweler hefyd cyhoeddodd nifer o r almaen almaenegno unknown value the white ship mutiny`
|
| 278 |
+
2. `yn ystod eang derbyniad gweler hefyd rhestr goch yr enw tacson delwedd gwlad dyddiad a 22`
|
| 279 |
+
3. `o leiaf 1 050 o ffilmiau gan nifer o fariau cul o awstria almaeneg cyfeiriadau gan`
|
| 280 |
|
| 281 |
**Context Size 2:**
|
| 282 |
|
| 283 |
+
1. `unol daleithiau america rhamantaidd gyda llai na 10 o actorion lleisiol a olygwyd gan mogens skot ha...`
|
| 284 |
+
2. `daleithiau america cyfeiriadau gan gyfarwyddwyr ffilm gwrywaidd saesneg du a gwyn o japan mud sydd a...`
|
| 285 |
+
3. `y ffilm hon yw warner baxter stuart erwin edmund lowe cafodd ei ddanfon gan fyddin a adwaenid`
|
| 286 |
|
| 287 |
**Context Size 3:**
|
| 288 |
|
| 289 |
+
1. `unol daleithiau america in every womans life unol daleithiau america saesneg the boys from brazil a ...`
|
| 290 |
+
2. `daleithiau america saesneg cyfeiriadau gan gyfarwyddwyr ffilm gwrywaidd tsieceg o tsiecoslofacia gyd...`
|
| 291 |
+
3. `gan y cyfarwyddwr kevin billington yw the rise of the nazis stalingrad fernsehepisode y deyrnas uned...`
|
| 292 |
|
| 293 |
**Context Size 4:**
|
| 294 |
|
| 295 |
+
1. `unol daleithiau america saesneg o unol daleithiau america arswyd o unol daleithiau america comedi gy...`
|
| 296 |
+
2. `gan gynnwys y canlynol cyfeiriadau lliw lliw o sbaen rhamantaidd o sbaen sbaeneg o sbaen comedi gyda...`
|
| 297 |
+
3. `o ffilmiau gan gynnwys y canlynol ffilm delwedd gwlad iaith wreiddiol dyddiad coyote summer unol dal...`
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
### Generated Text Samples (Subword-based)
|
| 301 |
+
|
| 302 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 303 |
+
|
| 304 |
+
**Context Size 1:**
|
| 305 |
+
|
| 306 |
+
1. `_o/uchomau_dcolm`
|
| 307 |
+
2. `adankeegoeei'cho`
|
| 308 |
+
3. `elm_seratir,_pae`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `n_gannwyddyd_gwed`
|
| 313 |
+
2. `d_rasalanc_wr_pon`
|
| 314 |
+
3. `_y_faraithia_cymg`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `yn_wreidd_gwyn_cyh`
|
| 319 |
+
2. `dd_a_10,700_strwyd`
|
| 320 |
+
3. `_yn_coln,_sy'n_alm`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `_yn_sydd_('cyfarwyd`
|
| 325 |
+
2. `filmio_oeddwyd,_cyh`
|
| 326 |
+
3. `ffilm_hon_walter,_j`
|
| 327 |
|
| 328 |
|
| 329 |
### Key Findings
|
| 330 |
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 93.1% predictability
|
| 332 |
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (850,309 contexts)
|
| 334 |
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
|
| 336 |
---
|
|
|
|
| 346 |
|
| 347 |
| Metric | Value |
|
| 348 |
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 360,120 |
|
| 350 |
+
| Total Tokens | 54,213,529 |
|
| 351 |
+
| Mean Frequency | 150.54 |
|
| 352 |
| Median Frequency | 5 |
|
| 353 |
+
| Frequency Std Dev | 7791.16 |
|
| 354 |
|
| 355 |
### Most Common Words
|
| 356 |
|
| 357 |
| Rank | Word | Frequency |
|
| 358 |
|------|------|-----------|
|
| 359 |
+
| 1 | y | 2,261,654 |
|
| 360 |
+
| 2 | yn | 2,177,991 |
|
| 361 |
+
| 3 | o | 1,594,538 |
|
| 362 |
+
| 4 | a | 1,391,156 |
|
| 363 |
+
| 5 | ffilm | 1,218,819 |
|
| 364 |
+
| 6 | gan | 925,486 |
|
| 365 |
+
| 7 | r | 723,127 |
|
| 366 |
+
| 8 | i | 650,709 |
|
| 367 |
+
| 9 | yr | 521,021 |
|
| 368 |
+
| 10 | daleithiau | 501,348 |
|
| 369 |
|
| 370 |
### Least Common Words (from vocabulary)
|
| 371 |
|
| 372 |
| Rank | Word | Frequency |
|
| 373 |
|------|------|-----------|
|
| 374 |
+
| 1 | geirfaoedd | 2 |
|
| 375 |
+
| 2 | volcabulaire | 2 |
|
| 376 |
+
| 3 | ethnolog | 2 |
|
| 377 |
+
| 4 | siculu | 2 |
|
| 378 |
+
| 5 | metafonetig | 2 |
|
| 379 |
+
| 6 | prano | 2 |
|
| 380 |
| 7 | defynydd | 2 |
|
| 381 |
| 8 | clwsterau | 2 |
|
| 382 |
| 9 | ŋm | 2 |
|
|
|
|
| 386 |
|
| 387 |
| Metric | Value |
|
| 388 |
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.1638 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.998189 |
|
| 391 |
| Adherence Quality | **excellent** |
|
| 392 |
|
| 393 |
### Coverage Analysis
|
| 394 |
|
| 395 |
| Top N Words | Coverage |
|
| 396 |
|-------------|----------|
|
| 397 |
+
| Top 100 | 49.6% |
|
| 398 |
+
| Top 1,000 | 72.6% |
|
| 399 |
+
| Top 5,000 | 84.6% |
|
| 400 |
+
| Top 10,000 | 88.7% |
|
| 401 |
|
| 402 |
### Key Findings
|
| 403 |
|
| 404 |
+
- **Zipf Compliance:** R²=0.9982 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 49.6% of corpus
|
| 406 |
+
- **Long Tail:** 350,120 words needed for remaining 11.3% coverage
|
| 407 |
|
| 408 |
---
|
| 409 |
## 5. Word Embeddings Evaluation
|
|
|
|
| 416 |
|
| 417 |

|
| 418 |
|
|
|
|
| 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.8420 🏆 | 0.3264 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.8198 | 0.2681 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.7807 | 0.2230 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8420 | 0.3314 | 0.2180 | 0.6520 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.8198 | 0.2651 | 0.3480 | 0.7540 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.7807 | 0.2238 | 0.5000 | 0.8640 |
|
| 437 |
|
| 438 |
### Key Findings
|
| 439 |
|
| 440 |
+
- **Best Isotropy:** mono_32d with 0.8420 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2730. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 50.0% 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.043** | Low formulaic content | - |
|
| 456 |
+
|
| 457 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
+
|
| 459 |
+
These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
|
| 460 |
+
|
| 461 |
+
#### Productive Prefixes
|
| 462 |
+
| Prefix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
|
| 465 |
+
#### Productive Suffixes
|
| 466 |
+
| Suffix | Examples |
|
| 467 |
+
|--------|----------|
|
| 468 |
+
| `-er` | menschenfresser, spengler, giessler |
|
| 469 |
+
| `-dd` | cwmnioedd, ailysgrifennodd, maswedd |
|
| 470 |
+
| `-on` | cenawon, pittston, dimson |
|
| 471 |
+
| `-au` | llinachau, rygiau, halennau |
|
| 472 |
+
| `-en` | vorsitzenden, misshandlingen, ddiacen |
|
| 473 |
+
|
| 474 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 475 |
+
|
| 476 |
+
Bound stems are high-frequency subword units that are semantically cohesive but rarely appear as standalone words. These often correspond to the 'core' of a word that requires inflection or derivation to be valid.
|
| 477 |
+
|
| 478 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 479 |
+
|------|----------|------------------|----------|
|
| 480 |
+
| `iada` | 2.24x | 67 contexts | riada, viada, diada |
|
| 481 |
+
| `efyd` | 2.21x | 69 contexts | hefyd, lefyd, efydd |
|
| 482 |
+
| `ddio` | 1.98x | 84 contexts | addio, ddiog, ddios |
|
| 483 |
+
| `feir` | 2.03x | 69 contexts | feiro, feira, sfeir |
|
| 484 |
+
| `nnwy` | 2.19x | 46 contexts | annwyl, annwyd, gynnwy |
|
| 485 |
+
| `leit` | 2.36x | 32 contexts | leite, fleit, leith |
|
| 486 |
+
| `yddi` | 1.71x | 121 contexts | fyddi, byddi, dyddio |
|
| 487 |
+
| `dwyd` | 2.14x | 43 contexts | nodwyd, ildwyd, codwyd |
|
| 488 |
+
| `ithi` | 1.55x | 152 contexts | deithi, teithi, rithio |
|
| 489 |
+
| `alei` | 2.30x | 26 contexts | dalei, malei, maleia |
|
| 490 |
+
| `adau` | 2.02x | 40 contexts | badau, gadau, fadau |
|
| 491 |
+
| `eddw` | 1.67x | 49 contexts | feddw, weddw, meddw |
|
| 492 |
+
|
| 493 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 494 |
+
|
| 495 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 496 |
+
|
| 497 |
+
*No significant affix co-occurrences detected.*
|
| 498 |
+
|
| 499 |
+
|
| 500 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 501 |
+
|
| 502 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 503 |
+
|
| 504 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 505 |
+
|------|-----------------|------------|------|
|
| 506 |
+
| deiamwntau | **`deiamwnt-au`** | 4.5 | `deiamwnt` |
|
| 507 |
+
| croniclau | **`cronicl-au`** | 4.5 | `cronicl` |
|
| 508 |
+
| komödianten | **`komödiant-en`** | 4.5 | `komödiant` |
|
| 509 |
+
| recruiter | **`recruit-er`** | 4.5 | `recruit` |
|
| 510 |
+
| diffiniodd | **`diffinio-dd`** | 4.5 | `diffinio` |
|
| 511 |
+
| catholicon | **`catholic-on`** | 4.5 | `catholic` |
|
| 512 |
+
| telesgopau | **`telesgop-au`** | 4.5 | `telesgop` |
|
| 513 |
+
| canlyniadau | **`canlyniad-au`** | 4.5 | `canlyniad` |
|
| 514 |
+
| lluswydden | **`lluswy-dd-en`** | 3.0 | `lluswy` |
|
| 515 |
+
| organeddau | **`organe-dd-au`** | 3.0 | `organe` |
|
| 516 |
+
| chynffonau | **`chynff-on-au`** | 3.0 | `chynff` |
|
| 517 |
+
| wastadeddau | **`wastade-dd-au`** | 3.0 | `wastade` |
|
| 518 |
+
| ffilmymgyrchydd | **`ffilmymgyrchy-dd`** | 1.5 | `ffilmymgyrchy` |
|
| 519 |
+
| stabilizer | **`stabiliz-er`** | 1.5 | `stabiliz` |
|
| 520 |
+
| effeithiolrwydd | **`effeithiolrwy-dd`** | 1.5 | `effeithiolrwy` |
|
| 521 |
+
|
| 522 |
+
### 6.6 Linguistic Interpretation
|
| 523 |
+
|
| 524 |
+
> **Automated Insight:**
|
| 525 |
+
The language Welsh shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 526 |
|
| 527 |
---
|
| 528 |
+
## 7. Summary & Recommendations
|
| 529 |
|
| 530 |

|
| 531 |
|
|
|
|
| 533 |
|
| 534 |
| Component | Recommended | Rationale |
|
| 535 |
|-----------|-------------|-----------|
|
| 536 |
+
| Tokenizer | **64k BPE** | Best compression (4.11x) |
|
| 537 |
+
| N-gram | **2-gram** | Lowest perplexity (266) |
|
| 538 |
+
| Markov | **Context-4** | Highest predictability (93.1%) |
|
| 539 |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 540 |
|
| 541 |
+
|
| 542 |
---
|
| 543 |
## Appendix: Metrics Glossary & Interpretation Guide
|
| 544 |
|
|
|
|
| 728 |
author = {Kamali, Omar},
|
| 729 |
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 730 |
year = {2025},
|
| 731 |
+
doi = {10.5281/zenodo.18073153},
|
| 732 |
+
publisher = {Zenodo},
|
| 733 |
url = {https://huggingface.co/wikilangs}
|
| 734 |
institution = {Omneity Labs}
|
| 735 |
}
|
|
|
|
| 745 |
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 746 |
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 747 |
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 748 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 749 |
---
|
| 750 |
*Generated by Wikilangs Models Pipeline*
|
| 751 |
|
| 752 |
+
*Report Date: 2026-01-04 02:01:49*
|
models/embeddings/aligned/cy_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71a9cc470933ca021e965ef59d5d35ae42cbf5d712bd69da16d2172f82b6e899
|
| 3 |
+
size 1311006409
|
models/embeddings/aligned/cy_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "cy", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/cy_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:253945786c2db421271a179761c1f204cf870db589c34c30603f0b648808fa14
|
| 3 |
+
size 65664
|
models/embeddings/aligned/cy_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "cy",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 112312,
|
| 7 |
+
"vocab_size": 275534
|
| 8 |
+
}
|
models/embeddings/aligned/cy_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b757fa77344292a77e59e092a2b18c17302b08200f8e2d1d392b9ed729eac94
|
| 3 |
+
size 331396297
|
models/embeddings/aligned/cy_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "cy", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/cy_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cb68ea51508c5c1e3515f4866ba7792c4ee05d53dd13bf3760d3dfffdc67c94
|
| 3 |
+
size 4224
|
models/embeddings/aligned/cy_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "cy",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 112312,
|
| 7 |
+
"vocab_size": 275534
|
| 8 |
+
}
|
models/embeddings/aligned/cy_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e60dc915534a1b716efbe68b36298dbef28c1788a964bd2fd7cfa92b82bd2316
|
| 3 |
+
size 657933001
|
models/embeddings/aligned/cy_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "cy", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/cy_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0415c21350d5c84213bf49b3054ba4ea03b8d3d19b37b76a0d288396784fc11f
|
| 3 |
+
size 16512
|
models/embeddings/aligned/cy_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "cy",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 112312,
|
| 7 |
+
"vocab_size": 275534
|
| 8 |
+
}
|
models/embeddings/monolingual/cy_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:71a9cc470933ca021e965ef59d5d35ae42cbf5d712bd69da16d2172f82b6e899
|
| 3 |
+
size 1311006409
|
models/embeddings/monolingual/cy_128d_metadata.json
CHANGED
|
@@ -3,11 +3,13 @@
|
|
| 3 |
"dimension": 128,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
-
"
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
-
"epochs": 5
|
|
|
|
|
|
|
| 11 |
},
|
| 12 |
-
"vocab_size":
|
| 13 |
}
|
|
|
|
| 3 |
"dimension": 128,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 128
|
| 13 |
},
|
| 14 |
+
"vocab_size": 275534
|
| 15 |
}
|
models/embeddings/monolingual/cy_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:4b757fa77344292a77e59e092a2b18c17302b08200f8e2d1d392b9ed729eac94
|
| 3 |
+
size 331396297
|
models/embeddings/monolingual/cy_32d_metadata.json
CHANGED
|
@@ -3,11 +3,13 @@
|
|
| 3 |
"dimension": 32,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
-
"
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
-
"epochs": 5
|
|
|
|
|
|
|
| 11 |
},
|
| 12 |
-
"vocab_size":
|
| 13 |
}
|
|
|
|
| 3 |
"dimension": 32,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 32
|
| 13 |
},
|
| 14 |
+
"vocab_size": 275534
|
| 15 |
}
|
models/embeddings/monolingual/cy_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:e60dc915534a1b716efbe68b36298dbef28c1788a964bd2fd7cfa92b82bd2316
|
| 3 |
+
size 657933001
|
models/embeddings/monolingual/cy_64d_metadata.json
CHANGED
|
@@ -3,11 +3,13 @@
|
|
| 3 |
"dimension": 64,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
-
"
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
-
"epochs": 5
|
|
|
|
|
|
|
| 11 |
},
|
| 12 |
-
"vocab_size":
|
| 13 |
}
|
|
|
|
| 3 |
"dimension": 64,
|
| 4 |
"version": "monolingual",
|
| 5 |
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
"min_count": 5,
|
| 8 |
"window": 5,
|
| 9 |
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 64
|
| 13 |
},
|
| 14 |
+
"vocab_size": 275534
|
| 15 |
}
|
models/subword_markov/cy_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:77bfb515ff96720dfb9ea7b567149c487d1e1c5abf52aab5d3e9f32257e27c8d
|
| 3 |
+
size 433622
|
models/subword_markov/cy_markov_ctx1_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 8673,
|
| 6 |
+
"total_transitions": 331031071
|
| 7 |
}
|
models/subword_markov/cy_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:80874947d2f81f135d491086e3debb63549c17dec7ac004f27d0651a5c60d5bd
|
| 3 |
+
size 1980045
|
models/subword_markov/cy_markov_ctx2_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 57679,
|
| 6 |
+
"total_transitions": 330747308
|
| 7 |
}
|
models/subword_markov/cy_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:534097083e70adb36fae774d7d647a80b25c491927432795d131c8a1860db353
|
| 3 |
+
size 7942804
|
models/subword_markov/cy_markov_ctx3_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 225011,
|
| 6 |
+
"total_transitions": 330463545
|
| 7 |
}
|
models/subword_markov/cy_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:89e7898de9bb4c0bc01b6fb2c90d51ae670425a19ae7cda1857524212cbbe9e5
|
| 3 |
+
size 24550193
|
models/subword_markov/cy_markov_ctx4_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 850309,
|
| 6 |
+
"total_transitions": 330179782
|
| 7 |
}
|
models/subword_ngram/cy_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:0794cdccf210ecd2c67a97dfecc22867aacb11b80bee254a78bf063eae65f55e
|
| 3 |
+
size 208837
|
models/subword_ngram/cy_2gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 2,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_ngrams": 14977,
|
| 6 |
+
"total_ngrams": 331031071
|
| 7 |
}
|
models/subword_ngram/cy_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:d846dcbd8d0c05875b602277cbe1d1e86250892e478be8b608df266cf2af545f
|
| 3 |
+
size 1269256
|
models/subword_ngram/cy_3gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 3,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_ngrams": 96402,
|
| 6 |
+
"total_ngrams": 330747308
|
| 7 |
}
|
models/subword_ngram/cy_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:ec9f3eced4fd4cf6f7f5df5fc2748b38d1a56ee9e5941496343545ebe192fb14
|
| 3 |
+
size 6072142
|
models/subword_ngram/cy_4gram_subword_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_ngrams":
|
| 6 |
-
"total_ngrams":
|
| 7 |
}
|
|
|
|
| 2 |
"n": 4,
|
| 3 |
"variant": "subword",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_ngrams": 505960,
|
| 6 |
+
"total_ngrams": 330463545
|
| 7 |
}
|
models/subword_ngram/cy_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:238eb12d1d1836fc4053d4fff63010bd520f61e606f9f9e8e0857673bbf3ec73
|
| 3 |
+
size 20429696
|
models/subword_ngram/cy_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "cy",
|
| 5 |
+
"unique_ngrams": 1685188,
|
| 6 |
+
"total_ngrams": 330179782
|
| 7 |
+
}
|
models/tokenizer/cy_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:53fac0099672dfd14c84298634363bafca172cef8cf2886fcd05d536c3633680
|
| 3 |
+
size 505264
|
models/tokenizer/cy_tokenizer_16k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/cy_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:bf54a3516d63ce6d78f285ab430915d146623aec35336552551dff7df762780c
|
| 3 |
+
size 779588
|
models/tokenizer/cy_tokenizer_32k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/cy_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:a3e47fd9fa704ae838dc06a7f6e1e241ef1b154e39c7031289aa1dfa10ac2ff7
|
| 3 |
+
size 1344109
|
models/tokenizer/cy_tokenizer_64k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/cy_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:c57f61d9bc3e44c9b08254a66bd0b61d18d27253365c0e6a34709a0671ab5196
|
| 3 |
+
size 372334
|
models/tokenizer/cy_tokenizer_8k.vocab
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/cy_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:0c9f27db05545e54198e12ec55f76159742ebfd6709d06f6f0bd37c1e57d5e60
|
| 3 |
+
size 5482460
|
models/vocabulary/cy_vocabulary_metadata.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
| 1 |
{
|
| 2 |
"language": "cy",
|
| 3 |
-
"vocabulary_size":
|
|
|
|
| 4 |
"statistics": {
|
| 5 |
-
"type_token_ratio": 0.
|
| 6 |
"coverage": {
|
| 7 |
-
"top_100": 0.
|
| 8 |
-
"top_1000": 0.
|
| 9 |
-
"top_5000": 0.
|
| 10 |
-
"top_10000": 0.
|
| 11 |
},
|
| 12 |
-
"hapax_count":
|
| 13 |
-
"hapax_ratio": 0.
|
| 14 |
-
"total_documents":
|
| 15 |
}
|
| 16 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"language": "cy",
|
| 3 |
+
"vocabulary_size": 360120,
|
| 4 |
+
"variant": "full",
|
| 5 |
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.012317229272748727,
|
| 7 |
"coverage": {
|
| 8 |
+
"top_100": 0.4934650351070113,
|
| 9 |
+
"top_1000": 0.7220562249915204,
|
| 10 |
+
"top_5000": 0.8413792196556568,
|
| 11 |
+
"top_10000": 0.8820137131209119
|
| 12 |
},
|
| 13 |
+
"hapax_count": 311477,
|
| 14 |
+
"hapax_ratio": 0.4637855737890431,
|
| 15 |
+
"total_documents": 283763
|
| 16 |
}
|
| 17 |
}
|
models/word_markov/cy_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:eae5083c326a617bc8f5f837e5019f5aed6318c160e43f0e2e84ebd1d60d928d
|
| 3 |
+
size 55601762
|
models/word_markov/cy_markov_ctx1_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 1,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 671269,
|
| 6 |
+
"total_transitions": 54241243
|
| 7 |
}
|
models/word_markov/cy_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:30817c15c44e32d480990853b784bc0cbeb3a42c9fb8612d7988d299a9335db9
|
| 3 |
+
size 165351799
|
models/word_markov/cy_markov_ctx2_word_metadata.json
CHANGED
|
@@ -2,6 +2,6 @@
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "cy",
|
| 5 |
-
"unique_contexts":
|
| 6 |
-
"total_transitions":
|
| 7 |
}
|
|
|
|
| 2 |
"context_size": 2,
|
| 3 |
"variant": "word",
|
| 4 |
"language": "cy",
|
| 5 |
+
"unique_contexts": 6591949,
|
| 6 |
+
"total_transitions": 53957480
|
| 7 |
}
|