Upload all models and assets for to (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +771 -0
- models/embeddings/aligned/to_128d.bin +3 -0
- models/embeddings/aligned/to_128d.meta.json +1 -0
- models/embeddings/aligned/to_128d.projection.npy +3 -0
- models/embeddings/aligned/to_128d_metadata.json +8 -0
- models/embeddings/aligned/to_32d.bin +3 -0
- models/embeddings/aligned/to_32d.meta.json +1 -0
- models/embeddings/aligned/to_32d.projection.npy +3 -0
- models/embeddings/aligned/to_32d_metadata.json +8 -0
- models/embeddings/aligned/to_64d.bin +3 -0
- models/embeddings/aligned/to_64d.meta.json +1 -0
- models/embeddings/aligned/to_64d.projection.npy +3 -0
- models/embeddings/aligned/to_64d_metadata.json +8 -0
- models/embeddings/monolingual/to_128d.bin +3 -0
- models/embeddings/monolingual/to_128d.meta.json +1 -0
- models/embeddings/monolingual/to_128d_metadata.json +16 -0
- models/embeddings/monolingual/to_32d.bin +3 -0
- models/embeddings/monolingual/to_32d.meta.json +1 -0
- models/embeddings/monolingual/to_32d_metadata.json +16 -0
- models/embeddings/monolingual/to_64d.bin +3 -0
- models/embeddings/monolingual/to_64d.meta.json +1 -0
- models/embeddings/monolingual/to_64d_metadata.json +16 -0
- models/subword_markov/to_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/to_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/to_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/to_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/to_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/to_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/to_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/to_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/to_2gram_subword.parquet +3 -0
- models/subword_ngram/to_2gram_subword_metadata.json +7 -0
- models/subword_ngram/to_3gram_subword.parquet +3 -0
- models/subword_ngram/to_3gram_subword_metadata.json +7 -0
- models/subword_ngram/to_4gram_subword.parquet +3 -0
- models/subword_ngram/to_4gram_subword_metadata.json +7 -0
- models/subword_ngram/to_5gram_subword.parquet +3 -0
- models/subword_ngram/to_5gram_subword_metadata.json +7 -0
- models/tokenizer/to_tokenizer_16k.model +3 -0
- models/tokenizer/to_tokenizer_16k.vocab +0 -0
- models/tokenizer/to_tokenizer_32k.model +3 -0
- models/tokenizer/to_tokenizer_32k.vocab +0 -0
- models/tokenizer/to_tokenizer_8k.model +3 -0
- models/tokenizer/to_tokenizer_8k.vocab +0 -0
- models/vocabulary/to_vocabulary.parquet +3 -0
- models/vocabulary/to_vocabulary_metadata.json +17 -0
- models/word_markov/to_markov_ctx1_word.parquet +3 -0
- models/word_markov/to_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/to_markov_ctx2_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ 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/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
visualizations/zipf_law.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: to
|
| 3 |
+
language_name: Tongan
|
| 4 |
+
language_family: austronesian_polynesian
|
| 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-austronesian_polynesian
|
| 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: 3.497
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.1197
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-11
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Tongan - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Tongan** 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.249x | 3.26 | 0.0193% | 181,040 |
|
| 94 |
+
| **16k** | 3.400x | 3.41 | 0.0202% | 173,006 |
|
| 95 |
+
| **32k** | 3.497x 🏆 | 3.50 | 0.0208% | 168,209 |
|
| 96 |
+
|
| 97 |
+
### Tokenization Examples
|
| 98 |
+
|
| 99 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 100 |
+
|
| 101 |
+
**Sample 1:** `*E.W. Gifford, Tongan myths and tales, Bernice Pauahi Bishop museum bulletin 8,`
|
| 102 |
+
|
| 103 |
+
| Vocab | Tokens | Count |
|
| 104 |
+
|-------|--------|-------|
|
| 105 |
+
| 8k | `▁* e . w . ▁gifford , ▁tongan ▁myths ▁and ... (+10 more)` | 20 |
|
| 106 |
+
| 16k | `▁* e . w . ▁gifford , ▁tongan ▁myths ▁and ... (+10 more)` | 20 |
|
| 107 |
+
| 32k | `▁* e . w . ▁gifford , ▁tongan ▁myths ▁and ... (+10 more)` | 20 |
|
| 108 |
+
|
| 109 |
+
**Sample 2:** `Ko Pulukalia ko ha fonua ia ʻi ʻEulope. ʻi ʻEulope`
|
| 110 |
+
|
| 111 |
+
| Vocab | Tokens | Count |
|
| 112 |
+
|-------|--------|-------|
|
| 113 |
+
| 8k | `▁ko ▁puluka lia ▁ko ▁ha ▁fonua ▁ia ▁ʻ i ▁ʻ ... (+6 more)` | 16 |
|
| 114 |
+
| 16k | `▁ko ▁pulukalia ▁ko ▁ha ▁fonua ▁ia ▁ʻ i ▁ʻ eulope ... (+5 more)` | 15 |
|
| 115 |
+
| 32k | `▁ko ▁pulukalia ▁ko ▁ha ▁fonua ▁ia ▁ʻ i ▁ʻ eulope ... (+5 more)` | 15 |
|
| 116 |
+
|
| 117 |
+
**Sample 3:** `*E. Wood-Ellem, Queen Sālote of Tonga, Auckland university press,`
|
| 118 |
+
|
| 119 |
+
| Vocab | Tokens | Count |
|
| 120 |
+
|-------|--------|-------|
|
| 121 |
+
| 8k | `▁* e . ▁wood - ellem , ▁queen ▁sālote ▁of ... (+6 more)` | 16 |
|
| 122 |
+
| 16k | `▁* e . ▁wood - ellem , ▁queen ▁sālote ▁of ... (+6 more)` | 16 |
|
| 123 |
+
| 32k | `▁* e . ▁wood - ellem , ▁queen ▁sālote ▁of ... (+6 more)` | 16 |
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
### Key Findings
|
| 127 |
+
|
| 128 |
+
- **Best Compression:** 32k achieves 3.497x compression
|
| 129 |
+
- **Lowest UNK Rate:** 8k with 0.0193% unknown tokens
|
| 130 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 131 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
## 2. N-gram Model Evaluation
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+
### Results
|
| 143 |
+
|
| 144 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 145 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 146 |
+
| **2-gram** | Word | 948 | 9.89 | 3,349 | 42.1% | 79.1% |
|
| 147 |
+
| **2-gram** | Subword | 208 🏆 | 7.70 | 1,246 | 74.3% | 99.8% |
|
| 148 |
+
| **3-gram** | Word | 2,018 | 10.98 | 5,257 | 30.2% | 67.0% |
|
| 149 |
+
| **3-gram** | Subword | 1,378 | 10.43 | 7,944 | 35.9% | 79.6% |
|
| 150 |
+
| **4-gram** | Word | 2,947 | 11.53 | 8,403 | 28.6% | 57.9% |
|
| 151 |
+
| **4-gram** | Subword | 5,492 | 12.42 | 31,079 | 20.2% | 53.5% |
|
| 152 |
+
| **5-gram** | Word | 1,994 | 10.96 | 5,965 | 34.1% | 63.8% |
|
| 153 |
+
| **5-gram** | Subword | 12,282 | 13.58 | 57,462 | 14.5% | 40.7% |
|
| 154 |
+
|
| 155 |
+
### Top 5 N-grams by Size
|
| 156 |
+
|
| 157 |
+
**2-grams (Word):**
|
| 158 |
+
|
| 159 |
+
| Rank | N-gram | Count |
|
| 160 |
+
|------|--------|-------|
|
| 161 |
+
| 1 | `ko e` | 4,790 |
|
| 162 |
+
| 2 | `ʻi he` | 2,011 |
|
| 163 |
+
| 3 | `ʻo e` | 1,405 |
|
| 164 |
+
| 4 | `ʻa e` | 1,335 |
|
| 165 |
+
| 5 | `mo e` | 1,134 |
|
| 166 |
+
|
| 167 |
+
**3-grams (Word):**
|
| 168 |
+
|
| 169 |
+
| Rank | N-gram | Count |
|
| 170 |
+
|------|--------|-------|
|
| 171 |
+
| 1 | `ʻi he ngaahi` | 431 |
|
| 172 |
+
| 2 | `ko e fuʻu` | 383 |
|
| 173 |
+
| 3 | `e fuʻu ʻakau` | 375 |
|
| 174 |
+
| 4 | `hingoa ʻi he` | 341 |
|
| 175 |
+
| 5 | `he ngaahi lea` | 336 |
|
| 176 |
+
|
| 177 |
+
**4-grams (Word):**
|
| 178 |
+
|
| 179 |
+
| Rank | N-gram | Count |
|
| 180 |
+
|------|--------|-------|
|
| 181 |
+
| 1 | `ko e fuʻu ʻakau` | 365 |
|
| 182 |
+
| 2 | `ʻi he ngaahi lea` | 335 |
|
| 183 |
+
| 3 | `he ngaahi lea kehe` | 331 |
|
| 184 |
+
| 4 | `hingoa ʻi he ngaahi` | 328 |
|
| 185 |
+
| 5 | `vaʻa fekumi ngoue vainī` | 309 |
|
| 186 |
+
|
| 187 |
+
**5-grams (Word):**
|
| 188 |
+
|
| 189 |
+
| Rank | N-gram | Count |
|
| 190 |
+
|------|--------|-------|
|
| 191 |
+
| 1 | `ʻi he ngaahi lea kehe` | 331 |
|
| 192 |
+
| 2 | `hingoa ʻi he ngaahi lea` | 328 |
|
| 193 |
+
| 3 | `hokohoko ngaahi ʻakau vaʻa fekumi` | 309 |
|
| 194 |
+
| 4 | `ngaahi ʻakau vaʻa fekumi ngoue` | 309 |
|
| 195 |
+
| 5 | `ʻakau vaʻa fekumi ngoue vainī` | 309 |
|
| 196 |
+
|
| 197 |
+
**2-grams (Subword):**
|
| 198 |
+
|
| 199 |
+
| Rank | N-gram | Count |
|
| 200 |
+
|------|--------|-------|
|
| 201 |
+
| 1 | `e _` | 28,242 |
|
| 202 |
+
| 2 | `a _` | 24,953 |
|
| 203 |
+
| 3 | `i _` | 22,182 |
|
| 204 |
+
| 4 | `o _` | 19,549 |
|
| 205 |
+
| 5 | `_ ʻ` | 19,509 |
|
| 206 |
+
|
| 207 |
+
**3-grams (Subword):**
|
| 208 |
+
|
| 209 |
+
| Rank | N-gram | Count |
|
| 210 |
+
|------|--------|-------|
|
| 211 |
+
| 1 | `_ e _` | 9,332 |
|
| 212 |
+
| 2 | `n g a` | 8,789 |
|
| 213 |
+
| 3 | `k o _` | 7,921 |
|
| 214 |
+
| 4 | `h e _` | 7,566 |
|
| 215 |
+
| 5 | `o _ e` | 7,505 |
|
| 216 |
+
|
| 217 |
+
**4-grams (Subword):**
|
| 218 |
+
|
| 219 |
+
| Rank | N-gram | Count |
|
| 220 |
+
|------|--------|-------|
|
| 221 |
+
| 1 | `o _ e _` | 7,450 |
|
| 222 |
+
| 2 | `_ k o _` | 5,828 |
|
| 223 |
+
| 3 | `k o _ e` | 4,823 |
|
| 224 |
+
| 4 | `_ h e _` | 4,523 |
|
| 225 |
+
| 5 | `_ ʻ i _` | 3,803 |
|
| 226 |
+
|
| 227 |
+
**5-grams (Subword):**
|
| 228 |
+
|
| 229 |
+
| Rank | N-gram | Count |
|
| 230 |
+
|------|--------|-------|
|
| 231 |
+
| 1 | `k o _ e _` | 4,799 |
|
| 232 |
+
| 2 | `_ k o _ e` | 4,059 |
|
| 233 |
+
| 3 | `i _ h e _` | 3,520 |
|
| 234 |
+
| 4 | `_ f a k a` | 3,147 |
|
| 235 |
+
| 5 | `ʻ o k u _` | 2,999 |
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
### Key Findings
|
| 239 |
+
|
| 240 |
+
- **Best Perplexity:** 2-gram (subword) with 208
|
| 241 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 242 |
+
- **Coverage:** Top-1000 patterns cover ~41% of corpus
|
| 243 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 244 |
+
|
| 245 |
+
---
|
| 246 |
+
## 3. Markov Chain Evaluation
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+
### Results
|
| 255 |
+
|
| 256 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 257 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 258 |
+
| **1** | Word | 0.7580 | 1.691 | 4.11 | 15,572 | 24.2% |
|
| 259 |
+
| **1** | Subword | 0.8923 | 1.856 | 6.74 | 432 | 10.8% |
|
| 260 |
+
| **2** | Word | 0.2407 | 1.182 | 1.56 | 63,563 | 75.9% |
|
| 261 |
+
| **2** | Subword | 0.9268 | 1.901 | 5.18 | 2,905 | 7.3% |
|
| 262 |
+
| **3** | Word | 0.1088 | 1.078 | 1.20 | 98,178 | 89.1% |
|
| 263 |
+
| **3** | Subword | 0.7964 | 1.737 | 3.51 | 15,009 | 20.4% |
|
| 264 |
+
| **4** | Word | 0.0474 🏆 | 1.033 | 1.07 | 116,582 | 95.3% |
|
| 265 |
+
| **4** | Subword | 0.5667 | 1.481 | 2.28 | 52,648 | 43.3% |
|
| 266 |
+
|
| 267 |
+
### Generated Text Samples (Word-based)
|
| 268 |
+
|
| 269 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 270 |
+
|
| 271 |
+
**Context Size 1:**
|
| 272 |
+
|
| 273 |
+
1. `e limufonua ko e ʻakau kālava maʻa e ongo foha ʻo tonga land acts v l`
|
| 274 |
+
2. `ko e vahe hihifo ʻo e meʻa kelekele mo e matalaʻiʻakau kula kuusi ko e lotu`
|
| 275 |
+
3. `he ngaahi lau ʻoku mamaha ʻa ha alaufuli pea ʻoku ui foki ko e pī pea`
|
| 276 |
+
|
| 277 |
+
**Context Size 2:**
|
| 278 |
+
|
| 279 |
+
1. `ko e motuʻa feituʻu ʻi he talatupuʻa ʻo ʻahoʻeitu ʻi he taimi ni koeʻuhi ʻenau hiki ki`
|
| 280 |
+
2. `ʻi he ngaahi lea kehe ʻara lea fakakuki kalabuci damu lea fakafisi pūrau lea fakatahisi hutu he`
|
| 281 |
+
3. `ʻo e lea heliaki ko e matapā ʻeni tokua naʻe ʻomi ki tongá ni ʻi tongá ni`
|
| 282 |
+
|
| 283 |
+
**Context Size 3:**
|
| 284 |
+
|
| 285 |
+
1. `ʻi he ngaahi lea kehe tōmāti lea fakakuki lea fakatahisi ʻōhiʻa ma ka nahele lea fakahauaiʻi s pimpi...`
|
| 286 |
+
2. `ko e fuʻu ʻakau lahi ia ʻoku tupu ofi ki he haʻamonga ʻa maui pupunga fetuʻu ko e`
|
| 287 |
+
3. `e fuʻu ʻakau siʻi ia mei he ʻatamai ʻo māmani ʻa ia ʻoku hoko ai ʻa e ngaahi`
|
| 288 |
+
|
| 289 |
+
**Context Size 4:**
|
| 290 |
+
|
| 291 |
+
1. `ko e fuʻu ʻakau lahi ia mo e ngaahi ngeʻesi ʻelilivao ʻoku ui ko e nati foki ʻoku kulokula`
|
| 292 |
+
2. `ʻi he ngaahi lea kehe mākeke lea fakahauaiʻi masitati kapisi lea fakahaʻamoa kāpati lea fakakuki pīn...`
|
| 293 |
+
3. `he ngaahi lea kehe toua lea fakaniuē malina lea fakahaʻamoa rōpiāni piāni lea fakakuki tataku hokoho...`
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
### Generated Text Samples (Subword-based)
|
| 297 |
+
|
| 298 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 299 |
+
|
| 300 |
+
**Context Size 1:**
|
| 301 |
+
|
| 302 |
+
1. `_nofo_pue,_kae_b`
|
| 303 |
+
2. `au,_hi_ngaʻau_i_`
|
| 304 |
+
3. `ita_hi_ctowo_ʻot`
|
| 305 |
+
|
| 306 |
+
**Context Size 2:**
|
| 307 |
+
|
| 308 |
+
1. `e_ressia_motonga_`
|
| 309 |
+
2. `a_kā_ku_meʻa,_por`
|
| 310 |
+
3. `i_loquene,_va_‘e_`
|
| 311 |
+
|
| 312 |
+
**Context Size 3:**
|
| 313 |
+
|
| 314 |
+
1. `_e_pea._ko_e_ngaah`
|
| 315 |
+
2. `ngaahi_aʻu._kolo_ʻ`
|
| 316 |
+
3. `ko_hono_puʻangua_s`
|
| 317 |
+
|
| 318 |
+
**Context Size 4:**
|
| 319 |
+
|
| 320 |
+
1. `o_e_hine_taha_micro`
|
| 321 |
+
2. `_ko_e_tuituitaha_ko`
|
| 322 |
+
3. `ko_e_taha_kā_ko_e_h`
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
### Key Findings
|
| 326 |
+
|
| 327 |
+
- **Best Predictability:** Context-4 (word) with 95.3% predictability
|
| 328 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 329 |
+
- **Memory Trade-off:** Larger contexts require more storage (52,648 contexts)
|
| 330 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 331 |
+
|
| 332 |
+
---
|
| 333 |
+
## 4. Vocabulary Analysis
|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+
### Statistics
|
| 342 |
+
|
| 343 |
+
| Metric | Value |
|
| 344 |
+
|--------|-------|
|
| 345 |
+
| Vocabulary Size | 6,787 |
|
| 346 |
+
| Total Tokens | 149,227 |
|
| 347 |
+
| Mean Frequency | 21.99 |
|
| 348 |
+
| Median Frequency | 3 |
|
| 349 |
+
| Frequency Std Dev | 193.13 |
|
| 350 |
+
|
| 351 |
+
### Most Common Words
|
| 352 |
+
|
| 353 |
+
| Rank | Word | Frequency |
|
| 354 |
+
|------|------|-----------|
|
| 355 |
+
| 1 | e | 9,737 |
|
| 356 |
+
| 2 | ko | 7,170 |
|
| 357 |
+
| 3 | he | 4,551 |
|
| 358 |
+
| 4 | ʻi | 3,854 |
|
| 359 |
+
| 5 | ʻo | 3,196 |
|
| 360 |
+
| 6 | ʻoku | 2,983 |
|
| 361 |
+
| 7 | ia | 2,271 |
|
| 362 |
+
| 8 | ngaahi | 2,189 |
|
| 363 |
+
| 9 | ʻa | 2,030 |
|
| 364 |
+
| 10 | mo | 1,983 |
|
| 365 |
+
|
| 366 |
+
### Least Common Words (from vocabulary)
|
| 367 |
+
|
| 368 |
+
| Rank | Word | Frequency |
|
| 369 |
+
|------|------|-----------|
|
| 370 |
+
| 1 | fohi | 2 |
|
| 371 |
+
| 2 | tekau | 2 |
|
| 372 |
+
| 3 | fakapā | 2 |
|
| 373 |
+
| 4 | fahaʻi | 2 |
|
| 374 |
+
| 5 | mutumutu | 2 |
|
| 375 |
+
| 6 | koká | 2 |
|
| 376 |
+
| 7 | mahoaʻá | 2 |
|
| 377 |
+
| 8 | kaí | 2 |
|
| 378 |
+
| 9 | lauʻolungá | 2 |
|
| 379 |
+
| 10 | folahi | 2 |
|
| 380 |
+
|
| 381 |
+
### Zipf's Law Analysis
|
| 382 |
+
|
| 383 |
+
| Metric | Value |
|
| 384 |
+
|--------|-------|
|
| 385 |
+
| Zipf Coefficient | 1.1311 |
|
| 386 |
+
| R² (Goodness of Fit) | 0.992429 |
|
| 387 |
+
| Adherence Quality | **excellent** |
|
| 388 |
+
|
| 389 |
+
### Coverage Analysis
|
| 390 |
+
|
| 391 |
+
| Top N Words | Coverage |
|
| 392 |
+
|-------------|----------|
|
| 393 |
+
| Top 100 | 56.6% |
|
| 394 |
+
| Top 1,000 | 83.9% |
|
| 395 |
+
| Top 5,000 | 97.6% |
|
| 396 |
+
| Top 10,000 | 0.0% |
|
| 397 |
+
|
| 398 |
+
### Key Findings
|
| 399 |
+
|
| 400 |
+
- **Zipf Compliance:** R²=0.9924 indicates excellent adherence to Zipf's law
|
| 401 |
+
- **High Frequency Dominance:** Top 100 words cover 56.6% of corpus
|
| 402 |
+
- **Long Tail:** -3,213 words needed for remaining 100.0% coverage
|
| 403 |
+
|
| 404 |
+
---
|
| 405 |
+
## 5. Word Embeddings Evaluation
|
| 406 |
+
|
| 407 |
+

|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
### 5.1 Cross-Lingual Alignment
|
| 417 |
+
|
| 418 |
+

|
| 419 |
+
|
| 420 |
+

|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
### 5.2 Model Comparison
|
| 424 |
+
|
| 425 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 426 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 427 |
+
| **mono_32d** | 32 | 0.1197 🏆 | 0.5003 | N/A | N/A |
|
| 428 |
+
| **mono_64d** | 64 | 0.0193 | 0.5134 | N/A | N/A |
|
| 429 |
+
| **mono_128d** | 128 | 0.0028 | 0.4946 | N/A | N/A |
|
| 430 |
+
| **aligned_32d** | 32 | 0.1197 | 0.4991 | 0.0100 | 0.0900 |
|
| 431 |
+
| **aligned_64d** | 64 | 0.0193 | 0.5081 | 0.0140 | 0.0980 |
|
| 432 |
+
| **aligned_128d** | 128 | 0.0028 | 0.5043 | 0.0140 | 0.0920 |
|
| 433 |
+
|
| 434 |
+
### Key Findings
|
| 435 |
+
|
| 436 |
+
- **Best Isotropy:** mono_32d with 0.1197 (more uniform distribution)
|
| 437 |
+
- **Semantic Density:** Average pairwise similarity of 0.5033. Lower values indicate better semantic separation.
|
| 438 |
+
- **Alignment Quality:** Aligned models achieve up to 1.4% R@1 in cross-lingual retrieval.
|
| 439 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 440 |
+
|
| 441 |
+
---
|
| 442 |
+
## 6. Morphological Analysis (Experimental)
|
| 443 |
+
|
| 444 |
+
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.
|
| 445 |
+
|
| 446 |
+
### 6.1 Productivity & Complexity
|
| 447 |
+
|
| 448 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 449 |
+
|--------|-------|----------------|----------------|
|
| 450 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 451 |
+
| Idiomaticity Gap | **0.569** | High formulaic/idiomatic content | - |
|
| 452 |
+
|
| 453 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 454 |
+
|
| 455 |
+
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.
|
| 456 |
+
|
| 457 |
+
#### Productive Prefixes
|
| 458 |
+
| Prefix | Examples |
|
| 459 |
+
|--------|----------|
|
| 460 |
+
| `-t` | translation, totokamaka, tooi |
|
| 461 |
+
| `-s` | seen, state, surely |
|
| 462 |
+
| `-m` | mole, maʻamaʻa, menemene |
|
| 463 |
+
| `-p` | parazoa, puna, palm |
|
| 464 |
+
| `-ma` | maʻamaʻa, mamata, masipā |
|
| 465 |
+
| `-f` | foo, fimbristylis, floribunda |
|
| 466 |
+
| `-l` | lafalafa, laufale, longomapu |
|
| 467 |
+
| `-k` | kākā, kelenatā, kakamika |
|
| 468 |
+
|
| 469 |
+
#### Productive Suffixes
|
| 470 |
+
| Suffix | Examples |
|
| 471 |
+
|--------|----------|
|
| 472 |
+
| `-a` | ʻekea, floribunda, maʻamaʻa |
|
| 473 |
+
| `-i` | hui, tooi, tuki |
|
| 474 |
+
| `-e` | mole, because, menemene |
|
| 475 |
+
| `-u` | tatafu, longomapu, tāupoʻou |
|
| 476 |
+
| `-s` | fimbristylis, berenices, occidentalis |
|
| 477 |
+
| `-o` | foo, epikopo, sio |
|
| 478 |
+
| `-ia` | pilitania, ʻaositelēlia, terminalia |
|
| 479 |
+
| `-ga` | moʻunga, hengehenga, taunga |
|
| 480 |
+
|
| 481 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 482 |
+
|
| 483 |
+
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.
|
| 484 |
+
|
| 485 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 486 |
+
|------|----------|------------------|----------|
|
| 487 |
+
| `akat` | 1.59x | 25 contexts | kakato, fakatu, fakatū |
|
| 488 |
+
| `onga` | 1.41x | 25 contexts | konga, tonga, nonga |
|
| 489 |
+
| `ngat` | 1.64x | 15 contexts | ngata, ngatú, ngatu |
|
| 490 |
+
| `ʻang` | 1.66x | 12 contexts | ʻanga, paʻanga, hūʻanga |
|
| 491 |
+
| `kata` | 1.53x | 15 contexts | katafa, fakatau, akataha |
|
| 492 |
+
| `kala` | 1.38x | 19 contexts | kalae, kalasi, kakala |
|
| 493 |
+
| `hing` | 1.53x | 13 contexts | thing, hinga, ahinga |
|
| 494 |
+
| `ʻaka` | 1.71x | 8 contexts | ʻakau, ʻakaú, ʻakana |
|
| 495 |
+
| `akah` | 1.56x | 10 contexts | fakahū, fakaha, fakahā |
|
| 496 |
+
| `tata` | 1.49x | 11 contexts | tatau, tatafu, tatala |
|
| 497 |
+
| `akal` | 1.48x | 11 contexts | kakala, fakalao, fakalau |
|
| 498 |
+
| `ahin` | 1.48x | 10 contexts | vahine, ahinga, mahino |
|
| 499 |
+
|
| 500 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 501 |
+
|
| 502 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 503 |
+
|
| 504 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 505 |
+
|--------|--------|-----------|----------|
|
| 506 |
+
| `-f` | `-a` | 152 words | floribunda, fukofuka |
|
| 507 |
+
| `-t` | `-a` | 143 words | totokamaka, taunga |
|
| 508 |
+
| `-f` | `-i` | 123 words | fakafefiofi, falevai |
|
| 509 |
+
| `-m` | `-a` | 122 words | maʻamaʻa, moʻunga |
|
| 510 |
+
| `-ʻ` | `-a` | 77 words | ʻekea, ʻalava |
|
| 511 |
+
| `-t` | `-u` | 74 words | tatafu, tāupoʻou |
|
| 512 |
+
| `-t` | `-i` | 70 words | tooi, tuki |
|
| 513 |
+
| `-p` | `-a` | 66 words | parazoa, puna |
|
| 514 |
+
| `-l` | `-a` | 64 words | lafalafa, laveʻimoa |
|
| 515 |
+
| `-k` | `-a` | 52 words | kakamika, kulukona |
|
| 516 |
+
|
| 517 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 518 |
+
|
| 519 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 520 |
+
|
| 521 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 522 |
+
|------|-----------------|------------|------|
|
| 523 |
+
| ʻafilikani | **`ʻafilik-a-ni`** | 7.5 | `a` |
|
| 524 |
+
| fetuʻutaki | **`fetuʻut-a-ki`** | 7.5 | `a` |
|
| 525 |
+
| talafoʻou | **`ta-la-foʻou`** | 7.5 | `foʻou` |
|
| 526 |
+
| fakataimi | **`fa-ka-taimi`** | 7.5 | `taimi` |
|
| 527 |
+
| fehokotaki | **`fehokot-a-ki`** | 7.5 | `a` |
|
| 528 |
+
| polotonga | **`po-lo-tonga`** | 7.5 | `tonga` |
|
| 529 |
+
| sterninae | **`sternin-a-e`** | 7.5 | `a` |
|
| 530 |
+
| christian | **`christi-a-n`** | 7.5 | `a` |
|
| 531 |
+
| lauraceae | **`laurace-a-e`** | 7.5 | `a` |
|
| 532 |
+
| siulolovao | **`siulolov-a-o`** | 7.5 | `a` |
|
| 533 |
+
| vavalangi | **`va-va-langi`** | 7.5 | `langi` |
|
| 534 |
+
| grossulariaceae | **`grossulariace-a-e`** | 7.5 | `a` |
|
| 535 |
+
| fakakakai | **`fakakak-a-i`** | 7.5 | `a` |
|
| 536 |
+
| matafanga | **`ma-ta-fanga`** | 7.5 | `fanga` |
|
| 537 |
+
| afuhaʻapai | **`afuhaʻap-a-i`** | 7.5 | `a` |
|
| 538 |
+
|
| 539 |
+
### 6.6 Linguistic Interpretation
|
| 540 |
+
|
| 541 |
+
> **Automated Insight:**
|
| 542 |
+
The language Tongan shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 543 |
+
|
| 544 |
+
> **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.
|
| 545 |
+
|
| 546 |
+
---
|
| 547 |
+
## 7. Summary & Recommendations
|
| 548 |
+
|
| 549 |
+

|
| 550 |
+
|
| 551 |
+
### Production Recommendations
|
| 552 |
+
|
| 553 |
+
| Component | Recommended | Rationale |
|
| 554 |
+
|-----------|-------------|-----------|
|
| 555 |
+
| Tokenizer | **32k BPE** | Best compression (3.50x) |
|
| 556 |
+
| N-gram | **2-gram** | Lowest perplexity (208) |
|
| 557 |
+
| Markov | **Context-4** | Highest predictability (95.3%) |
|
| 558 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 559 |
+
|
| 560 |
+
|
| 561 |
+
---
|
| 562 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 563 |
+
|
| 564 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 565 |
+
|
| 566 |
+
### Tokenizer Metrics
|
| 567 |
+
|
| 568 |
+
**Compression Ratio**
|
| 569 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 570 |
+
>
|
| 571 |
+
> *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.
|
| 572 |
+
>
|
| 573 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 574 |
+
|
| 575 |
+
**Average Token Length (Fertility)**
|
| 576 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 577 |
+
>
|
| 578 |
+
> *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.
|
| 579 |
+
>
|
| 580 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 581 |
+
|
| 582 |
+
**Unknown Token Rate (OOV Rate)**
|
| 583 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 584 |
+
>
|
| 585 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 586 |
+
>
|
| 587 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 588 |
+
|
| 589 |
+
### N-gram Model Metrics
|
| 590 |
+
|
| 591 |
+
**Perplexity**
|
| 592 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 593 |
+
>
|
| 594 |
+
> *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.
|
| 595 |
+
>
|
| 596 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 597 |
+
|
| 598 |
+
**Entropy**
|
| 599 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 600 |
+
>
|
| 601 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 602 |
+
>
|
| 603 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 604 |
+
|
| 605 |
+
**Coverage (Top-K)**
|
| 606 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 607 |
+
>
|
| 608 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 609 |
+
>
|
| 610 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 611 |
+
|
| 612 |
+
### Markov Chain Metrics
|
| 613 |
+
|
| 614 |
+
**Average Entropy**
|
| 615 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 616 |
+
>
|
| 617 |
+
> *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).
|
| 618 |
+
>
|
| 619 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 620 |
+
|
| 621 |
+
**Branching Factor**
|
| 622 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 623 |
+
>
|
| 624 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 625 |
+
>
|
| 626 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 627 |
+
|
| 628 |
+
**Predictability**
|
| 629 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 630 |
+
>
|
| 631 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 632 |
+
>
|
| 633 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 634 |
+
|
| 635 |
+
### Vocabulary & Zipf's Law Metrics
|
| 636 |
+
|
| 637 |
+
**Zipf's Coefficient**
|
| 638 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 639 |
+
>
|
| 640 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 641 |
+
>
|
| 642 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 643 |
+
|
| 644 |
+
**R² (Coefficient of Determination)**
|
| 645 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 646 |
+
>
|
| 647 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 648 |
+
>
|
| 649 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 650 |
+
|
| 651 |
+
**Vocabulary Coverage**
|
| 652 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 653 |
+
>
|
| 654 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 655 |
+
>
|
| 656 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 657 |
+
|
| 658 |
+
### Word Embedding Metrics
|
| 659 |
+
|
| 660 |
+
**Isotropy**
|
| 661 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 662 |
+
>
|
| 663 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 664 |
+
>
|
| 665 |
+
> *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.
|
| 666 |
+
|
| 667 |
+
**Average Norm**
|
| 668 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 669 |
+
>
|
| 670 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 671 |
+
>
|
| 672 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 673 |
+
|
| 674 |
+
**Cosine Similarity**
|
| 675 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 676 |
+
>
|
| 677 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 678 |
+
>
|
| 679 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 680 |
+
|
| 681 |
+
**t-SNE Visualization**
|
| 682 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 683 |
+
>
|
| 684 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 685 |
+
>
|
| 686 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 687 |
+
|
| 688 |
+
### General Interpretation Guidelines
|
| 689 |
+
|
| 690 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 691 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 692 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 693 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 694 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 695 |
+
|
| 696 |
+
|
| 697 |
+
### Visualizations Index
|
| 698 |
+
|
| 699 |
+
| Visualization | Description |
|
| 700 |
+
|---------------|-------------|
|
| 701 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 702 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 703 |
+
| Tokenizer OOV | Unknown token rates |
|
| 704 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 705 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 706 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 707 |
+
| N-gram Coverage | Top pattern coverage |
|
| 708 |
+
| N-gram Unique | Unique n-gram counts |
|
| 709 |
+
| Markov Entropy | Entropy by context size |
|
| 710 |
+
| Markov Branching | Branching factor by context |
|
| 711 |
+
| Markov Contexts | Unique context counts |
|
| 712 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 713 |
+
| Vocab Frequency | Word frequency distribution |
|
| 714 |
+
| Top 20 Words | Most frequent words |
|
| 715 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 716 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 717 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 718 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 719 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 720 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 721 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 722 |
+
| Position Encoding | Encoding method comparison |
|
| 723 |
+
| Model Sizes | Storage requirements |
|
| 724 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 725 |
+
|
| 726 |
+
---
|
| 727 |
+
## About This Project
|
| 728 |
+
|
| 729 |
+
### Data Source
|
| 730 |
+
|
| 731 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 732 |
+
|
| 733 |
+
### Project
|
| 734 |
+
|
| 735 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 736 |
+
|
| 737 |
+
### Maintainer
|
| 738 |
+
|
| 739 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 740 |
+
|
| 741 |
+
### Citation
|
| 742 |
+
|
| 743 |
+
If you use these models in your research, please cite:
|
| 744 |
+
|
| 745 |
+
```bibtex
|
| 746 |
+
@misc{wikilangs2025,
|
| 747 |
+
author = {Kamali, Omar},
|
| 748 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 749 |
+
year = {2025},
|
| 750 |
+
doi = {10.5281/zenodo.18073153},
|
| 751 |
+
publisher = {Zenodo},
|
| 752 |
+
url = {https://huggingface.co/wikilangs}
|
| 753 |
+
institution = {Omneity Labs}
|
| 754 |
+
}
|
| 755 |
+
```
|
| 756 |
+
|
| 757 |
+
### License
|
| 758 |
+
|
| 759 |
+
MIT License - Free for academic and commercial use.
|
| 760 |
+
|
| 761 |
+
### Links
|
| 762 |
+
|
| 763 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 764 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 765 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 766 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 767 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 768 |
+
---
|
| 769 |
+
*Generated by Wikilangs Models Pipeline*
|
| 770 |
+
|
| 771 |
+
*Report Date: 2026-01-11 01:22:47*
|
models/embeddings/aligned/to_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2ecf0f3f8b16419ef8e9a1205e63781807279102fbcd961b44b58131973bdcd
|
| 3 |
+
size 1026907452
|
models/embeddings/aligned/to_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/to_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a48fd33df547ad51f734e1c1f56be3a8e827dbb63621f2d9a934594a70da5aa7
|
| 3 |
+
size 65664
|
models/embeddings/aligned/to_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1100,
|
| 7 |
+
"vocab_size": 2795
|
| 8 |
+
}
|
models/embeddings/aligned/to_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9320faa0a72efacc32b0a7e3a850ff2c3ba718c347851de3c81818b0a9a2d01
|
| 3 |
+
size 256760892
|
models/embeddings/aligned/to_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/to_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a58ab2b29fa93f811b0f0f67702e19869497f087358cf42dd3aa36ba87046999
|
| 3 |
+
size 4224
|
models/embeddings/aligned/to_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1100,
|
| 7 |
+
"vocab_size": 2795
|
| 8 |
+
}
|
models/embeddings/aligned/to_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfde4285ba245ed3b624a52406f6d75caec071410325640ea4ba6a53bb9bace2
|
| 3 |
+
size 513476412
|
models/embeddings/aligned/to_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/to_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:571075f71efd05ece4c7764c9cd362f74a860048e2963b5a2b8b2eeaace0d265
|
| 3 |
+
size 16512
|
models/embeddings/aligned/to_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1100,
|
| 7 |
+
"vocab_size": 2795
|
| 8 |
+
}
|
models/embeddings/monolingual/to_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2ecf0f3f8b16419ef8e9a1205e63781807279102fbcd961b44b58131973bdcd
|
| 3 |
+
size 1026907452
|
models/embeddings/monolingual/to_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/to_128d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 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": 2795
|
| 16 |
+
}
|
models/embeddings/monolingual/to_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9320faa0a72efacc32b0a7e3a850ff2c3ba718c347851de3c81818b0a9a2d01
|
| 3 |
+
size 256760892
|
models/embeddings/monolingual/to_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/to_32d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 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": 2795
|
| 16 |
+
}
|
models/embeddings/monolingual/to_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfde4285ba245ed3b624a52406f6d75caec071410325640ea4ba6a53bb9bace2
|
| 3 |
+
size 513476412
|
models/embeddings/monolingual/to_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "to", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/to_64d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 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": 2795
|
| 16 |
+
}
|
models/subword_markov/to_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abccbe7526d8e4c0dde21e092fcbed80446d94e92c7c7ef2ea60805ae526d775
|
| 3 |
+
size 27651
|
models/subword_markov/to_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_contexts": 432,
|
| 6 |
+
"total_transitions": 871491
|
| 7 |
+
}
|
models/subword_markov/to_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c80461d35d2111972e1a7a6805fb2eccd4eea526c557869b6d9b849617c4a993
|
| 3 |
+
size 129722
|
models/subword_markov/to_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_contexts": 2905,
|
| 6 |
+
"total_transitions": 869814
|
| 7 |
+
}
|
models/subword_markov/to_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb642d324ec8f2765554fd647b0bb3107291c96056a216530f4a0a7080b839fc
|
| 3 |
+
size 405997
|
models/subword_markov/to_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_contexts": 15009,
|
| 6 |
+
"total_transitions": 868137
|
| 7 |
+
}
|
models/subword_markov/to_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:df1599c1f7e2082f7d77749b807a1e249c636c4d76a1911ddad41b49845316e1
|
| 3 |
+
size 987759
|
models/subword_markov/to_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_contexts": 52648,
|
| 6 |
+
"total_transitions": 866460
|
| 7 |
+
}
|
models/subword_ngram/to_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:00a7118b3b123ab19067e255f211f84e86c78d1c9cf6674d0ee34c2608741a2e
|
| 3 |
+
size 18275
|
models/subword_ngram/to_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_ngrams": 1246,
|
| 6 |
+
"total_ngrams": 871491
|
| 7 |
+
}
|
models/subword_ngram/to_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd2de5dcc3dd47d7098fbb708eb78b22800c347eace14aef79e79a988c39e456
|
| 3 |
+
size 92876
|
models/subword_ngram/to_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_ngrams": 7944,
|
| 6 |
+
"total_ngrams": 869814
|
| 7 |
+
}
|
models/subword_ngram/to_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6eb96ab1d51291565867bc9c754c9b47d8692aaaadb57a5156057141068e5234
|
| 3 |
+
size 377484
|
models/subword_ngram/to_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_ngrams": 31079,
|
| 6 |
+
"total_ngrams": 868137
|
| 7 |
+
}
|
models/subword_ngram/to_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c345a8f31fafea899466141ba51e19f034f979fb2ecdd09e0b0b8778d888dca
|
| 3 |
+
size 697216
|
models/subword_ngram/to_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_ngrams": 57462,
|
| 6 |
+
"total_ngrams": 866460
|
| 7 |
+
}
|
models/tokenizer/to_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bed6356b2e74188f4edc8dfd6d7ce370dbbf38eafde4630a1551353520d08034
|
| 3 |
+
size 510693
|
models/tokenizer/to_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/to_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9c8c6dd6d922da68249a65d26a454b7d27b726c632b4be62928b639eb569a1a
|
| 3 |
+
size 766721
|
models/tokenizer/to_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/to_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db95dc4bbf8810c68918d40f76cc677e11998151ed68b5093c6a6e083e2a9d48
|
| 3 |
+
size 372791
|
models/tokenizer/to_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/to_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0180288b8721074f3bea1d8c84c1ac6ffc8dfa2f0ebffacc8b96ac1b8cac617
|
| 3 |
+
size 110958
|
models/vocabulary/to_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "to",
|
| 3 |
+
"vocabulary_size": 6787,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.09895434676720458,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.5343711847573743,
|
| 9 |
+
"top_1000": 0.7916474257194006,
|
| 10 |
+
"top_5000": 0.9213704193366775,
|
| 11 |
+
"top_10000": 0.9643035620528456
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 8856,
|
| 14 |
+
"hapax_ratio": 0.5661318161477977,
|
| 15 |
+
"total_documents": 1677
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/to_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a15619563927a0c69409566a68bd56619f9e36715bc59995bcc0a9e979d1e66
|
| 3 |
+
size 512547
|
models/word_markov/to_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "to",
|
| 5 |
+
"unique_contexts": 15572,
|
| 6 |
+
"total_transitions": 156406
|
| 7 |
+
}
|
models/word_markov/to_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcc22f9feed34b9b9564b085c1e2a1e5ba9cbc0bab61d609b8c08356a6796191
|
| 3 |
+
size 1149022
|