Upload all models and assets for ff (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +754 -0
- models/embeddings/aligned/ff_128d.bin +3 -0
- models/embeddings/aligned/ff_128d.meta.json +1 -0
- models/embeddings/aligned/ff_128d.projection.npy +3 -0
- models/embeddings/aligned/ff_128d_metadata.json +8 -0
- models/embeddings/aligned/ff_32d.bin +3 -0
- models/embeddings/aligned/ff_32d.meta.json +1 -0
- models/embeddings/aligned/ff_32d.projection.npy +3 -0
- models/embeddings/aligned/ff_32d_metadata.json +8 -0
- models/embeddings/aligned/ff_64d.bin +3 -0
- models/embeddings/aligned/ff_64d.meta.json +1 -0
- models/embeddings/aligned/ff_64d.projection.npy +3 -0
- models/embeddings/aligned/ff_64d_metadata.json +8 -0
- models/embeddings/monolingual/ff_128d.bin +3 -0
- models/embeddings/monolingual/ff_128d.meta.json +1 -0
- models/embeddings/monolingual/ff_128d_metadata.json +15 -0
- models/embeddings/monolingual/ff_32d.bin +3 -0
- models/embeddings/monolingual/ff_32d.meta.json +1 -0
- models/embeddings/monolingual/ff_32d_metadata.json +15 -0
- models/embeddings/monolingual/ff_64d.bin +3 -0
- models/embeddings/monolingual/ff_64d.meta.json +1 -0
- models/embeddings/monolingual/ff_64d_metadata.json +15 -0
- models/subword_markov/ff_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/ff_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/ff_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/ff_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/ff_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/ff_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/ff_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/ff_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/ff_2gram_subword.parquet +3 -0
- models/subword_ngram/ff_2gram_subword_metadata.json +7 -0
- models/subword_ngram/ff_3gram_subword.parquet +3 -0
- models/subword_ngram/ff_3gram_subword_metadata.json +7 -0
- models/subword_ngram/ff_4gram_subword.parquet +3 -0
- models/subword_ngram/ff_4gram_subword_metadata.json +7 -0
- models/subword_ngram/ff_5gram_subword.parquet +3 -0
- models/subword_ngram/ff_5gram_subword_metadata.json +7 -0
- models/tokenizer/ff_tokenizer_16k.model +3 -0
- models/tokenizer/ff_tokenizer_16k.vocab +0 -0
- models/tokenizer/ff_tokenizer_32k.model +3 -0
- models/tokenizer/ff_tokenizer_32k.vocab +0 -0
- models/tokenizer/ff_tokenizer_64k.model +3 -0
- models/tokenizer/ff_tokenizer_64k.vocab +0 -0
- models/tokenizer/ff_tokenizer_8k.model +3 -0
- models/tokenizer/ff_tokenizer_8k.vocab +0 -0
- models/vocabulary/ff_vocabulary.parquet +3 -0
- models/vocabulary/ff_vocabulary_metadata.json +17 -0
- models/word_markov/ff_markov_ctx1_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_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: ff
|
| 3 |
+
language_name: Fula
|
| 4 |
+
language_family: atlantic_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-atlantic_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.156
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.8804
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-04
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Fula - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Fula** 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.290x | 3.29 | 0.2095% | 458,165 |
|
| 94 |
+
| **16k** | 3.629x | 3.63 | 0.2311% | 415,362 |
|
| 95 |
+
| **32k** | 3.915x | 3.92 | 0.2494% | 384,993 |
|
| 96 |
+
| **64k** | 4.156x 🏆 | 4.16 | 0.2647% | 362,620 |
|
| 97 |
+
|
| 98 |
+
### Tokenization Examples
|
| 99 |
+
|
| 100 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
+
|
| 102 |
+
**Sample 1:** `Tuobo District is one of 10 districts of River Gee County, Liberia. As of the po...`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁tu o bo ▁district ▁is ▁one ▁of ▁ 1 0 ... (+23 more)` | 33 |
|
| 107 |
+
| 16k | `▁tu o bo ▁district ▁is ▁one ▁of ▁ 1 0 ... (+21 more)` | 31 |
|
| 108 |
+
| 32k | `▁tu o bo ▁district ▁is ▁one ▁of ▁ 1 0 ... (+21 more)` | 31 |
|
| 109 |
+
| 64k | `▁tu obo ▁district ▁is ▁one ▁of ▁ 1 0 ▁districts ... (+20 more)` | 30 |
|
| 110 |
+
|
| 111 |
+
**Sample 2:** `Sapele Latake hukuma pamarun Diiwal Delta lysidi Naajeeriya`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁sa pe le ▁lat ake ▁hukuma ▁pamarun ▁diiwal ▁delta ▁ly ... (+2 more)` | 12 |
|
| 116 |
+
| 16k | `▁sa pe le ▁latake ▁hukuma ▁pamarun ▁diiwal ▁delta ▁lysidi ▁naajeeriya` | 10 |
|
| 117 |
+
| 32k | `▁sapele ▁latake ▁hukuma ▁pamarun ▁diiwal ▁delta ▁lysidi ▁naajeeriya` | 8 |
|
| 118 |
+
| 64k | `▁sapele ▁latake ▁hukuma ▁pamarun ▁diiwal ▁delta ▁lysidi ▁naajeeriya` | 8 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `Tienie ko wuro e nder diiwaan Grand Cape Mount, to leydi Liberiya.`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁ti en ie ▁ko ▁wuro ▁e ▁nder ▁diiwaan ▁grand ▁cape ... (+7 more)` | 17 |
|
| 125 |
+
| 16k | `▁ti en ie ▁ko ▁wuro ▁e ▁nder ▁diiwaan ▁grand ▁cape ... (+6 more)` | 16 |
|
| 126 |
+
| 32k | `▁ti en ie ▁ko ▁wuro ▁e ▁nder ▁diiwaan ▁grand ▁cape ... (+6 more)` | 16 |
|
| 127 |
+
| 64k | `▁ti enie ▁ko ▁wuro ▁e ▁nder ▁diiwaan ▁grand ▁cape ▁mount ... (+5 more)` | 15 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 4.156x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.2095% 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 | 18,162 | 14.15 | 104,236 | 16.2% | 37.3% |
|
| 151 |
+
| **2-gram** | Subword | 296 🏆 | 8.21 | 7,815 | 65.5% | 98.4% |
|
| 152 |
+
| **3-gram** | Word | 53,854 | 15.72 | 187,942 | 10.0% | 24.1% |
|
| 153 |
+
| **3-gram** | Subword | 2,479 | 11.28 | 53,321 | 26.0% | 70.2% |
|
| 154 |
+
| **4-gram** | Word | 183,838 | 17.49 | 408,955 | 5.3% | 14.1% |
|
| 155 |
+
| **4-gram** | Subword | 13,282 | 13.70 | 265,846 | 13.1% | 40.8% |
|
| 156 |
+
| **5-gram** | Word | 193,974 | 17.57 | 342,827 | 4.9% | 12.3% |
|
| 157 |
+
| **5-gram** | Subword | 45,941 | 15.49 | 723,015 | 8.8% | 27.6% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `e nder` | 61,343 |
|
| 166 |
+
| 2 | `e hitaande` | 32,860 |
|
| 167 |
+
| 3 | `ko e` | 22,642 |
|
| 168 |
+
| 4 | `jaaɓi haaɗtirde` | 19,214 |
|
| 169 |
+
| 5 | `duɗal jaaɓi` | 17,989 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `duɗal jaaɓi haaɗtirde` | 17,974 |
|
| 176 |
+
| 2 | `to duɗal jaaɓi` | 10,218 |
|
| 177 |
+
| 3 | `e hitaande o` | 6,335 |
|
| 178 |
+
| 4 | `e nder leydi` | 5,945 |
|
| 179 |
+
| 5 | `e nder diiwaan` | 4,588 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `to duɗal jaaɓi haaɗtirde` | 10,215 |
|
| 186 |
+
| 2 | `e asli mum ñalnde` | 3,566 |
|
| 187 |
+
| 3 | `mw parser output reflist` | 3,258 |
|
| 188 |
+
| 4 | `ko ɓuri heewde e` | 1,887 |
|
| 189 |
+
| 5 | `gila e asli mum` | 1,729 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `gila e asli mum ñalnde` | 1,726 |
|
| 196 |
+
| 2 | `ko e asli mum ñalnde` | 1,633 |
|
| 197 |
+
| 3 | `mooftaa ko e asli mum` | 1,472 |
|
| 198 |
+
| 4 | `moƴƴinaama gila e asli mum` | 1,404 |
|
| 199 |
+
| 5 | `mw parser output reflist lower` | 1,396 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `e _` | 1,192,787 |
|
| 206 |
+
| 2 | `o _` | 697,278 |
|
| 207 |
+
| 3 | `a a` | 631,137 |
|
| 208 |
+
| 4 | `i _` | 590,142 |
|
| 209 |
+
| 5 | `d e` | 589,471 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `_ e _` | 366,386 |
|
| 216 |
+
| 2 | `d e _` | 361,065 |
|
| 217 |
+
| 3 | `n d e` | 340,092 |
|
| 218 |
+
| 4 | `k o _` | 191,527 |
|
| 219 |
+
| 5 | `_ k o` | 190,918 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `n d e _` | 190,566 |
|
| 226 |
+
| 2 | `_ n d e` | 151,153 |
|
| 227 |
+
| 3 | `_ k o _` | 147,651 |
|
| 228 |
+
| 4 | `n d e r` | 106,570 |
|
| 229 |
+
| 5 | `d e r _` | 101,274 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `n d e r _` | 100,326 |
|
| 236 |
+
| 2 | `_ n d e r` | 99,998 |
|
| 237 |
+
| 3 | `e _ n d e` | 89,458 |
|
| 238 |
+
| 4 | `_ e _ n d` | 62,590 |
|
| 239 |
+
| 5 | `_ i n a _` | 61,992 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 296
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~28% 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.8658 | 1.822 | 7.09 | 238,209 | 13.4% |
|
| 263 |
+
| **1** | Subword | 1.0967 | 2.139 | 6.46 | 4,268 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.2953 | 1.227 | 1.86 | 1,682,859 | 70.5% |
|
| 265 |
+
| **2** | Subword | 0.7230 | 1.651 | 4.35 | 27,539 | 27.7% |
|
| 266 |
+
| **3** | Word | 0.1250 | 1.091 | 1.26 | 3,111,793 | 87.5% |
|
| 267 |
+
| **3** | Subword | 0.7226 | 1.650 | 3.82 | 119,629 | 27.7% |
|
| 268 |
+
| **4** | Word | 0.0559 🏆 | 1.040 | 1.10 | 3,909,129 | 94.4% |
|
| 269 |
+
| **4** | Subword | 0.6523 | 1.572 | 3.00 | 457,157 | 34.8% |
|
| 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. `e fitinaaji gonɗi ɗer daga baro caggal wuro e ganndal paleontologie to tangi tehsil diiwaan lagos`
|
| 278 |
+
2. `ko adii aisha halilu akilu winndi e apc mo anndaa e dow dow huutoreeji e nder`
|
| 279 |
+
3. `nder cuuɗi 3 nde peeñii e doggol laawɗungol 1 mm 0 m abu muhammadu faade e`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `e nder eɓɓoore jaŋde coodguuli o siftorii e hitaande opitaal oo ina rokka kadi batte e peewnugol`
|
| 284 |
+
2. `e hitaande nde martin timmini mbaydi ndii ɗuuɗal ngal heewaani ina maantiniree aksan grave yeru helm...`
|
| 285 |
+
3. `ko e jannginde sosiyoloji 18 4 158 168 issn s2cid politik e jamaanu koloñaal ko adii hitaande`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `duɗal jaaɓi haaɗtirde makerere mooftaa ko e asli mum ñalnde 13 lewru abriil o arti e galle makko`
|
| 290 |
+
2. `to duɗal jaaɓi haaɗtirde wharton to duɗal jaaɓi haaɗtirde madrasa islamia buxi bazar to leydi kuttak...`
|
| 291 |
+
3. `e hitaande o joofni e 7 056 woote afolami suɓiima heddaade e celibateer e nder tikkere e ko`
|
| 292 |
+
|
| 293 |
+
**Context Size 4:**
|
| 294 |
+
|
| 295 |
+
1. `to duɗal jaaɓi haaɗtirde williams college e hitaande o heɓi ba e jaŋde ƴellitaare kuuɓtidinnde e jaŋ...`
|
| 296 |
+
2. `e asli mum ñalnde keɓtinaa ko jaaynde duɗal jaaɓi haaɗtirde columbia to duɗal jaaɓi haaɗtirde bagdaa...`
|
| 297 |
+
3. `mw parser output reflist reflist columns ol margin top 0 mw parser output reflist lower greek list s...`
|
| 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. `_mpabileɓe_mwor_`
|
| 307 |
+
2. `a_lita,_ошкараки`
|
| 308 |
+
3. `edimeye_fo_wi_kk`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `e_ng_"gelloyɗe_e_`
|
| 313 |
+
2. `o_wuuɓɓe_ɗaaweddi`
|
| 314 |
+
3. `aayya._dogina_mu_`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `_e_kosa_tuugii_haa`
|
| 319 |
+
2. `de_17_famɗam_huun,`
|
| 320 |
+
3. `nde_8_oktooɓe_ype:`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `nde_dingirde_batte_`
|
| 325 |
+
2. `_nde_23_lewru_ut_ha`
|
| 326 |
+
3. `_ko_ñawɓe_22_mars_k`
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Key Findings
|
| 330 |
+
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 94.4% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (457,157 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 | 109,082 |
|
| 350 |
+
| Total Tokens | 4,968,136 |
|
| 351 |
+
| Mean Frequency | 45.54 |
|
| 352 |
+
| Median Frequency | 4 |
|
| 353 |
+
| Frequency Std Dev | 1398.20 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | e | 374,881 |
|
| 360 |
+
| 2 | ko | 151,825 |
|
| 361 |
+
| 3 | nder | 99,826 |
|
| 362 |
+
| 4 | o | 93,579 |
|
| 363 |
+
| 5 | to | 65,456 |
|
| 364 |
+
| 6 | ina | 62,692 |
|
| 365 |
+
| 7 | hitaande | 48,933 |
|
| 366 |
+
| 8 | ngam | 37,608 |
|
| 367 |
+
| 9 | leydi | 35,673 |
|
| 368 |
+
| 10 | nde | 31,552 |
|
| 369 |
+
|
| 370 |
+
### Least Common Words (from vocabulary)
|
| 371 |
+
|
| 372 |
+
| Rank | Word | Frequency |
|
| 373 |
+
|------|------|-----------|
|
| 374 |
+
| 1 | delee | 2 |
|
| 375 |
+
| 2 | trokanter | 2 |
|
| 376 |
+
| 3 | casteeji | 2 |
|
| 377 |
+
| 4 | hoffa | 2 |
|
| 378 |
+
| 5 | hallux | 2 |
|
| 379 |
+
| 6 | falannde | 2 |
|
| 380 |
+
| 7 | calthorpe | 2 |
|
| 381 |
+
| 8 | stopes | 2 |
|
| 382 |
+
| 9 | trokleer | 2 |
|
| 383 |
+
| 10 | mortons | 2 |
|
| 384 |
+
|
| 385 |
+
### Zipf's Law Analysis
|
| 386 |
+
|
| 387 |
+
| Metric | Value |
|
| 388 |
+
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.1660 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.992989 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 39.8% |
|
| 398 |
+
| Top 1,000 | 67.8% |
|
| 399 |
+
| Top 5,000 | 83.4% |
|
| 400 |
+
| Top 10,000 | 88.4% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9930 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 39.8% of corpus
|
| 406 |
+
- **Long Tail:** 99,082 words needed for remaining 11.6% 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.8735 | 0.3675 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.8804 🏆 | 0.2760 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.8690 | 0.2101 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8735 | 0.3540 | 0.1020 | 0.3900 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.8804 | 0.2806 | 0.1860 | 0.5660 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.8690 | 0.2018 | 0.2480 | 0.6620 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** mono_64d with 0.8804 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2817. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 24.8% R@1 in cross-lingual retrieval.
|
| 443 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
+
|
| 445 |
+
---
|
| 446 |
+
## 6. Morphological Analysis (Experimental)
|
| 447 |
+
|
| 448 |
+
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
+
|
| 450 |
+
### 6.1 Productivity & Complexity
|
| 451 |
+
|
| 452 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
+
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **-0.556** | 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 |
+
| `-ma` | mallihemre, madaaw, mariam |
|
| 465 |
+
|
| 466 |
+
#### Productive Suffixes
|
| 467 |
+
| Suffix | Examples |
|
| 468 |
+
|--------|----------|
|
| 469 |
+
| `-e` | mallihemre, olive, 9ice |
|
| 470 |
+
| `-ji` | notifikaaji, cedeeji, reenngooji |
|
| 471 |
+
| `-de` | koɗorde, wiyde, nuunɗude |
|
| 472 |
+
|
| 473 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 474 |
+
|
| 475 |
+
Bound stems are high-frequency subword units that are semantically cohesive but rarely appear as standalone words. These often correspond to the 'core' of a word that requires inflection or derivation to be valid.
|
| 476 |
+
|
| 477 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 478 |
+
|------|----------|------------------|----------|
|
| 479 |
+
| `anng` | 1.65x | 80 contexts | anngu, manngu, mannga |
|
| 480 |
+
| `annd` | 1.37x | 157 contexts | annde, anndi, annda |
|
| 481 |
+
| `innd` | 1.61x | 67 contexts | inndo, innde, inndi |
|
| 482 |
+
| `ooji` | 1.58x | 72 contexts | sooji, jooji, booji |
|
| 483 |
+
| `ande` | 1.39x | 126 contexts | ɓande, andes, wande |
|
| 484 |
+
| `riya` | 1.51x | 75 contexts | riyaz, oriya, uriya |
|
| 485 |
+
| `nnde` | 1.48x | 76 contexts | annde, innde, wonnde |
|
| 486 |
+
| `goll` | 1.88x | 27 contexts | gollo, gollu, golla |
|
| 487 |
+
| `hita` | 1.91x | 21 contexts | chita, shita, ichita |
|
| 488 |
+
| `itaa` | 1.40x | 62 contexts | kitaa, gitaar, kitaab |
|
| 489 |
+
| `aand` | 1.30x | 65 contexts | aande, aandi, naande |
|
| 490 |
+
| `lnde` | 1.58x | 25 contexts | nalnde, jolnde, falnde |
|
| 491 |
+
|
| 492 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 493 |
+
|
| 494 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 495 |
+
|
| 496 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 497 |
+
|--------|--------|-----------|----------|
|
| 498 |
+
| `-ma` | `-e` | 24 words | marylise, mahde |
|
| 499 |
+
| `-ma` | `-de` | 7 words | mahde, mahaande |
|
| 500 |
+
| `-ma` | `-ji` | 3 words | mabboji, mahngooji |
|
| 501 |
+
|
| 502 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 503 |
+
|
| 504 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 505 |
+
|
| 506 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 507 |
+
|------|-----------------|------------|------|
|
| 508 |
+
| jottoriide | **`jottorii-de`** | 4.5 | `jottorii` |
|
| 509 |
+
| afrikaaji | **`afrikaa-ji`** | 4.5 | `afrikaa` |
|
| 510 |
+
| hawtaagoji | **`hawtaago-ji`** | 4.5 | `hawtaago` |
|
| 511 |
+
| jaaynooji | **`jaaynoo-ji`** | 4.5 | `jaaynoo` |
|
| 512 |
+
| ajiboyede | **`ajiboye-de`** | 4.5 | `ajiboye` |
|
| 513 |
+
| sungullaji | **`sungulla-ji`** | 4.5 | `sungulla` |
|
| 514 |
+
| maagiyaŋkooji | **`ma-agiyaŋkoo-ji`** | 3.0 | `agiyaŋkoo` |
|
| 515 |
+
| matsumoridate | **`ma-tsumoridate`** | 1.5 | `tsumoridate` |
|
| 516 |
+
| makambako | **`ma-kambako`** | 1.5 | `kambako` |
|
| 517 |
+
| temperaaji | **`temperaa-ji`** | 1.5 | `temperaa` |
|
| 518 |
+
| telefoŋaaji | **`telefoŋaa-ji`** | 1.5 | `telefoŋaa` |
|
| 519 |
+
| hangaruuji | **`hangaruu-ji`** | 1.5 | `hangaruu` |
|
| 520 |
+
| mangeshkar | **`ma-ngeshkar`** | 1.5 | `ngeshkar` |
|
| 521 |
+
| maldivian | **`ma-ldivian`** | 1.5 | `ldivian` |
|
| 522 |
+
| datadowlaaji | **`datadowlaa-ji`** | 1.5 | `datadowlaa` |
|
| 523 |
+
|
| 524 |
+
### 6.6 Linguistic Interpretation
|
| 525 |
+
|
| 526 |
+
> **Automated Insight:**
|
| 527 |
+
The language Fula shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 528 |
+
|
| 529 |
+
---
|
| 530 |
+
## 7. Summary & Recommendations
|
| 531 |
+
|
| 532 |
+

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