Upload all models and assets for mni (latest)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +7 -0
- README.md +769 -0
- mni_morph_tokenizer.json +0 -0
- models/embeddings/aligned/mni_128d.bin +3 -0
- models/embeddings/aligned/mni_128d.meta.json +1 -0
- models/embeddings/aligned/mni_128d.projection.npy +3 -0
- models/embeddings/aligned/mni_128d_metadata.json +8 -0
- models/embeddings/aligned/mni_32d.bin +3 -0
- models/embeddings/aligned/mni_32d.meta.json +1 -0
- models/embeddings/aligned/mni_32d.projection.npy +3 -0
- models/embeddings/aligned/mni_32d_metadata.json +8 -0
- models/embeddings/aligned/mni_64d.bin +3 -0
- models/embeddings/aligned/mni_64d.meta.json +1 -0
- models/embeddings/aligned/mni_64d.projection.npy +3 -0
- models/embeddings/aligned/mni_64d_metadata.json +8 -0
- models/embeddings/monolingual/mni_128d.bin +3 -0
- models/embeddings/monolingual/mni_128d.meta.json +1 -0
- models/embeddings/monolingual/mni_128d_metadata.json +16 -0
- models/embeddings/monolingual/mni_32d.bin +3 -0
- models/embeddings/monolingual/mni_32d.meta.json +1 -0
- models/embeddings/monolingual/mni_32d_metadata.json +16 -0
- models/embeddings/monolingual/mni_64d.bin +3 -0
- models/embeddings/monolingual/mni_64d.meta.json +1 -0
- models/embeddings/monolingual/mni_64d_metadata.json +16 -0
- models/subword_markov/mni_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/mni_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/mni_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/mni_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/mni_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/mni_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/mni_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/mni_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/mni_2gram_subword.parquet +3 -0
- models/subword_ngram/mni_2gram_subword_metadata.json +7 -0
- models/subword_ngram/mni_3gram_subword.parquet +3 -0
- models/subword_ngram/mni_3gram_subword_metadata.json +7 -0
- models/subword_ngram/mni_4gram_subword.parquet +3 -0
- models/subword_ngram/mni_4gram_subword_metadata.json +7 -0
- models/subword_ngram/mni_5gram_subword.parquet +3 -0
- models/subword_ngram/mni_5gram_subword_metadata.json +7 -0
- models/tokenizer/mni_tokenizer_16k.model +3 -0
- models/tokenizer/mni_tokenizer_16k.vocab +0 -0
- models/tokenizer/mni_tokenizer_32k.model +3 -0
- models/tokenizer/mni_tokenizer_32k.vocab +0 -0
- models/tokenizer/mni_tokenizer_64k.model +3 -0
- models/tokenizer/mni_tokenizer_64k.vocab +0 -0
- models/tokenizer/mni_tokenizer_8k.model +3 -0
- models/tokenizer/mni_tokenizer_8k.vocab +0 -0
- models/vocabulary/mni_vocabulary.parquet +3 -0
- models/vocabulary/mni_vocabulary_metadata.json +17 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,769 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: mni
|
| 3 |
+
language_name: Manipuri
|
| 4 |
+
language_family: tibetoburman_other
|
| 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-tibetoburman_other
|
| 25 |
+
license: mit
|
| 26 |
+
library_name: wikilangs
|
| 27 |
+
pipeline_tag: text-generation
|
| 28 |
+
datasets:
|
| 29 |
+
- omarkamali/wikipedia-monthly
|
| 30 |
+
dataset_info:
|
| 31 |
+
name: wikipedia-monthly
|
| 32 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 33 |
+
metrics:
|
| 34 |
+
- name: best_compression_ratio
|
| 35 |
+
type: compression
|
| 36 |
+
value: 4.321
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.6424
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-10
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Manipuri - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Manipuri** Wikipedia data.
|
| 50 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 51 |
+
|
| 52 |
+
## 📋 Repository Contents
|
| 53 |
+
|
| 54 |
+
### Models & Assets
|
| 55 |
+
|
| 56 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 57 |
+
- N-gram models (2, 3, 4, 5-gram)
|
| 58 |
+
- Markov chains (context of 1, 2, 3, 4 and 5)
|
| 59 |
+
- Subword N-gram and Markov chains
|
| 60 |
+
- Embeddings in various sizes and dimensions (aligned and unaligned)
|
| 61 |
+
- Language Vocabulary
|
| 62 |
+
- Language Statistics
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
### Analysis and Evaluation
|
| 67 |
+
|
| 68 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 69 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
|
| 70 |
+
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 71 |
+
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 72 |
+
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 73 |
+
- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
|
| 74 |
+
- [7. Summary & Recommendations](#7-summary--recommendations)
|
| 75 |
+
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 76 |
+
- [Visualizations Index](#visualizations-index)
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
## 1. Tokenizer Evaluation
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
+
### Results
|
| 90 |
+
|
| 91 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 92 |
+
|------------|-------------|---------------|----------|--------------|
|
| 93 |
+
| **8k** | 3.393x | 3.40 | 0.2560% | 174,579 |
|
| 94 |
+
| **16k** | 3.741x | 3.75 | 0.2824% | 158,309 |
|
| 95 |
+
| **32k** | 4.017x | 4.02 | 0.3031% | 147,458 |
|
| 96 |
+
| **64k** | 4.321x 🏆 | 4.33 | 0.3261% | 137,077 |
|
| 97 |
+
|
| 98 |
+
### Tokenization Examples
|
| 99 |
+
|
| 100 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
+
|
| 102 |
+
**Sample 1:** `ꯂꯥꯢꯔꯤꯛ ꯄꯔꯤꯡ (ꯕꯨꯛ ꯁꯤꯔꯤꯁ) ꯑꯁꯤ ꯑꯉꯥꯡꯁꯤꯡꯒꯤ ꯂꯥꯢꯔꯤꯛꯁꯤꯡꯒꯤ ꯃꯅꯨꯡꯗꯒꯤ ꯑꯃꯅꯤ ꯫ ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ ꯃ...`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁ꯂꯥꯢꯔꯤꯛ ▁ꯄꯔꯤꯡ ▁( ꯕꯨꯛ ▁ꯁꯤꯔꯤꯁ ) ▁ꯑꯁꯤ ▁ꯑꯉꯥꯡꯁꯤꯡꯒꯤ ▁ꯂꯥꯢꯔꯤꯛꯁꯤꯡꯒꯤ ▁ꯃꯅꯨꯡꯗꯒꯤ ... (+7 more)` | 17 |
|
| 107 |
+
| 16k | `▁ꯂꯥꯢꯔꯤꯛ ▁ꯄꯔꯤꯡ ▁( ꯕꯨꯛ ▁ꯁꯤꯔꯤꯁ ) ▁ꯑꯁꯤ ▁ꯑꯉꯥꯡꯁꯤꯡꯒꯤ ▁ꯂꯥꯢꯔꯤꯛꯁꯤꯡꯒꯤ ▁ꯃꯅꯨꯡꯗꯒꯤ ... (+7 more)` | 17 |
|
| 108 |
+
| 32k | `▁ꯂꯥꯢꯔꯤꯛ ▁ꯄꯔꯤꯡ ▁( ꯕꯨꯛ ▁ꯁꯤꯔꯤꯁ ) ▁ꯑꯁꯤ ▁ꯑꯉꯥꯡꯁꯤꯡꯒꯤ ▁ꯂꯥꯢꯔꯤꯛꯁꯤꯡꯒꯤ ▁ꯃꯅꯨꯡꯗꯒꯤ ... (+7 more)` | 17 |
|
| 109 |
+
| 64k | `▁ꯂꯥꯢꯔꯤꯛ ▁ꯄꯔꯤꯡ ▁( ꯕꯨꯛ ▁ꯁꯤꯔꯤꯁ ) ▁ꯑꯁꯤ ▁ꯑꯉꯥꯡꯁꯤꯡꯒꯤ ▁ꯂꯥꯢꯔꯤꯛꯁꯤꯡꯒꯤ ▁ꯃꯅꯨꯡꯗꯒꯤ ... (+7 more)` | 17 |
|
| 110 |
+
|
| 111 |
+
**Sample 2:** `ꯃꯁꯤꯡ ꯑꯁꯤ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ꯫ ꯃꯁꯤꯗꯒꯤ ꯃꯁꯤꯡ ꯱ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯅꯤ꯫ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐ...`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁ꯃꯁꯤꯡ ▁ꯑꯁꯤ ▁ꯗꯒꯤ ▁ꯍꯦꯟꯅ ▁ꯆꯥꯎꯕ ▁ꯃꯁꯤꯡ ▁ꯑꯃꯅꯤ꯫ ▁ꯃꯁꯤꯗꯒꯤ ▁ꯃꯁꯤꯡ ▁꯱ ... (+11 more)` | 21 |
|
| 116 |
+
| 16k | `▁ꯃꯁꯤꯡ ▁ꯑꯁꯤ ▁ꯗꯒꯤ ▁ꯍꯦꯟꯅ ▁ꯆꯥꯎꯕ ▁ꯃꯁꯤꯡ ▁ꯑꯃꯅꯤ꯫ ▁ꯃꯁꯤꯗꯒꯤ ▁ꯃꯁꯤꯡ ▁꯱ ... (+11 more)` | 21 |
|
| 117 |
+
| 32k | `▁ꯃꯁꯤꯡ ▁ꯑꯁꯤ ▁ꯗꯒꯤ ▁ꯍꯦꯟꯅ ▁ꯆꯥꯎꯕ ▁ꯃꯁꯤꯡ ▁ꯑꯃꯅꯤ꯫ ▁ꯃꯁꯤꯗꯒꯤ ▁ꯃꯁꯤꯡ ▁꯱ ... (+11 more)` | 21 |
|
| 118 |
+
| 64k | `▁ꯃꯁꯤꯡ ▁ꯑꯁꯤ ▁ꯗꯒꯤ ▁ꯍꯦꯟꯅ ▁ꯆꯥꯎꯕ ▁ꯃꯁꯤꯡ ▁ꯑꯃꯅꯤ꯫ ▁ꯃꯁꯤꯗꯒꯤ ▁ꯃꯁꯤꯡ ▁꯱ ... (+11 more)` | 21 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `ꯑꯂꯤ ꯐꯥꯓꯜ ꯑꯁꯤ ꯏꯟꯗꯤꯌꯥꯒꯤ ꯍꯤꯟꯗꯤ ꯂꯣꯟꯒꯤ ꯕꯣꯜꯂꯤꯋꯨꯗ (ꯍꯤꯟꯗꯤ ꯃꯃꯤ ꯀꯨꯝꯃꯩ)ꯒꯤ ꯁꯛꯇꯝ ꯂꯥꯡꯕ ꯁꯤꯟꯂꯣꯢ ...`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁ꯑ ꯂꯤ ▁ꯐꯥ ꯓ ꯜ ▁ꯑꯁꯤ ▁ꯏꯟꯗꯤꯌꯥꯒꯤ ▁ꯍꯤꯟꯗꯤ ▁ꯂꯣꯟꯒꯤ ▁ꯕꯣꯜꯂꯤꯋꯨꯗ ... (+18 more)` | 28 |
|
| 125 |
+
| 16k | `▁ꯑꯂꯤ ▁ꯐꯥ ꯓ ꯜ ▁ꯑꯁꯤ ▁ꯏꯟꯗꯤꯌꯥꯒꯤ ▁ꯍꯤꯟꯗꯤ ▁ꯂꯣꯟꯒꯤ ▁ꯕꯣꯜꯂꯤꯋꯨꯗ ▁( ... (+17 more)` | 27 |
|
| 126 |
+
| 32k | `▁ꯑꯂꯤ ▁ꯐꯥ ꯓ ꯜ ▁ꯑꯁꯤ ▁ꯏꯟꯗꯤꯌꯥꯒꯤ ▁ꯍꯤꯟꯗꯤ ▁ꯂꯣꯟꯒꯤ ▁ꯕꯣꯜꯂꯤꯋꯨꯗ ▁( ... (+17 more)` | 27 |
|
| 127 |
+
| 64k | `▁ꯑꯂꯤ ▁ꯐꯥꯓꯜ ▁ꯑꯁꯤ ▁ꯏꯟꯗꯤꯌꯥꯒꯤ ▁ꯍꯤꯟꯗꯤ ▁ꯂꯣꯟꯒꯤ ▁ꯕꯣꯜꯂꯤꯋꯨꯗ ▁( ꯍꯤꯟꯗꯤ ▁ꯃꯃꯤ ... (+15 more)` | 25 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 4.321x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.2560% unknown tokens
|
| 134 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 135 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
## 2. N-gram Model Evaluation
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+
### Results
|
| 147 |
+
|
| 148 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 149 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 150 |
+
| **2-gram** | Word | 1,742 | 10.77 | 10,310 | 35.2% | 72.4% |
|
| 151 |
+
| **2-gram** | Subword | 1,226 🏆 | 10.26 | 15,112 | 41.9% | 79.3% |
|
| 152 |
+
| **3-gram** | Word | 1,239 | 10.28 | 9,547 | 36.7% | 82.6% |
|
| 153 |
+
| **3-gram** | Subword | 7,080 | 12.79 | 65,488 | 23.1% | 50.6% |
|
| 154 |
+
| **4-gram** | Word | 1,700 | 10.73 | 18,256 | 32.5% | 80.1% |
|
| 155 |
+
| **4-gram** | Subword | 22,325 | 14.45 | 195,890 | 16.2% | 37.5% |
|
| 156 |
+
| **5-gram** | Word | 1,478 | 10.53 | 14,280 | 31.6% | 83.2% |
|
| 157 |
+
| **5-gram** | Subword | 35,425 | 15.11 | 266,503 | 14.0% | 33.1% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ` | 9,094 |
|
| 166 |
+
| 2 | `ꯃꯁꯤꯡ ꯑꯁꯤ` | 6,658 |
|
| 167 |
+
| 3 | `ꯆꯥꯎꯕ ꯃꯁꯤꯡ` | 5,847 |
|
| 168 |
+
| 4 | `ꯍꯦꯟꯅ ꯆꯥꯎꯕ` | 5,424 |
|
| 169 |
+
| 5 | `ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ` | 4,237 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ` | 5,408 |
|
| 176 |
+
| 2 | `ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ` | 4,147 |
|
| 177 |
+
| 3 | `ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ` | 3,732 |
|
| 178 |
+
| 4 | `ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ` | 3,724 |
|
| 179 |
+
| 5 | `ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ` | 2,348 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ` | 4,146 |
|
| 186 |
+
| 2 | `ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ` | 3,723 |
|
| 187 |
+
| 3 | `ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ` | 2,348 |
|
| 188 |
+
| 4 | `ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ` | 2,348 |
|
| 189 |
+
| 5 | `ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ` | 1,590 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ` | 2,348 |
|
| 196 |
+
| 2 | `ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ` | 2,348 |
|
| 197 |
+
| 3 | `ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ` | 1,585 |
|
| 198 |
+
| 4 | `ꯑꯁꯤ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ` | 1,585 |
|
| 199 |
+
| 5 | `ꯃꯁꯤꯡ ꯑꯁꯤ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ` | 1,582 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `_ ꯃ` | 104,012 |
|
| 206 |
+
| 2 | `_ ꯑ` | 89,663 |
|
| 207 |
+
| 3 | `ꯡ _` | 60,916 |
|
| 208 |
+
| 4 | `ꯒꯤ _` | 53,149 |
|
| 209 |
+
| 5 | `ꯁꯤ ꯡ` | 47,278 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `_ ꯑ ꯃ` | 33,170 |
|
| 216 |
+
| 2 | `_ ꯃ ꯁꯤ` | 28,206 |
|
| 217 |
+
| 3 | `ꯁꯤ ꯡ _` | 26,827 |
|
| 218 |
+
| 4 | `_ ꯑ ꯁꯤ` | 22,140 |
|
| 219 |
+
| 5 | `ꯃ ꯁꯤ ꯡ` | 19,797 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ ꯑ ꯁꯤ _` | 18,348 |
|
| 226 |
+
| 2 | `_ ꯃ ꯁꯤ ꯡ` | 16,785 |
|
| 227 |
+
| 3 | `ꯃ ꯁꯤ ꯡ _` | 16,509 |
|
| 228 |
+
| 4 | `ꯁꯤ ꯡ _ ꯑ` | 14,961 |
|
| 229 |
+
| 5 | `_ ꯑ ꯃ ꯅꯤ` | 11,342 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ ꯃ ꯁꯤ ꯡ _` | 13,768 |
|
| 236 |
+
| 2 | `ꯃ ꯁꯤ ꯡ _ ꯑ` | 11,210 |
|
| 237 |
+
| 3 | `ꯑ ꯃ ꯁꯨ ꯡ _` | 10,162 |
|
| 238 |
+
| 4 | `_ ꯑ ꯃ ꯁꯨ ꯡ` | 10,153 |
|
| 239 |
+
| 5 | `_ ꯃ ꯇꯦ ꯡ _` | 9,972 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 1,226
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~33% of corpus
|
| 247 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 248 |
+
|
| 249 |
+
---
|
| 250 |
+
## 3. Markov Chain Evaluation
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
|
| 258 |
+
### Results
|
| 259 |
+
|
| 260 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 261 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 262 |
+
| **1** | Word | 0.7036 | 1.629 | 3.89 | 86,410 | 29.6% |
|
| 263 |
+
| **1** | Subword | 1.2295 | 2.345 | 13.46 | 2,717 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.1754 | 1.129 | 1.33 | 335,779 | 82.5% |
|
| 265 |
+
| **2** | Subword | 0.8032 | 1.745 | 4.49 | 36,564 | 19.7% |
|
| 266 |
+
| **3** | Word | 0.0432 | 1.030 | 1.06 | 446,350 | 95.7% |
|
| 267 |
+
| **3** | Subword | 0.5398 | 1.454 | 2.69 | 164,127 | 46.0% |
|
| 268 |
+
| **4** | Word | 0.0126 🏆 | 1.009 | 1.02 | 471,596 | 98.7% |
|
| 269 |
+
| **4** | Subword | 0.3671 | 1.290 | 1.81 | 440,820 | 63.3% |
|
| 270 |
+
|
| 271 |
+
### Generated Text Samples (Word-based)
|
| 272 |
+
|
| 273 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 274 |
+
|
| 275 |
+
**Context Size 1:**
|
| 276 |
+
|
| 277 |
+
1. `ꯑꯁꯤ ꯕꯤ ꯗꯤ ꯑꯦꯂꯦꯝꯕꯔꯇꯀꯤ ꯑꯦꯟꯁꯥꯏꯛꯂꯣꯄꯤꯗꯤ ꯑꯃꯁꯨꯡ ꯂꯂꯣꯟ ꯏꯇꯤꯛ ꯇꯧꯅꯕꯥ ꯅꯥꯠꯀꯤ ꯑꯣꯏꯕ ꯋꯥꯊꯣꯛ ꯂꯝꯖꯤꯡ ꯂꯝꯇꯥꯛꯄ ꯑꯗꯨꯗꯤ ꯑꯍꯨꯝꯁꯨꯕ`
|
| 278 |
+
2. `ꯃꯁꯤꯡ ꯍꯥꯏꯄꯇꯤ ꯆꯩꯁꯤꯡ ꯃꯁꯤꯡ ꯑꯃꯅꯦ ꯃꯊꯪꯀꯤ ꯃꯁꯤꯡ ꯸꯹꯹ ꯐꯥꯎꯕ ꯂꯩꯕ ꯆꯩꯁꯤꯡ ꯑꯁꯤ ꯃꯤꯇꯩꯀꯤ ꯆꯩꯁꯤꯡ ꯏꯌꯦꯛꯅ ꯁꯦꯝꯄꯅꯦ`
|
| 279 |
+
3. `ꯑꯃꯅꯤ ꯃꯁꯤꯗꯒꯤ ꯃꯁꯤꯡ ꯍꯥꯏꯄꯇꯤ ꯆꯩꯁꯤꯡ ꯏꯌꯦꯛꯅ ꯁꯦꯝꯄꯅꯤ ꯃꯁꯤꯡ ꯸꯰꯰ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯃꯄꯥꯟꯒ ꯁꯝꯅꯕꯁꯤꯡ out in ukrainian`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯃꯃꯤ ꯀꯨꯝꯃꯩ ꯁꯛꯇꯝ ꯂꯥꯡꯕꯤ ꯑꯣꯢꯈꯤ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯏꯁꯩꯁꯤꯡ`
|
| 284 |
+
2. `ꯃꯁꯤꯡ ꯑꯁꯤ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ ꯃꯁꯤꯡ ꯑꯁꯤ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯅꯤ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ`
|
| 285 |
+
3. `ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯅꯤ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯗ ꯌꯦꯡꯂꯗꯤ ꯃꯁꯤꯡ ꯑꯁꯤ ꯃꯤꯇꯩꯀꯤ ꯆꯩꯁꯤꯡ ꯏꯌꯦꯛꯅ ꯁꯦꯝꯄꯅꯦ ꯃꯁꯤꯡ ꯑꯁꯤ`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ ꯀꯥꯈꯟ ꯴ ꯂꯩꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ ꯃꯁꯤꯁꯨ`
|
| 290 |
+
2. `ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯂꯥꯢꯔꯤꯛꯁꯤꯡ khamlangba erengba puwaree neinarol by yaima lamgdum kakching ha...`
|
| 291 |
+
3. `ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯄꯅꯥꯁꯤꯡ ꯄꯅꯥ`
|
| 292 |
+
|
| 293 |
+
**Context Size 4:**
|
| 294 |
+
|
| 295 |
+
1. `ꯃꯁꯤꯁꯨ ꯌꯦꯡꯕꯤꯌꯨ ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯃꯌꯥꯝꯒꯤ ꯑꯁꯨꯞꯄ ꯆꯠꯅ ꯀꯥꯡꯂꯣꯟꯁꯤꯡ`
|
| 296 |
+
2. `ꯃꯇꯦꯡ ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ ꯃꯁꯤꯗꯒꯤ ꯃꯁꯤꯡ ꯱ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯅꯤ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯗ ꯌꯦꯡꯂꯗꯤ`
|
| 297 |
+
3. `ꯂꯧꯔꯛꯐꯝ ꯗꯒꯤ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯑꯃꯅꯤ ꯃꯁꯤꯗꯒꯤ ꯃꯁꯤꯡ ꯱ ꯍꯦꯟꯅ ꯆꯥꯎꯕ ꯃꯁꯤꯡ ꯗꯤ ꯅꯤ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯆꯩꯁꯤꯡꯂꯣꯟ ꯗ ꯌꯦꯡꯂꯗꯤ ꯃꯁꯤꯡ`
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
### Generated Text Samples (Subword-based)
|
| 301 |
+
|
| 302 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 303 |
+
|
| 304 |
+
**Context Size 1:**
|
| 305 |
+
|
| 306 |
+
1. `_꯱_ꯂꯧꯁꯤꯅ_ꯑꯃꯁꯤꯡꯄꯤ_ꯅꯣꯐ_`
|
| 307 |
+
2. `ꯃꯆꯠꯇꯦꯝꯊꯣꯛꯀꯤ_ꯃꯗꯤꯂꯣꯟ_ꯃꯛ`
|
| 308 |
+
3. `ꯡ_ꯃꯥ_ꯐꯣꯟ_ꯆꯥꯎꯆꯦꯟꯅꯔꯤꯕ_ꯆꯥ`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `_ꯃꯌꯦꯛꯇꯤ_"le_phe_ger`
|
| 313 |
+
2. `_ꯑꯁꯤ_ꯑꯣꯗꯤꯁꯤꯡꯒꯤ_ꯍꯧꯔꯀꯈꯤ_꯫_`
|
| 314 |
+
3. `ꯡ_ꯑꯆꯧꯄ_ꯀꯪꯂꯩꯄꯥꯛ_ꯑꯃꯃꯁꯤꯁꯨ_`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `_ꯑꯃꯁꯨ_ꯌꯦꯡꯕꯤꯌꯨ_ꯃꯇꯦꯡ_ꯂꯧꯔꯛꯐ`
|
| 319 |
+
2. `_ꯃꯁꯤꯁꯨ_ꯌꯦꯡꯉꯨ_꯴꯰_(ꯆꯥꯍꯨꯝ_(`
|
| 320 |
+
3. `ꯁꯤꯡ_ꯑꯃꯗꯒꯤ_ꯃꯍꯨꯠꯇ,_ꯍꯦꯗꯤꯁꯇ`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `_ꯑꯁꯤ_ꯑꯆꯧꯕ_ꯑꯆꯥꯄꯣꯠ_ꯑꯃꯗꯥ_ꯑꯣꯄꯦ`
|
| 325 |
+
2. `ꯃꯁꯤꯡ_ꯑꯣꯏꯅ_ꯊꯝꯕ_ꯌꯥꯏ,_ꯃꯅꯥ-`
|
| 326 |
+
3. `ꯁꯤꯡ_ꯑꯁꯤꯁꯨ_ꯌꯥꯝꯅ_ꯁꯨꯔꯨꯡꯁꯤꯡꯗ_ꯅ`
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Key Findings
|
| 330 |
+
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 98.7% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (440,820 contexts)
|
| 334 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
+
|
| 336 |
+
---
|
| 337 |
+
## 4. Vocabulary Analysis
|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
|
| 345 |
+
### Statistics
|
| 346 |
+
|
| 347 |
+
| Metric | Value |
|
| 348 |
+
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 35,928 |
|
| 350 |
+
| Total Tokens | 676,105 |
|
| 351 |
+
| Mean Frequency | 18.82 |
|
| 352 |
+
| Median Frequency | 3 |
|
| 353 |
+
| Frequency Std Dev | 209.83 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | ꯃꯁꯤꯡ | 18,949 |
|
| 360 |
+
| 2 | ꯑꯁꯤ | 18,391 |
|
| 361 |
+
| 3 | ꯑꯃꯅꯤ | 11,341 |
|
| 362 |
+
| 4 | ꯑꯃꯁꯨꯡ | 10,185 |
|
| 363 |
+
| 5 | ꯃꯇꯦꯡ | 10,150 |
|
| 364 |
+
| 6 | ꯂꯧꯔꯛꯐꯝ | 9,121 |
|
| 365 |
+
| 7 | ꯍꯦꯟꯅ | 6,892 |
|
| 366 |
+
| 8 | ꯆꯥꯎꯕ | 6,104 |
|
| 367 |
+
| 9 | ꯃꯁꯤꯁꯨ | 5,695 |
|
| 368 |
+
| 10 | ꯌꯦꯡꯕꯤꯌꯨ | 4,565 |
|
| 369 |
+
|
| 370 |
+
### Least Common Words (from vocabulary)
|
| 371 |
+
|
| 372 |
+
| Rank | Word | Frequency |
|
| 373 |
+
|------|------|-----------|
|
| 374 |
+
| 1 | ꯖꯡꯁꯟ | 2 |
|
| 375 |
+
| 2 | ꯁ꯭ꯀꯣꯜꯀꯣꯞ | 2 |
|
| 376 |
+
| 3 | ꯃꯥꯏꯀ꯭ꯔꯣꯋꯦꯚ | 2 |
|
| 377 |
+
| 4 | ꯁ꯭ꯋꯔꯠ | 2 |
|
| 378 |
+
| 5 | ꯃꯤꯆꯤꯌꯁ | 2 |
|
| 379 |
+
| 6 | ꯅꯥꯀꯃꯨꯔꯥ | 2 |
|
| 380 |
+
| 7 | ꯁꯔꯀ꯭ꯌꯨꯠ | 2 |
|
| 381 |
+
| 8 | ꯇꯟꯅꯦꯂꯤꯡ | 2 |
|
| 382 |
+
| 9 | ꯁꯥꯏꯀꯃꯣꯔ | 2 |
|
| 383 |
+
| 10 | ꯗꯦꯕꯥꯏꯁ | 2 |
|
| 384 |
+
|
| 385 |
+
### Zipf's Law Analysis
|
| 386 |
+
|
| 387 |
+
| Metric | Value |
|
| 388 |
+
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.0805 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.996289 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 35.5% |
|
| 398 |
+
| Top 1,000 | 65.4% |
|
| 399 |
+
| Top 5,000 | 82.5% |
|
| 400 |
+
| Top 10,000 | 88.9% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9963 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 35.5% of corpus
|
| 406 |
+
- **Long Tail:** 25,928 words needed for remaining 11.1% coverage
|
| 407 |
+
|
| 408 |
+
---
|
| 409 |
+
## 5. Word Embeddings Evaluation
|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
|
| 417 |
+

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

|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
|
| 426 |
+
|
| 427 |
+
### 5.2 Model Comparison
|
| 428 |
+
|
| 429 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 430 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 431 |
+
| **mono_32d** | 32 | 0.6424 | 0.3709 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.3014 | 0.3657 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.0542 | 0.3495 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.6424 🏆 | 0.3667 | 0.0080 | 0.0540 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.3014 | 0.3759 | 0.0060 | 0.0480 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.0542 | 0.3530 | 0.0040 | 0.0620 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** aligned_32d with 0.6424 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.3636. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 0.8% R@1 in cross-lingual retrieval.
|
| 443 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
+
|
| 445 |
+
---
|
| 446 |
+
## 6. Morphological Analysis (Experimental)
|
| 447 |
+
|
| 448 |
+
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
+
|
| 450 |
+
### 6.1 Productivity & Complexity
|
| 451 |
+
|
| 452 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
+
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **1.511** | High formulaic/idiomatic content | - |
|
| 456 |
+
|
| 457 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
+
|
| 459 |
+
These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
|
| 460 |
+
|
| 461 |
+
#### Productive Prefixes
|
| 462 |
+
| Prefix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
| `-ꯑ` | ꯑꯜꯒꯥ, ꯑꯍꯨꯃꯁꯨꯕꯥ, ꯑꯣꯢꯕꯤ |
|
| 465 |
+
| `-ꯃ` | ꯃꯄꯨꯔꯣꯏꯕꯅ, ꯃꯤꯠꯅꯥ, ꯃꯔꯨꯞꯁꯤꯡꯅ |
|
| 466 |
+
| `-ꯁ` | ꯁꯥꯗ꯭ꯗꯥꯝꯕꯨ, ꯁ꯭ꯇꯥꯝꯞ, ꯁ꯭ꯇꯥꯐ |
|
| 467 |
+
| `-ꯂ` | ꯂꯩꯔꯝꯕ, ꯂꯤꯊ꯭ꯋꯥꯅꯤꯌꯥꯟ, ꯂꯥꯟꯃꯤꯒꯤ |
|
| 468 |
+
| `-ꯀ` | ꯀꯧꯁꯤꯀꯥ, ꯀꯥꯡꯕ, ꯀꯅꯕꯤꯒꯅꯤ |
|
| 469 |
+
| `-ꯄ` | ꯄꯨꯔꯥꯛꯂꯦ, ꯄꯤꯖꯕ, ꯄꯦꯒꯦꯠ |
|
| 470 |
+
| `-ꯍ` | ꯍꯧꯖꯤꯛꯁꯨ, ꯍꯨꯝꯐꯨꯇꯔꯥꯍꯨꯝꯊꯣꯏ, ꯍꯣꯡꯗꯣꯛꯇꯨꯅ |
|
| 471 |
+
| `-ꯇ` | ꯇꯥꯛꯅꯕꯒꯤ, ꯇꯃꯊꯤꯕꯥ, ꯇꯪꯈꯥꯏꯗꯥ |
|
| 472 |
+
|
| 473 |
+
#### Productive Suffixes
|
| 474 |
+
| Suffix | Examples |
|
| 475 |
+
|--------|----------|
|
| 476 |
+
| `-ꯡ` | ꯈꯣꯡ, ꯆꯤꯊꯤꯁꯤꯡ, ꯇꯃꯦꯡꯂꯣꯡ |
|
| 477 |
+
| `-ꯟ` | ꯂꯤꯊ꯭ꯋꯥꯅꯤꯌꯥꯟ, ꯌꯥꯡꯈꯩꯃꯥꯄꯟ, ꯑꯣꯐꯤꯌꯣꯟ |
|
| 478 |
+
| `-ꯅ` | ꯃꯄꯨꯔꯣꯏꯕꯅ, ꯂꯩꯇꯕꯅ, ꯃꯔꯨꯞꯁꯤꯡꯅ |
|
| 479 |
+
| `-ꯗ` | ꯹ꯗ, ꯋꯥꯔꯜꯗꯋꯥꯏꯗ, ꯃꯤꯇꯩꯂꯣꯟꯗ |
|
| 480 |
+
| `-ꯕ` | ꯂꯩꯔꯝꯕ, ꯎꯞꯂꯕ, ꯄꯤꯖꯕ |
|
| 481 |
+
| `-s` | epirus, chris, andreas |
|
| 482 |
+
| `-ꯝ` | ꯂꯝꯇꯥꯛꯂꯣꯢꯁꯛꯇꯝ, ꯉꯥꯉꯝ, ꯁꯤꯟꯂꯝ |
|
| 483 |
+
| `-ꯛ` | ꯑꯥꯏꯀꯣꯅꯣꯒ꯭ꯔꯥꯐꯤꯛ, ꯊꯕꯛꯁꯤꯡꯒꯤꯗꯃꯛ, ꯇꯧꯕꯒꯤꯗꯃꯛ |
|
| 484 |
+
|
| 485 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 486 |
+
|
| 487 |
+
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.
|
| 488 |
+
|
| 489 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 490 |
+
|------|----------|------------------|----------|
|
| 491 |
+
| `ther` | 2.36x | 17 contexts | uther, other, there |
|
| 492 |
+
| `tion` | 2.34x | 15 contexts | nation, action, motion |
|
| 493 |
+
| `atio` | 2.35x | 10 contexts | ratio, nation, nations |
|
| 494 |
+
| `ꯍꯜꯂꯛ` | 1.80x | 19 contexts | ꯍꯜꯂꯛꯄ, ꯍꯜꯂꯛꯏ, ꯍꯜꯂꯛꯄꯒ |
|
| 495 |
+
| `ꯝꯅꯃꯛ` | 1.89x | 12 contexts | ꯄꯨꯝꯅꯃꯛ, ꯄꯨꯝꯅꯃꯛꯅ, ꯄꯨꯝꯅꯃꯛꯇ |
|
| 496 |
+
| `ꯔꯛꯐꯝ` | 1.60x | 11 contexts | ꯂꯔꯛꯐꯝ, ꯂꯧꯔꯛꯐꯝ, ꯍꯧꯔꯛꯐꯝ |
|
| 497 |
+
|
| 498 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 499 |
+
|
| 500 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 501 |
+
|
| 502 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 503 |
+
|--------|--------|-----------|----------|
|
| 504 |
+
| `-ꯂ` | `-ꯕ` | 27 words | ꯂꯝꯀꯣꯏꯕ, ꯂꯥꯢꯔꯦꯝꯕ |
|
| 505 |
+
| `-ꯁ` | `-ꯡ` | 26 words | ꯁꯔꯨꯀꯁꯤꯡ, ꯁꯥꯆꯨꯡ |
|
| 506 |
+
| `-ꯑ` | `-ꯗ` | 26 words | ꯑꯗꯨꯋꯥꯏꯗ, ꯑꯥꯏꯂꯦꯟꯗ |
|
| 507 |
+
| `-ꯂ` | `-ꯡ` | 24 words | ꯂꯥꯡꯂꯤꯕꯁꯤꯡ, ꯂꯦꯝꯍꯧꯕꯁꯤꯡ |
|
| 508 |
+
| `-ꯑ` | `-ꯟ` | 21 words | ꯑꯦꯁ꯭ꯇꯣꯟ, ꯑꯦꯗꯃꯟ |
|
| 509 |
+
| `-ꯄ` | `-ꯡ` | 21 words | ꯄꯟꯅꯨꯡ, ꯄꯔꯦꯡ |
|
| 510 |
+
| `-ꯃ` | `-ꯡ` | 19 words | ꯃꯆꯥꯅꯨꯄꯥꯁꯤꯡ, ꯃꯌꯨꯡ |
|
| 511 |
+
| `-ꯑ` | `-ꯡ` | 19 words | ꯑꯦꯜꯕꯝꯁꯤꯡ, ꯑꯍꯂꯁꯤꯡ |
|
| 512 |
+
| `-ꯑ` | `-ꯁ` | 19 words | ꯑꯥꯔꯀꯥꯟꯁꯥꯁ, ꯑꯣꯒꯁ |
|
| 513 |
+
| `-ꯑ` | `-ꯛ` | 18 words | ꯑꯁꯨꯛ, ꯑꯗꯨꯈꯛꯇꯃꯛ |
|
| 514 |
+
|
| 515 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 516 |
+
|
| 517 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 518 |
+
|
| 519 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 520 |
+
|------|-----------------|------------|------|
|
| 521 |
+
| ꯇꯤꯎꯁꯅꯒꯤꯗꯃꯛ | **`ꯇꯤꯎꯁꯅꯒꯤ-ꯗ-ꯃꯛ`** | 7.5 | `ꯗ` |
|
| 522 |
+
| ꯄꯨꯊꯣꯛꯄꯒꯤꯗꯃꯛ | **`ꯄꯨꯊꯣꯛꯄꯒꯤ-ꯗ-ꯃꯛ`** | 7.5 | `ꯗ` |
|
| 523 |
+
| ꯏꯊꯤꯌꯣꯄꯤꯌꯥꯟ | **`ꯏꯊꯤꯌꯣꯄꯤꯌꯥ-ꯟ`** | 4.5 | `ꯏꯊꯤꯌꯣꯄꯤꯌꯥ` |
|
| 524 |
+
| ꯄꯨꯟꯁꯤꯟꯈꯤꯕ | **`ꯄꯨꯟꯁꯤꯟꯈꯤ-ꯕ`** | 4.5 | `ꯄꯨꯟꯁꯤꯟꯈꯤ` |
|
| 525 |
+
| ꯚꯤꯗꯤꯑꯣꯁꯤꯡꯗ | **`ꯚꯤꯗꯤꯑꯣꯁꯤꯡ-ꯗ`** | 4.5 | `ꯚꯤꯗꯤꯑꯣꯁꯤꯡ` |
|
| 526 |
+
| ꯍꯦꯟꯒꯠꯂꯛꯂꯤꯕ | **`ꯍꯦꯟꯒꯠꯂꯛꯂꯤ-ꯕ`** | 4.5 | `ꯍꯦꯟꯒꯠꯂꯛꯂꯤ` |
|
| 527 |
+
| ꯐꯨꯡꯒꯥꯋꯥꯔꯤꯗ | **`ꯐꯨꯡꯒꯥꯋꯥꯔꯤ-ꯗ`** | 4.5 | `ꯐꯨꯡꯒꯥꯋꯥꯔꯤ` |
|
| 528 |
+
| ꯍꯣꯁ꯭ꯄꯤꯇꯥꯜꯗ | **`ꯍꯣꯁ꯭ꯄꯤꯇꯥꯜ-ꯗ`** | 4.5 | `ꯍꯣꯁ꯭ꯄꯤꯇꯥꯜ` |
|
| 529 |
+
| ꯄꯨꯔꯣꯍꯤꯠꯁꯤꯡꯅ | **`ꯄꯨꯔꯣꯍꯤꯠꯁꯤꯡ-ꯅ`** | 4.5 | `ꯄꯨꯔꯣꯍꯤꯠꯁꯤꯡ` |
|
| 530 |
+
| ꯌꯨꯅꯤꯚꯔꯁꯤꯇꯤꯗ | **`ꯌꯨꯅꯤꯚꯔꯁꯤꯇꯤ-ꯗ`** | 4.5 | `ꯌꯨꯅꯤꯚꯔꯁꯤꯇꯤ` |
|
| 531 |
+
| ꯅꯤꯟꯍꯨꯔꯁꯥꯒꯅ | **`ꯅꯤꯟꯍꯨꯔꯁꯥꯒ-ꯅ`** | 4.5 | `ꯅꯤꯟꯍꯨꯔꯁꯥꯒ` |
|
| 532 |
+
| ꯅꯨꯃꯤꯗꯥꯡꯋꯥꯏꯔꯝꯗ | **`ꯅꯨꯃꯤꯗꯥꯡꯋꯥꯏꯔꯝ-ꯗ`** | 4.5 | `ꯅꯨꯃꯤꯗꯥꯡꯋꯥꯏꯔꯝ` |
|
| 533 |
+
| relationships | **`relationship-s`** | 4.5 | `relationship` |
|
| 534 |
+
| ꯍꯣꯔꯥꯏꯖꯣꯟꯁ | **`ꯍ-ꯣꯔꯥꯏꯖꯣꯟ-ꯁ`** | 3.0 | `ꯣꯔꯥꯏꯖꯣꯟ` |
|
| 535 |
+
| ꯁꯃꯨꯗ꯭ꯔꯁꯤꯡꯗꯥ | **`ꯁ-ꯃ-ꯨꯗ꯭ꯔꯁꯤꯡꯗꯥ`** | 3.0 | `ꯨꯗ꯭ꯔꯁꯤꯡꯗꯥ` |
|
| 536 |
+
|
| 537 |
+
### 6.6 Linguistic Interpretation
|
| 538 |
+
|
| 539 |
+
> **Automated Insight:**
|
| 540 |
+
The language Manipuri shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 541 |
+
|
| 542 |
+
> **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.
|
| 543 |
+
|
| 544 |
+
---
|
| 545 |
+
## 7. Summary & Recommendations
|
| 546 |
+
|
| 547 |
+

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