Upload all models and assets for glk (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +8 -0
- README.md +748 -0
- models/embeddings/aligned/glk_128d.bin +3 -0
- models/embeddings/aligned/glk_128d.meta.json +1 -0
- models/embeddings/aligned/glk_128d.projection.npy +3 -0
- models/embeddings/aligned/glk_128d_metadata.json +8 -0
- models/embeddings/aligned/glk_32d.bin +3 -0
- models/embeddings/aligned/glk_32d.meta.json +1 -0
- models/embeddings/aligned/glk_32d.projection.npy +3 -0
- models/embeddings/aligned/glk_32d_metadata.json +8 -0
- models/embeddings/aligned/glk_64d.bin +3 -0
- models/embeddings/aligned/glk_64d.meta.json +1 -0
- models/embeddings/aligned/glk_64d.projection.npy +3 -0
- models/embeddings/aligned/glk_64d_metadata.json +8 -0
- models/embeddings/monolingual/glk_128d.bin +3 -0
- models/embeddings/monolingual/glk_128d.meta.json +1 -0
- models/embeddings/monolingual/glk_128d_metadata.json +15 -0
- models/embeddings/monolingual/glk_32d.bin +3 -0
- models/embeddings/monolingual/glk_32d.meta.json +1 -0
- models/embeddings/monolingual/glk_32d_metadata.json +15 -0
- models/embeddings/monolingual/glk_64d.bin +3 -0
- models/embeddings/monolingual/glk_64d.meta.json +1 -0
- models/embeddings/monolingual/glk_64d_metadata.json +15 -0
- models/subword_markov/glk_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/glk_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/glk_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/glk_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/glk_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/glk_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/glk_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/glk_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/glk_2gram_subword.parquet +3 -0
- models/subword_ngram/glk_2gram_subword_metadata.json +7 -0
- models/subword_ngram/glk_3gram_subword.parquet +3 -0
- models/subword_ngram/glk_3gram_subword_metadata.json +7 -0
- models/subword_ngram/glk_4gram_subword.parquet +3 -0
- models/subword_ngram/glk_4gram_subword_metadata.json +7 -0
- models/subword_ngram/glk_5gram_subword.parquet +3 -0
- models/subword_ngram/glk_5gram_subword_metadata.json +7 -0
- models/tokenizer/glk_tokenizer_16k.model +3 -0
- models/tokenizer/glk_tokenizer_16k.vocab +0 -0
- models/tokenizer/glk_tokenizer_32k.model +3 -0
- models/tokenizer/glk_tokenizer_32k.vocab +0 -0
- models/tokenizer/glk_tokenizer_64k.model +3 -0
- models/tokenizer/glk_tokenizer_64k.vocab +0 -0
- models/tokenizer/glk_tokenizer_8k.model +3 -0
- models/tokenizer/glk_tokenizer_8k.vocab +0 -0
- models/vocabulary/glk_vocabulary.parquet +3 -0
- models/vocabulary/glk_vocabulary_metadata.json +17 -0
- models/word_markov/glk_markov_ctx1_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,11 @@ 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/ngram_coverage.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,748 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: glk
|
| 3 |
+
language_name: Gilaki
|
| 4 |
+
language_family: iranian_western
|
| 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-iranian_western
|
| 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: 3.924
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.7395
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-09
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Gilaki - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Gilaki** 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.040x | 3.04 | 0.8455% | 224,022 |
|
| 94 |
+
| **16k** | 3.382x | 3.39 | 0.9407% | 201,331 |
|
| 95 |
+
| **32k** | 3.692x | 3.70 | 1.0270% | 184,426 |
|
| 96 |
+
| **64k** | 3.924x 🏆 | 3.93 | 1.0915% | 173,524 |
|
| 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 | `▁تول د ▁من ▁هست ▁در ▁ج ریان ▁باش ید 😅 ... (+16 more)` | 26 |
|
| 107 |
+
| 16k | `▁تولد ▁من ▁هست ▁در ▁ج ریان ▁باش ید 😅 ▁ایتفاقان ... (+15 more)` | 25 |
|
| 108 |
+
| 32k | `▁تولد ▁من ▁هست ▁در ▁جریان ▁باشید 😅 ▁ایتفاقان ▁تولدان ▁مرگان ... (+13 more)` | 23 |
|
| 109 |
+
| 64k | `▁تولد ▁من ▁هست ▁در ▁جریان ▁باشید 😅 ▁ایتفاقان ▁تولدان ▁مرگان ... (+13 more)` | 23 |
|
| 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 | `▁کیاسرا ▁ایسم ▁ایته ▁جی ▁روستاهان ▁لفمجان ▁دهستان ▁، ▁لاجان ▁شهرستان ... (+10 more)` | 20 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `بیلاژ محله ایسم ایته جی روستاهان آهندان دهستان ، لاجان شهرستان مرکزی بخش ایسه او...`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁بی لا ژ ▁محله ▁ایسم ▁ایته ▁جی ▁روستاهان ▁آهندان ▁دهستان ... (+13 more)` | 23 |
|
| 125 |
+
| 16k | `▁بی لا ژ ▁محله ▁ایسم ▁ایته ▁جی ▁روستاهان ▁آهندان ▁دهستان ... (+13 more)` | 23 |
|
| 126 |
+
| 32k | `▁بیلا ژ ▁محله ▁ایسم ▁ا��ته ▁جی ▁روستاهان ▁آهندان ▁دهستان ▁، ... (+12 more)` | 22 |
|
| 127 |
+
| 64k | `▁بیلا ژ ▁محله ▁ایسم ▁ایته ▁جی ▁روستاهان ▁آهندان ▁دهستان ▁، ... (+12 more)` | 22 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 3.924x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.8455% 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 | 452 | 8.82 | 22,372 | 68.3% | 84.5% |
|
| 151 |
+
| **2-gram** | Subword | 289 🏆 | 8.17 | 5,138 | 70.6% | 97.4% |
|
| 152 |
+
| **3-gram** | Word | 859 | 9.75 | 38,047 | 59.7% | 79.2% |
|
| 153 |
+
| **3-gram** | Subword | 1,264 | 10.30 | 39,676 | 47.4% | 79.1% |
|
| 154 |
+
| **4-gram** | Word | 1,740 | 10.76 | 75,476 | 51.1% | 71.1% |
|
| 155 |
+
| **4-gram** | Subword | 3,145 | 11.62 | 166,775 | 39.8% | 68.3% |
|
| 156 |
+
| **5-gram** | Word | 2,593 | 11.34 | 80,402 | 46.0% | 65.5% |
|
| 157 |
+
| **5-gram** | Subword | 5,057 | 12.30 | 329,311 | 36.7% | 64.9% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `ٚ مئن` | 95,400 |
|
| 166 |
+
| 2 | `أ شأر` | 62,694 |
|
| 167 |
+
| 3 | `ٚ شأرستان` | 56,570 |
|
| 168 |
+
| 4 | `شأرستان ٚ` | 49,032 |
|
| 169 |
+
| 5 | `ايسه گه` | 41,300 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `ٚ مئن نهأ` | 40,846 |
|
| 176 |
+
| 2 | `شأرستان ٚ مئن` | 36,418 |
|
| 177 |
+
| 3 | `ايته جه آمريکا` | 34,104 |
|
| 178 |
+
| 4 | `ٚ شأرستان ٚ` | 33,251 |
|
| 179 |
+
| 5 | `شأران ايسه گه` | 31,561 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `شأرستان ٚ مئن نهأ` | 36,381 |
|
| 186 |
+
| 2 | `ٚ مئن نهأ ؤ` | 31,068 |
|
| 187 |
+
| 3 | `آمريکا آمار ٚ مرکز` | 31,056 |
|
| 188 |
+
| 4 | `ؤ آمريکا آمار ٚ` | 31,054 |
|
| 189 |
+
| 5 | `نفر اعلام بۊگۊده سربس` | 31,054 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `ؤ آمريکا آمار ٚ مرکز` | 31,054 |
|
| 196 |
+
| 2 | `نهأ ؤ آمريکا آمار ٚ` | 31,053 |
|
| 197 |
+
| 3 | `ٚ مئن نهأ ؤ آمريکا` | 31,053 |
|
| 198 |
+
| 4 | `شأرستان ٚ مئن نهأ ؤ` | 31,051 |
|
| 199 |
+
| 5 | `مئن نهأ ؤ آمريکا آمار` | 31,051 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `ا ن` | 344,074 |
|
| 206 |
+
| 2 | `_ٚ _` | 304,817 |
|
| 207 |
+
| 3 | `ه _` | 274,936 |
|
| 208 |
+
| 4 | `_ ش` | 270,095 |
|
| 209 |
+
| 5 | `_ ا` | 227,254 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `_ ش أ` | 217,137 |
|
| 216 |
+
| 2 | `ش أ ر` | 216,916 |
|
| 217 |
+
| 3 | `س ت ا` | 152,303 |
|
| 218 |
+
| 4 | `_ٚ _ م` | 132,016 |
|
| 219 |
+
| 5 | `ت ا ن` | 125,309 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ ش أ ر` | 216,867 |
|
| 226 |
+
| 2 | `س ت ا ن` | 123,160 |
|
| 227 |
+
| 3 | `ا ن _ٚ _` | 107,779 |
|
| 228 |
+
| 4 | `_ م ئ ن` | 103,927 |
|
| 229 |
+
| 5 | `_ٚ _ م ئ` | 95,459 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ٚ _ م ئ ن` | 95,452 |
|
| 236 |
+
| 2 | `ر س ت ا ن` | 92,229 |
|
| 237 |
+
| 3 | `ش أ ر س ت` | 87,042 |
|
| 238 |
+
| 4 | `أ ر س ت ا` | 87,041 |
|
| 239 |
+
| 5 | `_ ش أ ر س` | 87,035 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 289
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~65% 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.5992 | 1.515 | 3.83 | 109,448 | 40.1% |
|
| 263 |
+
| **1** | Subword | 1.2417 | 2.365 | 11.40 | 995 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.1612 | 1.118 | 1.39 | 416,225 | 83.9% |
|
| 265 |
+
| **2** | Subword | 1.0373 | 2.052 | 6.72 | 11,334 | 0.0% |
|
| 266 |
+
| **3** | Word | 0.0547 | 1.039 | 1.14 | 571,714 | 94.5% |
|
| 267 |
+
| **3** | Subword | 0.7917 | 1.731 | 3.86 | 76,144 | 20.8% |
|
| 268 |
+
| **4** | Word | 0.0260 🏆 | 1.018 | 1.09 | 645,056 | 97.4% |
|
| 269 |
+
| **4** | Subword | 0.5603 | 1.475 | 2.44 | 293,705 | 44.0% |
|
| 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. `مئن clark ايته جه ايصفهان ٚ اۊستان ٚ جمعيت أ شأر لاریمر ٚ مرکز آمار ٚ`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `ٚ مئن نهأ ؤ آمريکا آمار ٚ مرکز سال ٚ مئن farley ايته جه آمريکا شأران ايسه`
|
| 284 |
+
2. `أ شأر ٚ جمعيت ۸ ۷۱۰ نفر ۲ ۹۰۶ خانوار بۊ عنوان نتایج سرشماری عمومی نفوس و`
|
| 285 |
+
3. `ٚ شأرستان آیؤوا شأران en pena pobre puerto rico ايته جه آمريکا شأران ايسه گه نطنز ٚ`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `ٚ مئن نهأ ؤ آمريکا آمار ٚ مرکز أ شأر ٚ جمعيت أ ۳۵۲ نفر اعلام بۊگۊده سربس`
|
| 290 |
+
2. `شأرستان ٚ مئن نهأ ؤ آمريکا آمار ٚ مرکز أ شأر ٚ جمعيت أ نفر اعلام بۊگۊده سربس`
|
| 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. `ان_(ايسه_ده._سربس`
|
| 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 97.4% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (293,705 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 | 46,285 |
|
| 350 |
+
| Total Tokens | 2,415,643 |
|
| 351 |
+
| Mean Frequency | 52.19 |
|
| 352 |
+
| Median Frequency | 3 |
|
| 353 |
+
| Frequency Std Dev | 1903.39 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | ٚ | 304,843 |
|
| 360 |
+
| 2 | أ | 119,882 |
|
| 361 |
+
| 3 | مئن | 103,681 |
|
| 362 |
+
| 4 | شأرستان | 80,615 |
|
| 363 |
+
| 5 | شأر | 66,303 |
|
| 364 |
+
| 6 | آمريکا | 65,573 |
|
| 365 |
+
| 7 | شأران | 63,407 |
|
| 366 |
+
| 8 | ايسه | 56,161 |
|
| 367 |
+
| 9 | جه | 56,023 |
|
| 368 |
+
| 10 | ؤ | 55,643 |
|
| 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.0546 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.992625 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 74.1% |
|
| 398 |
+
| Top 1,000 | 84.7% |
|
| 399 |
+
| Top 5,000 | 91.8% |
|
| 400 |
+
| Top 10,000 | 94.8% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9926 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 74.1% of corpus
|
| 406 |
+
- **Long Tail:** 36,285 words needed for remaining 5.2% 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.7395 | 0.3894 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.5770 | 0.3519 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.2174 | 0.3507 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.7395 🏆 | 0.3921 | 0.0080 | 0.0960 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.5770 | 0.3499 | 0.0280 | 0.2120 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.2174 | 0.3609 | 0.0600 | 0.2880 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** aligned_32d with 0.7395 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.3658. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 6.0% R@1 in cross-lingual retrieval.
|
| 443 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
+
|
| 445 |
+
---
|
| 446 |
+
## 6. Morphological Analysis (Experimental)
|
| 447 |
+
|
| 448 |
+
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
+
|
| 450 |
+
### 6.1 Productivity & Complexity
|
| 451 |
+
|
| 452 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
+
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **0.010** | Low formulaic content | - |
|
| 456 |
+
|
| 457 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
+
|
| 459 |
+
These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
|
| 460 |
+
|
| 461 |
+
#### Productive Prefixes
|
| 462 |
+
| Prefix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
|
| 465 |
+
#### Productive Suffixes
|
| 466 |
+
| Suffix | Examples |
|
| 467 |
+
|--------|----------|
|
| 468 |
+
| `-ان` | أتابکيان, کوهبنان, دوشمنان |
|
| 469 |
+
|
| 470 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 471 |
+
|
| 472 |
+
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.
|
| 473 |
+
|
| 474 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 475 |
+
|------|----------|------------------|----------|
|
| 476 |
+
| `ستان` | 1.38x | 183 contexts | آستان, دستان, استان |
|
| 477 |
+
| `یران` | 1.53x | 48 contexts | هیران, میران, ایران |
|
| 478 |
+
| `وستا` | 1.47x | 46 contexts | کوستا, اوستا, روستا |
|
| 479 |
+
| `رستا` | 1.36x | 61 contexts | رستاق, پرستان, رستاقˇ |
|
| 480 |
+
| `انان` | 1.58x | 29 contexts | سانان, بانان, خانان |
|
| 481 |
+
| `روست` | 1.53x | 17 contexts | مروست, روستا, بروستر |
|
| 482 |
+
| `اوست` | 1.66x | 13 contexts | اوستا, اوستاد, اوستان |
|
| 483 |
+
| `ۊستا` | 1.35x | 23 contexts | اۊستا, رۊستا, گۊستاو |
|
| 484 |
+
| `انوا` | 1.63x | 12 contexts | انواع, انوارˇ, خانوار |
|
| 485 |
+
| `ايال` | 1.64x | 8 contexts | ايالت, ايالات, ايالته |
|
| 486 |
+
| `رۊست` | 1.54x | 9 contexts | رۊستا, رۊستم, برۊستن |
|
| 487 |
+
| `يالت` | 1.69x | 7 contexts | ايالت, ايالته, ايالتˇ |
|
| 488 |
+
|
| 489 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 490 |
+
|
| 491 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 492 |
+
|
| 493 |
+
*No significant affix co-occurrences detected.*
|
| 494 |
+
|
| 495 |
+
|
| 496 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 497 |
+
|
| 498 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 499 |
+
|
| 500 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 501 |
+
|------|-----------------|------------|------|
|
| 502 |
+
| وایکینگان | **`وایکینگ-ان`** | 4.5 | `وایکینگ` |
|
| 503 |
+
| بازيکؤنان | **`بازيکؤن-ان`** | 4.5 | `بازيکؤن` |
|
| 504 |
+
| هخامنشيان | **`هخامنشي-ان`** | 4.5 | `هخامنشي` |
|
| 505 |
+
| ویراستاران | **`ویراستار-ان`** | 4.5 | `ویراستار` |
|
| 506 |
+
| استانداردان | **`استاندارد-ان`** | 4.5 | `استاندارد` |
|
| 507 |
+
| کیشاورزان | **`کیشاورز-ان`** | 4.5 | `کیشاورز` |
|
| 508 |
+
| انقلابیان | **`انقلابی-ان`** | 4.5 | `انقلابی` |
|
| 509 |
+
| خاندنکسان | **`خاندنکس-ان`** | 4.5 | `خاندنکس` |
|
| 510 |
+
| دموکراتان | **`دموکرات-ان`** | 4.5 | `دموکرات` |
|
| 511 |
+
| دانشجویان | **`دانشجوی-ان`** | 4.5 | `دانشجوی` |
|
| 512 |
+
| اؤتريشيان | **`اؤتريشي-ان`** | 4.5 | `اؤتريشي` |
|
| 513 |
+
| هونرمندان | **`هونرمند-ان`** | 4.5 | `هونرمند` |
|
| 514 |
+
| کامپیوتران | **`کامپیوتر-ان`** | 4.5 | `کامپیوتر` |
|
| 515 |
+
| موهاجرتان | **`موهاجرت-ان`** | 4.5 | `موهاجرت` |
|
| 516 |
+
| بیمارستانان | **`بیمارست-ان-ان`** | 3.0 | `بیمارست` |
|
| 517 |
+
|
| 518 |
+
### 6.6 Linguistic Interpretation
|
| 519 |
+
|
| 520 |
+
> **Automated Insight:**
|
| 521 |
+
The language Gilaki shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 522 |
+
|
| 523 |
+
---
|
| 524 |
+
## 7. Summary & Recommendations
|
| 525 |
+
|
| 526 |
+

|
| 527 |
+
|
| 528 |
+
### Production Recommendations
|
| 529 |
+
|
| 530 |
+
| Component | Recommended | Rationale |
|
| 531 |
+
|-----------|-------------|-----------|
|
| 532 |
+
| Tokenizer | **64k BPE** | Best compression (3.92x) |
|
| 533 |
+
| N-gram | **2-gram** | Lowest perplexity (289) |
|
| 534 |
+
| Markov | **Context-4** | Highest predictability (97.4%) |
|
| 535 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 536 |
+
|
| 537 |
+
|
| 538 |
+
---
|
| 539 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 540 |
+
|
| 541 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 542 |
+
|
| 543 |
+
### Tokenizer Metrics
|
| 544 |
+
|
| 545 |
+
**Compression Ratio**
|
| 546 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 547 |
+
>
|
| 548 |
+
> *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.
|
| 549 |
+
>
|
| 550 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 551 |
+
|
| 552 |
+
**Average Token Length (Fertility)**
|
| 553 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 554 |
+
>
|
| 555 |
+
> *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.
|
| 556 |
+
>
|
| 557 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 558 |
+
|
| 559 |
+
**Unknown Token Rate (OOV Rate)**
|
| 560 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 561 |
+
>
|
| 562 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 563 |
+
>
|
| 564 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 565 |
+
|
| 566 |
+
### N-gram Model Metrics
|
| 567 |
+
|
| 568 |
+
**Perplexity**
|
| 569 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 570 |
+
>
|
| 571 |
+
> *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.
|
| 572 |
+
>
|
| 573 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 574 |
+
|
| 575 |
+
**Entropy**
|
| 576 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 577 |
+
>
|
| 578 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 579 |
+
>
|
| 580 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 581 |
+
|
| 582 |
+
**Coverage (Top-K)**
|
| 583 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 584 |
+
>
|
| 585 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 586 |
+
>
|
| 587 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 588 |
+
|
| 589 |
+
### Markov Chain Metrics
|
| 590 |
+
|
| 591 |
+
**Average Entropy**
|
| 592 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 593 |
+
>
|
| 594 |
+
> *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).
|
| 595 |
+
>
|
| 596 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 597 |
+
|
| 598 |
+
**Branching Factor**
|
| 599 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 600 |
+
>
|
| 601 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 602 |
+
>
|
| 603 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 604 |
+
|
| 605 |
+
**Predictability**
|
| 606 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 607 |
+
>
|
| 608 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 609 |
+
>
|
| 610 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 611 |
+
|
| 612 |
+
### Vocabulary & Zipf's Law Metrics
|
| 613 |
+
|
| 614 |
+
**Zipf's Coefficient**
|
| 615 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 616 |
+
>
|
| 617 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 618 |
+
>
|
| 619 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 620 |
+
|
| 621 |
+
**R² (Coefficient of Determination)**
|
| 622 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 623 |
+
>
|
| 624 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 625 |
+
>
|
| 626 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 627 |
+
|
| 628 |
+
**Vocabulary Coverage**
|
| 629 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 630 |
+
>
|
| 631 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 632 |
+
>
|
| 633 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 634 |
+
|
| 635 |
+
### Word Embedding Metrics
|
| 636 |
+
|
| 637 |
+
**Isotropy**
|
| 638 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 639 |
+
>
|
| 640 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 641 |
+
>
|
| 642 |
+
> *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.
|
| 643 |
+
|
| 644 |
+
**Average Norm**
|
| 645 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 646 |
+
>
|
| 647 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 648 |
+
>
|
| 649 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 650 |
+
|
| 651 |
+
**Cosine Similarity**
|
| 652 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 653 |
+
>
|
| 654 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 655 |
+
>
|
| 656 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 657 |
+
|
| 658 |
+
**t-SNE Visualization**
|
| 659 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 660 |
+
>
|
| 661 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 662 |
+
>
|
| 663 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 664 |
+
|
| 665 |
+
### General Interpretation Guidelines
|
| 666 |
+
|
| 667 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 668 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 669 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 670 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 671 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 672 |
+
|
| 673 |
+
|
| 674 |
+
### Visualizations Index
|
| 675 |
+
|
| 676 |
+
| Visualization | Description |
|
| 677 |
+
|---------------|-------------|
|
| 678 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 679 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 680 |
+
| Tokenizer OOV | Unknown token rates |
|
| 681 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 682 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 683 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 684 |
+
| N-gram Coverage | Top pattern coverage |
|
| 685 |
+
| N-gram Unique | Unique n-gram counts |
|
| 686 |
+
| Markov Entropy | Entropy by context size |
|
| 687 |
+
| Markov Branching | Branching factor by context |
|
| 688 |
+
| Markov Contexts | Unique context counts |
|
| 689 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 690 |
+
| Vocab Frequency | Word frequency distribution |
|
| 691 |
+
| Top 20 Words | Most frequent words |
|
| 692 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 693 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 694 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 695 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 696 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 697 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 698 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 699 |
+
| Position Encoding | Encoding method comparison |
|
| 700 |
+
| Model Sizes | Storage requirements |
|
| 701 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 702 |
+
|
| 703 |
+
---
|
| 704 |
+
## About This Project
|
| 705 |
+
|
| 706 |
+
### Data Source
|
| 707 |
+
|
| 708 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 709 |
+
|
| 710 |
+
### Project
|
| 711 |
+
|
| 712 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 713 |
+
|
| 714 |
+
### Maintainer
|
| 715 |
+
|
| 716 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 717 |
+
|
| 718 |
+
### Citation
|
| 719 |
+
|
| 720 |
+
If you use these models in your research, please cite:
|
| 721 |
+
|
| 722 |
+
```bibtex
|
| 723 |
+
@misc{wikilangs2025,
|
| 724 |
+
author = {Kamali, Omar},
|
| 725 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 726 |
+
year = {2025},
|
| 727 |
+
doi = {10.5281/zenodo.18073153},
|
| 728 |
+
publisher = {Zenodo},
|
| 729 |
+
url = {https://huggingface.co/wikilangs}
|
| 730 |
+
institution = {Omneity Labs}
|
| 731 |
+
}
|
| 732 |
+
```
|
| 733 |
+
|
| 734 |
+
### License
|
| 735 |
+
|
| 736 |
+
MIT License - Free for academic and commercial use.
|
| 737 |
+
|
| 738 |
+
### Links
|
| 739 |
+
|
| 740 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 741 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 742 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 743 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 744 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 745 |
+
---
|
| 746 |
+
*Generated by Wikilangs Models Pipeline*
|
| 747 |
+
|
| 748 |
+
*Report Date: 2026-01-09 23:47:34*
|
models/embeddings/aligned/glk_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76b0d2fa61a4969cfeab3bac32685bb088b872ae0ae16971a341e125b5ec866a
|
| 3 |
+
size 1043252216
|
models/embeddings/aligned/glk_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/glk_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:57828bd2b7e4afcab73510c8939c650270128dd02ef2982ec8df8879f42aeb8d
|
| 3 |
+
size 65664
|
models/embeddings/aligned/glk_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1447,
|
| 7 |
+
"vocab_size": 18446
|
| 8 |
+
}
|
models/embeddings/aligned/glk_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:035757a8b515ec7f9624bb61ef9bde3c7544cdfbc2ef8ead71daaf42166c6b01
|
| 3 |
+
size 261085688
|
models/embeddings/aligned/glk_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/glk_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8e0755de69269723121860a7c7c362db48f4232f08a447a383b9f308581ca48
|
| 3 |
+
size 4224
|
models/embeddings/aligned/glk_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1447,
|
| 7 |
+
"vocab_size": 18446
|
| 8 |
+
}
|
models/embeddings/aligned/glk_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:875968551e95d53e60d3feaba2111b3986720f3a8c503b22ec309565e8781c93
|
| 3 |
+
size 521807864
|
models/embeddings/aligned/glk_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/glk_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:668869b9b9ece81649c1ac7600e1ebfe154ea525648ae6c3fb8a64ebed7d7d11
|
| 3 |
+
size 16512
|
models/embeddings/aligned/glk_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 1447,
|
| 7 |
+
"vocab_size": 18446
|
| 8 |
+
}
|
models/embeddings/monolingual/glk_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:76b0d2fa61a4969cfeab3bac32685bb088b872ae0ae16971a341e125b5ec866a
|
| 3 |
+
size 1043252216
|
models/embeddings/monolingual/glk_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/glk_128d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 128
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 18446
|
| 15 |
+
}
|
models/embeddings/monolingual/glk_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:035757a8b515ec7f9624bb61ef9bde3c7544cdfbc2ef8ead71daaf42166c6b01
|
| 3 |
+
size 261085688
|
models/embeddings/monolingual/glk_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/glk_32d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 32
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 18446
|
| 15 |
+
}
|
models/embeddings/monolingual/glk_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:875968551e95d53e60d3feaba2111b3986720f3a8c503b22ec309565e8781c93
|
| 3 |
+
size 521807864
|
models/embeddings/monolingual/glk_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "glk", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/glk_64d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "monolingual",
|
| 5 |
+
"training_params": {
|
| 6 |
+
"algorithm": "skipgram",
|
| 7 |
+
"min_count": 5,
|
| 8 |
+
"window": 5,
|
| 9 |
+
"negative": 5,
|
| 10 |
+
"epochs": 5,
|
| 11 |
+
"encoding_method": "rope",
|
| 12 |
+
"dim": 64
|
| 13 |
+
},
|
| 14 |
+
"vocab_size": 18446
|
| 15 |
+
}
|
models/subword_markov/glk_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a788d4621df3f12cf017d339a56debdfe5c6924a71cd2605398f8c0d8f2e935a
|
| 3 |
+
size 90906
|
models/subword_markov/glk_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_contexts": 995,
|
| 6 |
+
"total_transitions": 12141386
|
| 7 |
+
}
|
models/subword_markov/glk_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e02f42adef565a20b8cb0b351246083da8db35fcc0103a6efefd559f2ed24b9
|
| 3 |
+
size 606611
|
models/subword_markov/glk_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_contexts": 11334,
|
| 6 |
+
"total_transitions": 12092942
|
| 7 |
+
}
|
models/subword_markov/glk_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc6aa11355b0907d61e7fbee65b490b17e1d172726b11a41c577fba7679ff537
|
| 3 |
+
size 2186957
|
models/subword_markov/glk_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_contexts": 76144,
|
| 6 |
+
"total_transitions": 12044498
|
| 7 |
+
}
|
models/subword_markov/glk_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34c03523e7fe8c955bd62733d4eaef56421ac08aaec3139525680af2db737dc5
|
| 3 |
+
size 6469793
|
models/subword_markov/glk_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_contexts": 293705,
|
| 6 |
+
"total_transitions": 11996054
|
| 7 |
+
}
|
models/subword_ngram/glk_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3737d7268e2c797297dc355236e7d183cd62a2de728f8a20e32f17bcc0a5c2c3
|
| 3 |
+
size 73578
|
models/subword_ngram/glk_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_ngrams": 5138,
|
| 6 |
+
"total_ngrams": 12141386
|
| 7 |
+
}
|
models/subword_ngram/glk_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:878ecd36d202a51bca902d60d74894eaaa71af2a875272a865383520273c34eb
|
| 3 |
+
size 533481
|
models/subword_ngram/glk_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_ngrams": 39676,
|
| 6 |
+
"total_ngrams": 12092942
|
| 7 |
+
}
|
models/subword_ngram/glk_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1aa0e3fa39bdc943f3a967382287515c65c75f81b53eb047df37d093889259ad
|
| 3 |
+
size 2125039
|
models/subword_ngram/glk_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_ngrams": 166775,
|
| 6 |
+
"total_ngrams": 12044498
|
| 7 |
+
}
|
models/subword_ngram/glk_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c7d4362414d699700eda738c7051800d39830d954050aef87675b03a7ac38d0
|
| 3 |
+
size 4460926
|
models/subword_ngram/glk_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "glk",
|
| 5 |
+
"unique_ngrams": 329311,
|
| 6 |
+
"total_ngrams": 11996054
|
| 7 |
+
}
|
models/tokenizer/glk_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:847822c8f0e0131991f2993b4a5e69e71e9dc2947a222bfbd48c39e9c0723763
|
| 3 |
+
size 542161
|
models/tokenizer/glk_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/glk_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6336c3f63e49d76a2179fe277dd37d4d2878ee1470b10bafbd17f43b11f2173
|
| 3 |
+
size 846645
|
models/tokenizer/glk_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/glk_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1233ee4b902887c7c33933ee8de7c49652f1878dcfba32accb35a36355f95be3
|
| 3 |
+
size 1519602
|
models/tokenizer/glk_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/glk_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e327d2f013c5271f6d81d1fd69c0dd9ea451feb9d36da17b5fcd4ad98bcd350e
|
| 3 |
+
size 389449
|
models/tokenizer/glk_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/glk_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01a6d676cd01094e5c383b09c4b11822ad6a8f9ac0c0f928fed2c938f3789625
|
| 3 |
+
size 808184
|
models/vocabulary/glk_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "glk",
|
| 3 |
+
"vocabulary_size": 46285,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.04422523348199591,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.7224186282166299,
|
| 9 |
+
"top_1000": 0.8257017368349716,
|
| 10 |
+
"top_5000": 0.8949637594635239,
|
| 11 |
+
"top_10000": 0.9241461852236715
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 63349,
|
| 14 |
+
"hapax_ratio": 0.5778225732893081,
|
| 15 |
+
"total_documents": 48444
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/glk_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ccfd176392476fe33d86cc3beea8279596f4207580387b69e992531aff045837
|
| 3 |
+
size 4450637
|