koi / README.md
omarkamali's picture
Upload all models and assets for koi (latest)
7bd02fe verified
---
language: koi
language_name: Komi-Permyak
language_family: uralic_permian
tags:
- wikilangs
- nlp
- tokenizer
- embeddings
- n-gram
- markov
- wikipedia
- feature-extraction
- sentence-similarity
- tokenization
- n-grams
- markov-chain
- text-mining
- fasttext
- babelvec
- vocabulous
- vocabulary
- monolingual
- family-uralic_permian
license: mit
library_name: wikilangs
pipeline_tag: text-generation
datasets:
- omarkamali/wikipedia-monthly
dataset_info:
name: wikipedia-monthly
description: Monthly snapshots of Wikipedia articles across 300+ languages
metrics:
- name: best_compression_ratio
type: compression
value: 4.188
- name: best_isotropy
type: isotropy
value: 0.5442
- name: vocabulary_size
type: vocab
value: 0
generated: 2026-01-10
---
# Komi-Permyak - Wikilangs Models
## Comprehensive Research Report & Full Ablation Study
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Komi-Permyak** Wikipedia data.
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
## ๐Ÿ“‹ Repository Contents
### Models & Assets
- Tokenizers (8k, 16k, 32k, 64k)
- N-gram models (2, 3, 4, 5-gram)
- Markov chains (context of 1, 2, 3, 4 and 5)
- Subword N-gram and Markov chains
- Embeddings in various sizes and dimensions (aligned and unaligned)
- Language Vocabulary
- Language Statistics
![Performance Dashboard](visualizations/performance_dashboard.png)
### Analysis and Evaluation
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
- [7. Summary & Recommendations](#7-summary--recommendations)
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
- [Visualizations Index](#visualizations-index)
---
## 1. Tokenizer Evaluation
![Tokenizer Compression](visualizations/tokenizer_compression.png)
![Tokenizer Fertility](visualizations/tokenizer_fertility.png)
![Tokenizer OOV](visualizations/tokenizer_oov.png)
![Total Tokens](visualizations/tokenizer_total_tokens.png)
### Results
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|------------|-------------|---------------|----------|--------------|
| **8k** | 3.334x | 3.34 | 0.0990% | 351,368 |
| **16k** | 3.681x | 3.68 | 0.1094% | 318,243 |
| **32k** | 3.938x | 3.94 | 0.1170% | 297,461 |
| **64k** | 4.188x ๐Ÿ† | 4.19 | 0.1244% | 279,684 |
### Tokenization Examples
Below are sample sentences tokenized with each vocabulary size:
**Sample 1:** `ะ›ะตะฑะตะดะตะฒ ะœะธั…ะฐะธะป ะะธะบะพะปะฐะตะฒะธั‡ โ€” ะบะพะผะธ ะณะธะถะธััŒ. ะ“ะธะถะธั ะทั‹ั€ัะฝะฐ ะผะพะท. ะžะปะฐะฝั‚ัƒะน ะซัั‚ั–ััะฝะฝัะท ะณะธ...`
| Vocab | Tokens | Count |
|-------|--------|-------|
| 8k | `โ–ะป ะตะฑ ะตะด ะตะฒ โ–ะผะธั…ะฐะธะป โ–ะฝะธะบะพะปะฐะตะฒะธั‡ โ–โ€” โ–ะบะพะผะธ โ–ะณะธะถะธััŒ . ... (+7 more)` | 17 |
| 16k | `โ–ะปะตะฑะตะด ะตะฒ โ–ะผะธั…ะฐะธะป โ–ะฝะธะบะพะปะฐะตะฒะธั‡ โ–โ€” โ–ะบะพะผะธ โ–ะณะธะถะธััŒ . โ–ะณะธะถะธั โ–ะทั‹ั€ัะฝะฐ ... (+5 more)` | 15 |
| 32k | `โ–ะปะตะฑะตะดะตะฒ โ–ะผะธั…ะฐะธะป โ–ะฝะธะบะพะปะฐะตะฒะธั‡ โ–โ€” โ–ะบะพะผะธ โ–ะณะธะถะธััŒ . โ–ะณะธะถะธั โ–ะทั‹ั€ัะฝะฐ โ–ะผะพะท ... (+4 more)` | 14 |
| 64k | `โ–ะปะตะฑะตะดะตะฒ โ–ะผะธั…ะฐะธะป โ–ะฝะธะบะพะปะฐะตะฒะธั‡ โ–โ€” โ–ะบะพะผะธ โ–ะณะธะถะธััŒ . โ–ะณะธะถะธั โ–ะทั‹ั€ัะฝะฐ โ–ะผะพะท ... (+4 more)` | 14 |
**Sample 2:** `Annona asplundiana () โ€” ะฑั‹ะดะผะฐัััะทะปำงะฝ ะฐะฝะฝะพะฝะฐ ะบะพั‚ั‹ั€ะธััŒ ะฐะฝะฝะพะฝะฐ ัƒะฒั‚ั‹ั€ั‹ะฝ ั‚ะพั€ัŒั ะฒะธะด. ะ...`
| Vocab | Tokens | Count |
|-------|--------|-------|
| 8k | `โ–annona โ–asp l und iana โ–() โ–โ€” โ–ะฑั‹ะดะผะฐัััะทะปำงะฝ โ–ะฐะฝะฝะพะฝะฐ โ–ะบะพั‚ั‹ั€ะธััŒ ... (+9 more)` | 19 |
| 16k | `โ–annona โ–aspl und iana โ–() โ–โ€” โ–ะฑั‹ะดะผะฐัััะทะปำงะฝ โ–ะฐะฝะฝะพะฝะฐ โ–ะบะพั‚ั‹ั€ะธััŒ โ–ะฐะฝะฝะพะฝะฐ ... (+8 more)` | 18 |
| 32k | `โ–annona โ–asplundiana โ–() โ–โ€” โ–ะฑั‹ะดะผะฐัััะทะปำงะฝ โ–ะฐะฝะฝะพะฝะฐ โ–ะบะพั‚ั‹ั€ะธััŒ โ–ะฐะฝะฝะพะฝะฐ โ–ัƒะฒั‚ั‹ั€ั‹ะฝ โ–ั‚ะพั€ัŒั ... (+6 more)` | 16 |
| 64k | `โ–annona โ–asplundiana โ–() โ–โ€” โ–ะฑั‹ะดะผะฐัััะทะปำงะฝ โ–ะฐะฝะฝะพะฝะฐ โ–ะบะพั‚ั‹ั€ะธััŒ โ–ะฐะฝะฝะพะฝะฐ โ–ัƒะฒั‚ั‹ั€ั‹ะฝ โ–ั‚ะพั€ัŒั ... (+6 more)` | 16 |
**Sample 3:** `ะ—ะตะฟั‚ะฐะผัƒะบะฐะฝะฝะตะท () - ะทะตะฟั‚ะฐ ะฟะพะดะฐ ะกะธัั‚ะตะผะฐั‚ะธะบะฐ ะ›ัƒะฝะฒั‹ะฒ ะทะตะฟั‚ะฐะผัƒะบะฐะฝัŒ (Notoryctes typhlop...`
| Vocab | Tokens | Count |
|-------|--------|-------|
| 8k | `โ–ะทะตะฟั‚ะฐ ะผัƒ ะบะฐะฝะฝะตะท โ–() โ–- โ–ะทะตะฟั‚ะฐ โ–ะฟะพะดะฐ โ–ัะธัั‚ะตะผะฐั‚ะธะบะฐ โ–ะปัƒะฝะฒั‹ะฒ โ–ะทะตะฟั‚ะฐ ... (+27 more)` | 37 |
| 16k | `โ–ะทะตะฟั‚ะฐ ะผัƒะบะฐะฝะฝะตะท โ–() โ–- โ–ะทะตะฟั‚ะฐ โ–ะฟะพะดะฐ โ–ัะธัั‚ะตะผะฐั‚ะธะบะฐ โ–ะปัƒะฝะฒั‹ะฒ โ–ะทะตะฟั‚ะฐ ะผัƒ ... (+20 more)` | 30 |
| 32k | `โ–ะทะตะฟั‚ะฐะผัƒะบะฐะฝะฝะตะท โ–() โ–- โ–ะทะตะฟั‚ะฐ โ–ะฟะพะดะฐ โ–ัะธัั‚ะตะผะฐั‚ะธะบะฐ โ–ะปัƒะฝะฒั‹ะฒ โ–ะทะตะฟั‚ะฐะผัƒะบะฐะฝัŒ โ–( notoryctes ... (+13 more)` | 23 |
| 64k | `โ–ะทะตะฟั‚ะฐะผัƒะบะฐะฝะฝะตะท โ–() โ–- โ–ะทะตะฟั‚ะฐ โ–ะฟะพะดะฐ โ–ัะธัั‚ะตะผะฐั‚ะธะบะฐ โ–ะปัƒะฝะฒั‹ะฒ โ–ะทะตะฟั‚ะฐะผัƒะบะฐะฝัŒ โ–( notoryctes ... (+8 more)` | 18 |
### Key Findings
- **Best Compression:** 64k achieves 4.188x compression
- **Lowest UNK Rate:** 8k with 0.0990% unknown tokens
- **Trade-off:** Larger vocabularies improve compression but increase model size
- **Recommendation:** 32k vocabulary provides optimal balance for production use
---
## 2. N-gram Model Evaluation
![N-gram Perplexity](visualizations/ngram_perplexity.png)
![N-gram Unique](visualizations/ngram_unique.png)
![N-gram Coverage](visualizations/ngram_coverage.png)
### Results
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|--------|---------|------------|---------|----------------|------------------|-------------------|
| **2-gram** | Word | 2,251 | 11.14 | 6,246 | 30.0% | 65.4% |
| **2-gram** | Subword | 688 ๐Ÿ† | 9.43 | 3,126 | 40.6% | 95.6% |
| **3-gram** | Word | 2,425 | 11.24 | 7,894 | 31.4% | 64.7% |
| **3-gram** | Subword | 5,502 | 12.43 | 26,121 | 14.0% | 50.2% |
| **4-gram** | Word | 3,845 | 11.91 | 14,635 | 29.5% | 57.3% |
| **4-gram** | Subword | 22,040 | 14.43 | 109,182 | 8.3% | 30.1% |
| **5-gram** | Word | 2,942 | 11.52 | 11,597 | 33.2% | 61.2% |
| **5-gram** | Subword | 45,190 | 15.46 | 199,483 | 6.7% | 24.3% |
### Top 5 N-grams by Size
**2-grams (Word):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `ั‚ัƒะน ัƒะป` | 1,101 |
| 2 | `ั€ะตัะฟัƒะฑะปะธะบะธ ะบะพะผะธ` | 907 |
| 3 | `ะฝะธะผ ะนั‹ะปั–ััŒ` | 885 |
| 4 | `ะดะฐ ะฑั‹ั‚` | 778 |
| 5 | `ะบะพั‚ั‹ั€ะธััŒ ะฑั‹ะดะผะฐัััะท` | 768 |
**3-grams (Word):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ` | 688 |
| 2 | `ะฟะตั€ะตะผ ะปะฐะดะพั€ะธััŒ ะบะพะผะธ` | 648 |
| 3 | `ะฝะธะผ ะนั‹ะปั–ััŒ ะณะตะพะณั€ะฐั„ะธั` | 642 |
| 4 | `ะปะฐะดะพั€ะธััŒ ะบะพะผะธ ะบั‹ั‚ัˆั‹ะฝ` | 619 |
| 5 | `ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ` | 618 |
**4-grams (Word):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ` | 618 |
| 2 | `ะฟะตั€ะตะผ ะปะฐะดะพั€ะธััŒ ะบะพะผะธ ะบั‹ั‚ัˆั‹ะฝ` | 613 |
| 3 | `ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท` | 557 |
| 4 | `ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ` | 543 |
| 5 | `ะฟะตั€ะผัั†ะบะธะน ะฝะฐั†ะธะพะฝะฐะปัŒะฝั‹ะน ะพะบั€ัƒะณ ะผะพัะบะฒะฐ` | 497 |
**5-grams (Word):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท` | 543 |
| 2 | `ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ` | 543 |
| 3 | `ะบะพะผะธ ะฟะตั€ะผัั†ะบะธะน ะฝะฐั†ะธะพะฝะฐะปัŒะฝั‹ะน ะพะบั€ัƒะณ ะผะพัะบะฒะฐ` | 497 |
| 4 | `ะฟะตั€ะผัั†ะบะธะน ะฝะฐั†ะธะพะฝะฐะปัŒะฝั‹ะน ะพะบั€ัƒะณ ะผะพัะบะฒะฐ ะปะตะฝะธะฝะณั€ะฐะด` | 497 |
| 5 | `ะธัั‚ะพั€ะธั ะพั‚ะธั€ ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ` | 467 |
**2-grams (Subword):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `. _` | 42,699 |
| 2 | `_ ะบ` | 35,843 |
| 3 | `ะฐ _` | 26,811 |
| 4 | `, _` | 26,348 |
| 5 | `a _` | 25,171 |
**3-grams (Subword):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `_ ะบ ะพ` | 13,371 |
| 2 | `ั ัŒ _` | 9,563 |
| 3 | `i s _` | 8,088 |
| 4 | `i a _` | 7,916 |
| 5 | `ะบ ะพ ะผ` | 7,738 |
**4-grams (Subword):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `_ ะบ ะพ ะผ` | 7,266 |
| 2 | `ะบ ะพ ะผ ะธ` | 7,115 |
| 3 | `_ ะด ะฐ _` | 5,888 |
| 4 | `ะธ ั ัŒ _` | 5,139 |
| 5 | `ะพ ะผ ะธ _` | 4,261 |
**5-grams (Subword):**
| Rank | N-gram | Count |
|------|--------|-------|
| 1 | `_ ะบ ะพ ะผ ะธ` | 6,959 |
| 2 | `ะบ ะพ ะผ ะธ _` | 4,192 |
| 3 | `ั€ ะฐ ะน ะพ ะฝ` | 3,366 |
| 4 | `ั€ ะธ ั ัŒ _` | 3,221 |
| 5 | `_ ั€ ะฐ ะน ะพ` | 3,073 |
### Key Findings
- **Best Perplexity:** 2-gram (subword) with 688
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
- **Coverage:** Top-1000 patterns cover ~24% of corpus
- **Recommendation:** 4-gram or 5-gram for best predictive performance
---
## 3. Markov Chain Evaluation
![Markov Entropy](visualizations/markov_entropy.png)
![Markov Contexts](visualizations/markov_contexts.png)
![Markov Branching](visualizations/markov_branching.png)
### Results
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|---------|---------|-------------|------------|------------------|-----------------|----------------|
| **1** | Word | 0.6021 | 1.518 | 3.33 | 64,076 | 39.8% |
| **1** | Subword | 1.2840 | 2.435 | 10.66 | 598 | 0.0% |
| **2** | Word | 0.1331 | 1.097 | 1.27 | 212,941 | 86.7% |
| **2** | Subword | 1.1237 | 2.179 | 7.04 | 6,371 | 0.0% |
| **3** | Word | 0.0468 | 1.033 | 1.09 | 268,517 | 95.3% |
| **3** | Subword | 0.8991 | 1.865 | 4.10 | 44,806 | 10.1% |
| **4** | Word | 0.0247 ๐Ÿ† | 1.017 | 1.05 | 290,625 | 97.5% |
| **4** | Subword | 0.5751 | 1.490 | 2.34 | 183,679 | 42.5% |
### Generated Text Samples (Word-based)
Below are text samples generated from each word-based Markov chain model:
**Context Size 1:**
1. `ะบะพะผะธ ะบั‹ั‚ัˆั‹ะฝ ัŽััŒะฒะฐ ะผัƒะฝะธั†ะธะฟะฐะป ั€ะฐะนะพะฝ ะฟะพะฝะดะฐ ั‡ะพะผะพั€ั‹ั ะฝำงะฑำงั‚ำง ะฐััะธั ะฑะฐะธั‚ะฐะฝ ะบั‹ะฒะฒะตะท ะฒะฐั… ั…ะฐะฝั‚ั‹ ะผะฐะฝัะธะนัะบะพะณะพ ัะทั‹...`
2. `ะดะฐ ะฝะธะฟะฟะพะฝ sakhalin ะณะปะตะฝ ะบำงะท picea rubens anathallis jesupiorum anathallis abbreviata hopper a rich e...`
3. `ะธ ะบ ะถะฐะบะพะฒะฐ ะฑะธะฐั€ะผะธั ะฒ ะฒ ะฐะผะตั€ะธะบะฐะธััŒ sylvilagus graysoni ะบรถั‡ lepus ัƒะฒั‚ั‹ั€ะฒั‹ะฒ indolagus ั…ะฐะนะฝะฐะฝัŒ ะบรถั‡ lepus`
**Context Size 2:**
1. `ั‚ัƒะน ัƒะป ั†ะตะฝั‚ั€ะฐะปัŒะฝะฐั ะผะธั€ ั‚ัƒะน ัƒะป ะพะทะตั€ะฝะฐั ัƒะดะถะฐะปะฐะฝ ั‚ัƒะน ัƒะป ัะตะฒะตั€ะฝะฐั ั‹ะดะถั‹ั‚ ั‚ัƒะน ะดะฐ ัะพะฒะตั‚ ั‚ัƒะน ัƒะป`
2. `ั€ะตัะฟัƒะฑะปะธะบะธ ะบะพะผะธ ะผ ะดั€ะพั„ะฐ isbn ั€ะตัะฟัƒะฑะปะธะบะฐ ะบะพะผะธ ัะฝั†ะธะบะปะพะฟะตะดะธั ะฒ 3 ั… ั‚ะพะผะฐั… ัั‹ะบั‚ั‹ะฒะบะฐั€ ะบะพะผะธ ะบะฝ ะธะทะด ะฒะพ`
3. `ะฝะธะผ ะนั‹ะปั–ััŒ ะพัˆั‹ะฑั‹ะฝ ะธ ั€ะฐะดะพัั‚ะตะฒ ะฟะฐะฒะตะป ะผะธั…ะฐะนะปะพะฒะธั‡ ััŒำงั€ั‚ั– ะฟะพัะฐะด ะผะตัั‚ะฐั‹ะฝ ะฒำงะปั–ัำง ั‹ะดะถั‹ั‚ัั ั‹ะดะถั‹ั‚ ั‹ะฑะฑะตะท ะบั‹ั‚ำงะฝ ...`
**Context Size 3:**
1. `ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท ะบะพะผะธ ะฟะตั€ะผัั†ะบะธะน ะฐะฒั‚ะพะฝะพะผะฝั‹ะน ะพะบั€ัƒะณ ะฝะฐ ั€ัƒะฑะตะถะต ะฒะตะบะพะฒ ะบัƒะดั‹ะผะบะฐั€ isbn ะบ...`
2. `ะฟะตั€ะตะผ ะปะฐะดะพั€ะธััŒ ะบะพะผะธ ะบั‹ั‚ัˆั‹ะฝ ะบำงั‡ะปะฐะดะพั€ ั€ะฐะนะพะฝั–ััŒ ะบำงั‡ ะฟะพัะฐะดะผัƒั‹ะฝ ัƒั‡ำงั‚ะธะบ ะณั€ะตะทะด ะดะตั€ะตะฒะฝั ะพะดะทะถั‹ะบ ั‚ะฐั‚ำงะฝ ะฒำงะปั– ัั...`
3. `ะฝะธะผ ะนั‹ะปั–ััŒ ะณะตะพะณั€ะฐั„ะธั ั‚ัƒะนะตะท ะธัั‚ะพั€ะธั ะพั‚ะธั€ ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท ะฐั„ะฐะฝะฐััŒะตะฒ ะฐ ะฟ ั‚ะพะฟะพะฝะธะผะธั...`
**Context Size 4:**
1. `ะดะฐ ะฑั‹ั‚ ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท ะฐั„ะฐะฝะฐััŒะตะฒ ะฐ ะฟ ั‚ะพะฟะพะฝะธะผะธั ั€ะตัะฟัƒะฑะปะธะบะธ ะบะพะผะธ ัั‹ะบั‚ั‹ะฒะบะฐั€ ะบะพะผะธ ะบะฝ ะธะทะด ะฒ...`
2. `ะฟะตั€ะตะผ ะปะฐะดะพั€ะธััŒ ะบะพะผะธ ะบั‹ั‚ัˆั‹ะฝ ะธะฝัŒะฒะฐำง ัƒััะฝ ะธัั‹ะฒะปำงะฝ ัˆัƒะปัŒะณะฐ ะฒะพะถ ัŽั‹ัะปำงะฝ ะบัƒะทัั‹ั ะบะผ ะฑะฐััะตะนะฝั‹ั ะบะผ ั‹ะถะดะฐ ะฒะฐั‹ั ะนั‹...`
3. `ะบัƒะปัŒั‚ัƒั€ะฐ ะดะฐ ะพั€ะดั‡ะฐ ะปะฐะฝะดัˆะฐั„ั‚ั‚ัะท ะบะพะผะธ ะฟะตั€ะผัั†ะบะธะน ะฝะฐั†ะธะพะฝะฐะปัŒะฝั‹ะน ะพะบั€ัƒะณ ะผะพัะบะฒะฐ ะปะตะฝะธะฝะณั€ะฐะด ั‹ัั‚ั–ััะฝะฝัะท ั€ะฐะนะพะฝ`
### Generated Text Samples (Subword-based)
Below are text samples generated from each subword-based Markov chain model:
**Context Size 1:**
1. `_ะบำงัะตะฒะพะผะธะฝ,219_p`
2. `ะฐ.)_buna_ะปั‹ะฝ._th`
3. `ะพั‘ะฝั‚,_veranderia`
**Context Size 2:**
1. `._โ€”_ั‚ัƒะฒั‚ั‹ะฒ_ะฒั‹ะปั–_ัˆ`
2. `_ะบะพะปะธั_(fracencic`
3. `ะฐ_250_10,0_67.69,`
**Context Size 3:**
1. `_ะบะพะผะธ-ะฟะตั€ะผัŒ,_26:_5`
2. `ััŒ_ะผัƒัˆะตะฒ_ั‚ัƒัะปั–ัำง_ะบ`
3. `is_angrandropedia_`
**Context Size 4:**
1. `_ะบะพะผะธ-ะฟะตั€ะผัั†ะบะธะน_ัะทั‹`
2. `ะบะพะผะธ_ะบะฝะธะถะฝะพะต_ะฟะพะปะพะฒัŒ`
3. `_ะดะฐ_ะฑั‹ั‚_ะบัƒะปะฐั‡_ะตั€ัˆะพะฒ`
### Key Findings
- **Best Predictability:** Context-4 (word) with 97.5% predictability
- **Branching Factor:** Decreases with context size (more deterministic)
- **Memory Trade-off:** Larger contexts require more storage (183,679 contexts)
- **Recommendation:** Context-3 or Context-4 for text generation
---
## 4. Vocabulary Analysis
![Zipf's Law](visualizations/zipf_law.png)
![Top Words](visualizations/top20_words.png)
![Coverage Curve](visualizations/vocab_coverage.png)
### Statistics
| Metric | Value |
|--------|-------|
| Vocabulary Size | 22,928 |
| Total Tokens | 340,087 |
| Mean Frequency | 14.83 |
| Median Frequency | 3 |
| Frequency Std Dev | 91.92 |
### Most Common Words
| Rank | Word | Frequency |
|------|------|-----------|
| 1 | ะบะพะผะธ | 6,643 |
| 2 | ะดะฐ | 5,961 |
| 3 | ะธ | 2,497 |
| 4 | luer | 2,296 |
| 5 | ั‚ัƒะน | 2,096 |
| 6 | ะบะพั‚ั‹ั€ะธััŒ | 2,060 |
| 7 | j | 1,805 |
| 8 | ะฐ | 1,758 |
| 9 | isbn | 1,579 |
| 10 | ะพั‚ะธั€ | 1,559 |
### Least Common Words (from vocabulary)
| Rank | Word | Frequency |
|------|------|-----------|
| 1 | ัƒัั‚ะฐั€ | 2 |
| 2 | ะฒะธะดะทำงั‚ั‚ำงะณ | 2 |
| 3 | ะฐััะธะผะธะปะธั€ัƒะนั‚ั–ัำง | 2 |
| 4 | ะฑะตััะฐั€ะฐะฑะธัะธััŒ | 2 |
| 5 | ะผะพะปะดะฐะฒะฐะฝะตั† | 2 |
| 6 | ั€ัƒััะบำงะนะตะท | 2 |
| 7 | ั€ัƒัะธะฝัะบำงะน | 2 |
| 8 | ัั‚ะฝะพัะทั‹ั‡ะฝำงะน | 2 |
| 9 | ัั‚ะพะนะบะพัั‚ัŒั‹ั | 2 |
| 10 | ะฟั€ัƒั‚ััะฝัŒ | 2 |
### Zipf's Law Analysis
| Metric | Value |
|--------|-------|
| Zipf Coefficient | 1.0748 |
| Rยฒ (Goodness of Fit) | 0.991898 |
| Adherence Quality | **excellent** |
### Coverage Analysis
| Top N Words | Coverage |
|-------------|----------|
| Top 100 | 29.1% |
| Top 1,000 | 63.8% |
| Top 5,000 | 83.7% |
| Top 10,000 | 91.2% |
### Key Findings
- **Zipf Compliance:** Rยฒ=0.9919 indicates excellent adherence to Zipf's law
- **High Frequency Dominance:** Top 100 words cover 29.1% of corpus
- **Long Tail:** 12,928 words needed for remaining 8.8% coverage
---
## 5. Word Embeddings Evaluation
![Embedding Isotropy](visualizations/embedding_isotropy.png)
![Similarity Matrix](visualizations/embedding_similarity.png)
![t-SNE Words](visualizations/tsne_words.png)
![t-SNE Sentences](visualizations/tsne_sentences.png)
### 5.1 Cross-Lingual Alignment
![Alignment Quality](visualizations/embedding_alignment_quality.png)
![Multilingual t-SNE](visualizations/embedding_tsne_multilingual.png)
### 5.2 Model Comparison
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|-------|-----------|----------|------------------|---------------|----------------|
| **mono_32d** | 32 | 0.5442 ๐Ÿ† | 0.3839 | N/A | N/A |
| **mono_64d** | 64 | 0.1977 | 0.3890 | N/A | N/A |
| **mono_128d** | 128 | 0.0304 | 0.3721 | N/A | N/A |
| **aligned_32d** | 32 | 0.5442 | 0.3825 | 0.0160 | 0.1340 |
| **aligned_64d** | 64 | 0.1977 | 0.3794 | 0.0320 | 0.1740 |
| **aligned_128d** | 128 | 0.0304 | 0.3783 | 0.0520 | 0.2440 |
### Key Findings
- **Best Isotropy:** mono_32d with 0.5442 (more uniform distribution)
- **Semantic Density:** Average pairwise similarity of 0.3809. Lower values indicate better semantic separation.
- **Alignment Quality:** Aligned models achieve up to 5.2% R@1 in cross-lingual retrieval.
- **Recommendation:** 128d aligned for best cross-lingual performance
---
## 6. Morphological Analysis (Experimental)
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.
### 6.1 Productivity & Complexity
| Metric | Value | Interpretation | Recommendation |
|--------|-------|----------------|----------------|
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
| Idiomaticity Gap | **1.522** | High formulaic/idiomatic content | - |
### 6.2 Affix Inventory (Productive Units)
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.
#### Productive Prefixes
| Prefix | Examples |
|--------|----------|
| `-ะบ` | ะบะฐั€ะฟะพะผ, ะบั‹ะฒั‚ั‹ั‚ั‹ะฝ, ะบะฐะณั‹ั€ะณั‹ะฝ |
| `-ั` | ัะตะปะตะทะฝะธ, ัั„ะตั€ะต, ัะฐั€ะธะดะทำงะฝ |
| `-ะฟ` | ะฟั‹ั€ะฝั‹, ะฟะพะปะพะถะตะฝะฝั‘ั‹ะฝ, ะฟะพัะฐะดะดัะท |
| `-ะผ` | ะผะฐะนะบะพะฟ, ะผะพั€ั‚ั‹ั, ะผะธั‚ั€ะพะฒั‡ะธั‹ั |
| `-ะฒ` | ะฒะตะฒั‚ั‚ัŒำงัะฐำงััŒ, ะฒะธั‚, ะฒัƒะทะฐะปะฝั‹ |
| `-ะฐ` | ะฐั„ั€ะฐะผะพะผัƒะผ, ะฐะทะธัั‹ั, ะฐะฒั‚ะพะผะพะฑะธะปะปะตะท |
| `-ะบะพ` | ะบะพัะธะฝัะฐ, ะบะพะปะธัำง, ะบะพัะผะฐ |
| `-s` | spiculaea, schaueria, serapias |
#### Productive Suffixes
| Suffix | Examples |
|--------|----------|
| `-a` | spiculaea, proctoria, pileata |
| `-ะฝ` | ะฟะพะปะพะถะตะฝะฝั‘ั‹ะฝ, ัƒะฝะฐำงะฝ, ะฝัั‚ัะธะฝั‹ะฝ |
| `-ะฐ` | ะพะบะพั‚ะฐ, ะปั‹ะผะดะพั€ั‡ะฐั‡ะฐ, ะฟะพะดะพั€ะพะฒะฐ |
| `-s` | ursavus, cruciformis, cararensis |
| `-ัŒ` | ะฟะฐะฝั‚ะฐััŒ, ะฒะตะฒั‚ั‚ัŒำงัะฐำงััŒ, ะฑะพะปะธะฒะธัะธััŒ |
| `-is` | cruciformis, cararensis, atabapensis |
| `-ั‹ะฝ` | ะฟะพะปะพะถะตะฝะฝั‘ั‹ะฝ, ะฝัั‚ัะธะฝั‹ะฝ, ะบั‹ะฒั‚ั‹ั‚ั‹ะฝ |
| `-ััŒ` | ะฟะฐะฝั‚ะฐััŒ, ะฒะตะฒั‚ั‚ัŒำงัะฐำงััŒ, ะฑะพะปะธะฒะธัะธััŒ |
### 6.3 Bound Stems (Lexical Roots)
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.
| Stem | Cohesion | Substitutability | Examples |
|------|----------|------------------|----------|
| `anth` | 2.28x | 17 contexts | euanthe, anthrax, calanthe |
| `alli` | 2.17x | 19 contexts | dalli, ballii, allies |
| `ะฐะดะพั€` | 1.88x | 22 contexts | ะปะฐะดะพั€, ะฒะฐะดะพั€, ะปะฐะดะพั€ำง |
| `ั€ะตะทะด` | 1.97x | 15 contexts | ะณั€ะตะทะด, ะณั€ะตะทะดำง, ะณั€ะตะทะดะฐั |
| `ะพัะฐะด` | 1.99x | 14 contexts | ะฟะพัะฐะด, ะฟะพัะฐะดำง, ะฟะพัะฐะดั‹ะฝ |
| `ะฝะฝัะท` | 1.67x | 24 contexts | ะธะฝะฝัะท, ะฒะพะฝะฝัะท, ะปัƒะฝะฝัะท |
| `ensi` | 2.32x | 9 contexts | pensilis, loxensis, sinensis |
| `ะฐะนะพะฝ` | 1.86x | 16 contexts | ั€ะฐะนะพะฝ, ั€ะฐะนะพะฝะฐ, ั€ะฐะนะพะฝำง |
| `ะฒั‹ะปั‹` | 1.84x | 15 contexts | ะฒั‹ะปั‹ะฝ, ะฒั‹ะปั‹ั, ะฒั‹ะปั‹ะฝะฐ |
| `ะฟะพัะฐ` | 1.99x | 10 contexts | ะฟะพัะฐะด, ัะฟะพัะฐ, ะฟะพัะฐะดำง |
| `ัััะท` | 1.60x | 18 contexts | ะปะธัััะท, ะฟะพัััะท, ะผั‹ัััะท |
| `ะฒั‚ั‹ั€` | 1.83x | 12 contexts | ัƒะฒั‚ั‹ั€, ัƒะฒั‚ั‹ั€ำง, ะฒั‹ะฒั‚ั‹ั€ |
### 6.4 Affix Compatibility (Co-occurrence)
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
| Prefix | Suffix | Frequency | Examples |
|--------|--------|-----------|----------|
| `-s` | `-a` | 83 words | sertifera, sladeara |
| `-ะบ` | `-ะฝ` | 73 words | ะบั‹ะฒั‚ะฐะฝ, ะบะพั€ะตัั‹ะฝ |
| `-ะบ` | `-ะฐ` | 69 words | ะบัƒะปำงะผะฐ, ะบัƒะฟั€ำงัะบะฐ |
| `-ะฟ` | `-ะฝ` | 57 words | ะฟะพะปะธั‚ะธะบะฐั‹ะฝ, ะฟะพะปัŒัˆะฐั‹ะฝ |
| `-ั` | `-ะฐ` | 55 words | ัะฐะฒะบะธะฝะฐ, ัั‘ััŒะบะฐ |
| `-ะบ` | `-ัŒ` | 51 words | ะบะฐะดะดัะทััะฝัŒ, ะบะฐั€ะธััŒ |
| `-ะฒ` | `-ะฝ` | 49 words | ะฒะตะฒั‚ำงัำงะฝ, ะฒะพะปะตะนะฑะพะปำงะฝ |
| `-ะฟ` | `-ะฐ` | 49 words | ะฟะธั€ะตะฝะฐ, ะฟะตั‚ำงะผะฐ |
| `-s` | `-s` | 47 words | susanensis, sloths |
| `-ะผ` | `-ะฐ` | 47 words | ะผั‹ะปะฒะฐ, ะผะฐั€ะบัะฐ |
### 6.5 Recursive Morpheme Segmentation
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
| Word | Suggested Split | Confidence | Stem |
|------|-----------------|------------|------|
| carruthersii | **`carruther-s-ii`** | 7.5 | `s` |
| ะธะฝัั‚ะธั‚ัƒั‚ะฐั | **`ะธะฝัั‚ะธั‚ัƒั‚-ะฐ-ั`** | 7.5 | `ะฐ` |
| christieara | **`christie-a-ra`** | 7.5 | `a` |
| ะบะธะปะพะผะตั‚ั€ะฐัั | **`ะบะธะปะพะผะตั‚ั€ะฐ-ั-ั`** | 7.5 | `ั` |
| ะฒั‹ะปั‹ะฝะฐะฝะฐั | **`ะฒั‹ะปั‹ะฝะฐ-ะฝะฐ-ั`** | 6.0 | `ะฒั‹ะปั‹ะฝะฐ` |
| ะฐะผะตั€ะธะบะฐำงััŒ | **`ะฐะผะตั€ะธะบะฐ-ำง-ััŒ`** | 6.0 | `ะฐะผะตั€ะธะบะฐ` |
| ัะฝัำงั‚ั‡ำงะฝั‹ | **`ัะฝัำงั‚ั‡ำง-ะฝั‹`** | 4.5 | `ัะฝัำงั‚ั‡ำง` |
| ัั‚ั€ัƒะบั‚ัƒั€ะฐัะท | **`ัั‚ั€ัƒะบั‚ัƒั€ะฐ-ัะท`** | 4.5 | `ัั‚ั€ัƒะบั‚ัƒั€ะฐ` |
| ะพะบั€ัƒะถะบะพะผั‹ะฝ | **`ะพะบั€ัƒะถะบะพะผ-ั‹ะฝ`** | 4.5 | `ะพะบั€ัƒะถะบะพะผ` |
| ะบะพะปัŒั‡ั‡ำงะผะฐ | **`ะบะพะปัŒั‡ั‡ำงะผ-ะฐ`** | 4.5 | `ะบะพะปัŒั‡ั‡ำงะผ` |
| ำงั‚ัƒะฒั‚ั‡ำงะผั‹ะฝ | **`ำงั‚ัƒะฒั‚ั‡ำงะผ-ั‹ะฝ`** | 4.5 | `ำงั‚ัƒะฒั‚ั‡ำงะผ` |
| pacificum | **`pacific-um`** | 4.5 | `pacific` |
| ะบะพะผะผัƒะฝะฐั€ะพะฒ | **`ะบะพะผะผัƒะฝะฐั€-ะพะฒ`** | 4.5 | `ะบะพะผะผัƒะฝะฐั€` |
| anderssonii | **`andersson-ii`** | 4.5 | `andersson` |
| ั€ั‹ั‚ะฒั‹ะฒะปะฐะฝัŒั‹ะฝ | **`ั€ั‹ั‚ะฒั‹ะฒะปะฐะฝัŒ-ั‹ะฝ`** | 4.5 | `ั€ั‹ั‚ะฒั‹ะฒะปะฐะฝัŒ` |
### 6.6 Linguistic Interpretation
> **Automated Insight:**
The language Komi-Permyak shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
> **Note on Idiomaticity:** The high Idiomaticity Gap suggests a large number of frequent multi-word expressions or formulaic sequences that are statistically distinct from their component parts.
---
## 7. Summary & Recommendations
![Performance Dashboard](visualizations/performance_dashboard.png)
### Production Recommendations
| Component | Recommended | Rationale |
|-----------|-------------|-----------|
| Tokenizer | **64k BPE** | Best compression (4.19x) |
| N-gram | **2-gram** | Lowest perplexity (688) |
| Markov | **Context-4** | Highest predictability (97.5%) |
| Embeddings | **100d** | Balanced semantic capture and isotropy |
---
## Appendix: Metrics Glossary & Interpretation Guide
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
### Tokenizer Metrics
**Compression Ratio**
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
>
> *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.
>
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
**Average Token Length (Fertility)**
> *Definition:* Mean number of characters per token produced by the tokenizer.
>
> *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.
>
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
**Unknown Token Rate (OOV Rate)**
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
>
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
>
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
### N-gram Model Metrics
**Perplexity**
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
>
> *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.
>
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
**Entropy**
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
>
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
>
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
**Coverage (Top-K)**
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
>
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
>
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
### Markov Chain Metrics
**Average Entropy**
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
>
> *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).
>
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
**Branching Factor**
> *Definition:* Average number of unique next tokens observed for each context.
>
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
>
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
**Predictability**
> *Definition:* Derived metric: (1 - normalized_entropy) ร— 100%. Indicates how deterministic the model's predictions are.
>
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
>
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
### Vocabulary & Zipf's Law Metrics
**Zipf's Coefficient**
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
>
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
>
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
**Rยฒ (Coefficient of Determination)**
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
>
> *Intuition:* Rยฒ near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
>
> *What to seek:* Rยฒ > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
**Vocabulary Coverage**
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
>
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
>
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
### Word Embedding Metrics
**Isotropy**
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
>
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
>
> *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.
**Average Norm**
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
>
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
>
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
**Cosine Similarity**
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
>
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
>
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
**t-SNE Visualization**
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
>
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
>
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
### General Interpretation Guidelines
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
### Visualizations Index
| Visualization | Description |
|---------------|-------------|
| Tokenizer Compression | Compression ratios by vocabulary size |
| Tokenizer Fertility | Average token length by vocabulary |
| Tokenizer OOV | Unknown token rates |
| Tokenizer Total Tokens | Total tokens by vocabulary |
| N-gram Perplexity | Perplexity by n-gram size |
| N-gram Entropy | Entropy by n-gram size |
| N-gram Coverage | Top pattern coverage |
| N-gram Unique | Unique n-gram counts |
| Markov Entropy | Entropy by context size |
| Markov Branching | Branching factor by context |
| Markov Contexts | Unique context counts |
| Zipf's Law | Frequency-rank distribution with fit |
| Vocab Frequency | Word frequency distribution |
| Top 20 Words | Most frequent words |
| Vocab Coverage | Cumulative coverage curve |
| Embedding Isotropy | Vector space uniformity |
| Embedding Norms | Vector magnitude distribution |
| Embedding Similarity | Word similarity heatmap |
| Nearest Neighbors | Similar words for key terms |
| t-SNE Words | 2D word embedding visualization |
| t-SNE Sentences | 2D sentence embedding visualization |
| Position Encoding | Encoding method comparison |
| Model Sizes | Storage requirements |
| Performance Dashboard | Comprehensive performance overview |
---
## About This Project
### Data Source
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
### Project
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
### Maintainer
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
### Citation
If you use these models in your research, please cite:
```bibtex
@misc{wikilangs2025,
author = {Kamali, Omar},
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
year = {2025},
doi = {10.5281/zenodo.18073153},
publisher = {Zenodo},
url = {https://huggingface.co/wikilangs}
institution = {Omneity Labs}
}
```
### License
MIT License - Free for academic and commercial use.
### Links
- ๐ŸŒ Website: [wikilangs.org](https://wikilangs.org)
- ๐Ÿค— Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
- ๐Ÿ“Š Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
- ๐Ÿ‘ค Author: [Omar Kamali](https://huggingface.co/omarkamali)
- ๐Ÿค Sponsor: [Featherless AI](https://featherless.ai)
---
*Generated by Wikilangs Models Pipeline*
*Report Date: 2026-01-10 08:23:20*