Upload all models and assets for ce (20251201)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +6 -0
- README.md +562 -0
- models/embeddings/monolingual/ce_128d.bin +3 -0
- models/embeddings/monolingual/ce_128d.meta.json +1 -0
- models/embeddings/monolingual/ce_128d_metadata.json +13 -0
- models/embeddings/monolingual/ce_32d.bin +3 -0
- models/embeddings/monolingual/ce_32d.meta.json +1 -0
- models/embeddings/monolingual/ce_32d_metadata.json +13 -0
- models/embeddings/monolingual/ce_64d.bin +3 -0
- models/embeddings/monolingual/ce_64d.meta.json +1 -0
- models/embeddings/monolingual/ce_64d_metadata.json +13 -0
- models/subword_markov/ce_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/ce_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/ce_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/ce_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/ce_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/ce_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/ce_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/ce_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/ce_2gram_subword.parquet +3 -0
- models/subword_ngram/ce_2gram_subword_metadata.json +7 -0
- models/subword_ngram/ce_3gram_subword.parquet +3 -0
- models/subword_ngram/ce_3gram_subword_metadata.json +7 -0
- models/subword_ngram/ce_4gram_subword.parquet +3 -0
- models/subword_ngram/ce_4gram_subword_metadata.json +7 -0
- models/tokenizer/ce_tokenizer_16k.model +3 -0
- models/tokenizer/ce_tokenizer_16k.vocab +0 -0
- models/tokenizer/ce_tokenizer_32k.model +3 -0
- models/tokenizer/ce_tokenizer_32k.vocab +0 -0
- models/tokenizer/ce_tokenizer_64k.model +3 -0
- models/tokenizer/ce_tokenizer_64k.vocab +0 -0
- models/tokenizer/ce_tokenizer_8k.model +3 -0
- models/tokenizer/ce_tokenizer_8k.vocab +0 -0
- models/vocabulary/ce_vocabulary.parquet +3 -0
- models/vocabulary/ce_vocabulary_metadata.json +16 -0
- models/word_markov/ce_markov_ctx1_word.parquet +3 -0
- models/word_markov/ce_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/ce_markov_ctx2_word.parquet +3 -0
- models/word_markov/ce_markov_ctx2_word_metadata.json +7 -0
- models/word_markov/ce_markov_ctx3_word.parquet +3 -0
- models/word_markov/ce_markov_ctx3_word_metadata.json +7 -0
- models/word_markov/ce_markov_ctx4_word.parquet +3 -0
- models/word_markov/ce_markov_ctx4_word_metadata.json +7 -0
- models/word_ngram/ce_2gram_word.parquet +3 -0
- models/word_ngram/ce_2gram_word_metadata.json +7 -0
- models/word_ngram/ce_3gram_word.parquet +3 -0
- models/word_ngram/ce_3gram_word_metadata.json +7 -0
- models/word_ngram/ce_4gram_word.parquet +3 -0
- models/word_ngram/ce_4gram_word_metadata.json +7 -0
- visualizations/embedding_isotropy.png +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/zipf_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: ce
|
| 3 |
+
language_name: CE
|
| 4 |
+
language_family: caucasian_northeast
|
| 5 |
+
tags:
|
| 6 |
+
- wikilangs
|
| 7 |
+
- nlp
|
| 8 |
+
- tokenizer
|
| 9 |
+
- embeddings
|
| 10 |
+
- n-gram
|
| 11 |
+
- markov
|
| 12 |
+
- wikipedia
|
| 13 |
+
- monolingual
|
| 14 |
+
- family-caucasian_northeast
|
| 15 |
+
license: mit
|
| 16 |
+
library_name: wikilangs
|
| 17 |
+
pipeline_tag: feature-extraction
|
| 18 |
+
datasets:
|
| 19 |
+
- omarkamali/wikipedia-monthly
|
| 20 |
+
dataset_info:
|
| 21 |
+
name: wikipedia-monthly
|
| 22 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 23 |
+
metrics:
|
| 24 |
+
- name: best_compression_ratio
|
| 25 |
+
type: compression
|
| 26 |
+
value: 3.716
|
| 27 |
+
- name: best_isotropy
|
| 28 |
+
type: isotropy
|
| 29 |
+
value: 0.8750
|
| 30 |
+
- name: vocabulary_size
|
| 31 |
+
type: vocab
|
| 32 |
+
value: 267119
|
| 33 |
+
generated: 2025-12-28
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# CE - Wikilangs Models
|
| 37 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 38 |
+
|
| 39 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **CE** Wikipedia data.
|
| 40 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 41 |
+
|
| 42 |
+
## 📋 Repository Contents
|
| 43 |
+
|
| 44 |
+
### Models & Assets
|
| 45 |
+
|
| 46 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 47 |
+
- N-gram models (2, 3, 4-gram)
|
| 48 |
+
- Markov chains (context of 1, 2, 3 and 4)
|
| 49 |
+
- Subword N-gram and Markov chains
|
| 50 |
+
- Embeddings in various sizes and dimensions
|
| 51 |
+
- Language Vocabulary
|
| 52 |
+
- Language Statistics
|
| 53 |
+

|
| 54 |
+
|
| 55 |
+
### Analysis and Evaluation
|
| 56 |
+
|
| 57 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 58 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
|
| 59 |
+
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 60 |
+
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 61 |
+
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 62 |
+
- [6. Summary & Recommendations](#6-summary--recommendations)
|
| 63 |
+
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 64 |
+
- [Visualizations Index](#visualizations-index)
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
## 1. Tokenizer Evaluation
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+
### Results
|
| 72 |
+
|
| 73 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 74 |
+
|------------|-------------|---------------|----------|--------------|
|
| 75 |
+
| **8k** | 2.743x | 2.70 | 1.0676% | 595,703 |
|
| 76 |
+
| **16k** | 3.096x | 3.04 | 1.2050% | 527,806 |
|
| 77 |
+
| **32k** | 3.417x | 3.36 | 1.3298% | 478,250 |
|
| 78 |
+
| **64k** | 3.716x 🏆 | 3.65 | 1.4461% | 439,790 |
|
| 79 |
+
|
| 80 |
+
### Tokenization Examples
|
| 81 |
+
|
| 82 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 83 |
+
|
| 84 |
+
**Sample 1:** `ДагӀйурд () — Азербайджанан Ходжалин кӀоштара эвла.
|
| 85 |
+
|
| 86 |
+
Бахархой
|
| 87 |
+
|
| 88 |
+
Билгалдахарш
|
| 89 |
+
...`
|
| 90 |
+
|
| 91 |
+
| Vocab | Tokens | Count |
|
| 92 |
+
|-------|--------|-------|
|
| 93 |
+
| 8k | `▁да гӏ й ур д ▁() ▁— ▁азербайджанан ▁х од ... (+17 more)` | 27 |
|
| 94 |
+
| 16k | `▁дагӏ йур д ▁() ▁— ▁азербайджанан ▁ход ж алин ▁кӏоштара ... (+13 more)` | 23 |
|
| 95 |
+
| 32k | `▁дагӏ йур д ▁() ▁— ▁азербайджанан ▁ходжалин ▁кӏоштара ▁эвла . ... (+9 more)` | 19 |
|
| 96 |
+
| 64k | `▁дагӏ йур д ▁() ▁— ▁азербайджанан ▁ходжалин ▁кӏоштара ▁эвла . ... (+9 more)` | 19 |
|
| 97 |
+
|
| 98 |
+
**Sample 2:** `Перселл (Миссури)
|
| 99 |
+
Перселл (Оклахома)`
|
| 100 |
+
|
| 101 |
+
| Vocab | Tokens | Count |
|
| 102 |
+
|-------|--------|-------|
|
| 103 |
+
| 8k | `▁пер сел л ▁( миссури ) ▁пер сел л ▁( ... (+2 more)` | 12 |
|
| 104 |
+
| 16k | `▁пер сел л ▁( миссури ) ▁пер сел л ▁( ... (+2 more)` | 12 |
|
| 105 |
+
| 32k | `▁пер сел л ▁( миссури ) ▁пер сел л ▁( ... (+2 more)` | 12 |
|
| 106 |
+
| 64k | `▁пер селл ▁( миссури ) ▁пер селл ▁( оклахома )` | 10 |
|
| 107 |
+
|
| 108 |
+
**Sample 3:** `Эль Баро (Мочитлан)
|
| 109 |
+
Эль Баро (Сан Мигел Тотолапан)
|
| 110 |
+
Эль Баро (Хенерал Элиодоро ...`
|
| 111 |
+
|
| 112 |
+
| Vocab | Tokens | Count |
|
| 113 |
+
|-------|--------|-------|
|
| 114 |
+
| 8k | `▁эль ▁баро ▁( м оч ит лан ) ▁эль ▁баро ... (+21 more)` | 31 |
|
| 115 |
+
| 16k | `▁эль ▁баро ▁( м оч итлан ) ▁эль ▁баро ▁( ... (+18 more)` | 28 |
|
| 116 |
+
| 32k | `▁эль ▁баро ▁( м оч итлан ) ▁эль ▁баро ▁( ... (+11 more)` | 21 |
|
| 117 |
+
| 64k | `▁эль ▁баро ▁( моч итлан ) ▁эль ▁баро ▁( сан ... (+10 more)` | 20 |
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
### Key Findings
|
| 121 |
+
|
| 122 |
+
- **Best Compression:** 64k achieves 3.716x compression
|
| 123 |
+
- **Lowest UNK Rate:** 8k with 1.0676% unknown tokens
|
| 124 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 125 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
## 2. N-gram Model Evaluation
|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
| N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 137 |
+
|--------|------------|---------|----------------|------------------|-------------------|
|
| 138 |
+
| **2-gram** | 3,434 🏆 | 11.75 | 180,710 | 25.5% | 63.0% |
|
| 139 |
+
| **2-gram** | 484 🏆 | 8.92 | 7,755 | 52.4% | 97.1% |
|
| 140 |
+
| **3-gram** | 5,932 | 12.53 | 322,719 | 16.0% | 53.7% |
|
| 141 |
+
| **3-gram** | 2,779 | 11.44 | 72,318 | 22.8% | 66.2% |
|
| 142 |
+
| **4-gram** | 7,779 | 12.93 | 709,202 | 12.7% | 49.4% |
|
| 143 |
+
| **4-gram** | 7,269 | 12.83 | 422,662 | 15.4% | 47.3% |
|
| 144 |
+
|
| 145 |
+
### Top 5 N-grams by Size
|
| 146 |
+
|
| 147 |
+
**2-grams:**
|
| 148 |
+
|
| 149 |
+
| Rank | N-gram | Count |
|
| 150 |
+
|------|--------|-------|
|
| 151 |
+
| 1 | `. —` | 1,635,703 |
|
| 152 |
+
| 2 | `категори :` | 1,346,163 |
|
| 153 |
+
| 3 | `нах беха` | 1,039,301 |
|
| 154 |
+
| 4 | `беха меттигаш` | 953,016 |
|
| 155 |
+
| 5 | `м .` | 797,532 |
|
| 156 |
+
|
| 157 |
+
**3-grams:**
|
| 158 |
+
|
| 159 |
+
| Rank | N-gram | Count |
|
| 160 |
+
|------|--------|-------|
|
| 161 |
+
| 1 | `нах беха меттигаш` | 952,979 |
|
| 162 |
+
| 2 | `( ) —` | 477,700 |
|
| 163 |
+
| 3 | `меттигаш категори :` | 455,946 |
|
| 164 |
+
| 4 | `беха меттигаш категори` | 448,323 |
|
| 165 |
+
| 5 | `. а .` | 416,844 |
|
| 166 |
+
|
| 167 |
+
**4-grams:**
|
| 168 |
+
|
| 169 |
+
| Rank | N-gram | Count |
|
| 170 |
+
|------|--------|-------|
|
| 171 |
+
| 1 | `беха меттигаш категори :` | 448,323 |
|
| 172 |
+
| 2 | `нах беха меттигаш категори` | 448,323 |
|
| 173 |
+
| 3 | `. — м .` | 345,745 |
|
| 174 |
+
| 4 | `— м . :` | 345,423 |
|
| 175 |
+
| 5 | `кӏоштан нах беха меттигаш` | 256,924 |
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
### Key Findings
|
| 179 |
+
|
| 180 |
+
- **Best Perplexity:** 2-gram with 484
|
| 181 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 182 |
+
- **Coverage:** Top-1000 patterns cover ~47% of corpus
|
| 183 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 184 |
+
|
| 185 |
+
---
|
| 186 |
+
## 3. Markov Chain Evaluation
|
| 187 |
+
|
| 188 |
+

|
| 189 |
+
|
| 190 |
+

|
| 191 |
+
|
| 192 |
+
### Results
|
| 193 |
+
|
| 194 |
+
| Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 195 |
+
|---------|-------------|------------|------------------|-----------------|----------------|
|
| 196 |
+
| **1** | 0.4898 | 1.404 | 3.61 | 596,401 | 51.0% |
|
| 197 |
+
| **1** | 1.0551 | 2.078 | 11.42 | 1,510 | 0.0% |
|
| 198 |
+
| **2** | 0.2471 | 1.187 | 1.75 | 2,141,469 | 75.3% |
|
| 199 |
+
| **2** | 1.0286 | 2.040 | 7.78 | 17,227 | 0.0% |
|
| 200 |
+
| **3** | 0.1096 | 1.079 | 1.30 | 3,726,034 | 89.0% |
|
| 201 |
+
| **3** | 0.8548 | 1.809 | 4.95 | 133,970 | 14.5% |
|
| 202 |
+
| **4** | 0.0635 🏆 | 1.045 | 1.17 | 4,825,259 | 93.6% |
|
| 203 |
+
| **4** | 0.7262 🏆 | 1.654 | 3.28 | 662,768 | 27.4% |
|
| 204 |
+
|
| 205 |
+
### Generated Text Samples
|
| 206 |
+
|
| 207 |
+
Below are text samples generated from each Markov chain model:
|
| 208 |
+
|
| 209 |
+
**Context Size 1:**
|
| 210 |
+
|
| 211 |
+
1. `. геогр . — м . а беттанашкахь , цуьнан гуш болу седин атмосфера конвекцина дикка`
|
| 212 |
+
2. `, йуккъера барам 2000 . изд . catherine b . surface properties of chicle extraction in`
|
| 213 |
+
3. `— июль ( по зарубежным странам ) кӏеззиг къилбаседехьа хокана мотт буьйцуш долу ӏаьнцаклимат калужск...`
|
| 214 |
+
|
| 215 |
+
**Context Size 2:**
|
| 216 |
+
|
| 217 |
+
1. `. — екатеринбург : у - фактория , 2006 . альперович м . родригеса , м .`
|
| 218 |
+
2. `категори : сербин нах беха меттигаш категори : мексикин нах беха меттигаш категори : витебскан облас...`
|
| 219 |
+
3. `нах беха меттигаш категори : мексикин нах беха меттиг . географи . бахархойн дукхалла бахархойн дукх...`
|
| 220 |
+
|
| 221 |
+
**Context Size 3:**
|
| 222 |
+
|
| 223 |
+
1. `( ) — российн федерацин вологдин областан междуреченскан кӏоштара дӏатесна эвла . бахархойн дукхалла...`
|
| 224 |
+
2. `нах беха меттигаш категори : молдавин нах беха меттигаш категори : ацш гуонаш ru : калмен ( округ`
|
| 225 |
+
3. `меттигаш категори : идальго штатан нах беха меттигаш категори : белхан категори категори : новосибир...`
|
| 226 |
+
|
| 227 |
+
**Context Size 4:**
|
| 228 |
+
|
| 229 |
+
1. `беха меттигаш категори : подлясьен воеводаллин нах беха меттигаш категори : абатца нисйина нах беха ...`
|
| 230 |
+
2. `нах беха меттигаш категори : лаха калифорни штатан нах беха меттигаш категори : вилча жудецан коммун...`
|
| 231 |
+
3. `. — м . : высшая школа , 2005 . — 463 с . — isbn 5060045196 . новая`
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
### Key Findings
|
| 235 |
+
|
| 236 |
+
- **Best Predictability:** Context-4 with 93.6% predictability
|
| 237 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 238 |
+
- **Memory Trade-off:** Larger contexts require more storage (662,768 contexts)
|
| 239 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 240 |
+
|
| 241 |
+
---
|
| 242 |
+
## 4. Vocabulary Analysis
|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+
### Statistics
|
| 251 |
+
|
| 252 |
+
| Metric | Value |
|
| 253 |
+
|--------|-------|
|
| 254 |
+
| Vocabulary Size | 267,119 |
|
| 255 |
+
| Total Tokens | 73,448,738 |
|
| 256 |
+
| Mean Frequency | 274.97 |
|
| 257 |
+
| Median Frequency | 3 |
|
| 258 |
+
| Frequency Std Dev | 8220.95 |
|
| 259 |
+
|
| 260 |
+
### Most Common Words
|
| 261 |
+
|
| 262 |
+
| Rank | Word | Frequency |
|
| 263 |
+
|------|------|-----------|
|
| 264 |
+
| 1 | а | 1,816,439 |
|
| 265 |
+
| 2 | категори | 1,354,932 |
|
| 266 |
+
| 3 | нах | 1,049,211 |
|
| 267 |
+
| 4 | беха | 1,039,698 |
|
| 268 |
+
| 5 | меттигаш | 968,759 |
|
| 269 |
+
| 6 | йу | 814,168 |
|
| 270 |
+
| 7 | м | 798,682 |
|
| 271 |
+
| 8 | климат | 741,279 |
|
| 272 |
+
| 9 | в | 737,093 |
|
| 273 |
+
| 10 | билгалдахарш | 631,115 |
|
| 274 |
+
|
| 275 |
+
### Least Common Words (from vocabulary)
|
| 276 |
+
|
| 277 |
+
| Rank | Word | Frequency |
|
| 278 |
+
|------|------|-----------|
|
| 279 |
+
| 1 | эмпачадо | 2 |
|
| 280 |
+
| 2 | энано | 2 |
|
| 281 |
+
| 3 | эскопетал | 2 |
|
| 282 |
+
| 4 | эскриторио | 2 |
|
| 283 |
+
| 5 | макариос | 2 |
|
| 284 |
+
| 6 | эроика | 2 |
|
| 285 |
+
| 7 | скирринг | 2 |
|
| 286 |
+
| 8 | зигуинчор | 2 |
|
| 287 |
+
| 9 | зигуиншор | 2 |
|
| 288 |
+
| 10 | люксембургхо | 2 |
|
| 289 |
+
|
| 290 |
+
### Zipf's Law Analysis
|
| 291 |
+
|
| 292 |
+
| Metric | Value |
|
| 293 |
+
|--------|-------|
|
| 294 |
+
| Zipf Coefficient | 1.8071 |
|
| 295 |
+
| R² (Goodness of Fit) | 0.946340 |
|
| 296 |
+
| Adherence Quality | **excellent** |
|
| 297 |
+
|
| 298 |
+
### Coverage Analysis
|
| 299 |
+
|
| 300 |
+
| Top N Words | Coverage |
|
| 301 |
+
|-------------|----------|
|
| 302 |
+
| Top 100 | 40.3% |
|
| 303 |
+
| Top 1,000 | 81.6% |
|
| 304 |
+
| Top 5,000 | 96.4% |
|
| 305 |
+
| Top 10,000 | 97.6% |
|
| 306 |
+
|
| 307 |
+
### Key Findings
|
| 308 |
+
|
| 309 |
+
- **Zipf Compliance:** R²=0.9463 indicates excellent adherence to Zipf's law
|
| 310 |
+
- **High Frequency Dominance:** Top 100 words cover 40.3% of corpus
|
| 311 |
+
- **Long Tail:** 257,119 words needed for remaining 2.4% coverage
|
| 312 |
+
|
| 313 |
+
---
|
| 314 |
+
## 5. Word Embeddings Evaluation
|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
|
| 322 |
+

|
| 323 |
+
|
| 324 |
+
### Model Comparison
|
| 325 |
+
|
| 326 |
+
| Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
|
| 327 |
+
|-------|------------|-----------|----------|----------|----------|
|
| 328 |
+
| **mono_32d** | 105,624 | 32 | 6.269 | 1.405 | 0.8750 🏆 |
|
| 329 |
+
| **mono_64d** | 105,624 | 64 | 6.426 | 0.986 | 0.8540 |
|
| 330 |
+
| **mono_128d** | 105,624 | 128 | 6.612 | 0.771 | 0.7972 |
|
| 331 |
+
| **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
|
| 332 |
+
|
| 333 |
+
### Key Findings
|
| 334 |
+
|
| 335 |
+
- **Best Isotropy:** mono_32d with 0.8750 (more uniform distribution)
|
| 336 |
+
- **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
|
| 337 |
+
- **Vocabulary Coverage:** All models cover 105,624 words
|
| 338 |
+
- **Recommendation:** 100d for balanced semantic capture and efficiency
|
| 339 |
+
|
| 340 |
+
---
|
| 341 |
+
## 6. Summary & Recommendations
|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
|
| 345 |
+
### Production Recommendations
|
| 346 |
+
|
| 347 |
+
| Component | Recommended | Rationale |
|
| 348 |
+
|-----------|-------------|-----------|
|
| 349 |
+
| Tokenizer | **32k BPE** | Best compression (3.72x) with low UNK rate |
|
| 350 |
+
| N-gram | **5-gram** | Lowest perplexity (484) |
|
| 351 |
+
| Markov | **Context-4** | Highest predictability (93.6%) |
|
| 352 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 353 |
+
|
| 354 |
+
---
|
| 355 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 356 |
+
|
| 357 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 358 |
+
|
| 359 |
+
### Tokenizer Metrics
|
| 360 |
+
|
| 361 |
+
**Compression Ratio**
|
| 362 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 363 |
+
>
|
| 364 |
+
> *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.
|
| 365 |
+
>
|
| 366 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 367 |
+
|
| 368 |
+
**Average Token Length (Fertility)**
|
| 369 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 370 |
+
>
|
| 371 |
+
> *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.
|
| 372 |
+
>
|
| 373 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 374 |
+
|
| 375 |
+
**Unknown Token Rate (OOV Rate)**
|
| 376 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 377 |
+
>
|
| 378 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 379 |
+
>
|
| 380 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 381 |
+
|
| 382 |
+
### N-gram Model Metrics
|
| 383 |
+
|
| 384 |
+
**Perplexity**
|
| 385 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 386 |
+
>
|
| 387 |
+
> *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.
|
| 388 |
+
>
|
| 389 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 390 |
+
|
| 391 |
+
**Entropy**
|
| 392 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 393 |
+
>
|
| 394 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 395 |
+
>
|
| 396 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 397 |
+
|
| 398 |
+
**Coverage (Top-K)**
|
| 399 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 400 |
+
>
|
| 401 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 402 |
+
>
|
| 403 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 404 |
+
|
| 405 |
+
### Markov Chain Metrics
|
| 406 |
+
|
| 407 |
+
**Average Entropy**
|
| 408 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 409 |
+
>
|
| 410 |
+
> *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).
|
| 411 |
+
>
|
| 412 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 413 |
+
|
| 414 |
+
**Branching Factor**
|
| 415 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 416 |
+
>
|
| 417 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 418 |
+
>
|
| 419 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 420 |
+
|
| 421 |
+
**Predictability**
|
| 422 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 423 |
+
>
|
| 424 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 425 |
+
>
|
| 426 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 427 |
+
|
| 428 |
+
### Vocabulary & Zipf's Law Metrics
|
| 429 |
+
|
| 430 |
+
**Zipf's Coefficient**
|
| 431 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 432 |
+
>
|
| 433 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 434 |
+
>
|
| 435 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 436 |
+
|
| 437 |
+
**R² (Coefficient of Determination)**
|
| 438 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 439 |
+
>
|
| 440 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 441 |
+
>
|
| 442 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 443 |
+
|
| 444 |
+
**Vocabulary Coverage**
|
| 445 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 446 |
+
>
|
| 447 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 448 |
+
>
|
| 449 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 450 |
+
|
| 451 |
+
### Word Embedding Metrics
|
| 452 |
+
|
| 453 |
+
**Isotropy**
|
| 454 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 455 |
+
>
|
| 456 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 457 |
+
>
|
| 458 |
+
> *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.
|
| 459 |
+
|
| 460 |
+
**Average Norm**
|
| 461 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 462 |
+
>
|
| 463 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 464 |
+
>
|
| 465 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 466 |
+
|
| 467 |
+
**Cosine Similarity**
|
| 468 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 469 |
+
>
|
| 470 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 471 |
+
>
|
| 472 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 473 |
+
|
| 474 |
+
**t-SNE Visualization**
|
| 475 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 476 |
+
>
|
| 477 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 478 |
+
>
|
| 479 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 480 |
+
|
| 481 |
+
### General Interpretation Guidelines
|
| 482 |
+
|
| 483 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 484 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 485 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 486 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 487 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 488 |
+
|
| 489 |
+
|
| 490 |
+
### Visualizations Index
|
| 491 |
+
|
| 492 |
+
| Visualization | Description |
|
| 493 |
+
|---------------|-------------|
|
| 494 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 495 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 496 |
+
| Tokenizer OOV | Unknown token rates |
|
| 497 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 498 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 499 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 500 |
+
| N-gram Coverage | Top pattern coverage |
|
| 501 |
+
| N-gram Unique | Unique n-gram counts |
|
| 502 |
+
| Markov Entropy | Entropy by context size |
|
| 503 |
+
| Markov Branching | Branching factor by context |
|
| 504 |
+
| Markov Contexts | Unique context counts |
|
| 505 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 506 |
+
| Vocab Frequency | Word frequency distribution |
|
| 507 |
+
| Top 20 Words | Most frequent words |
|
| 508 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 509 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 510 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 511 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 512 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 513 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 514 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 515 |
+
| Position Encoding | Encoding method comparison |
|
| 516 |
+
| Model Sizes | Storage requirements |
|
| 517 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 518 |
+
|
| 519 |
+
---
|
| 520 |
+
## About This Project
|
| 521 |
+
|
| 522 |
+
### Data Source
|
| 523 |
+
|
| 524 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 525 |
+
|
| 526 |
+
### Project
|
| 527 |
+
|
| 528 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 529 |
+
|
| 530 |
+
### Maintainer
|
| 531 |
+
|
| 532 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 533 |
+
|
| 534 |
+
### Citation
|
| 535 |
+
|
| 536 |
+
If you use these models in your research, please cite:
|
| 537 |
+
|
| 538 |
+
```bibtex
|
| 539 |
+
@misc{wikilangs2025,
|
| 540 |
+
author = {Kamali, Omar},
|
| 541 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 542 |
+
year = {2025},
|
| 543 |
+
publisher = {HuggingFace},
|
| 544 |
+
url = {https://huggingface.co/wikilangs}
|
| 545 |
+
institution = {Omneity Labs}
|
| 546 |
+
}
|
| 547 |
+
```
|
| 548 |
+
|
| 549 |
+
### License
|
| 550 |
+
|
| 551 |
+
MIT License - Free for academic and commercial use.
|
| 552 |
+
|
| 553 |
+
### Links
|
| 554 |
+
|
| 555 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 556 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 557 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 558 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 559 |
+
---
|
| 560 |
+
*Generated by Wikilangs Models Pipeline*
|
| 561 |
+
|
| 562 |
+
*Report Date: 2025-12-28 17:05:28*
|
models/embeddings/monolingual/ce_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18a8bbd0641b8970aab2c0ccf604502eba74b97f35c3606ad01acb009b142f02
|
| 3 |
+
size 1134808955
|
models/embeddings/monolingual/ce_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ce", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ce_128d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ce",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"dim": 128,
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5
|
| 11 |
+
},
|
| 12 |
+
"vocab_size": 105624
|
| 13 |
+
}
|
models/embeddings/monolingual/ce_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44c015065e910726d15abdf60c4dd0e4462950b3f9c99e40c82a6bec99b9cec2
|
| 3 |
+
size 285689723
|
models/embeddings/monolingual/ce_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ce", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ce_32d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ce",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"dim": 32,
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5
|
| 11 |
+
},
|
| 12 |
+
"vocab_size": 105624
|
| 13 |
+
}
|
models/embeddings/monolingual/ce_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:160402c76b1bde05f4bbde11003b39939ec6f0e7a3c4e8d2d20b4d20e5810eed
|
| 3 |
+
size 568729467
|
models/embeddings/monolingual/ce_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "ce", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/ce_64d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ce",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"dim": 64,
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5
|
| 11 |
+
},
|
| 12 |
+
"vocab_size": 105624
|
| 13 |
+
}
|
models/subword_markov/ce_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cf69dd5043773e4a6ec0dd7fca8fb532d1def26240aa6214a05619b9f7a0320
|
| 3 |
+
size 134168
|
models/subword_markov/ce_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 1510,
|
| 6 |
+
"total_transitions": 552073024
|
| 7 |
+
}
|
models/subword_markov/ce_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a6187b0fabb36d6b719c6ec916b358a15d63a341364e7852e2f3a23c5586073
|
| 3 |
+
size 1098619
|
models/subword_markov/ce_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 17227,
|
| 6 |
+
"total_transitions": 551384673
|
| 7 |
+
}
|
models/subword_markov/ce_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d252c42256fc6c0b6fce0d261303ba6de8609a4c175ccf6885164947f96bdded
|
| 3 |
+
size 5724342
|
models/subword_markov/ce_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 133970,
|
| 6 |
+
"total_transitions": 550696322
|
| 7 |
+
}
|
models/subword_markov/ce_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1e81c1dd821aba41445dadb821e7e3bcb207d9eb6e163013e5c9212255e4ccc
|
| 3 |
+
size 19564690
|
models/subword_markov/ce_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 662768,
|
| 6 |
+
"total_transitions": 550007971
|
| 7 |
+
}
|
models/subword_ngram/ce_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4a1697b51648dc86c9e845aafa0afbfc74dc00aa7028ba2b5d395142bf6f3640
|
| 3 |
+
size 118388
|
models/subword_ngram/ce_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 7755,
|
| 6 |
+
"total_ngrams": 552073024
|
| 7 |
+
}
|
models/subword_ngram/ce_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4acca9406308437ca11a05cfcb287cb1fec43d90ddfdd2e54583391e67b0dcfe
|
| 3 |
+
size 1012357
|
models/subword_ngram/ce_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 72318,
|
| 6 |
+
"total_ngrams": 551384673
|
| 7 |
+
}
|
models/subword_ngram/ce_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cde1675327291babdadf64b31e49b9f88ccfec8517d7a1de3c798508559e9140
|
| 3 |
+
size 5464388
|
models/subword_ngram/ce_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 422662,
|
| 6 |
+
"total_ngrams": 550696322
|
| 7 |
+
}
|
models/tokenizer/ce_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:693fef07fd91c952bd6dc391258ac00b72412b245cccf2273b8da2e74f98a918
|
| 3 |
+
size 580690
|
models/tokenizer/ce_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ce_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7641da1e8ba9bb6ac932a554231606e62d54ac9ed4acdfcc75c032e584b726cf
|
| 3 |
+
size 947341
|
models/tokenizer/ce_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ce_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd5f0f5cb1ac9ddae9543ca026331e7095bfb49e92713ef6d2d1f2b1af81c700
|
| 3 |
+
size 1695288
|
models/tokenizer/ce_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/ce_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:61b5f6dfdef5fedd1877009ce07f66b91e1f97f11807dd468dcdb16a014824e2
|
| 3 |
+
size 406333
|
models/tokenizer/ce_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/ce_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:12b88a5312e7a67ba957dffeff9943c20553b754f8d99ae3bab9bc7925021712
|
| 3 |
+
size 4165372
|
models/vocabulary/ce_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ce",
|
| 3 |
+
"vocabulary_size": 267119,
|
| 4 |
+
"statistics": {
|
| 5 |
+
"type_token_ratio": 0.00808419251496939,
|
| 6 |
+
"coverage": {
|
| 7 |
+
"top_100": 0.4013568533353177,
|
| 8 |
+
"top_1000": 0.8125705130068827,
|
| 9 |
+
"top_5000": 0.9597777008352958,
|
| 10 |
+
"top_10000": 0.9715211792991832
|
| 11 |
+
},
|
| 12 |
+
"hapax_count": 329317,
|
| 13 |
+
"hapax_ratio": 0.5521413865024914,
|
| 14 |
+
"total_documents": 688351
|
| 15 |
+
}
|
| 16 |
+
}
|
models/word_markov/ce_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:599dfc01d9395014b5691fd2f74145fcc4405443ba6655b4078f8756b54fe14c
|
| 3 |
+
size 26132254
|
models/word_markov/ce_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 596401,
|
| 6 |
+
"total_transitions": 106354951
|
| 7 |
+
}
|
models/word_markov/ce_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb42589d1cb2a6e1ec32d0fb09f361272a03b0d53a6ddf4b788ff111a967fbd8
|
| 3 |
+
size 63812094
|
models/word_markov/ce_markov_ctx2_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 2141469,
|
| 6 |
+
"total_transitions": 105666601
|
| 7 |
+
}
|
models/word_markov/ce_markov_ctx3_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8e2020efe22d041025528c0a6f3588a337e4ff44e09ea096401c37fdf145a05
|
| 3 |
+
size 98196773
|
models/word_markov/ce_markov_ctx3_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 3726034,
|
| 6 |
+
"total_transitions": 104978251
|
| 7 |
+
}
|
models/word_markov/ce_markov_ctx4_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d606c8d8d7711381abb87ee93407843ba0f735bcc2358cc37ee6bb64dc89a91
|
| 3 |
+
size 127811549
|
models/word_markov/ce_markov_ctx4_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_contexts": 4825259,
|
| 6 |
+
"total_transitions": 104289907
|
| 7 |
+
}
|
models/word_ngram/ce_2gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f013fabd46773d7120af2601c77cf0ab74f745ad856acbd7e9eee74a785ae73
|
| 3 |
+
size 3471073
|
models/word_ngram/ce_2gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 180710,
|
| 6 |
+
"total_ngrams": 106354951
|
| 7 |
+
}
|
models/word_ngram/ce_3gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38e66219baeec769e5c5ad382c8dd648581653177e8a32ad53b8b8ba808b9c3c
|
| 3 |
+
size 6715161
|
models/word_ngram/ce_3gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 322719,
|
| 6 |
+
"total_ngrams": 105666601
|
| 7 |
+
}
|
models/word_ngram/ce_4gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:918e1068a19861c1df2e2c44e0f5e49bde38b0e6eb1e0cdf4f44d0350bbee9a0
|
| 3 |
+
size 15779066
|
models/word_ngram/ce_4gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "ce",
|
| 5 |
+
"unique_ngrams": 709202,
|
| 6 |
+
"total_ngrams": 104978251
|
| 7 |
+
}
|
visualizations/embedding_isotropy.png
ADDED
|