Upload all models and assets for ga (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +760 -0
- models/embeddings/aligned/ga_128d.bin +3 -0
- models/embeddings/aligned/ga_128d.meta.json +1 -0
- models/embeddings/aligned/ga_128d.projection.npy +3 -0
- models/embeddings/aligned/ga_128d_metadata.json +8 -0
- models/embeddings/aligned/ga_32d.bin +3 -0
- models/embeddings/aligned/ga_32d.meta.json +1 -0
- models/embeddings/aligned/ga_32d.projection.npy +3 -0
- models/embeddings/aligned/ga_32d_metadata.json +8 -0
- models/embeddings/aligned/ga_64d.bin +3 -0
- models/embeddings/aligned/ga_64d.meta.json +1 -0
- models/embeddings/aligned/ga_64d.projection.npy +3 -0
- models/embeddings/aligned/ga_64d_metadata.json +8 -0
- models/embeddings/monolingual/ga_128d.bin +3 -0
- models/embeddings/monolingual/ga_128d.meta.json +1 -0
- models/embeddings/monolingual/ga_128d_metadata.json +15 -0
- models/embeddings/monolingual/ga_32d.bin +3 -0
- models/embeddings/monolingual/ga_32d.meta.json +1 -0
- models/embeddings/monolingual/ga_32d_metadata.json +15 -0
- models/embeddings/monolingual/ga_64d.bin +3 -0
- models/embeddings/monolingual/ga_64d.meta.json +1 -0
- models/embeddings/monolingual/ga_64d_metadata.json +15 -0
- models/subword_markov/ga_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/ga_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/ga_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/ga_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/ga_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/ga_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/ga_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/ga_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/ga_2gram_subword.parquet +3 -0
- models/subword_ngram/ga_2gram_subword_metadata.json +7 -0
- models/subword_ngram/ga_3gram_subword.parquet +3 -0
- models/subword_ngram/ga_3gram_subword_metadata.json +7 -0
- models/subword_ngram/ga_4gram_subword.parquet +3 -0
- models/subword_ngram/ga_4gram_subword_metadata.json +7 -0
- models/subword_ngram/ga_5gram_subword.parquet +3 -0
- models/subword_ngram/ga_5gram_subword_metadata.json +7 -0
- models/tokenizer/ga_tokenizer_16k.model +3 -0
- models/tokenizer/ga_tokenizer_16k.vocab +0 -0
- models/tokenizer/ga_tokenizer_32k.model +3 -0
- models/tokenizer/ga_tokenizer_32k.vocab +0 -0
- models/tokenizer/ga_tokenizer_64k.model +3 -0
- models/tokenizer/ga_tokenizer_64k.vocab +0 -0
- models/tokenizer/ga_tokenizer_8k.model +3 -0
- models/tokenizer/ga_tokenizer_8k.vocab +0 -0
- models/vocabulary/ga_vocabulary.parquet +3 -0
- models/vocabulary/ga_vocabulary_metadata.json +17 -0
- models/word_markov/ga_markov_ctx1_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_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: ga
|
| 3 |
+
language_name: Irish
|
| 4 |
+
language_family: celtic_goidelic
|
| 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-celtic_goidelic
|
| 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.595
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.8459
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-09
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Irish - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Irish** 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.807x | 3.81 | 0.1479% | 836,105 |
|
| 94 |
+
| **16k** | 4.135x | 4.14 | 0.1607% | 769,705 |
|
| 95 |
+
| **32k** | 4.402x | 4.40 | 0.1711% | 723,137 |
|
| 96 |
+
| **64k** | 4.595x 🏆 | 4.60 | 0.1786% | 692,774 |
|
| 97 |
+
|
| 98 |
+
### Tokenization Examples
|
| 99 |
+
|
| 100 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
+
|
| 102 |
+
**Sample 1:** `Is baile suite i gContae an Longfoirt é Caonach. Tagairtí i gContae an Longfoirt`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁is ▁baile ▁suite ▁i ▁gcontae ▁an ▁longfoirt ▁é ▁cao nach ... (+6 more)` | 16 |
|
| 107 |
+
| 16k | `▁is ▁baile ▁suite ▁i ▁gcontae ▁an ▁longfoirt ▁é ▁cao nach ... (+6 more)` | 16 |
|
| 108 |
+
| 32k | `▁is ▁baile ▁suite ▁i ▁gcontae ▁an ▁longfoirt ▁é ▁caonach . ... (+5 more)` | 15 |
|
| 109 |
+
| 64k | `▁is ▁baile ▁suite ▁i ▁gcontae ▁an ▁longfoirt ▁é ▁caonach . ... (+5 more)` | 15 |
|
| 110 |
+
|
| 111 |
+
**Sample 2:** `Sráidbhaile beag i gContae Ros Comáin is ea An Seanbhaile (Old Town as Béarla). ...`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁sráidbhaile ▁beag ▁i ▁gcontae ▁ros ▁comáin ▁is ▁ea ▁an ▁sean ... (+10 more)` | 20 |
|
| 116 |
+
| 16k | `▁sráidbhaile ▁beag ▁i ▁gcontae ▁ros ▁comáin ▁is ▁ea ▁an ▁sean ... (+10 more)` | 20 |
|
| 117 |
+
| 32k | `▁sráidbhaile ▁beag ▁i ▁gcontae ▁ros ▁comáin ▁is ▁ea ▁an ▁seanbhaile ... (+8 more)` | 18 |
|
| 118 |
+
| 64k | `▁sráidbhaile ▁beag ▁i ▁gcontae ▁ros ▁comáin ▁is ▁ea ▁an ▁seanbhaile ... (+8 more)` | 18 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `Is imreoir leadóige as An tSeapáin í Misaki Doi. Rugadh í ar an 29 Aibreán leadó...`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁is ▁imreoir ▁leadóige ▁as ▁an ▁tseapáin ▁í ▁m isa ki ... (+17 more)` | 27 |
|
| 125 |
+
| 16k | `▁is ▁imreoir ▁leadóige ▁as ▁an ▁tseapáin ▁í ▁m isa ki ... (+17 more)` | 27 |
|
| 126 |
+
| 32k | `▁is ▁imreoir ▁leadóige ▁as ▁an ▁tseapáin ▁í ▁m isa ki ... (+16 more)` | 26 |
|
| 127 |
+
| 64k | `▁is ▁imreoir ▁leadóige ▁as ▁an ▁tseapáin ▁í ▁m isa ki ... (+16 more)` | 26 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 4.595x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.1479% unknown tokens
|
| 134 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 135 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
## 2. N-gram Model Evaluation
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+
### Results
|
| 147 |
+
|
| 148 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 149 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 150 |
+
| **2-gram** | Word | 41,051 | 15.33 | 224,402 | 11.6% | 28.8% |
|
| 151 |
+
| **2-gram** | Subword | 260 🏆 | 8.02 | 7,311 | 69.6% | 99.2% |
|
| 152 |
+
| **3-gram** | Word | 129,955 | 16.99 | 394,113 | 5.2% | 15.9% |
|
| 153 |
+
| **3-gram** | Subword | 2,220 | 11.12 | 56,094 | 27.5% | 72.9% |
|
| 154 |
+
| **4-gram** | Word | 328,612 | 18.33 | 698,569 | 3.1% | 9.7% |
|
| 155 |
+
| **4-gram** | Subword | 13,083 | 13.68 | 311,374 | 13.3% | 40.0% |
|
| 156 |
+
| **5-gram** | Word | 276,286 | 18.08 | 496,389 | 2.8% | 9.5% |
|
| 157 |
+
| **5-gram** | Subword | 52,276 | 15.67 | 940,984 | 7.3% | 24.4% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `ar an` | 55,595 |
|
| 166 |
+
| 2 | `sa bhliain` | 34,147 |
|
| 167 |
+
| 3 | `a bhí` | 24,293 |
|
| 168 |
+
| 4 | `leis an` | 21,408 |
|
| 169 |
+
| 5 | `a rugadh` | 15,751 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `a rugadh i` | 11,250 |
|
| 176 |
+
| 2 | `baile átha cliath` | 4,993 |
|
| 177 |
+
| 3 | `ina dhiaidh sin` | 4,414 |
|
| 178 |
+
| 4 | `is é an` | 4,339 |
|
| 179 |
+
| 5 | `go dtí an` | 3,964 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `a rugadh i i` | 3,258 |
|
| 186 |
+
| 2 | `a rugadh i beo` | 3,011 |
|
| 187 |
+
| 3 | `tagairtí a rugadh i` | 2,902 |
|
| 188 |
+
| 4 | `i mbaile átha cliath` | 2,279 |
|
| 189 |
+
| 5 | `baile fearainn i gcontae` | 2,227 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `tagairtí a rugadh i i` | 1,261 |
|
| 196 |
+
| 2 | `milliún duine ar an eipeasóid` | 1,003 |
|
| 197 |
+
| 3 | `an eipeasóid seo d fhéach` | 997 |
|
| 198 |
+
| 4 | `breitheanna básanna ceannairí domhanda tagairtí` | 817 |
|
| 199 |
+
| 5 | `eachtraí breitheanna básanna ceannairí domhanda` | 812 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `_ a` | 1,728,019 |
|
| 206 |
+
| 2 | `a _` | 1,304,438 |
|
| 207 |
+
| 3 | `n _` | 1,293,557 |
|
| 208 |
+
| 4 | `c h` | 1,096,662 |
|
| 209 |
+
| 5 | `a n` | 1,083,880 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `a c h` | 528,297 |
|
| 216 |
+
| 2 | `a n _` | 512,170 |
|
| 217 |
+
| 3 | `_ a n` | 478,331 |
|
| 218 |
+
| 4 | `a r _` | 407,037 |
|
| 219 |
+
| 5 | `n a _` | 405,810 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ a n _` | 398,568 |
|
| 226 |
+
| 2 | `_ n a _` | 252,847 |
|
| 227 |
+
| 3 | `a c h _` | 239,043 |
|
| 228 |
+
| 4 | `a g u s` | 237,745 |
|
| 229 |
+
| 5 | `g u s _` | 237,257 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ a g u s` | 236,766 |
|
| 236 |
+
| 2 | `a g u s _` | 236,632 |
|
| 237 |
+
| 3 | `r _ a n _` | 82,111 |
|
| 238 |
+
| 4 | `_ a r _ a` | 75,982 |
|
| 239 |
+
| 5 | `_ b h í _` | 72,519 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 260
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~24% of corpus
|
| 247 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 248 |
+
|
| 249 |
+
---
|
| 250 |
+
## 3. Markov Chain Evaluation
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
|
| 258 |
+
### Results
|
| 259 |
+
|
| 260 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 261 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 262 |
+
| **1** | Word | 0.9964 | 1.995 | 8.63 | 343,683 | 0.4% |
|
| 263 |
+
| **1** | Subword | 0.9582 | 1.943 | 6.76 | 3,318 | 4.2% |
|
| 264 |
+
| **2** | Word | 0.3580 | 1.282 | 2.08 | 2,957,508 | 64.2% |
|
| 265 |
+
| **2** | Subword | 0.8596 | 1.815 | 5.42 | 22,430 | 14.0% |
|
| 266 |
+
| **3** | Word | 0.1474 | 1.108 | 1.31 | 6,125,828 | 85.3% |
|
| 267 |
+
| **3** | Subword | 0.7941 | 1.734 | 4.34 | 121,437 | 20.6% |
|
| 268 |
+
| **4** | Word | 0.0625 🏆 | 1.044 | 1.11 | 7,985,903 | 93.8% |
|
| 269 |
+
| **4** | Subword | 0.7210 | 1.648 | 3.32 | 527,224 | 27.9% |
|
| 270 |
+
|
| 271 |
+
### Generated Text Samples (Word-based)
|
| 272 |
+
|
| 273 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 274 |
+
|
| 275 |
+
**Context Size 1:**
|
| 276 |
+
|
| 277 |
+
1. `an tarbh cogaidh ar eolas digiteal i siam agus don 19ú haois bhunaigh sé go raibh`
|
| 278 |
+
2. `a bhíonn faoi dhó é turas eitilt seo tagairtí nuachta le dobharmharc e restrictor chun cinn`
|
| 279 |
+
3. `na mbráthar bán is mó ná neart ceoil de chuid iarnród éireann athrú mór an tslóvaicis`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `ar an toirt agus méid ceimeacháin atá i gceist a éilíonn is a thiocfaidh an galar seo`
|
| 284 |
+
2. `sa bhliain chuir eorpaigh fúthu san india ó bombay thaistil siad ar an gcuid is mó sna`
|
| 285 |
+
3. `a bhí dílis d údarás na gaeltachta taibhdhearc na gaillimhe an ros contae na gaillimhe naisc sheacht...`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `a rugadh i as londain sasanacha sasanacha sasanacha a rugadh i meiriceánacha meiriceánacha meiriceán...`
|
| 290 |
+
2. `baile átha cliath tomás ó laidhin céimí de chuid ollscoil missouri kansas city agus scoil dlí na nig...`
|
| 291 |
+
3. `ina dhiaidh sin agus dúirt sé go raibh galar intinne uirthi agus go leor úsáidí ann mar dhíolacháin`
|
| 292 |
+
|
| 293 |
+
**Context Size 4:**
|
| 294 |
+
|
| 295 |
+
1. `tagairtí a rugadh i i moslamacha otamánacha ioslamach`
|
| 296 |
+
2. `baile fearainn i gcontae an chabháin tuaim contae an chláir baile fearainn i gcontae chiarraí an cil...`
|
| 297 |
+
3. `is baile suite i gcontae aontroma é tagairtí in albain dhùn phris is ghall ghàidhealaibh in iardheis...`
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
### Generated Text Samples (Subword-based)
|
| 301 |
+
|
| 302 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 303 |
+
|
| 304 |
+
**Context Size 1:**
|
| 305 |
+
|
| 306 |
+
1. `_tíoleánaiteaiob`
|
| 307 |
+
2. `ach,_achagh_liru`
|
| 308 |
+
3. `iachtaspáinns_gu`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `_ad_lon_áfaon_agu`
|
| 313 |
+
2. `a_gintaeipearna_r`
|
| 314 |
+
3. `n_thaobedate_clek`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `ach,_geolas_sé_phy`
|
| 319 |
+
2. `an_tar_come)"._ar_`
|
| 320 |
+
3. `_an_ar_féach_ar_ús`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `_an_téadach_stuaist`
|
| 325 |
+
2. `_na_héireann_5_de_t`
|
| 326 |
+
3. `ach_na_thábháil._ma`
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Key Findings
|
| 330 |
+
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 93.8% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (527,224 contexts)
|
| 334 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
+
|
| 336 |
+
---
|
| 337 |
+
## 4. Vocabulary Analysis
|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
|
| 345 |
+
### Statistics
|
| 346 |
+
|
| 347 |
+
| Metric | Value |
|
| 348 |
+
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 161,708 |
|
| 350 |
+
| Total Tokens | 10,057,096 |
|
| 351 |
+
| Mean Frequency | 62.19 |
|
| 352 |
+
| Median Frequency | 4 |
|
| 353 |
+
| Frequency Std Dev | 1917.88 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | an | 411,365 |
|
| 360 |
+
| 2 | a | 299,072 |
|
| 361 |
+
| 3 | na | 254,180 |
|
| 362 |
+
| 4 | agus | 237,584 |
|
| 363 |
+
| 5 | ar | 204,783 |
|
| 364 |
+
| 6 | i | 198,698 |
|
| 365 |
+
| 7 | is | 131,814 |
|
| 366 |
+
| 8 | le | 97,770 |
|
| 367 |
+
| 9 | sa | 94,976 |
|
| 368 |
+
| 10 | go | 90,513 |
|
| 369 |
+
|
| 370 |
+
### Least Common Words (from vocabulary)
|
| 371 |
+
|
| 372 |
+
| Rank | Word | Frequency |
|
| 373 |
+
|------|------|-----------|
|
| 374 |
+
| 1 | múcapholaisiúicrídí | 2 |
|
| 375 |
+
| 2 | slock | 2 |
|
| 376 |
+
| 3 | oinonen | 2 |
|
| 377 |
+
| 4 | frithsciúradh | 2 |
|
| 378 |
+
| 5 | varoufakis | 2 |
|
| 379 |
+
| 6 | wordnet | 2 |
|
| 380 |
+
| 7 | babelnet | 2 |
|
| 381 |
+
| 8 | cdle | 2 |
|
| 382 |
+
| 9 | malavoglia | 2 |
|
| 383 |
+
| 10 | btv | 2 |
|
| 384 |
+
|
| 385 |
+
### Zipf's Law Analysis
|
| 386 |
+
|
| 387 |
+
| Metric | Value |
|
| 388 |
+
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.0687 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.997049 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 41.5% |
|
| 398 |
+
| Top 1,000 | 64.7% |
|
| 399 |
+
| Top 5,000 | 80.4% |
|
| 400 |
+
| Top 10,000 | 86.2% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9970 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 41.5% of corpus
|
| 406 |
+
- **Long Tail:** 151,708 words needed for remaining 13.8% coverage
|
| 407 |
+
|
| 408 |
+
---
|
| 409 |
+
## 5. Word Embeddings Evaluation
|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
|
| 417 |
+

|
| 418 |
+
|
| 419 |
+
|
| 420 |
+
### 5.1 Cross-Lingual Alignment
|
| 421 |
+
|
| 422 |
+

|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
|
| 426 |
+
|
| 427 |
+
### 5.2 Model Comparison
|
| 428 |
+
|
| 429 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 430 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 431 |
+
| **mono_32d** | 32 | 0.8458 | 0.3686 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.8459 🏆 | 0.2792 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.8282 | 0.2131 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8458 | 0.3623 | 0.1860 | 0.5460 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.8459 | 0.2830 | 0.2320 | 0.6040 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.8282 | 0.2127 | 0.3460 | 0.6980 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** mono_64d with 0.8459 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2865. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 34.6% R@1 in cross-lingual retrieval.
|
| 443 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
+
|
| 445 |
+
---
|
| 446 |
+
## 6. Morphological Analysis (Experimental)
|
| 447 |
+
|
| 448 |
+
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
+
|
| 450 |
+
### 6.1 Productivity & Complexity
|
| 451 |
+
|
| 452 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
+
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **-0.611** | Low formulaic content | - |
|
| 456 |
+
|
| 457 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
+
|
| 459 |
+
These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
|
| 460 |
+
|
| 461 |
+
#### Productive Prefixes
|
| 462 |
+
| Prefix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
| `-ch` | chillán, chomhlachtaí, choimeádacha |
|
| 465 |
+
|
| 466 |
+
#### Productive Suffixes
|
| 467 |
+
| Suffix | Examples |
|
| 468 |
+
|--------|----------|
|
| 469 |
+
| `-a` | vieja, jedna, zha |
|
| 470 |
+
| `-ch` | achtanóideach, mhuraenach, chlochach |
|
| 471 |
+
| `-ach` | achtanóideach, mhuraenach, chlochach |
|
| 472 |
+
| `-in` | rodin, coimisiúin, arcáin |
|
| 473 |
+
| `-ha` | zha, choimeádacha, sheandálaíocha |
|
| 474 |
+
| `-ir` | reachtair, dóttir, stóir |
|
| 475 |
+
|
| 476 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 477 |
+
|
| 478 |
+
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.
|
| 479 |
+
|
| 480 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 481 |
+
|------|----------|------------------|----------|
|
| 482 |
+
| `rach` | 1.68x | 258 contexts | brach, trach, àrach |
|
| 483 |
+
| `agai` | 1.83x | 98 contexts | nagai, agaid, agair |
|
| 484 |
+
| `mhai` | 1.47x | 225 contexts | mhair, mhail, mhais |
|
| 485 |
+
| `chta` | 1.45x | 238 contexts | achta, échta, uchta |
|
| 486 |
+
| `aíoc` | 1.72x | 89 contexts | aíoch, aíocht, aíochta |
|
| 487 |
+
| `reac` | 1.59x | 128 contexts | reach, preac, breac |
|
| 488 |
+
| `aith` | 1.40x | 224 contexts | maith, raith, daith |
|
| 489 |
+
| `eith` | 1.59x | 116 contexts | beith, reith, feith |
|
| 490 |
+
| `irea` | 1.40x | 194 contexts | pirea, éirean, oirear |
|
| 491 |
+
| `bhai` | 1.39x | 175 contexts | bhais, bhain, bhaic |
|
| 492 |
+
| `omha` | 1.43x | 140 contexts | domha, íomha, comha |
|
| 493 |
+
| `onta` | 1.39x | 151 contexts | ponta, gonta, konta |
|
| 494 |
+
|
| 495 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 496 |
+
|
| 497 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 498 |
+
|
| 499 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 500 |
+
|--------|--------|-----------|----------|
|
| 501 |
+
| `-ch` | `-a` | 31 words | chreata, chongócha |
|
| 502 |
+
| `-ch` | `-ch` | 25 words | chích, charbocsaileach |
|
| 503 |
+
| `-ch` | `-ach` | 22 words | charbocsaileach, chumasach |
|
| 504 |
+
| `-ch` | `-in` | 16 words | choimeádáin, chíomháin |
|
| 505 |
+
| `-ch` | `-ir` | 16 words | choisir, chreachadóir |
|
| 506 |
+
| `-ch` | `-ha` | 10 words | chongócha, chriméacha |
|
| 507 |
+
|
| 508 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 509 |
+
|
| 510 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 511 |
+
|
| 512 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 513 |
+
|------|-----------------|------------|------|
|
| 514 |
+
| chruthach | **`ch-ruth-ach`** | 6.0 | `ruth` |
|
| 515 |
+
| cheannach | **`ch-eann-ach`** | 6.0 | `eann` |
|
| 516 |
+
| gcruithneach | **`gcruithne-ach`** | 4.5 | `gcruithne` |
|
| 517 |
+
| éireanach | **`éirean-ach`** | 4.5 | `éirean` |
|
| 518 |
+
| uathbhásach | **`uathbhás-ach`** | 4.5 | `uathbhás` |
|
| 519 |
+
| reitineach | **`reitine-ach`** | 4.5 | `reitine` |
|
| 520 |
+
| chaithreachas | **`ch-aithreachas`** | 4.5 | `aithreachas` |
|
| 521 |
+
| chomhfhachtóir | **`ch-omhfhachtó-ir`** | 3.0 | `omhfhachtó` |
|
| 522 |
+
| cellachain | **`cellac-ha-in`** | 3.0 | `cellac` |
|
| 523 |
+
| mhórchathair | **`mhórchat-ha-ir`** | 3.0 | `mhórchat` |
|
| 524 |
+
| phartaláin | **`phartalá-in`** | 1.5 | `phartalá` |
|
| 525 |
+
| motherfoclóir | **`motherfocló-ir`** | 1.5 | `motherfocló` |
|
| 526 |
+
| bhaictéaracha | **`bhaictéarac-ha`** | 1.5 | `bhaictéarac` |
|
| 527 |
+
| mheasartha | **`mheasart-ha`** | 1.5 | `mheasart` |
|
| 528 |
+
| annalacha | **`annalac-ha`** | 1.5 | `annalac` |
|
| 529 |
+
|
| 530 |
+
### 6.6 Linguistic Interpretation
|
| 531 |
+
|
| 532 |
+
> **Automated Insight:**
|
| 533 |
+
The language Irish shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 534 |
+
|
| 535 |
+
---
|
| 536 |
+
## 7. Summary & Recommendations
|
| 537 |
+
|
| 538 |
+

|
| 539 |
+
|
| 540 |
+
### Production Recommendations
|
| 541 |
+
|
| 542 |
+
| Component | Recommended | Rationale |
|
| 543 |
+
|-----------|-------------|-----------|
|
| 544 |
+
| Tokenizer | **64k BPE** | Best compression (4.59x) |
|
| 545 |
+
| N-gram | **2-gram** | Lowest perplexity (260) |
|
| 546 |
+
| Markov | **Context-4** | Highest predictability (93.8%) |
|
| 547 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 548 |
+
|
| 549 |
+
|
| 550 |
+
---
|
| 551 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 552 |
+
|
| 553 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 554 |
+
|
| 555 |
+
### Tokenizer Metrics
|
| 556 |
+
|
| 557 |
+
**Compression Ratio**
|
| 558 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 559 |
+
>
|
| 560 |
+
> *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.
|
| 561 |
+
>
|
| 562 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 563 |
+
|
| 564 |
+
**Average Token Length (Fertility)**
|
| 565 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 566 |
+
>
|
| 567 |
+
> *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.
|
| 568 |
+
>
|
| 569 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 570 |
+
|
| 571 |
+
**Unknown Token Rate (OOV Rate)**
|
| 572 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 573 |
+
>
|
| 574 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 575 |
+
>
|
| 576 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 577 |
+
|
| 578 |
+
### N-gram Model Metrics
|
| 579 |
+
|
| 580 |
+
**Perplexity**
|
| 581 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 582 |
+
>
|
| 583 |
+
> *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.
|
| 584 |
+
>
|
| 585 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 586 |
+
|
| 587 |
+
**Entropy**
|
| 588 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 589 |
+
>
|
| 590 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 591 |
+
>
|
| 592 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 593 |
+
|
| 594 |
+
**Coverage (Top-K)**
|
| 595 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 596 |
+
>
|
| 597 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 598 |
+
>
|
| 599 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 600 |
+
|
| 601 |
+
### Markov Chain Metrics
|
| 602 |
+
|
| 603 |
+
**Average Entropy**
|
| 604 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 605 |
+
>
|
| 606 |
+
> *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).
|
| 607 |
+
>
|
| 608 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 609 |
+
|
| 610 |
+
**Branching Factor**
|
| 611 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 612 |
+
>
|
| 613 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 614 |
+
>
|
| 615 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 616 |
+
|
| 617 |
+
**Predictability**
|
| 618 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 619 |
+
>
|
| 620 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 621 |
+
>
|
| 622 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 623 |
+
|
| 624 |
+
### Vocabulary & Zipf's Law Metrics
|
| 625 |
+
|
| 626 |
+
**Zipf's Coefficient**
|
| 627 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 628 |
+
>
|
| 629 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 630 |
+
>
|
| 631 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 632 |
+
|
| 633 |
+
**R² (Coefficient of Determination)**
|
| 634 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 635 |
+
>
|
| 636 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 637 |
+
>
|
| 638 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 639 |
+
|
| 640 |
+
**Vocabulary Coverage**
|
| 641 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 642 |
+
>
|
| 643 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 644 |
+
>
|
| 645 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 646 |
+
|
| 647 |
+
### Word Embedding Metrics
|
| 648 |
+
|
| 649 |
+
**Isotropy**
|
| 650 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 651 |
+
>
|
| 652 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 653 |
+
>
|
| 654 |
+
> *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.
|
| 655 |
+
|
| 656 |
+
**Average Norm**
|
| 657 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 658 |
+
>
|
| 659 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 660 |
+
>
|
| 661 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 662 |
+
|
| 663 |
+
**Cosine Similarity**
|
| 664 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 665 |
+
>
|
| 666 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 667 |
+
>
|
| 668 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 669 |
+
|
| 670 |
+
**t-SNE Visualization**
|
| 671 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 672 |
+
>
|
| 673 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 674 |
+
>
|
| 675 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 676 |
+
|
| 677 |
+
### General Interpretation Guidelines
|
| 678 |
+
|
| 679 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 680 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 681 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 682 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 683 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 684 |
+
|
| 685 |
+
|
| 686 |
+
### Visualizations Index
|
| 687 |
+
|
| 688 |
+
| Visualization | Description |
|
| 689 |
+
|---------------|-------------|
|
| 690 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 691 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 692 |
+
| Tokenizer OOV | Unknown token rates |
|
| 693 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 694 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 695 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 696 |
+
| N-gram Coverage | Top pattern coverage |
|
| 697 |
+
| N-gram Unique | Unique n-gram counts |
|
| 698 |
+
| Markov Entropy | Entropy by context size |
|
| 699 |
+
| Markov Branching | Branching factor by context |
|
| 700 |
+
| Markov Contexts | Unique context counts |
|
| 701 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 702 |
+
| Vocab Frequency | Word frequency distribution |
|
| 703 |
+
| Top 20 Words | Most frequent words |
|
| 704 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 705 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 706 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 707 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 708 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 709 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 710 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 711 |
+
| Position Encoding | Encoding method comparison |
|
| 712 |
+
| Model Sizes | Storage requirements |
|
| 713 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 714 |
+
|
| 715 |
+
---
|
| 716 |
+
## About This Project
|
| 717 |
+
|
| 718 |
+
### Data Source
|
| 719 |
+
|
| 720 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 721 |
+
|
| 722 |
+
### Project
|
| 723 |
+
|
| 724 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 725 |
+
|
| 726 |
+
### Maintainer
|
| 727 |
+
|
| 728 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 729 |
+
|
| 730 |
+
### Citation
|
| 731 |
+
|
| 732 |
+
If you use these models in your research, please cite:
|
| 733 |
+
|
| 734 |
+
```bibtex
|
| 735 |
+
@misc{wikilangs2025,
|
| 736 |
+
author = {Kamali, Omar},
|
| 737 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 738 |
+
year = {2025},
|
| 739 |
+
doi = {10.5281/zenodo.18073153},
|
| 740 |
+
publisher = {Zenodo},
|
| 741 |
+
url = {https://huggingface.co/wikilangs}
|
| 742 |
+
institution = {Omneity Labs}
|
| 743 |
+
}
|
| 744 |
+
```
|
| 745 |
+
|
| 746 |
+
### License
|
| 747 |
+
|
| 748 |
+
MIT License - Free for academic and commercial use.
|
| 749 |
+
|
| 750 |
+
### Links
|
| 751 |
+
|
| 752 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 753 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 754 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 755 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 756 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 757 |
+
---
|
| 758 |
+
*Generated by Wikilangs Models Pipeline*
|
| 759 |
+
|
| 760 |
+
*Report Date: 2026-01-09 22:37:05*
|
models/embeddings/aligned/ga_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20d1a5215021fdcfb0daa7707396291d56a91485f5bc616d6bdc64163951d43a
|
| 3 |
+
size 1133544655
|
models/embeddings/aligned/ga_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ga_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37888b4f450ea99be7b676e142e892f5ba9025bf7e072e28d15f74c5c6e3a5c6
|
| 3 |
+
size 65664
|
models/embeddings/aligned/ga_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 39048,
|
| 7 |
+
"vocab_size": 105125
|
| 8 |
+
}
|
models/embeddings/aligned/ga_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5078ce579794ccfcbf58e13a465d33af69027e6216a8259d8a4c0654f6d0efcc
|
| 3 |
+
size 284808655
|
models/embeddings/aligned/ga_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ga_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2f4c126692b44a3dd08281204b265f1581adc823138d1398ef03aaf2448ee41
|
| 3 |
+
size 4224
|
models/embeddings/aligned/ga_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 39048,
|
| 7 |
+
"vocab_size": 105125
|
| 8 |
+
}
|
models/embeddings/aligned/ga_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d92acbb8d22206b16a974db7a21c6db1d2671d80e908774f66e4e0d1f3a01394
|
| 3 |
+
size 567720655
|
models/embeddings/aligned/ga_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/ga_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfb4ee094fd3bd1f9956e3c6333657226b83b3f6039efcfeb9edccf2c5d62f12
|
| 3 |
+
size 16512
|
models/embeddings/aligned/ga_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 39048,
|
| 7 |
+
"vocab_size": 105125
|
| 8 |
+
}
|
models/embeddings/monolingual/ga_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20d1a5215021fdcfb0daa7707396291d56a91485f5bc616d6bdc64163951d43a
|
| 3 |
+
size 1133544655
|
models/embeddings/monolingual/ga_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ga_128d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 128
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 105125
|
| 15 |
+
}
|
models/embeddings/monolingual/ga_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5078ce579794ccfcbf58e13a465d33af69027e6216a8259d8a4c0654f6d0efcc
|
| 3 |
+
size 284808655
|
models/embeddings/monolingual/ga_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ga_32d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 32
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 105125
|
| 15 |
+
}
|
models/embeddings/monolingual/ga_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d92acbb8d22206b16a974db7a21c6db1d2671d80e908774f66e4e0d1f3a01394
|
| 3 |
+
size 567720655
|
models/embeddings/monolingual/ga_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ga", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ga_64d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 64
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 105125
|
| 15 |
+
}
|
models/subword_markov/ga_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6043788da77dc9d660d6aca2f098be1f63729c2f2ecd695e3bae5f67f0ef4617
|
| 3 |
+
size 177007
|
models/subword_markov/ga_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_contexts": 3318,
|
| 6 |
+
"total_transitions": 61593704
|
| 7 |
+
}
|
models/subword_markov/ga_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cf40e9fe0bc7af6ce84bbf630acff5ea2325324a1544b30b7b1b979a88173b6
|
| 3 |
+
size 1003816
|
models/subword_markov/ga_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_contexts": 22430,
|
| 6 |
+
"total_transitions": 61533154
|
| 7 |
+
}
|
models/subword_markov/ga_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:62578458e23f5e27c6da69d19d804e2148cbf5aa301c9ea51dd049978d6aa8a9
|
| 3 |
+
size 4124815
|
models/subword_markov/ga_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_contexts": 121437,
|
| 6 |
+
"total_transitions": 61472604
|
| 7 |
+
}
|
models/subword_markov/ga_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:045761ac6fb9eab4053463d4de7e112c84219700b3d59824e36348356bfeedb5
|
| 3 |
+
size 14330127
|
models/subword_markov/ga_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_contexts": 527224,
|
| 6 |
+
"total_transitions": 61412054
|
| 7 |
+
}
|
models/subword_ngram/ga_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e4363c9a517bb2a68c01581f4f82c0bc76db2e6050e2c0ae3ec10741edf8c9e
|
| 3 |
+
size 97564
|
models/subword_ngram/ga_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_ngrams": 7311,
|
| 6 |
+
"total_ngrams": 61593704
|
| 7 |
+
}
|
models/subword_ngram/ga_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed4fdf794a2e40633013433b1cf743c4974191f36c5a692daa637c1f96ec2fa7
|
| 3 |
+
size 725554
|
models/subword_ngram/ga_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_ngrams": 56094,
|
| 6 |
+
"total_ngrams": 61533154
|
| 7 |
+
}
|
models/subword_ngram/ga_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6492902f5bafeb0efaaaddc49eed5287985f877718047e8543a154ec7b00f50f
|
| 3 |
+
size 3643470
|
models/subword_ngram/ga_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_ngrams": 311374,
|
| 6 |
+
"total_ngrams": 61472604
|
| 7 |
+
}
|
models/subword_ngram/ga_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:644d761395beb0c072b34d650368f41d280aedf08396154097efe372ddb7c515
|
| 3 |
+
size 11467303
|
models/subword_ngram/ga_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ga",
|
| 5 |
+
"unique_ngrams": 940984,
|
| 6 |
+
"total_ngrams": 61412054
|
| 7 |
+
}
|
models/tokenizer/ga_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0bfed5f2e340787a24ccac075f0ca11eb870c25ae13dcb12237ef5e9a548666d
|
| 3 |
+
size 515973
|
models/tokenizer/ga_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ga_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cd48e73fda0ebb39c5375eecdf8b4db5123ffbaf10ecb438924008a24899109
|
| 3 |
+
size 801336
|
models/tokenizer/ga_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ga_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c06085cbeb92908acf0e072cb66f60ab17ffd91b2b807b63409aa701ca4f1ea6
|
| 3 |
+
size 1387392
|
models/tokenizer/ga_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ga_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f53203b00caae3154dae03d16c58e6e9f6b2641454f2d9a9991916880d672ece
|
| 3 |
+
size 376256
|
models/tokenizer/ga_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/ga_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e099d7117d76b2f81fb870a5d37cfae89a9ebc09f82602bbac2c26308bbcf670
|
| 3 |
+
size 2717074
|
models/vocabulary/ga_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ga",
|
| 3 |
+
"vocabulary_size": 161708,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.03359217137806599,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.4074303544658596,
|
| 9 |
+
"top_1000": 0.6354396519310308,
|
| 10 |
+
"top_5000": 0.7900463408321817,
|
| 11 |
+
"top_10000": 0.8470440018165215
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 182254,
|
| 14 |
+
"hapax_ratio": 0.5298666713183433,
|
| 15 |
+
"total_documents": 60550
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/ga_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:195cad42abfbf45144160837a8934373b2d79a1b1b65128767dcf503ae9900c2
|
| 3 |
+
size 24568674
|