Upload all models and assets for nqo (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
- models/embeddings/aligned/nqo_128d.bin +3 -0
- models/embeddings/aligned/nqo_128d.meta.json +1 -0
- models/embeddings/aligned/nqo_128d.projection.npy +3 -0
- models/embeddings/aligned/nqo_128d_metadata.json +8 -0
- models/embeddings/aligned/nqo_32d.bin +3 -0
- models/embeddings/aligned/nqo_32d.meta.json +1 -0
- models/embeddings/aligned/nqo_32d.projection.npy +3 -0
- models/embeddings/aligned/nqo_32d_metadata.json +8 -0
- models/embeddings/aligned/nqo_64d.bin +3 -0
- models/embeddings/aligned/nqo_64d.meta.json +1 -0
- models/embeddings/aligned/nqo_64d.projection.npy +3 -0
- models/embeddings/aligned/nqo_64d_metadata.json +8 -0
- models/embeddings/monolingual/nqo_128d.bin +3 -0
- models/embeddings/monolingual/nqo_128d.meta.json +1 -0
- models/embeddings/monolingual/nqo_128d_metadata.json +16 -0
- models/embeddings/monolingual/nqo_32d.bin +3 -0
- models/embeddings/monolingual/nqo_32d.meta.json +1 -0
- models/embeddings/monolingual/nqo_32d_metadata.json +16 -0
- models/embeddings/monolingual/nqo_64d.bin +3 -0
- models/embeddings/monolingual/nqo_64d.meta.json +1 -0
- models/embeddings/monolingual/nqo_64d_metadata.json +16 -0
- models/subword_markov/nqo_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/nqo_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/nqo_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/nqo_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/nqo_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/nqo_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/nqo_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/nqo_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/nqo_2gram_subword.parquet +3 -0
- models/subword_ngram/nqo_2gram_subword_metadata.json +7 -0
- models/subword_ngram/nqo_3gram_subword.parquet +3 -0
- models/subword_ngram/nqo_3gram_subword_metadata.json +7 -0
- models/subword_ngram/nqo_4gram_subword.parquet +3 -0
- models/subword_ngram/nqo_4gram_subword_metadata.json +7 -0
- models/subword_ngram/nqo_5gram_subword.parquet +3 -0
- models/subword_ngram/nqo_5gram_subword_metadata.json +7 -0
- models/tokenizer/nqo_tokenizer_16k.model +3 -0
- models/tokenizer/nqo_tokenizer_16k.vocab +0 -0
- models/tokenizer/nqo_tokenizer_32k.model +3 -0
- models/tokenizer/nqo_tokenizer_32k.vocab +0 -0
- models/tokenizer/nqo_tokenizer_8k.model +3 -0
- models/tokenizer/nqo_tokenizer_8k.vocab +0 -0
- models/vocabulary/nqo_vocabulary.parquet +3 -0
- models/vocabulary/nqo_vocabulary_metadata.json +17 -0
- models/word_markov/nqo_markov_ctx1_word.parquet +3 -0
- models/word_markov/nqo_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/nqo_markov_ctx2_word.parquet +3 -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: nqo
|
| 3 |
+
language_name: N’Ko
|
| 4 |
+
language_family: constructed_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-constructed_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.453
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.8251
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-10
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# N’Ko - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **N’Ko** 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** | 4.044x | 4.05 | 0.1822% | 749,607 |
|
| 94 |
+
| **16k** | 4.267x | 4.27 | 0.1923% | 710,416 |
|
| 95 |
+
| **32k** | 4.453x 🏆 | 4.45 | 0.2007% | 680,695 |
|
| 96 |
+
|
| 97 |
+
### Tokenization Examples
|
| 98 |
+
|
| 99 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 100 |
+
|
| 101 |
+
**Sample 1:** `ߘߊ߲ߘߊߟߌ ߓߏߟߏ߲ ߡߍ߲ ߣߊ߬ߕߊ ߦߋ߫ ߘߊ߲ߝߋ߲ ߞߍ߲ߘߍ ߥߟߴߊ߬ ߛߎ߭ ߟߎ߬ ߝߊ߬ߘߌ߬ ߛߓߏ ߓߣߊ߬ߦߊ߬ߣߍ߲ ߠߎ߬...`
|
| 102 |
+
|
| 103 |
+
| Vocab | Tokens | Count |
|
| 104 |
+
|-------|--------|-------|
|
| 105 |
+
| 8k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߣߊ߬ ߕߊ ▁ߦߋ߫ ▁ߘߊ߲ߝߋ߲ ▁ߞߍ߲ߘߍ ▁ߥߟߴߊ߬ ▁ߛߎ߭ ... (+10 more)` | 20 |
|
| 106 |
+
| 16k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߣߊ߬ߕߊ ▁ߦߋ߫ ▁ߘߊ߲ߝߋ߲ ▁ߞߍ߲ߘߍ ▁ߥߟߴߊ߬ ▁ߛߎ߭ ▁ߟߎ߬ ... (+9 more)` | 19 |
|
| 107 |
+
| 32k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߣߊ߬ߕߊ ▁ߦߋ߫ ▁ߘߊ߲ߝߋ߲ ▁ߞߍ߲ߘߍ ▁ߥߟߴߊ߬ ▁ߛߎ߭ ▁ߟߎ߬ ... (+7 more)` | 17 |
|
| 108 |
+
|
| 109 |
+
**Sample 2:** `ߞߍ߲ߘߍߘߐߦߊ ߓߏߟߏ߲ ߡߍ߲ ߦߋ߫ ߞߏ߫ ߟߎ߫ ߞߊ߬ߙߊ߲߬ ߠߊ߫ ߸ ߡߍ߲ ߠߎ߬ ߦߋ߫ ߕߊ߬ ߟߊ߫ ߗߍ ߘߐ߫ ߓߐ߲ߛߐ߲ߢ...`
|
| 110 |
+
|
| 111 |
+
| Vocab | Tokens | Count |
|
| 112 |
+
|-------|--------|-------|
|
| 113 |
+
| 8k | `▁ߞߍ߲ߘߍߘߐߦߊ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߞߏ߫ ▁ߟߎ߫ ▁ߞߊ߬ߙߊ߲߬ ▁ߠߊ߫ ▁߸ ▁ߡߍ߲ ... (+11 more)` | 21 |
|
| 114 |
+
| 16k | `▁ߞߍ߲ߘߍߘߐߦߊ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߞߏ߫ ▁ߟߎ߫ ▁ߞߊ߬ߙߊ߲߬ ▁ߠߊ߫ ▁߸ ▁ߡߍ߲ ... (+11 more)` | 21 |
|
| 115 |
+
| 32k | `▁ߞߍ߲ߘߍߘߐߦߊ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߞߏ߫ ▁ߟߎ߫ ▁ߞߊ߬ߙߊ߲߬ ▁ߠߊ߫ ▁߸ ▁ߡߍ߲ ... (+10 more)` | 20 |
|
| 116 |
+
|
| 117 |
+
**Sample 3:** `ߘߊ߲ߘߊߟߌ ߓߏߟߏ߲ ߡߍ߲ ߦߋ߫ ߝߘߏ߬ߓߊ߬ ߓߣߊ߬ ߞߟߊߞߟߊߕߊ ߟߎ߬ ߕߌߙߌ߲߫ ߠߊ߫.`
|
| 118 |
+
|
| 119 |
+
| Vocab | Tokens | Count |
|
| 120 |
+
|-------|--------|-------|
|
| 121 |
+
| 8k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߝߘߏ߬ߓߊ߬ ▁ߓߣߊ߬ ▁ߞߟߊߞߟߊ ߕߊ ▁ߟߎ߬ ▁ߕߌߙߌ߲߫ ... (+2 more)` | 12 |
|
| 122 |
+
| 16k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߝߘߏ߬ߓߊ߬ ▁ߓߣߊ߬ ▁ߞߟߊߞߟߊ ߕߊ ▁ߟߎ߬ ▁ߕߌߙߌ߲߫ ... (+2 more)` | 12 |
|
| 123 |
+
| 32k | `▁ߘߊ߲ߘߊߟߌ ▁ߓߏߟߏ߲ ▁ߡߍ߲ ▁ߦߋ߫ ▁ߝߘߏ߬ߓߊ߬ ▁ߓߣߊ߬ ▁ߞߟߊߞߟߊߕߊ ▁ߟߎ߬ ▁ߕߌߙߌ߲߫ ▁ߠߊ߫ ... (+1 more)` | 11 |
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
### Key Findings
|
| 127 |
+
|
| 128 |
+
- **Best Compression:** 32k achieves 4.453x compression
|
| 129 |
+
- **Lowest UNK Rate:** 8k with 0.1822% unknown tokens
|
| 130 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 131 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
## 2. N-gram Model Evaluation
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+
### Results
|
| 143 |
+
|
| 144 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 145 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 146 |
+
| **2-gram** | Word | 5,637 | 12.46 | 18,788 | 22.7% | 49.1% |
|
| 147 |
+
| **2-gram** | Subword | 492 🏆 | 8.94 | 5,832 | 56.4% | 93.0% |
|
| 148 |
+
| **3-gram** | Word | 14,726 | 13.85 | 27,596 | 10.9% | 29.7% |
|
| 149 |
+
| **3-gram** | Subword | 3,539 | 11.79 | 36,188 | 26.7% | 62.8% |
|
| 150 |
+
| **4-gram** | Word | 46,049 | 15.49 | 58,306 | 4.0% | 12.6% |
|
| 151 |
+
| **4-gram** | Subword | 16,382 | 14.00 | 132,351 | 14.2% | 37.7% |
|
| 152 |
+
| **5-gram** | Word | 40,435 | 15.30 | 45,104 | 2.8% | 9.5% |
|
| 153 |
+
| **5-gram** | Subword | 47,115 | 15.52 | 243,605 | 7.6% | 24.8% |
|
| 154 |
+
|
| 155 |
+
### Top 5 N-grams by Size
|
| 156 |
+
|
| 157 |
+
**2-grams (Word):**
|
| 158 |
+
|
| 159 |
+
| Rank | N-gram | Count |
|
| 160 |
+
|------|--------|-------|
|
| 161 |
+
| 1 | `ߊ߬ ߣߌ߫` | 4,822 |
|
| 162 |
+
| 2 | `ߟߋ߬ ߘߌ߫` | 4,660 |
|
| 163 |
+
| 3 | `ߕߘߍ߬ ߦߋ߫` | 3,060 |
|
| 164 |
+
| 4 | `ߏ߬ ߟߋ` | 2,522 |
|
| 165 |
+
| 5 | `ߟߎ߬ ߟߊ߫` | 2,496 |
|
| 166 |
+
|
| 167 |
+
**3-grams (Word):**
|
| 168 |
+
|
| 169 |
+
| Rank | N-gram | Count |
|
| 170 |
+
|------|--------|-------|
|
| 171 |
+
| 1 | `ߘߏ߫ ߟߋ߬ ߘߌ߫` | 1,073 |
|
| 172 |
+
| 2 | `ߟߋ߬ ߘߌ߫ ߡߍ߲` | 752 |
|
| 173 |
+
| 3 | `ߟߋ߬ ߘߌ߫ ߊ߬` | 656 |
|
| 174 |
+
| 4 | `ߊ߬ ߣߌ߫ ߞߊ߬` | 633 |
|
| 175 |
+
| 5 | `ߘߐ߫ ߊ߬ ߣߌ߫` | 615 |
|
| 176 |
+
|
| 177 |
+
**4-grams (Word):**
|
| 178 |
+
|
| 179 |
+
| Rank | N-gram | Count |
|
| 180 |
+
|------|--------|-------|
|
| 181 |
+
| 1 | `ߘߏ߫ ߟߋ߬ ߘߌ߫ ߡߍ߲` | 257 |
|
| 182 |
+
| 2 | `ߟߋ߬ ߘߌ߫ ߊ߬ ߣߌ߫` | 165 |
|
| 183 |
+
| 3 | `ߏ߬ ߟߋ ߞߍ߫ ߘߊ߫` | 160 |
|
| 184 |
+
| 4 | `ߘߏ߫ ߟߋ߬ ߘߌ߫ ߊ߬` | 159 |
|
| 185 |
+
| 5 | `ߏ߬ ߡߍ߲ ߕߘߍ߬ ߦߋ߫` | 145 |
|
| 186 |
+
|
| 187 |
+
**5-grams (Word):**
|
| 188 |
+
|
| 189 |
+
| Rank | N-gram | Count |
|
| 190 |
+
|------|--------|-------|
|
| 191 |
+
| 1 | `ߦߋ߫ ߝߊ߬ߙߊ߲߬ߛߌ ߥߞߌߔߋߘߌߦߊ ߟߋ߬ ߡߊ߬` | 123 |
|
| 192 |
+
| 2 | `ߘߟߊߡߌ߬ߘߊ߬ߣߍ߲߫ ߦߋ߫ ߝߊ߬ߙߊ߲߬ߛߌ ߥߞߌߔߋߘߌߦߊ ߟߋ߬` | 118 |
|
| 193 |
+
| 3 | `ߣߌ߲߬ ߘߟߊߡߌ߬ߘߊ߬ߣߍ߲߫ ߦߋ߫ ߝߊ߬ߙߊ߲߬ߛߌ ߥߞߌߔߋߘߌߦߊ` | 111 |
|
| 194 |
+
| 4 | `ߘߏ߫ ߟߋ߬ ߘߌ߫ ߡߍ߲ ߦߋ߫` | 67 |
|
| 195 |
+
| 5 | `ߛߏ ߣߴߊ߬ ߡߙߊ߬ߘߊ߬ߘߎ߯ߟߊ ߘߏ߫ ߟߋ߬` | 65 |
|
| 196 |
+
|
| 197 |
+
**2-grams (Subword):**
|
| 198 |
+
|
| 199 |
+
| Rank | N-gram | Count |
|
| 200 |
+
|------|--------|-------|
|
| 201 |
+
| 1 | `_ ߞ` | 120,074 |
|
| 202 |
+
| 2 | `_ ߟ` | 100,993 |
|
| 203 |
+
| 3 | `_ ߘ` | 87,888 |
|
| 204 |
+
| 4 | `ߊ߬ _` | 83,535 |
|
| 205 |
+
| 5 | `ߊ߫ _` | 73,226 |
|
| 206 |
+
|
| 207 |
+
**3-grams (Subword):**
|
| 208 |
+
|
| 209 |
+
| Rank | N-gram | Count |
|
| 210 |
+
|------|--------|-------|
|
| 211 |
+
| 1 | `_ ߟ ߊ߫` | 32,190 |
|
| 212 |
+
| 2 | `ߟ ߊ߫ _` | 29,535 |
|
| 213 |
+
| 3 | `ߟ ߎ߬ _` | 23,162 |
|
| 214 |
+
| 4 | `_ ߞ ߊ߬` | 22,371 |
|
| 215 |
+
| 5 | `_ ߊ߬ _` | 21,289 |
|
| 216 |
+
|
| 217 |
+
**4-grams (Subword):**
|
| 218 |
+
|
| 219 |
+
| Rank | N-gram | Count |
|
| 220 |
+
|------|--------|-------|
|
| 221 |
+
| 1 | `_ ߟ ߊ߫ _` | 24,007 |
|
| 222 |
+
| 2 | `_ ߦ ߋ߫ _` | 19,822 |
|
| 223 |
+
| 3 | `_ ߟ ߎ߬ _` | 18,435 |
|
| 224 |
+
| 4 | `_ ߣ ߌ߫ _` | 17,034 |
|
| 225 |
+
| 5 | `_ ߟ ߋ߬ _` | 15,241 |
|
| 226 |
+
|
| 227 |
+
**5-grams (Subword):**
|
| 228 |
+
|
| 229 |
+
| Rank | N-gram | Count |
|
| 230 |
+
|------|--------|-------|
|
| 231 |
+
| 1 | `ߊ _ ߟ ߎ߬ _` | 6,974 |
|
| 232 |
+
| 2 | `_ ߞ ߵ ߊ߬ _` | 6,885 |
|
| 233 |
+
| 3 | `_ ߕ ߘ ߍ߬ _` | 6,060 |
|
| 234 |
+
| 4 | `_ ߟ ߋ߬ _ ߘ` | 5,988 |
|
| 235 |
+
| 5 | `_ ߟ ߊ߫ _ ߞ` | 5,476 |
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
### Key Findings
|
| 239 |
+
|
| 240 |
+
- **Best Perplexity:** 2-gram (subword) with 492
|
| 241 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 242 |
+
- **Coverage:** Top-1000 patterns cover ~25% of corpus
|
| 243 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 244 |
+
|
| 245 |
+
---
|
| 246 |
+
## 3. Markov Chain Evaluation
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+
### Results
|
| 255 |
+
|
| 256 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 257 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 258 |
+
| **1** | Word | 0.7313 | 1.660 | 5.40 | 59,713 | 26.9% |
|
| 259 |
+
| **1** | Subword | 0.9951 | 1.993 | 10.03 | 1,379 | 0.5% |
|
| 260 |
+
| **2** | Word | 0.2921 | 1.224 | 1.79 | 321,747 | 70.8% |
|
| 261 |
+
| **2** | Subword | 0.9509 | 1.933 | 5.76 | 13,830 | 4.9% |
|
| 262 |
+
| **3** | Word | 0.1083 | 1.078 | 1.20 | 575,482 | 89.2% |
|
| 263 |
+
| **3** | Subword | 0.6832 | 1.606 | 3.28 | 79,681 | 31.7% |
|
| 264 |
+
| **4** | Word | 0.0356 🏆 | 1.025 | 1.05 | 689,204 | 96.4% |
|
| 265 |
+
| **4** | Subword | 0.4827 | 1.397 | 2.20 | 261,417 | 51.7% |
|
| 266 |
+
|
| 267 |
+
### Generated Text Samples (Word-based)
|
| 268 |
+
|
| 269 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 270 |
+
|
| 271 |
+
**Context Size 1:**
|
| 272 |
+
|
| 273 |
+
1. `ߟߊ߫ ߓߌ߬ߟߊ߬ߢߐ߲߰ߠߊ ߃ߟߋ߬ ߘߐ߫ ߊ߬ ߕߌ߲߬ߞߎߘߎ߲ ߘߐ߫ ߣߴߊ߬ߟߎ߫ ߕߘߍ߬ ߘߊ߫ ߓߏ߲ ߠߊ߫ ߝߊ߬ߙߊ߲߬ߛߌ߫ ߟߊ߫ ߞߎߡߊߘߋ߲ ߘߏ߫`
|
| 274 |
+
2. `ߊ߬ ߖߘߍ߬ ߟߊ߫ ߊ߬ ߣߴߊ߬ ߥߟߎ߬ߥߟߎ ߟߎ߬ ߡߊ߫ ߡߊ߰ ߘߴߊ߬ߟߎ߫ ߡߊ߬ ߞߵߊ߬ ߘߊߡߌ߬ߣߊ߬ ߞߏ߫ ߌ ߝߣߊ߫`
|
| 275 |
+
3. `ߦߋ߫ ߜߟߊ߬ߜߟߊ߫ ߘߌ߫ ߟߊ߫ ߕߓߌߟߌ߫ ߕߙߏߞߏ ߟߎ߬ ߣߴߊ߬ ߘߟߊߡߌ߬ߘߊ߬ߣߍ߲ ߘߴߊ߬ ߦߋ߫ ߕߌ߲߬ߞߎ߬ߘߎ߲߬ ߇߲ ߞߊ߬ ߛߎ߲ߞߊߙߏ ߓߊ߲`
|
| 276 |
+
|
| 277 |
+
**Context Size 2:**
|
| 278 |
+
|
| 279 |
+
1. `ߊ߬ ߣߌ߫ ߞߐ ߟߊ߫ ߏ߬ ߞߵߊ߬ ߛߐ߫ ߟߌ߲߬ߖߌ߯ߟߌ ߟߊ߫ ߞߊ߲ߘߦߊ ߣߌ߫ ߟߊ߬ߟߌ߬ߟߌ ߟߋ߬ ߓߟߏ߫ ߓߊ ߏ߬ ߟߋ`
|
| 280 |
+
2. `ߟߋ߬ ߘߌ߫ ߟߊߓߋ߫ ߕߌ߲߬ߞߎߘߎ߲ ߘߐ߫ ߊ߬ ߟߊ߫ ߢߣߊߡߦߊ ߘߐ߫ ߛߔߑߙߌ߲ߜ߭ߛ ߔߊߦߑߣߌ߫ ߞߊ߲ߕߌ߮ ߟߌߓߋߙߌߦߞߊ`
|
| 281 |
+
3. `ߕߘߍ߬ ߦߋ߫ ߡߐ߰ ߟߎ߫ ߟߋ߬ ߞߘߊߡߊ߫ ߞߊ߬ ߝߊ߬ߛߏ߬ߟߊ߬ߞߊ ߘߐ߬ߕߊߡߌ߲ ߟߊ߬ߟߌ߰ߟߌ ߓߌ߬ߟߊ߬ ߘߊ߫ ߛߋ߲߬ߠߊ߫ ߕߎߟߊߝߌ߲ ߂߈ ߡߊ߬ ߕߙߍߛ...`
|
| 282 |
+
|
| 283 |
+
**Context Size 3:**
|
| 284 |
+
|
| 285 |
+
1. `ߘߏ߫ ߟߋ߬ ߘߌ߫ ߞߊ߬ ߝߘߊ߫ ߊߘߐߟߝ ߤߌߕߑߟߍߙ ߟߊ߫ ߘߊߘߐߥߛߊ ߞߛߊ߬ߓߌ ߡߊ߬ ߊ߬ ߞߵߊ߬ ߟߊ߫ ߞߟߏߞߕߏߦߊ ߏ߬ ߛߐ߬ߘߐ߲߬ ߋߙߐߔߎߞߊ`
|
| 286 |
+
2. `ߟߋ߬ ߘߌ߫ ߡߍ߲ ߣߌ߫ ߥߙߐ߬ߞߘߐ߫ ߝߊ߭ߡߘߎ߬ ߟߎ߫ ߘߍ߬ ߘߊ߫ ߞߊ߬ ߣߏߙߊߛߏߓߊ߫ ߘߟߊߛߌ߰ ߞߊ߬ ߟߊ߬ߥߛߊ߫ ߛߐ߬ߘߐ߲߫ ߞߊ߬ߙߊ߲߬ߕߏ߲߫ ߞߎ...`
|
| 287 |
+
3. `ߟߋ߬ ߘߌ߫ ߊ߬ ߥߟߏߘߊ ߟߋ߬ ߟߊ߫ ߏ߬ ߞߍ ߊ߬ ߓߐ߫ ߘߴߊ߬ ߟߐ߬ߘߎ߮ ߘߐ߫ ߊ߬ ߓߊ߯ߙߘߊ߫ ߘߊߺߊ߳ߑߥߟߊ߫ ߌߡߊ߰ߡߎ߲߫ ߣߌ߫`
|
| 288 |
+
|
| 289 |
+
**Context Size 4:**
|
| 290 |
+
|
| 291 |
+
1. `ߘߏ߫ ߟߋ߬ ߘߌ߫ ߡߍ߲ ߕߘߍ߬ ߦߋ߫ ߞߘߏߥߊߙߌ߫ ߕߟߋ߬ߓߋ ߥߙߏ߬ߘߎ߮ ߣߌ߫ ߕߐ߬ߙߐ߲߬ ߣߌ߫ ߝߏߟߏ߲ߣߍ߲߬ߜߍ߫ ߟߎ߫ ߣߴߊ߬ߟߎ߬ ߟߊߡߌߣߌ߲ ߞߊ...`
|
| 292 |
+
2. `ߟߋ߬ ߘߌ߫ ߊ߬ ߣߌ߫ ߞߴߏ߬ ߥߊ߯ߕߌ߫ ߞߋߟߋ߲ ߠߊ߫ ߞߏ߫ ߞߍߒߞߊ߲ߠߌ߲߫ ߘߍ߰ߜߍ ߘߏ߫ ߘߌ߫ ߓߌ߬ߟߊ߫ ߛߋ߲߬ߠߊ߫ ߥߙߏ߬ߘߎ߮ ߘߐ߫ ߏߔߋߙߊߛ߭...`
|
| 293 |
+
3. `ߏ߬ ߟߋ ߞߍ߫ ߘߊ߫ ߖߋ߬ߟߌ ߛߎ߯ߦߊ߫ ߞߎߘߊ߫ ߟߊߘߊ߲ߣߍ߲ ߘߌ߫ ߡߊ߲߬ߘߋ߲߫ ߛߊ߫ ߛߏ߲߬ߖߘߊ߫ ߛߌ߰ߣߍ߲ ߏ߬ ߞߍ߫ ߘߊ߫ ߡߊ߲߬ߘߋ߲߬ߞߊ ߟߎ߬...`
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
### Generated Text Samples (Subword-based)
|
| 297 |
+
|
| 298 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 299 |
+
|
| 300 |
+
**Context Size 1:**
|
| 301 |
+
|
| 302 |
+
1. `_ߟߎ߬_ߖߙߊ߲߬ߕߎ߲߬_ߟߐ߬ߘߏ߬ߘߌ߫`
|
| 303 |
+
2. `ߟߋߘߺߋ߬ߓߍߘߌ߫_ߟߌ_ߓߍߟ`
|
| 304 |
+
3. `ߞߵߊ߬_ߞߏ߬_ߊ߬_ߘߎ߲ߣߴߊ߬_ߛ`
|
| 305 |
+
|
| 306 |
+
**Context Size 2:**
|
| 307 |
+
|
| 308 |
+
1. `_ߞߛߐߟߊ_ߓߟߏ߫_ߣߌ߫_ߊ߬ߟߌ`
|
| 309 |
+
2. `_ߟߊ߫_߸_ߤߙߊ_ߕߊ_ߓߘߍ߬ߣ`
|
| 310 |
+
3. `_ߘߐ߫_ߞߊ߬ߦߊ_ߟߌ߲ߓߊ߫_ߡߴߊ߬`
|
| 311 |
+
|
| 312 |
+
**Context Size 3:**
|
| 313 |
+
|
| 314 |
+
1. `_ߟߊ߫_ߝߍ߫_ߦߋ߲߬_ߠߋ߬_ߦߋ߫_ߓߊ߯`
|
| 315 |
+
2. `ߟߊ߫_ߞߏ߫_ߡߐ߱_ߟߎ߬_ߡߐ߰_ߡߴߊ߬`
|
| 316 |
+
3. `ߟߎ߬_ߖߍ߬ߘߍ_ߛߌ߰_ߗߋߘߊ_ߣߌ߲߬`
|
| 317 |
+
|
| 318 |
+
**Context Size 4:**
|
| 319 |
+
|
| 320 |
+
1. `_ߟߊ߫_ߕߟߋ߬ߓߋ_ߘߐ߫߸_ߗߍ߭_ߡߛ`
|
| 321 |
+
2. `_ߦߋ߫_ߡߊ߬ߟߌ_ߞߐߛߊߦߌߡߊ_ߏ߬`
|
| 322 |
+
3. `_ߟߎ߬_ߟߊ߫_ߝߛߊߦߌ߫߸_ߓߎߙߎ߲ߘ`
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
### Key Findings
|
| 326 |
+
|
| 327 |
+
- **Best Predictability:** Context-4 (word) with 96.4% predictability
|
| 328 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 329 |
+
- **Memory Trade-off:** Larger contexts require more storage (261,417 contexts)
|
| 330 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 331 |
+
|
| 332 |
+
---
|
| 333 |
+
## 4. Vocabulary Analysis
|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+
### Statistics
|
| 342 |
+
|
| 343 |
+
| Metric | Value |
|
| 344 |
+
|--------|-------|
|
| 345 |
+
| Vocabulary Size | 24,726 |
|
| 346 |
+
| Total Tokens | 758,182 |
|
| 347 |
+
| Mean Frequency | 30.66 |
|
| 348 |
+
| Median Frequency | 3 |
|
| 349 |
+
| Frequency Std Dev | 453.65 |
|
| 350 |
+
|
| 351 |
+
### Most Common Words
|
| 352 |
+
|
| 353 |
+
| Rank | Word | Frequency |
|
| 354 |
+
|------|------|-----------|
|
| 355 |
+
| 1 | ߟߊ߫ | 32,133 |
|
| 356 |
+
| 2 | ߊ߬ | 22,764 |
|
| 357 |
+
| 3 | ߦߋ߫ | 20,445 |
|
| 358 |
+
| 4 | ߘߌ߫ | 19,370 |
|
| 359 |
+
| 5 | ߟߎ߬ | 19,254 |
|
| 360 |
+
| 6 | ߘߐ߫ | 18,014 |
|
| 361 |
+
| 7 | ߣߌ߫ | 17,228 |
|
| 362 |
+
| 8 | ߏ߬ | 16,452 |
|
| 363 |
+
| 9 | ߟߋ߬ | 15,933 |
|
| 364 |
+
| 10 | ߞߊ߬ | 15,452 |
|
| 365 |
+
|
| 366 |
+
### Least Common Words (from vocabulary)
|
| 367 |
+
|
| 368 |
+
| Rank | Word | Frequency |
|
| 369 |
+
|------|------|-----------|
|
| 370 |
+
| 1 | ߛߌߦߋߙߊߟߋߦߐ߲߫ | 2 |
|
| 371 |
+
| 2 | ߡߊ߲߬ߜ߭ߊ߫ | 2 |
|
| 372 |
+
| 3 | ߛߏߟߌߡߊ߫ | 2 |
|
| 373 |
+
| 4 | ߦߊ߬ߟߎ߲߬ߞߊ߫ | 2 |
|
| 374 |
+
| 5 | ߞߏߦߌ߲ߘߎ߯ | 2 |
|
| 375 |
+
| 6 | ߞߊߦߌߟߊ߯ߤߎ߲߫ | 2 |
|
| 376 |
+
| 7 | ߥߙߏ߬ߘߜ߭ߎ | 2 |
|
| 377 |
+
| 8 | ߢߐ߲ߜ߭ߐ߲ | 2 |
|
| 378 |
+
| 9 | ep | 2 |
|
| 379 |
+
| 10 | ߣߊߣߌ | 2 |
|
| 380 |
+
|
| 381 |
+
### Zipf's Law Analysis
|
| 382 |
+
|
| 383 |
+
| Metric | Value |
|
| 384 |
+
|--------|-------|
|
| 385 |
+
| Zipf Coefficient | 1.1458 |
|
| 386 |
+
| R² (Goodness of Fit) | 0.995876 |
|
| 387 |
+
| Adherence Quality | **excellent** |
|
| 388 |
+
|
| 389 |
+
### Coverage Analysis
|
| 390 |
+
|
| 391 |
+
| Top N Words | Coverage |
|
| 392 |
+
|-------------|----------|
|
| 393 |
+
| Top 100 | 53.3% |
|
| 394 |
+
| Top 1,000 | 76.5% |
|
| 395 |
+
| Top 5,000 | 90.4% |
|
| 396 |
+
| Top 10,000 | 95.0% |
|
| 397 |
+
|
| 398 |
+
### Key Findings
|
| 399 |
+
|
| 400 |
+
- **Zipf Compliance:** R²=0.9959 indicates excellent adherence to Zipf's law
|
| 401 |
+
- **High Frequency Dominance:** Top 100 words cover 53.3% of corpus
|
| 402 |
+
- **Long Tail:** 14,726 words needed for remaining 5.0% coverage
|
| 403 |
+
|
| 404 |
+
---
|
| 405 |
+
## 5. Word Embeddings Evaluation
|
| 406 |
+
|
| 407 |
+

|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
### 5.1 Cross-Lingual Alignment
|
| 417 |
+
|
| 418 |
+

|
| 419 |
+
|
| 420 |
+

|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
### 5.2 Model Comparison
|
| 424 |
+
|
| 425 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 426 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 427 |
+
| **mono_32d** | 32 | 0.8251 🏆 | 0.3375 | N/A | N/A |
|
| 428 |
+
| **mono_64d** | 64 | 0.6469 | 0.2857 | N/A | N/A |
|
| 429 |
+
| **mono_128d** | 128 | 0.1940 | 0.2840 | N/A | N/A |
|
| 430 |
+
| **aligned_32d** | 32 | 0.8251 | 0.3411 | 0.0347 | 0.2431 |
|
| 431 |
+
| **aligned_64d** | 64 | 0.6469 | 0.2880 | 0.0625 | 0.2708 |
|
| 432 |
+
| **aligned_128d** | 128 | 0.1940 | 0.2779 | 0.0764 | 0.2639 |
|
| 433 |
+
|
| 434 |
+
### Key Findings
|
| 435 |
+
|
| 436 |
+
- **Best Isotropy:** mono_32d with 0.8251 (more uniform distribution)
|
| 437 |
+
- **Semantic Density:** Average pairwise similarity of 0.3024. Lower values indicate better semantic separation.
|
| 438 |
+
- **Alignment Quality:** Aligned models achieve up to 7.6% R@1 in cross-lingual retrieval.
|
| 439 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 440 |
+
|
| 441 |
+
---
|
| 442 |
+
## 6. Morphological Analysis (Experimental)
|
| 443 |
+
|
| 444 |
+
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.
|
| 445 |
+
|
| 446 |
+
### 6.1 Productivity & Complexity
|
| 447 |
+
|
| 448 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 449 |
+
|--------|-------|----------------|----------------|
|
| 450 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 451 |
+
| Idiomaticity Gap | **-0.615** | Low formulaic content | - |
|
| 452 |
+
|
| 453 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 454 |
+
|
| 455 |
+
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.
|
| 456 |
+
|
| 457 |
+
#### Productive Prefixes
|
| 458 |
+
| Prefix | Examples |
|
| 459 |
+
|--------|----------|
|
| 460 |
+
| `-ߞ` | ߞߏߔߣߌ߲߬, ߞߴߊ߬ߟߌ߬ߞߊ߰ߓߊ߬, ߞߐ߰ߖߌ߬ߘߟߊ߬ |
|
| 461 |
+
| `-ߛ` | ߛߍ߲ߕߊ߬, ߛߐ߲ߞߐ߫, ߛߊ߲ߡߊߝߋ߲ |
|
| 462 |
+
| `-ߟߊ` | ߟߊߛߴߊ߬, ߟߊ߬ߡߙߊ߬ߟߌ, ߟߊߡߐ߰ |
|
| 463 |
+
| `-ߡߊ` | ߡߊ߬ߣߌ߲߬ߝߐߛߐ߲, ߡߊ߬ߘߌ߬ߡߌ߲߬ߣߌ߲, ߡߊ߯ |
|
| 464 |
+
| `-ߓ` | ߓߍ߲߬ߓߊ߬ߟߌ߬ߦߊ߬, ߓߊߓߋ߬, ߓߛߌ߬ߞߌ߬ߟߌ |
|
| 465 |
+
| `-ߘ` | ߘߎ߰ߓߊ߫, ߘߐߜߍߕߊ, ߘߐ߲߬ߓߏ߲ |
|
| 466 |
+
| `-ߡ` | ߡߍ߲ߘߌߦߊ߫, ߡߊ߬ߣߌ߲߬ߝߐߛߐ߲, ߡߊ߬ߘߌ߬ߡߌ߲߬ߣߌ߲ |
|
| 467 |
+
| `-ߕ` | ߕߙߐߝߍ߬, ߕߎ߲߯ߣߍ߲߫, ߕߍ߬ߘߵߊ߬ߟߎ߬ |
|
| 468 |
+
|
| 469 |
+
#### Productive Suffixes
|
| 470 |
+
| Suffix | Examples |
|
| 471 |
+
|--------|----------|
|
| 472 |
+
| `-ߊ` | ߝߊ߬ߘߌ߬ߜߊ, ߞߊ߬ߙߊ߲߬ߡߐ߰ߓߊ, ߖߊ߯ߓߊߟߌߦߊ |
|
| 473 |
+
| `-ߌ` | ߓߛߌ߬ߞߌ߬ߟߌ, ߜߏ߬ߞߌ, ߣߌ߬ߣߌ߬ߟߌ |
|
| 474 |
+
| `-ߦߊ` | ߖߊ߯ߓߊߟߌߦߊ, ߗߍ߬ߣߌ߫ߡߛߏ߬ߦߊ, ߣߝߊ߬ߢߐ߰ߦߊ |
|
| 475 |
+
| `-ߟߌ` | ߓߛߌ߬ߞߌ߬ߟߌ, ߣߌ߬ߣߌ߬ߟߌ, ߟߊ߬ߡߙߊ߬ߟߌ |
|
| 476 |
+
| `-ߟߊ` | ߛߋߟߊ, ߟߊߓߌ߬ߟߊ, ߥߎߟߊ |
|
| 477 |
+
| `-ߞߊ` | ߞߊ߲ߞߊ, ߓߌߋߟߏߙߎߛߌߞߊ, ߊߡߋߙߞߌߟߞߊ |
|
| 478 |
+
| `-ߏ` | ߟߊ߬ߖߊ߲ߞߏ, ߡߊ߬ߞߊߝߏ, ߦߙߏ |
|
| 479 |
+
| `-ߡߊ` | ߡߐ߬ߟߐ߲߬ߡߊ, ߖߛߐߡߊ, ߝߊߕߎߡߊ |
|
| 480 |
+
|
| 481 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 482 |
+
|
| 483 |
+
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.
|
| 484 |
+
|
| 485 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 486 |
+
|------|----------|------------------|----------|
|
| 487 |
+
| `ߝߙߌߞ` | 2.30x | 19 contexts | ߊߝߙߌߞ, ߊߝߙߌߞߊ, ߊߝߙߌߞߊ߲ |
|
| 488 |
+
| `ߡߋߙߌ` | 2.17x | 14 contexts | ߊߡߋߙߌߞ, ߋߡߋߙߌߞ, ߊߡߋߙߌߞߌ |
|
| 489 |
+
| `ߞߎߡߘ` | 2.28x | 12 contexts | ߞߎߡߘߊ, ߞߎߡߘߊ߫, ߘߐ߫ߞߎߡߘߊ |
|
| 490 |
+
| `ߊߙߊߓ` | 2.14x | 14 contexts | ߊߙߊߓߎ, ߊߙߊߓߍߟ, ߊߙߊߓߎ߫ |
|
| 491 |
+
| `ߟߌߦߊ` | 1.67x | 30 contexts | ߦߟߌߦߊ, ߜߟߌߦߊ, ߞߊߟߌߦߊ |
|
| 492 |
+
| `ߞߏߟߊ` | 1.88x | 20 contexts | ߞߏߟߊ߫, ߞߏߟߊߕߍ, ߣߌߞߏߟߊ |
|
| 493 |
+
| `ߊߟߌߦ` | 1.85x | 14 contexts | ߞߊߟߌߦߊ, ߓߊߟߌߦߊ, ߥߊߟߌߦߊ |
|
| 494 |
+
| `ߟߌߡߊ` | 1.48x | 25 contexts | ߟߌߡߊ߫, ߦߟߌߡߊ, ߥߊߟߌߡߊ |
|
| 495 |
+
| `ߦߊߟߌ` | 1.72x | 15 contexts | ߖߏߦߊߟߌ, ߗߋߦߊߟߌ, ߗߋߦߊߟߌ߫ |
|
| 496 |
+
| `ߓߟߏߡ` | 1.64x | 16 contexts | ߓߟߏߡߊ, ߓߟߏߡߐ, ߓߟߏߡߐ߮ |
|
| 497 |
+
| `ߊߟߏߡ` | 2.36x | 6 contexts | ߊߟߏߡߊ߲, ߊߟߏߡߊ߲߫, ߊߟߏߡߊߦߌ߲ |
|
| 498 |
+
| `ߛߓߍߟ` | 1.65x | 11 contexts | ߛߓߍߟߌ, ߛߓߍߟߊ, ߛߓߍߟߊ߲ |
|
| 499 |
+
|
| 500 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 501 |
+
|
| 502 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 503 |
+
|
| 504 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 505 |
+
|--------|--------|-----------|----------|
|
| 506 |
+
| `-ߞ` | `-ߊ` | 158 words | ߞߊ߲߬ߖߊ, ߞߐ߯ߟߕߊ |
|
| 507 |
+
| `-ߛ` | `-ߊ` | 102 words | ߛߦߊ, ߛߏ߯ߡߦߊ |
|
| 508 |
+
| `-ߘ` | `-ߊ` | 85 words | ߘߐ߲߬ߖߊ߬ߓߊ, ߘߐߜߟߌߦߊ |
|
| 509 |
+
| `-ߓ` | `-ߊ` | 73 words | ߓߏ߬ߢߊ, ߓߋߕߊ |
|
| 510 |
+
| `-ߝ` | `-ߊ` | 63 words | ߝߎߥߟߊ, ߝߘߏ߬ߓߊ߬ߦߊ |
|
| 511 |
+
| `-ߟߊ` | `-ߌ` | 53 words | ߟߊߕߊ߯ߟߌ, ߟߊ߬ߕߊ߲߬ߞߊ߬ߟߌ |
|
| 512 |
+
| `-ߞ` | `-ߦߊ` | 48 words | ߞߏ߲߬ߓߏ߬ߦߊ, ߞߌ߬ߣߊ߬ߦߊ |
|
| 513 |
+
| `-ߕ` | `-ߊ` | 43 words | ߕߊ߲ߓߊ߲ߞߕߐߦߊ, ߕߍߟߐߦߊ |
|
| 514 |
+
| `-ߞ` | `-ߌ` | 41 words | ߞߎ߬ߙߊ߬ߦߌ߬ߛߌ, ߞߊ߲ߠߊߓߌߟߊߟߌ |
|
| 515 |
+
| `-ߘ` | `-ߌ` | 40 words | ߘߝߐߟߌ, ߘߝߊߟߌ |
|
| 516 |
+
|
| 517 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 518 |
+
|
| 519 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 520 |
+
|
| 521 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 522 |
+
|------|-----------------|------------|------|
|
| 523 |
+
| ߛߊߡߊߞߎߟߎ߲ | **`ߛߊ-ߡߊ-ߞߎߟߎ߲`** | 7.5 | `ߞߎߟߎ߲` |
|
| 524 |
+
| ߖߙߊߘߛߌߕߙߊߦߊ | **`ߖߙߊߘߛߌߕߙ-ߊ-ߦߊ`** | 7.5 | `ߊ` |
|
| 525 |
+
| ߘߟߊߡߌ߬ߣߊ߬ | **`ߘ-ߟߊ-ߡߌ߬ߣߊ߬`** | 7.5 | `ߡߌ߬ߣߊ߬` |
|
| 526 |
+
| ߊߙߑߛ߭ߌߣߊߙ | **`ߊߙߑߛ߭ߌߣ-ߊ-ߙ`** | 7.5 | `ߊ` |
|
| 527 |
+
| ߘߊߟߞߊߟߌߦߊ | **`ߘߊ-ߟ-ߞߊߟߌߦߊ`** | 7.5 | `ߞߊߟߌߦߊ` |
|
| 528 |
+
| ߓߟߏߟߊߓߊ߯ߙߊ߫ | **`ߓߟߏ-ߟߊ-ߓߊ߯ߙߊ߫`** | 7.5 | `ߓߊ߯ߙߊ߫` |
|
| 529 |
+
| ߦߟߌߓߌߟߊߟߌ | **`ߦߟߌߓߌߟ-ߊ-ߟߌ`** | 7.5 | `ߊ` |
|
| 530 |
+
| ߓߟߏߡߊߕߌߢߍߣߍ߲ | **`ߓߟߏ-ߡߊ-ߕߌߢߍߣߍ߲`** | 7.5 | `ߕߌߢߍߣߍ߲` |
|
| 531 |
+
| ߣߊߡߎ߲ߘߐߞߏ | **`ߣߊߡߎ߲-ߘߐ-ߞߏ`** | 7.5 | `ߘߐ` |
|
| 532 |
+
| ߝߘߊߢߐ߲߯ߦߊ | **`ߝ-ߘߊ-ߢߐ߲߯ߦߊ`** | 7.5 | `ߢߐ߲߯ߦߊ` |
|
| 533 |
+
| ߦߟߍ߬ߡߊ߲߬ߓߊߟߌ | **`ߦߟߍ߬ߡߊ߲߬ߓ-ߊ-ߟߌ`** | 7.5 | `ߊ` |
|
| 534 |
+
| ߦߌߟߡߊߦߊߟߌ | **`ߦߌߟߡߊ-ߦߊ-ߟߌ`** | 6.0 | `ߦߌߟߡߊ` |
|
| 535 |
+
| ߝߘߎߓߊߟߌߦߊ | **`ߝ-ߘߎ-ߓߊߟߌߦߊ`** | 6.0 | `ߓߊߟߌߦߊ` |
|
| 536 |
+
| ߞߐ߲ߛߐ߲ߦߊߟߌ | **`ߞߐ߲ߛߐ߲-ߦߊ-ߟߌ`** | 6.0 | `ߞߐ߲ߛߐ߲` |
|
| 537 |
+
| ߛߏ߯ߙߏߟߌߟߊ | **`ߛߏ߯ߙߏ-ߟߌ-ߟߊ`** | 6.0 | `ߛߏ߯ߙߏ` |
|
| 538 |
+
|
| 539 |
+
### 6.6 Linguistic Interpretation
|
| 540 |
+
|
| 541 |
+
> **Automated Insight:**
|
| 542 |
+
The language N’Ko shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 543 |
+
|
| 544 |
+
---
|
| 545 |
+
## 7. Summary & Recommendations
|
| 546 |
+
|
| 547 |
+

|
| 548 |
+
|
| 549 |
+
### Production Recommendations
|
| 550 |
+
|
| 551 |
+
| Component | Recommended | Rationale |
|
| 552 |
+
|-----------|-------------|-----------|
|
| 553 |
+
| Tokenizer | **32k BPE** | Best compression (4.45x) |
|
| 554 |
+
| N-gram | **2-gram** | Lowest perplexity (492) |
|
| 555 |
+
| Markov | **Context-4** | Highest predictability (96.4%) |
|
| 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 15:59:19*
|
models/embeddings/aligned/nqo_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:334438bc04c5815f2abbf8cab6323e23047f181d1d761c95eef985680ea575d9
|
| 3 |
+
size 1035025683
|
models/embeddings/aligned/nqo_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/nqo_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7c6de2177924a0b95e10a7194e498a900680149921815047323b5d1fe2af568
|
| 3 |
+
size 65664
|
models/embeddings/aligned/nqo_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 144,
|
| 7 |
+
"vocab_size": 10528
|
| 8 |
+
}
|
models/embeddings/aligned/nqo_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c957aaea1a3e4abe5f3396bc093e2be16bf6e6dbd85b05e02736e80bb6be18c
|
| 3 |
+
size 258940179
|
models/embeddings/aligned/nqo_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/nqo_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04a74874fa7dad2551b33f2dff7d6a2c526525cb99bf45405eca562112318bdb
|
| 3 |
+
size 4224
|
models/embeddings/aligned/nqo_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 144,
|
| 7 |
+
"vocab_size": 10528
|
| 8 |
+
}
|
models/embeddings/aligned/nqo_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13e98fa081d45a0268da116607bd5e1f67b24811ca8b4240abad1e86fa37ff34
|
| 3 |
+
size 517635347
|
models/embeddings/aligned/nqo_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/nqo_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3b3eba6376d3f88b38d802542628758185275ed3d270d6e2f41e9d884c764eeb
|
| 3 |
+
size 16512
|
models/embeddings/aligned/nqo_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 144,
|
| 7 |
+
"vocab_size": 10528
|
| 8 |
+
}
|
models/embeddings/monolingual/nqo_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:334438bc04c5815f2abbf8cab6323e23047f181d1d761c95eef985680ea575d9
|
| 3 |
+
size 1035025683
|
models/embeddings/monolingual/nqo_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/nqo_128d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 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": 10528
|
| 16 |
+
}
|
models/embeddings/monolingual/nqo_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c957aaea1a3e4abe5f3396bc093e2be16bf6e6dbd85b05e02736e80bb6be18c
|
| 3 |
+
size 258940179
|
models/embeddings/monolingual/nqo_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/nqo_32d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 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": 10528
|
| 16 |
+
}
|
models/embeddings/monolingual/nqo_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13e98fa081d45a0268da116607bd5e1f67b24811ca8b4240abad1e86fa37ff34
|
| 3 |
+
size 517635347
|
models/embeddings/monolingual/nqo_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "nqo", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/nqo_64d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 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": 10528
|
| 16 |
+
}
|
models/subword_markov/nqo_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d49186631ca977dca567a31d44bbadb88dbdad5a9f78b9265c70fa2f091bfb8
|
| 3 |
+
size 111388
|
models/subword_markov/nqo_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_contexts": 1379,
|
| 6 |
+
"total_transitions": 3617774
|
| 7 |
+
}
|
models/subword_markov/nqo_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3452783f1fb008efff36759f2c056f1b07996ebd4c92ae0b0f4a46364f4afc9
|
| 3 |
+
size 610764
|
models/subword_markov/nqo_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_contexts": 13830,
|
| 6 |
+
"total_transitions": 3616148
|
| 7 |
+
}
|
models/subword_markov/nqo_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a12198e3cfde990f390c9b086b57662946c696dcd384f4410a2efa9703adc995
|
| 3 |
+
size 2184810
|
models/subword_markov/nqo_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_contexts": 79681,
|
| 6 |
+
"total_transitions": 3614522
|
| 7 |
+
}
|
models/subword_markov/nqo_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b760285204fa92bbe3431966e4183368730bf86b6b97e9c039efbd63fb8554c0
|
| 3 |
+
size 5878597
|
models/subword_markov/nqo_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_contexts": 261417,
|
| 6 |
+
"total_transitions": 3612896
|
| 7 |
+
}
|
models/subword_ngram/nqo_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb736603ee974b26d9dd48379da98da7846069c863e1cb8fb8e2eedba3da5970
|
| 3 |
+
size 81929
|
models/subword_ngram/nqo_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_ngrams": 5832,
|
| 6 |
+
"total_ngrams": 3617774
|
| 7 |
+
}
|
models/subword_ngram/nqo_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:111afcd3b04f4ff489735bf2960f9eabb0fe42c778a7af1d94266994835ee649
|
| 3 |
+
size 521903
|
models/subword_ngram/nqo_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_ngrams": 36188,
|
| 6 |
+
"total_ngrams": 3616148
|
| 7 |
+
}
|
models/subword_ngram/nqo_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c01cef40f5d923c96113a37f1988dd8ea484d1732327b44ef8d4c584243a6c5
|
| 3 |
+
size 1886071
|
models/subword_ngram/nqo_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_ngrams": 132351,
|
| 6 |
+
"total_ngrams": 3614522
|
| 7 |
+
}
|
models/subword_ngram/nqo_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71028e05cb9d0261b0533087a5068428073723062d43b3a80effeb58555bb107
|
| 3 |
+
size 3692184
|
models/subword_ngram/nqo_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_ngrams": 243605,
|
| 6 |
+
"total_ngrams": 3612896
|
| 7 |
+
}
|
models/tokenizer/nqo_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73ff4fdb3d1cb67febde75b56cacf8248ec3f493eee54651a52580d8f020689d
|
| 3 |
+
size 593562
|
models/tokenizer/nqo_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/nqo_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5640eb435befe2401f53f5791e7384ce6d290cdd492a422731e43d5749030320
|
| 3 |
+
size 1000545
|
models/tokenizer/nqo_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/nqo_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:558a364e77c6b2ee85e507de9c7e61aa5f81bb09c1a8b660061f138c348ae882
|
| 3 |
+
size 408724
|
models/tokenizer/nqo_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/nqo_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c35470ce7212f373982c807bcdcc51a8be0ebb8fe51bf324799e1243d7ca952d
|
| 3 |
+
size 450878
|
models/vocabulary/nqo_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "nqo",
|
| 3 |
+
"vocabulary_size": 24726,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.07534003935871268,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.5093562039139353,
|
| 9 |
+
"top_1000": 0.7308466661707956,
|
| 10 |
+
"top_5000": 0.8640598978589717,
|
| 11 |
+
"top_10000": 0.9082697420756237
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 35035,
|
| 14 |
+
"hapax_ratio": 0.5862519034152708,
|
| 15 |
+
"total_documents": 1626
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/nqo_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c962524d850cbd08bc4b6b0f2f3865362b2aca4a984d940e12b26ea529ef5e12
|
| 3 |
+
size 2942402
|
models/word_markov/nqo_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "nqo",
|
| 5 |
+
"unique_contexts": 59713,
|
| 6 |
+
"total_transitions": 791591
|
| 7 |
+
}
|
models/word_markov/nqo_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ca648283bad3a920733852bea6c6c7ad9c7dc3aec15ba561b131e990482a7d2
|
| 3 |
+
size 9313849
|