Upload all models and assets for pi (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +6 -0
- README.md +755 -0
- models/embeddings/aligned/pi_128d.bin +3 -0
- models/embeddings/aligned/pi_128d.meta.json +1 -0
- models/embeddings/aligned/pi_128d.projection.npy +3 -0
- models/embeddings/aligned/pi_128d_metadata.json +8 -0
- models/embeddings/aligned/pi_32d.bin +3 -0
- models/embeddings/aligned/pi_32d.meta.json +1 -0
- models/embeddings/aligned/pi_32d.projection.npy +3 -0
- models/embeddings/aligned/pi_32d_metadata.json +8 -0
- models/embeddings/aligned/pi_64d.bin +3 -0
- models/embeddings/aligned/pi_64d.meta.json +1 -0
- models/embeddings/aligned/pi_64d.projection.npy +3 -0
- models/embeddings/aligned/pi_64d_metadata.json +8 -0
- models/embeddings/monolingual/pi_128d.bin +3 -0
- models/embeddings/monolingual/pi_128d.meta.json +1 -0
- models/embeddings/monolingual/pi_128d_metadata.json +16 -0
- models/embeddings/monolingual/pi_32d.bin +3 -0
- models/embeddings/monolingual/pi_32d.meta.json +1 -0
- models/embeddings/monolingual/pi_32d_metadata.json +16 -0
- models/embeddings/monolingual/pi_64d.bin +3 -0
- models/embeddings/monolingual/pi_64d.meta.json +1 -0
- models/embeddings/monolingual/pi_64d_metadata.json +16 -0
- models/subword_markov/pi_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/pi_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/pi_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/pi_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/pi_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/pi_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/pi_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/pi_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/pi_2gram_subword.parquet +3 -0
- models/subword_ngram/pi_2gram_subword_metadata.json +7 -0
- models/subword_ngram/pi_3gram_subword.parquet +3 -0
- models/subword_ngram/pi_3gram_subword_metadata.json +7 -0
- models/subword_ngram/pi_4gram_subword.parquet +3 -0
- models/subword_ngram/pi_4gram_subword_metadata.json +7 -0
- models/subword_ngram/pi_5gram_subword.parquet +3 -0
- models/subword_ngram/pi_5gram_subword_metadata.json +7 -0
- models/tokenizer/pi_tokenizer_8k.model +3 -0
- models/tokenizer/pi_tokenizer_8k.vocab +0 -0
- models/vocabulary/pi_vocabulary.parquet +3 -0
- models/vocabulary/pi_vocabulary_metadata.json +17 -0
- models/word_markov/pi_markov_ctx1_word.parquet +3 -0
- models/word_markov/pi_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/pi_markov_ctx2_word.parquet +3 -0
- models/word_markov/pi_markov_ctx2_word_metadata.json +7 -0
- models/word_markov/pi_markov_ctx3_word.parquet +3 -0
- models/word_markov/pi_markov_ctx3_word_metadata.json +7 -0
- models/word_markov/pi_markov_ctx4_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: pi
|
| 3 |
+
language_name: Pali
|
| 4 |
+
language_family: indoaryan_central
|
| 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-indoaryan_central
|
| 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: 2.300
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.0330
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-10
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Pali - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Pali** 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** | 2.300x 🏆 | 2.30 | 1.0840% | 94,738 |
|
| 94 |
+
|
| 95 |
+
### Tokenization Examples
|
| 96 |
+
|
| 97 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 98 |
+
|
| 99 |
+
**Sample 1:** `वलहि एका सनातन ग्राम अत्थि, ईमा पतिठ्ठापना अंतो सोरठ पदेश।`
|
| 100 |
+
|
| 101 |
+
| Vocab | Tokens | Count |
|
| 102 |
+
|-------|--------|-------|
|
| 103 |
+
| 8k | `▁वलहि ▁एका ▁सनातन ▁ग्राम ▁अत्थि , ▁ईमा ▁पतिठ्ठापना ▁अंतो ▁सोरठ ... (+2 more)` | 12 |
|
| 104 |
+
|
| 105 |
+
**Sample 2:** `+दक्षिण क्यारोलिनाSouth Carolina 125px 125px 300px संदरिभ`
|
| 106 |
+
|
| 107 |
+
| Vocab | Tokens | Count |
|
| 108 |
+
|-------|--------|-------|
|
| 109 |
+
| 8k | `▁+ दक्षिण ▁क्यारोलिना south ▁carolina ▁ 1 2 5 px ... (+11 more)` | 21 |
|
| 110 |
+
|
| 111 |
+
**Sample 3:** `+वासिंगटन डि सिWashington, D.C. 125px 125px 300px वासिंगटन डि सि अभिञ्ञाणा`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁+ वासिंगटन ▁डि ▁सि washington , ▁d . c . ... (+19 more)` | 29 |
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
### Key Findings
|
| 119 |
+
|
| 120 |
+
- **Best Compression:** 8k achieves 2.300x compression
|
| 121 |
+
- **Lowest UNK Rate:** 8k with 1.0840% unknown tokens
|
| 122 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 123 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
+
## 2. N-gram Model Evaluation
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
|
| 132 |
+

|
| 133 |
+
|
| 134 |
+
### Results
|
| 135 |
+
|
| 136 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 137 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 138 |
+
| **2-gram** | Word | 266 🏆 | 8.05 | 416 | 54.4% | 100.0% |
|
| 139 |
+
| **2-gram** | Subword | 827 | 9.69 | 2,901 | 42.1% | 88.9% |
|
| 140 |
+
| **3-gram** | Word | 349 | 8.45 | 534 | 49.9% | 100.0% |
|
| 141 |
+
| **3-gram** | Subword | 3,441 | 11.75 | 9,002 | 21.6% | 58.3% |
|
| 142 |
+
| **4-gram** | Word | 1,582 | 10.63 | 1,950 | 21.7% | 63.4% |
|
| 143 |
+
| **4-gram** | Subword | 8,498 | 13.05 | 20,231 | 15.6% | 40.0% |
|
| 144 |
+
| **5-gram** | Word | 1,377 | 10.43 | 1,660 | 22.3% | 68.6% |
|
| 145 |
+
| **5-gram** | Subword | 9,937 | 13.28 | 21,227 | 15.3% | 35.9% |
|
| 146 |
+
|
| 147 |
+
### Top 5 N-grams by Size
|
| 148 |
+
|
| 149 |
+
**2-grams (Word):**
|
| 150 |
+
|
| 151 |
+
| Rank | N-gram | Count |
|
| 152 |
+
|------|--------|-------|
|
| 153 |
+
| 1 | `प्रकाश स्तंभ` | 223 |
|
| 154 |
+
| 2 | `yā pana` | 189 |
|
| 155 |
+
| 3 | `pana bhikkhunī` | 187 |
|
| 156 |
+
| 4 | `टापू समूह` | 98 |
|
| 157 |
+
| 5 | `sikkhā karaṇīyā` | 75 |
|
| 158 |
+
|
| 159 |
+
**3-grams (Word):**
|
| 160 |
+
|
| 161 |
+
| Rank | N-gram | Count |
|
| 162 |
+
|------|--------|-------|
|
| 163 |
+
| 1 | `yā pana bhikkhunī` | 187 |
|
| 164 |
+
| 2 | `बालिआरिक टापू समूह` | 64 |
|
| 165 |
+
| 3 | `प्रकाश स्तंभ 120px` | 62 |
|
| 166 |
+
| 4 | `टापू समूह बालिआरिक` | 32 |
|
| 167 |
+
| 5 | `समूह बालिआरिक टापू` | 32 |
|
| 168 |
+
|
| 169 |
+
**4-grams (Word):**
|
| 170 |
+
|
| 171 |
+
| Rank | N-gram | Count |
|
| 172 |
+
|------|--------|-------|
|
| 173 |
+
| 1 | `बालिआरिक टापू समूह बालिआरिक` | 32 |
|
| 174 |
+
| 2 | `टापू समूह बालिआरिक टापू` | 32 |
|
| 175 |
+
| 3 | `समूह बालिआरिक टापू समूह` | 32 |
|
| 176 |
+
| 4 | `frameless upright 0 2` | 29 |
|
| 177 |
+
| 5 | `upright 0 2 link` | 25 |
|
| 178 |
+
|
| 179 |
+
**5-grams (Word):**
|
| 180 |
+
|
| 181 |
+
| Rank | N-gram | Count |
|
| 182 |
+
|------|--------|-------|
|
| 183 |
+
| 1 | `बालिआरिक टापू समूह बालिआरिक टापू` | 32 |
|
| 184 |
+
| 2 | `टापू समूह बालिआरिक टापू समूह` | 32 |
|
| 185 |
+
| 3 | `frameless upright 0 2 link` | 25 |
|
| 186 |
+
| 4 | `upright 0 2 link frameless` | 25 |
|
| 187 |
+
| 5 | `0 2 link frameless upright` | 25 |
|
| 188 |
+
|
| 189 |
+
**2-grams (Subword):**
|
| 190 |
+
|
| 191 |
+
| Rank | N-gram | Count |
|
| 192 |
+
|------|--------|-------|
|
| 193 |
+
| 1 | `a ṃ` | 1,530 |
|
| 194 |
+
| 2 | `, _` | 1,307 |
|
| 195 |
+
| 3 | `p a` | 1,306 |
|
| 196 |
+
| 4 | `ṃ _` | 1,294 |
|
| 197 |
+
| 5 | `ā _` | 1,256 |
|
| 198 |
+
|
| 199 |
+
**3-grams (Subword):**
|
| 200 |
+
|
| 201 |
+
| Rank | N-gram | Count |
|
| 202 |
+
|------|--------|-------|
|
| 203 |
+
| 1 | `a ṃ _` | 1,183 |
|
| 204 |
+
| 2 | `k k h` | 938 |
|
| 205 |
+
| 3 | `i k k` | 900 |
|
| 206 |
+
| 4 | `_ p a` | 621 |
|
| 207 |
+
| 5 | `_ b h` | 560 |
|
| 208 |
+
|
| 209 |
+
**4-grams (Subword):**
|
| 210 |
+
|
| 211 |
+
| Rank | N-gram | Count |
|
| 212 |
+
|------|--------|-------|
|
| 213 |
+
| 1 | `i k k h` | 881 |
|
| 214 |
+
| 2 | `_ b h i` | 455 |
|
| 215 |
+
| 3 | `b h i k` | 453 |
|
| 216 |
+
| 4 | `h i k k` | 453 |
|
| 217 |
+
| 5 | `k k h u` | 452 |
|
| 218 |
+
|
| 219 |
+
**5-grams (Subword):**
|
| 220 |
+
|
| 221 |
+
| Rank | N-gram | Count |
|
| 222 |
+
|------|--------|-------|
|
| 223 |
+
| 1 | `b h i k k` | 453 |
|
| 224 |
+
| 2 | `h i k k h` | 453 |
|
| 225 |
+
| 3 | `_ b h i k` | 450 |
|
| 226 |
+
| 4 | `i k k h u` | 449 |
|
| 227 |
+
| 5 | `k k h u n` | 436 |
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
### Key Findings
|
| 231 |
+
|
| 232 |
+
- **Best Perplexity:** 2-gram (word) with 266
|
| 233 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 234 |
+
- **Coverage:** Top-1000 patterns cover ~36% of corpus
|
| 235 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 236 |
+
|
| 237 |
+
---
|
| 238 |
+
## 3. Markov Chain Evaluation
|
| 239 |
+
|
| 240 |
+

|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
|
| 246 |
+
### Results
|
| 247 |
+
|
| 248 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 249 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 250 |
+
| **1** | Word | 0.4100 | 1.329 | 2.11 | 10,593 | 59.0% |
|
| 251 |
+
| **1** | Subword | 0.9525 | 1.935 | 6.62 | 2,113 | 4.7% |
|
| 252 |
+
| **2** | Word | 0.1078 | 1.078 | 1.17 | 22,259 | 89.2% |
|
| 253 |
+
| **2** | Subword | 0.4969 | 1.411 | 2.61 | 13,978 | 50.3% |
|
| 254 |
+
| **3** | Word | 0.0355 | 1.025 | 1.05 | 25,920 | 96.5% |
|
| 255 |
+
| **3** | Subword | 0.3495 | 1.274 | 1.73 | 36,519 | 65.0% |
|
| 256 |
+
| **4** | Word | 0.0185 🏆 | 1.013 | 1.03 | 27,208 | 98.1% |
|
| 257 |
+
| **4** | Subword | 0.1994 | 1.148 | 1.34 | 63,113 | 80.1% |
|
| 258 |
+
|
| 259 |
+
### Generated Text Samples (Word-based)
|
| 260 |
+
|
| 261 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 262 |
+
|
| 263 |
+
**Context Size 1:**
|
| 264 |
+
|
| 265 |
+
1. `है पूर्ण उदच्यते उत्पन्न होता है गले में किसी मनुष्य अथवा तकनीक है भ्रूण को पार`
|
| 266 |
+
2. `के समान ही रह जाता है उसके नीचे क्रमश देवकी और स्वभाव और बहुतों के थे`
|
| 267 |
+
3. `में लिखा गया है अंडा एक स्वतन्त्र एक कालाग्नि नामक एक एव बुद्धत्तं ति मञ्ञति सन्दब्भा`
|
| 268 |
+
|
| 269 |
+
**Context Size 2:**
|
| 270 |
+
|
| 271 |
+
1. `प्रकाश स्तंभ 120px आन्दलूसिया मालागा मारबिआ प्रकाश स्तंभ देल बाखो दे पोरतमान मूर्किया का कारतागेना ओ...`
|
| 272 |
+
2. `yā pana bhikkhunī nānappakārakaṃ kayavikkayaṃ samāpajjeyya nissaggiyaṃ pācittiyaṃ aññacetāpana sikkh...`
|
| 273 |
+
3. `pana bhikkhunī paripuṇṇavīsativassaṃ kumāribhūtaṃ dve vassāni chasu dhammesu sikkhitasikkhaṃ saṅghen...`
|
| 274 |
+
|
| 275 |
+
**Context Size 3:**
|
| 276 |
+
|
| 277 |
+
1. `yā pana bhikkhunī āsandiṃ vā pallaṅkaṃ vā paribhuñjeyya pācittiyaṃ suttakantanasikkhāpadaṃ 43 yā pan...`
|
| 278 |
+
2. `बालिआरिक टापू समूह इबिसा और फोरमैनतेरा तागोमागो प्रकाश स्तंभ बालिआरिक ���ापू समूह मेनोरका सिउतादेया प्...`
|
| 279 |
+
3. `प्रकाश स्तंभ 120px गालिसिया केप ओमे प्रकाश स्तंभ 120px बालिआरिक टापू समूह माखोरका केप गरोस प्रकाश स्...`
|
| 280 |
+
|
| 281 |
+
**Context Size 4:**
|
| 282 |
+
|
| 283 |
+
1. `समूह बालिआरिक टापू समूह इबिसा और फोरमैनतेरा पोएनसा प्रकाश स्तंभ बालिआरिक टापू समूह बालिआरिक टापू समू...`
|
| 284 |
+
2. `टापू समूह बालिआरिक टापू समूह माखोरका पोरतो कोलोम प्रकाश स्तंभ बालिआरिक टापू समूह बालिआरिक टापू समूह ...`
|
| 285 |
+
3. `बालिआरिक टापू समूह बालिआरिक टापू समूह माखोरका केप बलांक प्रकाश स्तंभ 120px बालिआरिक टापू समूह बालिआर...`
|
| 286 |
+
|
| 287 |
+
|
| 288 |
+
### Generated Text Samples (Subword-based)
|
| 289 |
+
|
| 290 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 291 |
+
|
| 292 |
+
**Context Size 1:**
|
| 293 |
+
|
| 294 |
+
1. `_paṃ,_सिक्खामकूपनेत्तिभ_र`
|
| 295 |
+
2. `aexy_स्तंभकी_o_sikki`
|
| 296 |
+
3. `i._कृष्णवासमूहम्_suṇat`
|
| 297 |
+
|
| 298 |
+
**Context Size 2:**
|
| 299 |
+
|
| 300 |
+
1. `aṃ_–_"आभीर_एका_शुभदर्शी`
|
| 301 |
+
2. `,_na_(कम्प्युटर_शून्य:_मिसि`
|
| 302 |
+
3. `padaṃ_pāṇijabaṇīy`
|
| 303 |
+
|
| 304 |
+
**Context Size 3:**
|
| 305 |
+
|
| 306 |
+
1. `aṃ_bhikkhuniyo_bhi`
|
| 307 |
+
2. `kkhuni_cells_theva`
|
| 308 |
+
3. `ikkhā_evamerittikk`
|
| 309 |
+
|
| 310 |
+
**Context Size 4:**
|
| 311 |
+
|
| 312 |
+
1. `ikkhāpadaṃ_43._yā_p`
|
| 313 |
+
2. `_bhikkhāpadaṃ_1._yā`
|
| 314 |
+
3. `hikkhā_kareyya_‘‘ap`
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
### Key Findings
|
| 318 |
+
|
| 319 |
+
- **Best Predictability:** Context-4 (word) with 98.1% predictability
|
| 320 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 321 |
+
- **Memory Trade-off:** Larger contexts require more storage (63,113 contexts)
|
| 322 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 323 |
+
|
| 324 |
+
---
|
| 325 |
+
## 4. Vocabulary Analysis
|
| 326 |
+
|
| 327 |
+

|
| 328 |
+
|
| 329 |
+

|
| 330 |
+
|
| 331 |
+

|
| 332 |
+
|
| 333 |
+
### Statistics
|
| 334 |
+
|
| 335 |
+
| Metric | Value |
|
| 336 |
+
|--------|-------|
|
| 337 |
+
| Vocabulary Size | 3,395 |
|
| 338 |
+
| Total Tokens | 23,559 |
|
| 339 |
+
| Mean Frequency | 6.94 |
|
| 340 |
+
| Median Frequency | 3 |
|
| 341 |
+
| Frequency Std Dev | 20.62 |
|
| 342 |
+
|
| 343 |
+
### Most Common Words
|
| 344 |
+
|
| 345 |
+
| Rank | Word | Frequency |
|
| 346 |
+
|------|------|-----------|
|
| 347 |
+
| 1 | है | 395 |
|
| 348 |
+
| 2 | के | 395 |
|
| 349 |
+
| 3 | में | 356 |
|
| 350 |
+
| 4 | vā | 314 |
|
| 351 |
+
| 5 | से | 276 |
|
| 352 |
+
| 6 | और | 265 |
|
| 353 |
+
| 7 | हैं | 261 |
|
| 354 |
+
| 8 | bhikkhunī | 254 |
|
| 355 |
+
| 9 | प्रकाश | 229 |
|
| 356 |
+
| 10 | स्तंभ | 224 |
|
| 357 |
+
|
| 358 |
+
### Least Common Words (from vocabulary)
|
| 359 |
+
|
| 360 |
+
| Rank | Word | Frequency |
|
| 361 |
+
|------|------|-----------|
|
| 362 |
+
| 1 | नामान्तरण | 2 |
|
| 363 |
+
| 2 | मिलाबट | 2 |
|
| 364 |
+
| 3 | घटनाओं | 2 |
|
| 365 |
+
| 4 | वेदिक | 2 |
|
| 366 |
+
| 5 | शबदस्स | 2 |
|
| 367 |
+
| 6 | दरुश | 2 |
|
| 368 |
+
| 7 | गरिंथात | 2 |
|
| 369 |
+
| 8 | अनूसार | 2 |
|
| 370 |
+
| 9 | करविन | 2 |
|
| 371 |
+
| 10 | हिंदू | 2 |
|
| 372 |
+
|
| 373 |
+
### Zipf's Law Analysis
|
| 374 |
+
|
| 375 |
+
| Metric | Value |
|
| 376 |
+
|--------|-------|
|
| 377 |
+
| Zipf Coefficient | 0.8293 |
|
| 378 |
+
| R² (Goodness of Fit) | 0.980447 |
|
| 379 |
+
| Adherence Quality | **excellent** |
|
| 380 |
+
|
| 381 |
+
### Coverage Analysis
|
| 382 |
+
|
| 383 |
+
| Top N Words | Coverage |
|
| 384 |
+
|-------------|----------|
|
| 385 |
+
| Top 100 | 37.8% |
|
| 386 |
+
| Top 1,000 | 75.0% |
|
| 387 |
+
| Top 5,000 | 0.0% |
|
| 388 |
+
| Top 10,000 | 0.0% |
|
| 389 |
+
|
| 390 |
+
### Key Findings
|
| 391 |
+
|
| 392 |
+
- **Zipf Compliance:** R²=0.9804 indicates excellent adherence to Zipf's law
|
| 393 |
+
- **High Frequency Dominance:** Top 100 words cover 37.8% of corpus
|
| 394 |
+
- **Long Tail:** -6,605 words needed for remaining 100.0% coverage
|
| 395 |
+
|
| 396 |
+
---
|
| 397 |
+
## 5. Word Embeddings Evaluation
|
| 398 |
+
|
| 399 |
+

|
| 400 |
+
|
| 401 |
+

|
| 402 |
+
|
| 403 |
+

|
| 404 |
+
|
| 405 |
+

|
| 406 |
+
|
| 407 |
+
|
| 408 |
+
### 5.1 Cross-Lingual Alignment
|
| 409 |
+
|
| 410 |
+

|
| 411 |
+
|
| 412 |
+

|
| 413 |
+
|
| 414 |
+
|
| 415 |
+
### 5.2 Model Comparison
|
| 416 |
+
|
| 417 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 418 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 419 |
+
| **mono_32d** | 32 | 0.0330 🏆 | 0.5234 | N/A | N/A |
|
| 420 |
+
| **mono_64d** | 64 | 0.0047 | 0.5510 | N/A | N/A |
|
| 421 |
+
| **mono_128d** | 128 | 0.0008 | 0.5621 | N/A | N/A |
|
| 422 |
+
| **aligned_32d** | 32 | 0.0330 | 0.5288 | 0.0240 | 0.1377 |
|
| 423 |
+
| **aligned_64d** | 64 | 0.0047 | 0.5520 | 0.0240 | 0.1257 |
|
| 424 |
+
| **aligned_128d** | 128 | 0.0008 | 0.5541 | 0.0180 | 0.1437 |
|
| 425 |
+
|
| 426 |
+
### Key Findings
|
| 427 |
+
|
| 428 |
+
- **Best Isotropy:** mono_32d with 0.0330 (more uniform distribution)
|
| 429 |
+
- **Semantic Density:** Average pairwise similarity of 0.5452. Lower values indicate better semantic separation.
|
| 430 |
+
- **Alignment Quality:** Aligned models achieve up to 2.4% R@1 in cross-lingual retrieval.
|
| 431 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 432 |
+
|
| 433 |
+
---
|
| 434 |
+
## 6. Morphological Analysis (Experimental)
|
| 435 |
+
|
| 436 |
+
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.
|
| 437 |
+
|
| 438 |
+
### 6.1 Productivity & Complexity
|
| 439 |
+
|
| 440 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 441 |
+
|--------|-------|----------------|----------------|
|
| 442 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 443 |
+
| Idiomaticity Gap | **0.910** | High formulaic/idiomatic content | - |
|
| 444 |
+
|
| 445 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 446 |
+
|
| 447 |
+
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.
|
| 448 |
+
|
| 449 |
+
#### Productive Prefixes
|
| 450 |
+
| Prefix | Examples |
|
| 451 |
+
|--------|----------|
|
| 452 |
+
| `-स` | सच्चानीति, स्टेम, संवाद |
|
| 453 |
+
| `-प` | प्रवृति, पाताल, प्रभुने |
|
| 454 |
+
| `-sa` | saṅghikaṃ, samayā, sambhuñjeyya |
|
| 455 |
+
| `-pa` | paṭiggahetabbaṃ, paṭisevato, pakkameyya |
|
| 456 |
+
| `-पर` | परिपूर्णतम, परायण, परवर्ती |
|
| 457 |
+
| `-an` | announcement, anniversary, and |
|
| 458 |
+
| `-vi` | via, vikappaṃ, vinassā |
|
| 459 |
+
| `-मह` | महावग्गो, महाविराट्के, महेश्वर |
|
| 460 |
+
|
| 461 |
+
#### Productive Suffixes
|
| 462 |
+
| Suffix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
| `-aṃ` | saṅghikaṃ, dhammaṃ, nālaṃ |
|
| 465 |
+
| `-ṃ` | saṅghikaṃ, dhammaṃ, nālaṃ |
|
| 466 |
+
| `-a` | wikimania, acchindāpeyya, uddhareyya |
|
| 467 |
+
| `-ya` | acchindāpeyya, uddhareyya, pakkameyya |
|
| 468 |
+
| `-ā` | vuccamānā, āpannā, cetāpetvā |
|
| 469 |
+
| `-na` | saññācikena, saṅghikena, dhammena |
|
| 470 |
+
| `-yo` | bhikkhuniyo, māyyāyo, ayyāyo |
|
| 471 |
+
| `-yā` | samayā, dubbalyā, karaṇīyā |
|
| 472 |
+
|
| 473 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 474 |
+
|
| 475 |
+
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.
|
| 476 |
+
|
| 477 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 478 |
+
|------|----------|------------------|----------|
|
| 479 |
+
| `eyya` | 1.78x | 8 contexts | seyyaṃ, cāveyya, kareyya |
|
| 480 |
+
| `ikkh` | 1.65x | 6 contexts | sikkhā, sikkhaṃ, bhikkhu |
|
| 481 |
+
| `kkhu` | 1.78x | 5 contexts | bhikkhu, bhikkhuṃ, bhikkhunī |
|
| 482 |
+
| `añña` | 1.76x | 3 contexts | aññaṃ, aññatra, anaññaṃ |
|
| 483 |
+
|
| 484 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 485 |
+
|
| 486 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 487 |
+
|
| 488 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 489 |
+
|--------|--------|-----------|----------|
|
| 490 |
+
| `-pa` | `-a` | 20 words | pakkameyya, paggaṇheyya |
|
| 491 |
+
| `-sa` | `-a` | 19 words | sambhuñjeyya, saññācikena |
|
| 492 |
+
| `-sa` | `-ṃ` | 15 words | saṅghikaṃ, saṅghādisesaṃ |
|
| 493 |
+
| `-pa` | `-ṃ` | 15 words | paṭiggahetabbaṃ, paraṃ |
|
| 494 |
+
| `-pa` | `-ya` | 14 words | pakkameyya, paggaṇheyya |
|
| 495 |
+
| `-sa` | `-aṃ` | 13 words | saṅghikaṃ, saṅghādisesaṃ |
|
| 496 |
+
| `-pa` | `-aṃ` | 12 words | paṭiggahetabbaṃ, paraṃ |
|
| 497 |
+
| `-sa` | `-ā` | 10 words | samayā, saṅghādisesā |
|
| 498 |
+
| `-vi` | `-a` | 8 words | via, vivekaññeva |
|
| 499 |
+
| `-sa` | `-ya` | 7 words | sambhuñjeyya, saṃvaṇṇeyya |
|
| 500 |
+
|
| 501 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 502 |
+
|
| 503 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 504 |
+
|
| 505 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 506 |
+
|------|-----------------|------------|------|
|
| 507 |
+
| communities | **`communi-ti-es`** | 3.0 | `communi` |
|
| 508 |
+
| ukkhittakāya | **`ukkhittak-ā-ya`** | 3.0 | `ukkhittak` |
|
| 509 |
+
| bhaginīnaṃ | **`bhaginīn-aṃ`** | 1.5 | `bhaginīn` |
|
| 510 |
+
| vūpasamāya | **`vūpasamā-ya`** | 1.5 | `vūpasamā` |
|
| 511 |
+
| ubbhatasmiṃ | **`ubbhatasmi-ṃ`** | 1.5 | `ubbhatasmi` |
|
| 512 |
+
| sahadhammena | **`sa-hadhammena`** | 1.5 | `hadhammena` |
|
| 513 |
+
| sattarasa | **`sattaras-a`** | 1.5 | `sattaras` |
|
| 514 |
+
| pañcakkhattuṃ | **`pañcakkhattu-ṃ`** | 1.5 | `pañcakkhattu` |
|
| 515 |
+
| dvattikkhattuṃ | **`dvattikkhattu-ṃ`** | 1.5 | `dvattikkhattu` |
|
| 516 |
+
| susaṃvutā | **`susaṃvut-ā`** | 1.5 | `susaṃvut` |
|
| 517 |
+
| सीहनादवग्गो | **`स-ीहनादवग्गो`** | 1.5 | `ीहनादवग्गो` |
|
| 518 |
+
| sannidhikārakaṃ | **`sannidhikārak-aṃ`** | 1.5 | `sannidhikārak` |
|
| 519 |
+
| pattavaggo | **`pa-ttavaggo`** | 1.5 | `ttavaggo` |
|
| 520 |
+
| desessāmīti | **`desessāmī-ti`** | 1.5 | `desessāmī` |
|
| 521 |
+
| सुत्तपिटक | **`स-ुत्तपिटक`** | 1.5 | `ुत��तपिटक` |
|
| 522 |
+
|
| 523 |
+
### 6.6 Linguistic Interpretation
|
| 524 |
+
|
| 525 |
+
> **Automated Insight:**
|
| 526 |
+
The language Pali shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 527 |
+
|
| 528 |
+
> **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.
|
| 529 |
+
|
| 530 |
+
---
|
| 531 |
+
## 7. Summary & Recommendations
|
| 532 |
+
|
| 533 |
+

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