Upload all models and assets for srn (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +6 -0
- README.md +757 -0
- models/embeddings/aligned/srn_128d.bin +3 -0
- models/embeddings/aligned/srn_128d.meta.json +1 -0
- models/embeddings/aligned/srn_128d.projection.npy +3 -0
- models/embeddings/aligned/srn_128d_metadata.json +8 -0
- models/embeddings/aligned/srn_32d.bin +3 -0
- models/embeddings/aligned/srn_32d.meta.json +1 -0
- models/embeddings/aligned/srn_32d.projection.npy +3 -0
- models/embeddings/aligned/srn_32d_metadata.json +8 -0
- models/embeddings/aligned/srn_64d.bin +3 -0
- models/embeddings/aligned/srn_64d.meta.json +1 -0
- models/embeddings/aligned/srn_64d.projection.npy +3 -0
- models/embeddings/aligned/srn_64d_metadata.json +8 -0
- models/embeddings/monolingual/srn_128d.bin +3 -0
- models/embeddings/monolingual/srn_128d.meta.json +1 -0
- models/embeddings/monolingual/srn_128d_metadata.json +16 -0
- models/embeddings/monolingual/srn_32d.bin +3 -0
- models/embeddings/monolingual/srn_32d.meta.json +1 -0
- models/embeddings/monolingual/srn_32d_metadata.json +16 -0
- models/embeddings/monolingual/srn_64d.bin +3 -0
- models/embeddings/monolingual/srn_64d.meta.json +1 -0
- models/embeddings/monolingual/srn_64d_metadata.json +16 -0
- models/subword_markov/srn_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/srn_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/srn_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/srn_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/srn_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/srn_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/srn_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/srn_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/srn_2gram_subword.parquet +3 -0
- models/subword_ngram/srn_2gram_subword_metadata.json +7 -0
- models/subword_ngram/srn_3gram_subword.parquet +3 -0
- models/subword_ngram/srn_3gram_subword_metadata.json +7 -0
- models/subword_ngram/srn_4gram_subword.parquet +3 -0
- models/subword_ngram/srn_4gram_subword_metadata.json +7 -0
- models/subword_ngram/srn_5gram_subword.parquet +3 -0
- models/subword_ngram/srn_5gram_subword_metadata.json +7 -0
- models/tokenizer/srn_tokenizer_16k.model +3 -0
- models/tokenizer/srn_tokenizer_16k.vocab +0 -0
- models/tokenizer/srn_tokenizer_8k.model +3 -0
- models/tokenizer/srn_tokenizer_8k.vocab +0 -0
- models/vocabulary/srn_vocabulary.parquet +3 -0
- models/vocabulary/srn_vocabulary_metadata.json +17 -0
- models/word_markov/srn_markov_ctx1_word.parquet +3 -0
- models/word_markov/srn_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/srn_markov_ctx2_word.parquet +3 -0
- models/word_markov/srn_markov_ctx2_word_metadata.json +7 -0
- models/word_markov/srn_markov_ctx3_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.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.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: srn
|
| 3 |
+
language_name: Sranan Tongo
|
| 4 |
+
language_family: germanic_west_anglofrisian
|
| 5 |
+
tags:
|
| 6 |
+
- wikilangs
|
| 7 |
+
- nlp
|
| 8 |
+
- tokenizer
|
| 9 |
+
- embeddings
|
| 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-germanic_west_anglofrisian
|
| 25 |
+
license: mit
|
| 26 |
+
library_name: wikilangs
|
| 27 |
+
pipeline_tag: text-generation
|
| 28 |
+
datasets:
|
| 29 |
+
- omarkamali/wikipedia-monthly
|
| 30 |
+
dataset_info:
|
| 31 |
+
name: wikipedia-monthly
|
| 32 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 33 |
+
metrics:
|
| 34 |
+
- name: best_compression_ratio
|
| 35 |
+
type: compression
|
| 36 |
+
value: 4.163
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.1199
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-10
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Sranan Tongo - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Sranan Tongo** Wikipedia data.
|
| 50 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 51 |
+
|
| 52 |
+
## 📋 Repository Contents
|
| 53 |
+
|
| 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
|
| 67 |
+
|
| 68 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 69 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-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 |
+
|
| 78 |
+
---
|
| 79 |
+
## 1. Tokenizer Evaluation
|
| 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.920x | 3.93 | 0.1075% | 123,705 |
|
| 94 |
+
| **16k** | 4.163x 🏆 | 4.17 | 0.1142% | 116,482 |
|
| 95 |
+
|
| 96 |
+
### Tokenization Examples
|
| 97 |
+
|
| 98 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 99 |
+
|
| 100 |
+
**Sample 1:** `Wan fisi e ben wan guru fu a Sabi fu libi biologisi Meti metiriki. Den fisi e li...`
|
| 101 |
+
|
| 102 |
+
| Vocab | Tokens | Count |
|
| 103 |
+
|-------|--------|-------|
|
| 104 |
+
| 8k | `▁wan ▁fisi ▁e ▁ben ▁wan ▁guru ▁fu ▁a ▁sabi ▁fu ... (+23 more)` | 33 |
|
| 105 |
+
| 16k | `▁wan ▁fisi ▁e ▁ben ▁wan ▁guru ▁fu ▁a ▁sabi ▁fu ... (+20 more)` | 30 |
|
| 106 |
+
|
| 107 |
+
**Sample 2:** `Atlanta ben wan presi ini Kondre Makandrameki. Flaku: 343 km² Man: 420 003`
|
| 108 |
+
|
| 109 |
+
| Vocab | Tokens | Count |
|
| 110 |
+
|-------|--------|-------|
|
| 111 |
+
| 8k | `▁atlan ta ▁ben ▁wan ▁presi ▁ini ▁kondre ▁makandrameki . ▁flaku ... (+17 more)` | 27 |
|
| 112 |
+
| 16k | `▁atlanta ▁ben ▁wan ▁presi ▁ini ▁kondre ▁makandrameki . ▁flaku : ... (+16 more)` | 26 |
|
| 113 |
+
|
| 114 |
+
**Sample 3:** `George Washington (Fostu 22 dey, – Fostwarfu 14 dey, ben wan presidenti A Kondre...`
|
| 115 |
+
|
| 116 |
+
| Vocab | Tokens | Count |
|
| 117 |
+
|-------|--------|-------|
|
| 118 |
+
| 8k | `▁george ▁washington ▁( fos tu ▁ 2 2 ▁dey , ... (+14 more)` | 24 |
|
| 119 |
+
| 16k | `▁george ▁washington ▁( fostu ▁ 2 2 ▁dey , ▁– ... (+13 more)` | 23 |
|
| 120 |
+
|
| 121 |
+
|
| 122 |
+
### Key Findings
|
| 123 |
+
|
| 124 |
+
- **Best Compression:** 16k achieves 4.163x compression
|
| 125 |
+
- **Lowest UNK Rate:** 8k with 0.1075% unknown tokens
|
| 126 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 127 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
## 2. N-gram Model Evaluation
|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
|
| 134 |
+

|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+
### Results
|
| 139 |
+
|
| 140 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 141 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 142 |
+
| **2-gram** | Word | 342 | 8.42 | 1,014 | 51.4% | 99.9% |
|
| 143 |
+
| **2-gram** | Subword | 182 🏆 | 7.51 | 1,106 | 77.6% | 99.9% |
|
| 144 |
+
| **3-gram** | Word | 482 | 8.91 | 1,278 | 40.5% | 98.7% |
|
| 145 |
+
| **3-gram** | Subword | 963 | 9.91 | 6,594 | 42.8% | 86.2% |
|
| 146 |
+
| **4-gram** | Word | 550 | 9.10 | 1,733 | 36.1% | 97.6% |
|
| 147 |
+
| **4-gram** | Subword | 2,662 | 11.38 | 22,081 | 30.3% | 70.1% |
|
| 148 |
+
| **5-gram** | Word | 506 | 8.98 | 1,385 | 37.3% | 98.7% |
|
| 149 |
+
| **5-gram** | Subword | 3,796 | 11.89 | 29,372 | 24.6% | 64.3% |
|
| 150 |
+
|
| 151 |
+
### Top 5 N-grams by Size
|
| 152 |
+
|
| 153 |
+
**2-grams (Word):**
|
| 154 |
+
|
| 155 |
+
| Rank | N-gram | Count |
|
| 156 |
+
|------|--------|-------|
|
| 157 |
+
| 1 | `e ben` | 4,382 |
|
| 158 |
+
| 2 | `ben wan` | 2,155 |
|
| 159 |
+
| 3 | `ini a` | 804 |
|
| 160 |
+
| 4 | `fu a` | 779 |
|
| 161 |
+
| 5 | `e taki` | 743 |
|
| 162 |
+
|
| 163 |
+
**3-grams (Word):**
|
| 164 |
+
|
| 165 |
+
| Rank | N-gram | Count |
|
| 166 |
+
|------|--------|-------|
|
| 167 |
+
| 1 | `e ben wan` | 1,586 |
|
| 168 |
+
| 2 | `yari e ben` | 695 |
|
| 169 |
+
| 3 | `disi e ben` | 693 |
|
| 170 |
+
| 4 | `a e ben` | 498 |
|
| 171 |
+
| 5 | `man e taki` | 489 |
|
| 172 |
+
|
| 173 |
+
**4-grams (Word):**
|
| 174 |
+
|
| 175 |
+
| Rank | N-gram | Count |
|
| 176 |
+
|------|--------|-------|
|
| 177 |
+
| 1 | `a e ben wan` | 266 |
|
| 178 |
+
| 2 | `yari e ben wan` | 239 |
|
| 179 |
+
| 3 | `e ben taki a` | 230 |
|
| 180 |
+
| 4 | `e ben disi e` | 229 |
|
| 181 |
+
| 5 | `ben disi e ben` | 229 |
|
| 182 |
+
|
| 183 |
+
**5-grams (Word):**
|
| 184 |
+
|
| 185 |
+
| Rank | N-gram | Count |
|
| 186 |
+
|------|--------|-------|
|
| 187 |
+
| 1 | `e ben disi e ben` | 229 |
|
| 188 |
+
| 2 | `ben leki ala yari e` | 228 |
|
| 189 |
+
| 3 | `e ben leki ala yari` | 228 |
|
| 190 |
+
| 4 | `tu no frugeti ma man` | 228 |
|
| 191 |
+
| 5 | `no frugeti ma man e` | 228 |
|
| 192 |
+
|
| 193 |
+
**2-grams (Subword):**
|
| 194 |
+
|
| 195 |
+
| Rank | N-gram | Count |
|
| 196 |
+
|------|--------|-------|
|
| 197 |
+
| 1 | `i _` | 21,858 |
|
| 198 |
+
| 2 | `n _` | 16,553 |
|
| 199 |
+
| 3 | `a n` | 13,548 |
|
| 200 |
+
| 4 | `a _` | 13,330 |
|
| 201 |
+
| 5 | `e n` | 12,307 |
|
| 202 |
+
|
| 203 |
+
**3-grams (Subword):**
|
| 204 |
+
|
| 205 |
+
| Rank | N-gram | Count |
|
| 206 |
+
|------|--------|-------|
|
| 207 |
+
| 1 | `e n _` | 8,392 |
|
| 208 |
+
| 2 | `_ e _` | 6,647 |
|
| 209 |
+
| 3 | `a n _` | 6,634 |
|
| 210 |
+
| 4 | `_ b e` | 6,317 |
|
| 211 |
+
| 5 | `b e n` | 6,136 |
|
| 212 |
+
|
| 213 |
+
**4-grams (Subword):**
|
| 214 |
+
|
| 215 |
+
| Rank | N-gram | Count |
|
| 216 |
+
|------|--------|-------|
|
| 217 |
+
| 1 | `_ b e n` | 6,064 |
|
| 218 |
+
| 2 | `b e n _` | 4,777 |
|
| 219 |
+
| 3 | `e _ b e` | 4,448 |
|
| 220 |
+
| 4 | `_ e _ b` | 4,390 |
|
| 221 |
+
| 5 | `w a n _` | 4,035 |
|
| 222 |
+
|
| 223 |
+
**5-grams (Subword):**
|
| 224 |
+
|
| 225 |
+
| Rank | N-gram | Count |
|
| 226 |
+
|------|--------|-------|
|
| 227 |
+
| 1 | `_ b e n _` | 4,747 |
|
| 228 |
+
| 2 | `e _ b e n` | 4,433 |
|
| 229 |
+
| 3 | `_ e _ b e` | 4,384 |
|
| 230 |
+
| 4 | `_ w a n _` | 3,791 |
|
| 231 |
+
| 5 | `_ d i s i` | 3,412 |
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
### Key Findings
|
| 235 |
+
|
| 236 |
+
- **Best Perplexity:** 2-gram (subword) with 182
|
| 237 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 238 |
+
- **Coverage:** Top-1000 patterns cover ~64% of corpus
|
| 239 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 240 |
+
|
| 241 |
+
---
|
| 242 |
+
## 3. Markov Chain Evaluation
|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+
### Results
|
| 251 |
+
|
| 252 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 253 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 254 |
+
| **1** | Word | 0.4288 | 1.346 | 2.41 | 11,359 | 57.1% |
|
| 255 |
+
| **1** | Subword | 0.9691 | 1.958 | 6.55 | 475 | 3.1% |
|
| 256 |
+
| **2** | Word | 0.1256 | 1.091 | 1.25 | 27,059 | 87.4% |
|
| 257 |
+
| **2** | Subword | 0.8794 | 1.840 | 4.73 | 3,103 | 12.1% |
|
| 258 |
+
| **3** | Word | 0.0454 | 1.032 | 1.08 | 33,532 | 95.5% |
|
| 259 |
+
| **3** | Subword | 0.7551 | 1.688 | 3.16 | 14,656 | 24.5% |
|
| 260 |
+
| **4** | Word | 0.0194 🏆 | 1.014 | 1.03 | 35,649 | 98.1% |
|
| 261 |
+
| **4** | Subword | 0.4506 | 1.367 | 1.89 | 46,131 | 54.9% |
|
| 262 |
+
|
| 263 |
+
### Generated Text Samples (Word-based)
|
| 264 |
+
|
| 265 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 266 |
+
|
| 267 |
+
**Context Size 1:**
|
| 268 |
+
|
| 269 |
+
1. `e taki dati disi e ben wili wan presi fu teri numro leki dekstiri`
|
| 270 |
+
2. `ben wan tipisi frugetism yari ini go ten middeleeuwen ini disi e ben nc41 burco ben`
|
| 271 |
+
3. `a minti arienzo e du a numro fu feti ini a mamafoto na 10 fostu instansi`
|
| 272 |
+
|
| 273 |
+
**Context Size 2:**
|
| 274 |
+
|
| 275 |
+
1. `e ben wan presi ini sranankondre stori geografi demografi legi si oktu tafra 1`
|
| 276 |
+
2. `ben wan man ska abra taki disi ten ini go ten abra tengi di man pramisi tu`
|
| 277 |
+
3. `ini a sranantongo tongo efru yu pasa no abra disi ondrowerpi yu e ben disi e ben`
|
| 278 |
+
|
| 279 |
+
**Context Size 3:**
|
| 280 |
+
|
| 281 |
+
1. `e ben wan kuri fu den owrur ten fu den medium ten middeleeuwen ini a bakratongo jesus dy`
|
| 282 |
+
2. `yari e ben wili wan man meki no u wi somtengi frugeti e ben disi e ben taki`
|
| 283 |
+
3. `disi e ben taki a salekism si oktu trawan meni fu ten tafra`
|
| 284 |
+
|
| 285 |
+
**Context Size 4:**
|
| 286 |
+
|
| 287 |
+
1. `a e ben wan ondrodeli fu a arrondissementi briey geografi a opoflaku fu aboncourt meurthe et moselle...`
|
| 288 |
+
2. `yari e ben wan yari nanga pasa peyna nanga ledi ma oktu nanga gu tengi disi e ben no`
|
| 289 |
+
3. `e ben taki a salekism si oktu tafra 82`
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
### Generated Text Samples (Subword-based)
|
| 293 |
+
|
| 294 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 295 |
+
|
| 296 |
+
**Context Size 1:**
|
| 297 |
+
|
| 298 |
+
1. `_n_(ma_a_ikateng`
|
| 299 |
+
2. `anoramalinascing`
|
| 300 |
+
3. `i_facoku_ten_ngu`
|
| 301 |
+
|
| 302 |
+
**Context Size 2:**
|
| 303 |
+
|
| 304 |
+
1. `i_wangi_masi_disi`
|
| 305 |
+
2. `n_a_otecium_re_re`
|
| 306 |
+
3. `an_num_res,_wariu`
|
| 307 |
+
|
| 308 |
+
**Context Size 3:**
|
| 309 |
+
|
| 310 |
+
1. `en_saleki_disi_yu_`
|
| 311 |
+
2. `_e_ben_on_ini_alat`
|
| 312 |
+
3. `an_komili_wan_the_`
|
| 313 |
+
|
| 314 |
+
**Context Size 4:**
|
| 315 |
+
|
| 316 |
+
1. `_ben_nowtu_(arabi_s`
|
| 317 |
+
2. `ben_wan_merkirasil_`
|
| 318 |
+
3. `e_ben_wan_fubenin_f`
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
### Key Findings
|
| 322 |
+
|
| 323 |
+
- **Best Predictability:** Context-4 (word) with 98.1% predictability
|
| 324 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 325 |
+
- **Memory Trade-off:** Larger contexts require more storage (46,131 contexts)
|
| 326 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 327 |
+
|
| 328 |
+
---
|
| 329 |
+
## 4. Vocabulary Analysis
|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
|
| 333 |
+

|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+
### Statistics
|
| 338 |
+
|
| 339 |
+
| Metric | Value |
|
| 340 |
+
|--------|-------|
|
| 341 |
+
| Vocabulary Size | 3,476 |
|
| 342 |
+
| Total Tokens | 93,169 |
|
| 343 |
+
| Mean Frequency | 26.80 |
|
| 344 |
+
| Median Frequency | 3 |
|
| 345 |
+
| Frequency Std Dev | 228.66 |
|
| 346 |
+
|
| 347 |
+
### Most Common Words
|
| 348 |
+
|
| 349 |
+
| Rank | Word | Frequency |
|
| 350 |
+
|------|------|-----------|
|
| 351 |
+
| 1 | e | 6,667 |
|
| 352 |
+
| 2 | ben | 6,040 |
|
| 353 |
+
| 3 | a | 5,047 |
|
| 354 |
+
| 4 | wan | 3,840 |
|
| 355 |
+
| 5 | fu | 3,602 |
|
| 356 |
+
| 6 | disi | 3,403 |
|
| 357 |
+
| 7 | ini | 2,307 |
|
| 358 |
+
| 8 | nanga | 2,251 |
|
| 359 |
+
| 9 | man | 1,857 |
|
| 360 |
+
| 10 | no | 1,719 |
|
| 361 |
+
|
| 362 |
+
### Least Common Words (from vocabulary)
|
| 363 |
+
|
| 364 |
+
| Rank | Word | Frequency |
|
| 365 |
+
|------|------|-----------|
|
| 366 |
+
| 1 | helsinki | 2 |
|
| 367 |
+
| 2 | voro | 2 |
|
| 368 |
+
| 3 | nationale | 2 |
|
| 369 |
+
| 4 | bedrijf | 2 |
|
| 370 |
+
| 5 | jari | 2 |
|
| 371 |
+
| 6 | winod | 2 |
|
| 372 |
+
| 7 | bba | 2 |
|
| 373 |
+
| 8 | whanau | 2 |
|
| 374 |
+
| 9 | pirimia | 2 |
|
| 375 |
+
| 10 | wahine | 2 |
|
| 376 |
+
|
| 377 |
+
### Zipf's Law Analysis
|
| 378 |
+
|
| 379 |
+
| Metric | Value |
|
| 380 |
+
|--------|-------|
|
| 381 |
+
| Zipf Coefficient | 1.1374 |
|
| 382 |
+
| R² (Goodness of Fit) | 0.962381 |
|
| 383 |
+
| Adherence Quality | **excellent** |
|
| 384 |
+
|
| 385 |
+
### Coverage Analysis
|
| 386 |
+
|
| 387 |
+
| Top N Words | Coverage |
|
| 388 |
+
|-------------|----------|
|
| 389 |
+
| Top 100 | 75.5% |
|
| 390 |
+
| Top 1,000 | 93.3% |
|
| 391 |
+
| Top 5,000 | 0.0% |
|
| 392 |
+
| Top 10,000 | 0.0% |
|
| 393 |
+
|
| 394 |
+
### Key Findings
|
| 395 |
+
|
| 396 |
+
- **Zipf Compliance:** R²=0.9624 indicates excellent adherence to Zipf's law
|
| 397 |
+
- **High Frequency Dominance:** Top 100 words cover 75.5% of corpus
|
| 398 |
+
- **Long Tail:** -6,524 words needed for remaining 100.0% coverage
|
| 399 |
+
|
| 400 |
+
---
|
| 401 |
+
## 5. Word Embeddings Evaluation
|
| 402 |
+
|
| 403 |
+

|
| 404 |
+
|
| 405 |
+

|
| 406 |
+
|
| 407 |
+

|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
|
| 411 |
+
|
| 412 |
+
### 5.1 Cross-Lingual Alignment
|
| 413 |
+
|
| 414 |
+

|
| 415 |
+
|
| 416 |
+

|
| 417 |
+
|
| 418 |
+
|
| 419 |
+
### 5.2 Model Comparison
|
| 420 |
+
|
| 421 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 422 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 423 |
+
| **mono_32d** | 32 | 0.1199 | 0.5444 | N/A | N/A |
|
| 424 |
+
| **mono_64d** | 64 | 0.0180 | 0.5699 | N/A | N/A |
|
| 425 |
+
| **mono_128d** | 128 | 0.0021 | 0.5677 | N/A | N/A |
|
| 426 |
+
| **aligned_32d** | 32 | 0.1199 🏆 | 0.5345 | 0.0113 | 0.0998 |
|
| 427 |
+
| **aligned_64d** | 64 | 0.0180 | 0.5387 | 0.0091 | 0.1293 |
|
| 428 |
+
| **aligned_128d** | 128 | 0.0021 | 0.5606 | 0.0249 | 0.1406 |
|
| 429 |
+
|
| 430 |
+
### Key Findings
|
| 431 |
+
|
| 432 |
+
- **Best Isotropy:** aligned_32d with 0.1199 (more uniform distribution)
|
| 433 |
+
- **Semantic Density:** Average pairwise similarity of 0.5526. Lower values indicate better semantic separation.
|
| 434 |
+
- **Alignment Quality:** Aligned models achieve up to 2.5% R@1 in cross-lingual retrieval.
|
| 435 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 436 |
+
|
| 437 |
+
---
|
| 438 |
+
## 6. Morphological Analysis (Experimental)
|
| 439 |
+
|
| 440 |
+
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.
|
| 441 |
+
|
| 442 |
+
### 6.1 Productivity & Complexity
|
| 443 |
+
|
| 444 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 445 |
+
|--------|-------|----------------|----------------|
|
| 446 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 447 |
+
| Idiomaticity Gap | **0.537** | High formulaic/idiomatic content | - |
|
| 448 |
+
|
| 449 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 450 |
+
|
| 451 |
+
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.
|
| 452 |
+
|
| 453 |
+
#### Productive Prefixes
|
| 454 |
+
| Prefix | Examples |
|
| 455 |
+
|--------|----------|
|
| 456 |
+
| `-s` | surud, smadoti, siki |
|
| 457 |
+
| `-a` | aban, animalia, area |
|
| 458 |
+
| `-b` | bisi, boosaaso, botticelli |
|
| 459 |
+
| `-m` | meijer, me, major |
|
| 460 |
+
| `-k` | kankan, kanguru, kirkedomo |
|
| 461 |
+
| `-p` | puspusi, peyna, part |
|
| 462 |
+
| `-d` | dattie, doro, damme |
|
| 463 |
+
| `-ma` | major, mar, mapana |
|
| 464 |
+
|
| 465 |
+
#### Productive Suffixes
|
| 466 |
+
| Suffix | Examples |
|
| 467 |
+
|--------|----------|
|
| 468 |
+
| `-i` | interaksi, feti, puspusi |
|
| 469 |
+
| `-e` | trowe, me, camille |
|
| 470 |
+
| `-n` | tjon, aban, granman |
|
| 471 |
+
| `-a` | ndyuka, tarra, animalia |
|
| 472 |
+
| `-s` | goolis, spijkers, ons |
|
| 473 |
+
| `-o` | boosaaso, kirkedomo, trio |
|
| 474 |
+
| `-ti` | feti, smadoti, santi |
|
| 475 |
+
| `-re` | bere, italiyanikondre, condre |
|
| 476 |
+
|
| 477 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 478 |
+
|
| 479 |
+
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.
|
| 480 |
+
|
| 481 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 482 |
+
|------|----------|------------------|----------|
|
| 483 |
+
| `anga` | 1.31x | 12 contexts | langa, nanga, ganga |
|
| 484 |
+
| `enti` | 1.47x | 7 contexts | efenti, sentir, peenti |
|
| 485 |
+
|
| 486 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 487 |
+
|
| 488 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 489 |
+
|
| 490 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 491 |
+
|--------|--------|-----------|----------|
|
| 492 |
+
| `-s` | `-i` | 36 words | smadoti, siki |
|
| 493 |
+
| `-p` | `-i` | 31 words | puspusi, prosenti |
|
| 494 |
+
| `-k` | `-i` | 30 words | kripi, kongri |
|
| 495 |
+
| `-m` | `-i` | 22 words | mindri, malsi |
|
| 496 |
+
| `-b` | `-i` | 20 words | bisi, botticelli |
|
| 497 |
+
| `-s` | `-e` | 20 words | stallone, singie |
|
| 498 |
+
| `-a` | `-e` | 17 words | associazione, australiyankondre |
|
| 499 |
+
| `-a` | `-i` | 17 words | akutimi, aktivisti |
|
| 500 |
+
| `-d` | `-i` | 16 words | darmi, doysri |
|
| 501 |
+
| `-m` | `-e` | 15 words | me, mike |
|
| 502 |
+
|
| 503 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 504 |
+
|
| 505 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 506 |
+
|
| 507 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 508 |
+
|------|-----------------|------------|------|
|
| 509 |
+
| ukrainalanti | **`ukrainal-an-ti`** | 7.5 | `an` |
|
| 510 |
+
| demokrasia | **`demokra-si-a`** | 7.5 | `si` |
|
| 511 |
+
| politongo | **`po-li-tongo`** | 7.5 | `tongo` |
|
| 512 |
+
| sentralanti | **`sentral-an-ti`** | 7.5 | `an` |
|
| 513 |
+
| plandasie | **`planda-si-e`** | 7.5 | `si` |
|
| 514 |
+
| sranantaki | **`sranant-a-ki`** | 7.5 | `a` |
|
| 515 |
+
| importanti | **`import-an-ti`** | 7.5 | `an` |
|
| 516 |
+
| ondrobenin | **`ondroben-i-n`** | 6.0 | `ondroben` |
|
| 517 |
+
| victorien | **`victor-i-en`** | 6.0 | `victor` |
|
| 518 |
+
| koptisches | **`koptische-s`** | 4.5 | `koptische` |
|
| 519 |
+
| massimiliano | **`ma-s-similiano`** | 4.5 | `similiano` |
|
| 520 |
+
| nederlands | **`nederland-s`** | 4.5 | `nederland` |
|
| 521 |
+
| institute | **`institut-e`** | 4.5 | `institut` |
|
| 522 |
+
| koptische | **`koptisch-e`** | 4.5 | `koptisch` |
|
| 523 |
+
| verenigde | **`verenigd-e`** | 4.5 | `verenigd` |
|
| 524 |
+
|
| 525 |
+
### 6.6 Linguistic Interpretation
|
| 526 |
+
|
| 527 |
+
> **Automated Insight:**
|
| 528 |
+
The language Sranan Tongo shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 529 |
+
|
| 530 |
+
> **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.
|
| 531 |
+
|
| 532 |
+
---
|
| 533 |
+
## 7. Summary & Recommendations
|
| 534 |
+
|
| 535 |
+

|
| 536 |
+
|
| 537 |
+
### Production Recommendations
|
| 538 |
+
|
| 539 |
+
| Component | Recommended | Rationale |
|
| 540 |
+
|-----------|-------------|-----------|
|
| 541 |
+
| Tokenizer | **16k BPE** | Best compression (4.16x) |
|
| 542 |
+
| N-gram | **2-gram** | Lowest perplexity (182) |
|
| 543 |
+
| Markov | **Context-4** | Highest predictability (98.1%) |
|
| 544 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 545 |
+
|
| 546 |
+
|
| 547 |
+
---
|
| 548 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 549 |
+
|
| 550 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 551 |
+
|
| 552 |
+
### Tokenizer Metrics
|
| 553 |
+
|
| 554 |
+
**Compression Ratio**
|
| 555 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 556 |
+
>
|
| 557 |
+
> *Intuition:* Higher compression means fewer tokens needed to represent the same text, reducing sequence lengths for downstream models. A 3x compression means ~3 characters per token on average.
|
| 558 |
+
>
|
| 559 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 560 |
+
|
| 561 |
+
**Average Token Length (Fertility)**
|
| 562 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 563 |
+
>
|
| 564 |
+
> *Intuition:* Reflects the granularity of tokenization. Longer tokens capture more context but may struggle with rare words; shorter tokens are more flexible but increase sequence length.
|
| 565 |
+
>
|
| 566 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 567 |
+
|
| 568 |
+
**Unknown Token Rate (OOV Rate)**
|
| 569 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 570 |
+
>
|
| 571 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 572 |
+
>
|
| 573 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 574 |
+
|
| 575 |
+
### N-gram Model Metrics
|
| 576 |
+
|
| 577 |
+
**Perplexity**
|
| 578 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 579 |
+
>
|
| 580 |
+
> *Intuition:* If perplexity is 100, the model is as uncertain as if choosing uniformly among 100 options at each step. A perplexity of 10 means effectively choosing among 10 equally likely options.
|
| 581 |
+
>
|
| 582 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 583 |
+
|
| 584 |
+
**Entropy**
|
| 585 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 586 |
+
>
|
| 587 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 588 |
+
>
|
| 589 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 590 |
+
|
| 591 |
+
**Coverage (Top-K)**
|
| 592 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 593 |
+
>
|
| 594 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 595 |
+
>
|
| 596 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 597 |
+
|
| 598 |
+
### Markov Chain Metrics
|
| 599 |
+
|
| 600 |
+
**Average Entropy**
|
| 601 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 602 |
+
>
|
| 603 |
+
> *Intuition:* Lower entropy means the model is more confident about what comes next. Context-1 has high entropy (many possible next words); Context-4 has low entropy (few likely continuations).
|
| 604 |
+
>
|
| 605 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 606 |
+
|
| 607 |
+
**Branching Factor**
|
| 608 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 609 |
+
>
|
| 610 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 611 |
+
>
|
| 612 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 613 |
+
|
| 614 |
+
**Predictability**
|
| 615 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 616 |
+
>
|
| 617 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 618 |
+
>
|
| 619 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 620 |
+
|
| 621 |
+
### Vocabulary & Zipf's Law Metrics
|
| 622 |
+
|
| 623 |
+
**Zipf's Coefficient**
|
| 624 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 625 |
+
>
|
| 626 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 627 |
+
>
|
| 628 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 629 |
+
|
| 630 |
+
**R² (Coefficient of Determination)**
|
| 631 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 632 |
+
>
|
| 633 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 634 |
+
>
|
| 635 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 636 |
+
|
| 637 |
+
**Vocabulary Coverage**
|
| 638 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 639 |
+
>
|
| 640 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 641 |
+
>
|
| 642 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 643 |
+
|
| 644 |
+
### Word Embedding Metrics
|
| 645 |
+
|
| 646 |
+
**Isotropy**
|
| 647 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 648 |
+
>
|
| 649 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 650 |
+
>
|
| 651 |
+
> *What to seek:* Higher isotropy generally indicates better-quality embeddings. Values > 0.1 are reasonable; > 0.3 is good. Lower-dimensional embeddings tend to have higher isotropy.
|
| 652 |
+
|
| 653 |
+
**Average Norm**
|
| 654 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 655 |
+
>
|
| 656 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 657 |
+
>
|
| 658 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 659 |
+
|
| 660 |
+
**Cosine Similarity**
|
| 661 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 662 |
+
>
|
| 663 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 664 |
+
>
|
| 665 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 666 |
+
|
| 667 |
+
**t-SNE Visualization**
|
| 668 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 669 |
+
>
|
| 670 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 671 |
+
>
|
| 672 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 673 |
+
|
| 674 |
+
### General Interpretation Guidelines
|
| 675 |
+
|
| 676 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 677 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 678 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 679 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 680 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 681 |
+
|
| 682 |
+
|
| 683 |
+
### Visualizations Index
|
| 684 |
+
|
| 685 |
+
| Visualization | Description |
|
| 686 |
+
|---------------|-------------|
|
| 687 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 688 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 689 |
+
| Tokenizer OOV | Unknown token rates |
|
| 690 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 691 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 692 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 693 |
+
| N-gram Coverage | Top pattern coverage |
|
| 694 |
+
| N-gram Unique | Unique n-gram counts |
|
| 695 |
+
| Markov Entropy | Entropy by context size |
|
| 696 |
+
| Markov Branching | Branching factor by context |
|
| 697 |
+
| Markov Contexts | Unique context counts |
|
| 698 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 699 |
+
| Vocab Frequency | Word frequency distribution |
|
| 700 |
+
| Top 20 Words | Most frequent words |
|
| 701 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 702 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 703 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 704 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 705 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 706 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 707 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 708 |
+
| Position Encoding | Encoding method comparison |
|
| 709 |
+
| Model Sizes | Storage requirements |
|
| 710 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 711 |
+
|
| 712 |
+
---
|
| 713 |
+
## About This Project
|
| 714 |
+
|
| 715 |
+
### Data Source
|
| 716 |
+
|
| 717 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 718 |
+
|
| 719 |
+
### Project
|
| 720 |
+
|
| 721 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 722 |
+
|
| 723 |
+
### Maintainer
|
| 724 |
+
|
| 725 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 726 |
+
|
| 727 |
+
### Citation
|
| 728 |
+
|
| 729 |
+
If you use these models in your research, please cite:
|
| 730 |
+
|
| 731 |
+
```bibtex
|
| 732 |
+
@misc{wikilangs2025,
|
| 733 |
+
author = {Kamali, Omar},
|
| 734 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 735 |
+
year = {2025},
|
| 736 |
+
doi = {10.5281/zenodo.18073153},
|
| 737 |
+
publisher = {Zenodo},
|
| 738 |
+
url = {https://huggingface.co/wikilangs}
|
| 739 |
+
institution = {Omneity Labs}
|
| 740 |
+
}
|
| 741 |
+
```
|
| 742 |
+
|
| 743 |
+
### License
|
| 744 |
+
|
| 745 |
+
MIT License - Free for academic and commercial use.
|
| 746 |
+
|
| 747 |
+
### Links
|
| 748 |
+
|
| 749 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 750 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 751 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 752 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 753 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 754 |
+
---
|
| 755 |
+
*Generated by Wikilangs Models Pipeline*
|
| 756 |
+
|
| 757 |
+
*Report Date: 2026-01-10 22:33:22*
|
models/embeddings/aligned/srn_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9650b5b180d17abffbf1a1fb027277d5cdf96f32a4a28dc51fed6b138d7f857b
|
| 3 |
+
size 1025009433
|
models/embeddings/aligned/srn_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/srn_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3527ab7133154e7b31e4fc5d925bbf6a9a198703a660c81ceb48f1e034c18ebd
|
| 3 |
+
size 65664
|
models/embeddings/aligned/srn_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 441,
|
| 7 |
+
"vocab_size": 971
|
| 8 |
+
}
|
models/embeddings/aligned/srn_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbc3ca33012633351a79f4f3581b03302e47705ee35b9653aaebb4e17163ee60
|
| 3 |
+
size 256263705
|
models/embeddings/aligned/srn_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/srn_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d357ecd91794a25f683ed85a3402dddc1ffd011095d8cae049d98965c9bbe09
|
| 3 |
+
size 4224
|
models/embeddings/aligned/srn_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 441,
|
| 7 |
+
"vocab_size": 971
|
| 8 |
+
}
|
models/embeddings/aligned/srn_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:797a542ffe5722bf23869b991956863f45d664a39f4183fec2213e44ee0ee4ed
|
| 3 |
+
size 512512281
|
models/embeddings/aligned/srn_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/srn_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b8108a6b3ed0f6338a54c8eeeef4ce8f618139d72af94e53d0a037081f92c84b
|
| 3 |
+
size 16512
|
models/embeddings/aligned/srn_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 441,
|
| 7 |
+
"vocab_size": 971
|
| 8 |
+
}
|
models/embeddings/monolingual/srn_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9650b5b180d17abffbf1a1fb027277d5cdf96f32a4a28dc51fed6b138d7f857b
|
| 3 |
+
size 1025009433
|
models/embeddings/monolingual/srn_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/srn_128d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 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 |
+
"threads": 5
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 971
|
| 16 |
+
}
|
models/embeddings/monolingual/srn_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cbc3ca33012633351a79f4f3581b03302e47705ee35b9653aaebb4e17163ee60
|
| 3 |
+
size 256263705
|
models/embeddings/monolingual/srn_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/srn_32d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 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 |
+
"threads": 5
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 971
|
| 16 |
+
}
|
models/embeddings/monolingual/srn_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:797a542ffe5722bf23869b991956863f45d664a39f4183fec2213e44ee0ee4ed
|
| 3 |
+
size 512512281
|
models/embeddings/monolingual/srn_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "srn", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/srn_64d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 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 |
+
"threads": 5
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 971
|
| 16 |
+
}
|
models/subword_markov/srn_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3673e2872674c0cb8ceec1c12814c0810b476a56cc87c3a65fb41a0da767a6de
|
| 3 |
+
size 26992
|
models/subword_markov/srn_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 475,
|
| 6 |
+
"total_transitions": 530894
|
| 7 |
+
}
|
models/subword_markov/srn_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfcf4818138dc6146b96e1ac2d41d682195d9b52fb2b4c0d9508ff91b0569bcd
|
| 3 |
+
size 117173
|
models/subword_markov/srn_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 3103,
|
| 6 |
+
"total_transitions": 529735
|
| 7 |
+
}
|
models/subword_markov/srn_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd9ac7c655de314d647cc64f57150f81285388ba3b982eef98ed0811826e52ad
|
| 3 |
+
size 345006
|
models/subword_markov/srn_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 14656,
|
| 6 |
+
"total_transitions": 528576
|
| 7 |
+
}
|
models/subword_markov/srn_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bc017565d034ca18f690c410d91d48cc522d7348bc30692a808c545460250e0
|
| 3 |
+
size 740854
|
models/subword_markov/srn_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 46131,
|
| 6 |
+
"total_transitions": 527417
|
| 7 |
+
}
|
models/subword_ngram/srn_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4800cc928a65c4621a3b1b403ed060f3e4aecf8750fcc38d1ccb872089771aa
|
| 3 |
+
size 15649
|
models/subword_ngram/srn_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_ngrams": 1106,
|
| 6 |
+
"total_ngrams": 530894
|
| 7 |
+
}
|
models/subword_ngram/srn_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3d97353356d6a20477952e4a2aaa58c90a231408b9f7e100749cf7d6ea8322be
|
| 3 |
+
size 73831
|
models/subword_ngram/srn_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_ngrams": 6594,
|
| 6 |
+
"total_ngrams": 529735
|
| 7 |
+
}
|
models/subword_ngram/srn_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46d89085f74526012921e21f981d6cedf6c435085c9b199ef1f379b92753ac58
|
| 3 |
+
size 261748
|
models/subword_ngram/srn_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_ngrams": 22081,
|
| 6 |
+
"total_ngrams": 528576
|
| 7 |
+
}
|
models/subword_ngram/srn_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1a7a5592c4686e80846c402558df2e82c99a617542360acc57025b6810d8d7b
|
| 3 |
+
size 359686
|
models/subword_ngram/srn_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_ngrams": 29372,
|
| 6 |
+
"total_ngrams": 527417
|
| 7 |
+
}
|
models/tokenizer/srn_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dae789d8723f254b95c8f999638605fe37c2ffdd339512d27be93c35cf9b0973
|
| 3 |
+
size 506417
|
models/tokenizer/srn_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/srn_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c9afe6f1682b59deefa204d4e73d9d85af3015d562b91eda01ae97bc48adbec
|
| 3 |
+
size 369643
|
models/tokenizer/srn_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/srn_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9aa24a0866c5ef8f748913879e44e8928a4d2440db0cf79166245f855998c121
|
| 3 |
+
size 56105
|
models/vocabulary/srn_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "srn",
|
| 3 |
+
"vocabulary_size": 3476,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.11338137461324793,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.6950960331346441,
|
| 9 |
+
"top_1000": 0.8593161531389935,
|
| 10 |
+
"top_5000": 0.9360438104840703,
|
| 11 |
+
"top_10000": 0.9854689955813885
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 7994,
|
| 14 |
+
"hapax_ratio": 0.6969485614646905,
|
| 15 |
+
"total_documents": 1159
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/srn_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:121531dc927ad62589f17ff01af90f8a3e985c32ba8bd5edd909ad69ac88f48b
|
| 3 |
+
size 298184
|
models/word_markov/srn_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 11359,
|
| 6 |
+
"total_transitions": 100004
|
| 7 |
+
}
|
models/word_markov/srn_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfb9fb0069ed31bfca2b98f642491430a7e6b8d6aab7ccc2ca4e6402ed11c95f
|
| 3 |
+
size 492958
|
models/word_markov/srn_markov_ctx2_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "srn",
|
| 5 |
+
"unique_contexts": 27059,
|
| 6 |
+
"total_transitions": 98845
|
| 7 |
+
}
|
models/word_markov/srn_markov_ctx3_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48c72aa532476fbb2c814650c0cda7555beb16c994b76172ceeaff3e4a77d6db
|
| 3 |
+
size 614060
|