omarkamali commited on
Commit
e32d67b
·
verified ·
1 Parent(s): 9e39023

Upload all models and assets for cr (20251001)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +3 -0
  2. README.md +668 -0
  3. models/embeddings/monolingual/cr_128d.bin +3 -0
  4. models/embeddings/monolingual/cr_128d.meta.json +1 -0
  5. models/embeddings/monolingual/cr_128d_metadata.json +15 -0
  6. models/embeddings/monolingual/cr_32d.bin +3 -0
  7. models/embeddings/monolingual/cr_32d.meta.json +1 -0
  8. models/embeddings/monolingual/cr_32d_metadata.json +15 -0
  9. models/embeddings/monolingual/cr_64d.bin +3 -0
  10. models/embeddings/monolingual/cr_64d.meta.json +1 -0
  11. models/embeddings/monolingual/cr_64d_metadata.json +15 -0
  12. models/subword_markov/cr_markov_ctx1_subword.parquet +3 -0
  13. models/subword_markov/cr_markov_ctx1_subword_metadata.json +7 -0
  14. models/subword_markov/cr_markov_ctx2_subword.parquet +3 -0
  15. models/subword_markov/cr_markov_ctx2_subword_metadata.json +7 -0
  16. models/subword_markov/cr_markov_ctx3_subword.parquet +3 -0
  17. models/subword_markov/cr_markov_ctx3_subword_metadata.json +7 -0
  18. models/subword_markov/cr_markov_ctx4_subword.parquet +3 -0
  19. models/subword_markov/cr_markov_ctx4_subword_metadata.json +7 -0
  20. models/subword_ngram/cr_2gram_subword.parquet +3 -0
  21. models/subword_ngram/cr_2gram_subword_metadata.json +7 -0
  22. models/subword_ngram/cr_3gram_subword.parquet +3 -0
  23. models/subword_ngram/cr_3gram_subword_metadata.json +7 -0
  24. models/subword_ngram/cr_4gram_subword.parquet +3 -0
  25. models/subword_ngram/cr_4gram_subword_metadata.json +7 -0
  26. models/tokenizer/cr_tokenizer_8k.model +3 -0
  27. models/tokenizer/cr_tokenizer_8k.vocab +0 -0
  28. models/vocabulary/cr_vocabulary.parquet +3 -0
  29. models/vocabulary/cr_vocabulary_metadata.json +15 -0
  30. models/word_markov/cr_markov_ctx1_word.parquet +3 -0
  31. models/word_markov/cr_markov_ctx1_word_metadata.json +7 -0
  32. models/word_markov/cr_markov_ctx2_word.parquet +3 -0
  33. models/word_markov/cr_markov_ctx2_word_metadata.json +7 -0
  34. models/word_markov/cr_markov_ctx3_word.parquet +3 -0
  35. models/word_markov/cr_markov_ctx3_word_metadata.json +7 -0
  36. models/word_markov/cr_markov_ctx4_word.parquet +3 -0
  37. models/word_markov/cr_markov_ctx4_word_metadata.json +7 -0
  38. models/word_ngram/cr_2gram_word.parquet +3 -0
  39. models/word_ngram/cr_2gram_word_metadata.json +7 -0
  40. models/word_ngram/cr_3gram_word.parquet +3 -0
  41. models/word_ngram/cr_3gram_word_metadata.json +7 -0
  42. models/word_ngram/cr_4gram_word.parquet +3 -0
  43. models/word_ngram/cr_4gram_word_metadata.json +7 -0
  44. visualizations/embedding_isotropy.png +0 -0
  45. visualizations/embedding_norms.png +0 -0
  46. visualizations/embedding_similarity.png +3 -0
  47. visualizations/markov_branching.png +0 -0
  48. visualizations/markov_contexts.png +0 -0
  49. visualizations/markov_entropy.png +0 -0
  50. visualizations/model_sizes.png +0 -0
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
38
+ visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,668 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: cr
3
+ language_name: CR
4
+ language_family: american_algonquian
5
+ tags:
6
+ - wikilangs
7
+ - nlp
8
+ - tokenizer
9
+ - embeddings
10
+ - n-gram
11
+ - markov
12
+ - wikipedia
13
+ - monolingual
14
+ - family-american_algonquian
15
+ license: mit
16
+ library_name: wikilangs
17
+ pipeline_tag: feature-extraction
18
+ datasets:
19
+ - omarkamali/wikipedia-monthly
20
+ dataset_info:
21
+ name: wikipedia-monthly
22
+ description: Monthly snapshots of Wikipedia articles across 300+ languages
23
+ metrics:
24
+ - name: best_compression_ratio
25
+ type: compression
26
+ value: 3.182
27
+ - name: best_isotropy
28
+ type: isotropy
29
+ value: 0.0381
30
+ - name: vocabulary_size
31
+ type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
+ ---
35
+
36
+ # CR - Wikilangs Models
37
+ ## Comprehensive Research Report & Full Ablation Study
38
+
39
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **CR** Wikipedia data.
40
+ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
41
+
42
+ ## 📋 Repository Contents
43
+
44
+ ### Models & Assets
45
+
46
+ - Tokenizers (8k, 16k, 32k, 64k)
47
+ - N-gram models (2, 3, 4, 5-gram)
48
+ - Markov chains (context of 1, 2, 3, 4 and 5)
49
+ - Subword N-gram and Markov chains
50
+ - Embeddings in various sizes and dimensions (aligned and unaligned)
51
+ - Language Vocabulary
52
+ - Language Statistics
53
+
54
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
55
+
56
+ ### Analysis and Evaluation
57
+
58
+ - [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
59
+ - [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
60
+ - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
61
+ - [4. Vocabulary Analysis](#4-vocabulary-analysis)
62
+ - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
63
+ - [6. Morphological Analysis (Experimental)](#6-morphological-analysis)
64
+ - [7. Summary & Recommendations](#7-summary--recommendations)
65
+ - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
66
+ - [Visualizations Index](#visualizations-index)
67
+
68
+ ---
69
+ ## 1. Tokenizer Evaluation
70
+
71
+ ![Tokenizer Compression](visualizations/tokenizer_compression.png)
72
+
73
+ ![Tokenizer Fertility](visualizations/tokenizer_fertility.png)
74
+
75
+ ![Tokenizer OOV](visualizations/tokenizer_oov.png)
76
+
77
+ ![Total Tokens](visualizations/tokenizer_total_tokens.png)
78
+
79
+ ### Results
80
+
81
+ | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
82
+ |------------|-------------|---------------|----------|--------------|
83
+ | **8k** | 3.182x 🏆 | 3.19 | 2.9567% | 6,629 |
84
+
85
+ ### Tokenization Examples
86
+
87
+ Below are sample sentences tokenized with each vocabulary size:
88
+
89
+ **Sample 1:** `ᐊᓐ ᐊᒋᐦᑖᓱᓐ ᐯᔭᒄ ᑲ ᐃᔑᓂᐦᑳᑌᒡ, ᐋᐸᑎᓐ ᒉ ᒌ ᐃᑣᓅᐦᒡ ᐯᔭᒄ ᒉᒀᓐ ᒫᒃ ᐊᐌᓐ᙮ ᐊᓐ ᒫᒃ ᐊᒋᐦᑖᓱᓐ ᐯᔭᒄ, ᐁᐅᑯᓐ ᓃ...`
90
+
91
+ | Vocab | Tokens | Count |
92
+ |-------|--------|-------|
93
+ | 8k | `▁ᐊᓐ ▁ᐊᒋᐦᑖᓱᓐ ▁ᐯᔭᒄ ▁ᑲ ▁ᐃᔑᓂᐦᑳᑌᒡ , ▁ᐋᐸᑎᓐ ▁ᒉ ▁ᒌ ▁ᐃᑣᓅᐦᒡ ... (+19 more)` | 29 |
94
+
95
+ **Sample 2:** `ᓀᐦᐃᔭᐁᐧᐃᐧᐣ ᑕᐣᓯ ᑲ ᐃᓯᐲᑭᐢᑫᐧᕁ ᓵᓴᕀ ᐳᓂ ᐱᑭᐢᑫᐧᐃᐧᐣ ᐱᐦᒑᔨᕁ ᑳᓇᑕ. ᓵᓴᕀ ᐳᓂ ᐱᑭᐢᑫᐧᐃᐧᐣ ᓇᐊᐧᐨ ᐳᑯ ᒌᑳᐦᑕ...`
96
+
97
+ | Vocab | Tokens | Count |
98
+ |-------|--------|-------|
99
+ | 8k | `▁ᓀᐦᐃᔭᐁᐧᐃᐧᐣ ▁ᑕᐣᓯ ▁ᑲ ▁ᐃᓯᐲᑭᐢᑫᐧᕁ ▁ᓵᓴᕀ ▁ᐳᓂ ▁ᐱᑭᐢᑫᐧᐃᐧᐣ ▁ᐱᐦᒑᔨᕁ ▁ᑳᓇᑕ . ... (+11 more)` | 21 |
100
+
101
+ **Sample 3:** `ᒨᔅ, Muus, Mush ( ; ) n.a. ᐊᐧᐁᓰᔅ ᐆ᙮ ᒨᔅ ᒥᐦᒑᐱᔅᒋᓲ᙮ ᓂᒥᑕᐦᐊᒻ ᑲᔦᐦ᙮ ᐸᐹᒦᒋᓲ᙮ ᒨᒥᓀᐤ᙮ ᒨᔅ ᒦᒎ ᓂᐦ...`
102
+
103
+ | Vocab | Tokens | Count |
104
+ |-------|--------|-------|
105
+ | 8k | `▁ᒨᔅ , ▁muus , ▁mush ▁( ▁; ▁) ▁n . ... (+17 more)` | 27 |
106
+
107
+
108
+ ### Key Findings
109
+
110
+ - **Best Compression:** 8k achieves 3.182x compression
111
+ - **Lowest UNK Rate:** 8k with 2.9567% unknown tokens
112
+ - **Trade-off:** Larger vocabularies improve compression but increase model size
113
+ - **Recommendation:** 32k vocabulary provides optimal balance for production use
114
+
115
+ ---
116
+ ## 2. N-gram Model Evaluation
117
+
118
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
119
+
120
+ ![N-gram Unique](visualizations/ngram_unique.png)
121
+
122
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
123
+
124
+ ### Results
125
+
126
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
127
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
128
+ | **2-gram** | Word | 16 | 4.04 | 17 | 100.0% | 100.0% |
129
+ | **2-gram** | Subword | 492 | 8.94 | 848 | 48.2% | 100.0% |
130
+ | **3-gram** | Word | 15 🏆 | 3.88 | 16 | 100.0% | 100.0% |
131
+ | **3-gram** | Subword | 1,528 | 10.58 | 1,986 | 19.4% | 75.4% |
132
+ | **4-gram** | Word | 163 | 7.35 | 166 | 62.1% | 100.0% |
133
+ | **4-gram** | Subword | 3,131 | 11.61 | 3,878 | 11.9% | 50.9% |
134
+
135
+ ### Top 5 N-grams by Size
136
+
137
+ **2-grams (Word):**
138
+
139
+ | Rank | N-gram | Count |
140
+ |------|--------|-------|
141
+ | 1 | `some articles` | 10 |
142
+ | 2 | `articles in` | 10 |
143
+ | 3 | `ēkwa mīna` | 8 |
144
+ | 4 | `list of` | 8 |
145
+ | 5 | `of articles` | 8 |
146
+
147
+ **3-grams (Word):**
148
+
149
+ | Rank | N-gram | Count |
150
+ |------|--------|-------|
151
+ | 1 | `some articles in` | 10 |
152
+ | 2 | `list of articles` | 8 |
153
+ | 3 | `dialect list of` | 6 |
154
+ | 4 | `cree iso 639` | 5 |
155
+ | 5 | `ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ` | 5 |
156
+
157
+ **4-grams (Word):**
158
+
159
+ | Rank | N-gram | Count |
160
+ |------|--------|-------|
161
+ | 1 | `dialect list of articles` | 6 |
162
+ | 2 | `in standard roman orthography` | 5 |
163
+ | 3 | `written in standard roman` | 5 |
164
+ | 4 | `ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ` | 4 |
165
+ | 5 | `of articles some articles` | 3 |
166
+
167
+ **2-grams (Subword):**
168
+
169
+ | Rank | N-gram | Count |
170
+ |------|--------|-------|
171
+ | 1 | `i n` | 215 |
172
+ | 2 | `, _` | 213 |
173
+ | 3 | `_ ᐊ` | 179 |
174
+ | 4 | `i k` | 168 |
175
+ | 5 | `n _` | 165 |
176
+
177
+ **3-grams (Subword):**
178
+
179
+ | Rank | N-gram | Count |
180
+ |------|--------|-------|
181
+ | 1 | `i n _` | 61 |
182
+ | 2 | `a n i` | 49 |
183
+ | 3 | `w i n` | 48 |
184
+ | 4 | `_ k i` | 47 |
185
+ | 5 | `k a n` | 46 |
186
+
187
+ **4-grams (Subword):**
188
+
189
+ | Rank | N-gram | Count |
190
+ |------|--------|-------|
191
+ | 1 | `w a k _` | 33 |
192
+ | 2 | `w i n _` | 27 |
193
+ | 3 | `t i o n` | 24 |
194
+ | 4 | `k a n i` | 23 |
195
+ | 5 | `i k a n` | 22 |
196
+
197
+
198
+ ### Key Findings
199
+
200
+ - **Best Perplexity:** 3-gram (word) with 15
201
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
202
+ - **Coverage:** Top-1000 patterns cover ~51% of corpus
203
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
204
+
205
+ ---
206
+ ## 3. Markov Chain Evaluation
207
+
208
+ ![Markov Entropy](visualizations/markov_entropy.png)
209
+
210
+ ![Markov Contexts](visualizations/markov_contexts.png)
211
+
212
+ ![Markov Branching](visualizations/markov_branching.png)
213
+
214
+ ### Results
215
+
216
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
217
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
218
+ | **1** | Word | 0.2827 | 1.216 | 1.47 | 1,787 | 71.7% |
219
+ | **1** | Subword | 1.9100 | 3.758 | 10.53 | 273 | 0.0% |
220
+ | **2** | Word | 0.0424 | 1.030 | 1.05 | 2,607 | 95.8% |
221
+ | **2** | Subword | 0.6919 | 1.615 | 2.63 | 2,872 | 30.8% |
222
+ | **3** | Word | 0.0178 | 1.012 | 1.02 | 2,724 | 98.2% |
223
+ | **3** | Subword | 0.3559 | 1.280 | 1.57 | 7,557 | 64.4% |
224
+ | **4** | Word | 0.0086 🏆 | 1.006 | 1.01 | 2,765 | 99.1% |
225
+ | **4** | Subword | 0.1591 | 1.117 | 1.21 | 11,842 | 84.1% |
226
+
227
+ ### Generated Text Samples (Word-based)
228
+
229
+ Below are text samples generated from each word-based Markov chain model:
230
+
231
+ **Context Size 1:**
232
+
233
+ 1. `ᐁ ᐊᐧᐃᐢᑮᐦᐃᑲᐣ ᐃᐧᐊ ᐁᔥᐃᐦᑕᒧᐃᐧᐣ ᑳ ᐋᐸᐦᐄᔥᑌᒡ english and montana some articles in iyuw iyimuun natuashish dia...`
234
+ 2. `e kašcihot e wîcit e iskwewit mâk atimwa wes namawîy nataweyihtam cecî cisceyihtâkwaniyic ekw wenâpe...`
235
+ 3. `of nonkilling channel on l nehirâmowin qc r s t u v w ᐌ ᐎ ᐒ`
236
+
237
+ **Context Size 2:**
238
+
239
+ 1. `some articles in ininiwi išikišwēwin eastern dialect la romaine mingan natashquan pakuashipi and she...`
240
+ 2. `articles in lehlueun western dialect list of articles some articles in nīhithawīwin list of articles...`
241
+ 3. `ēkwa mīna otaskānitik e ka naskahtamēw nikiskihcēta anihi tahki itēhk kā pēhtahkik tānpahtiwin ē mic...`
242
+
243
+ **Context Size 3:**
244
+
245
+ 1. `some articles in nēhiyawēwin âpihtâkosisânak kâ isiwepahki maskisin ᐸᐦᑵᓯᑲᐣ pimîhkân tipahikan itasin...`
246
+ 2. `list of articles wikipedias in other native american languages atikamekw avañe ẽ aymar choctaw ꮳꮃꭹ c...`
247
+ 3. `dialect list of articles some articles in ililîmowin list of articles ᐃᓕᓖᒧᐎᓐ ililîmowin ililîmowin p...`
248
+
249
+ **Context Size 4:**
250
+
251
+ 1. `dialect list of articles some articles in iyuw iyimuun kawawachikamach dialect list of articles nīhi...`
252
+ 2. `written in standard roman orthography`
253
+ 3. `ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᑎᐸᐦᐄᑲᓐ ᐋᐱᐦᑖᒌᔑᑳᐤ ᐋᐱᐦᑖᑎᐱᔅᑳᐤ 1 05 ᐯᔭᒄ ᑎᐸᐦᐄᑲᓐ ᒦᓐ ᓂᔮᔪ ᒥᓂᑯᔥ ᓂᔮᔪ ᒥᓂᑯᔥ ᒥᔮ...`
254
+
255
+
256
+ ### Generated Text Samples (Subword-based)
257
+
258
+ Below are text samples generated from each subword-based Markov chain model:
259
+
260
+ **Context Size 1:**
261
+
262
+ 1. `_ᒉᒀᓐᓂᓕᐅᕝᕙᓪᓗ_ᐃᓐᓂᓂ`
263
+ 2. `ik;_ᑲᐤ_(_ᑕᐦᐁᐧᔭᐍᑎ`
264
+ 3. `am_ᐁr_ē-nata_ost`
265
+
266
+ **Context Size 2:**
267
+
268
+ 1. `inēhiyiy-âyot_ayi`
269
+ 2. `,_ᐱᔪᓐᓇᖅ_ᖂᑉ_ᒪᓕᒋᐊᓕᖕ`
270
+ 3. `_ᐊᑕᐦᑐᒥᒃ_ᑐᒃᓯᓪᓗᓂ_ᐊᓯ`
271
+
272
+ **Context Size 3:**
273
+
274
+ 1. `in_nešt_mâk_ekwa_a`
275
+ 2. `anininisiniw._pask`
276
+ 3. `win_okiskān_tipēna`
277
+
278
+ **Context Size 4:**
279
+
280
+ 1. `wak_tāpihikan_ᐆᒪ_ᐊᐢ`
281
+ 2. `win_(statistics_(10`
282
+ 3. `tion_métis_federati`
283
+
284
+
285
+ ### Key Findings
286
+
287
+ - **Best Predictability:** Context-4 (word) with 99.1% predictability
288
+ - **Branching Factor:** Decreases with context size (more deterministic)
289
+ - **Memory Trade-off:** Larger contexts require more storage (11,842 contexts)
290
+ - **Recommendation:** Context-3 or Context-4 for text generation
291
+
292
+ ---
293
+ ## 4. Vocabulary Analysis
294
+
295
+ ![Zipf's Law](visualizations/zipf_law.png)
296
+
297
+ ![Top Words](visualizations/top20_words.png)
298
+
299
+ ![Coverage Curve](visualizations/vocab_coverage.png)
300
+
301
+ ### Statistics
302
+
303
+ | Metric | Value |
304
+ |--------|-------|
305
+ | Vocabulary Size | 489 |
306
+ | Total Tokens | 1,731 |
307
+ | Mean Frequency | 3.54 |
308
+ | Median Frequency | 2 |
309
+ | Frequency Std Dev | 3.40 |
310
+
311
+ ### Most Common Words
312
+
313
+ | Rank | Word | Frequency |
314
+ |------|------|-----------|
315
+ | 1 | ᐁ | 34 |
316
+ | 2 | e | 30 |
317
+ | 3 | and | 22 |
318
+ | 4 | in | 22 |
319
+ | 5 | of | 22 |
320
+ | 6 | pîsim | 19 |
321
+ | 7 | articles | 18 |
322
+ | 8 | cree | 16 |
323
+ | 9 | dialect | 14 |
324
+ | 10 | kîsikâw | 14 |
325
+
326
+ ### Least Common Words (from vocabulary)
327
+
328
+ | Rank | Word | Frequency |
329
+ |------|------|-----------|
330
+ | 1 | ᐸᑦᑕᖕᓂᑦ | 2 |
331
+ | 2 | ordinateur | 2 |
332
+ | 3 | demandez | 2 |
333
+ | 4 | le | 2 |
334
+ | 5 | programme | 2 |
335
+ | 6 | eurêka | 2 |
336
+ | 7 | culture | 2 |
337
+ | 8 | 18 | 2 |
338
+ | 9 | août | 2 |
339
+ | 10 | ᖃᐅᔨᓴᖅᑎᐅᔪᓄᑦ | 2 |
340
+
341
+ ### Zipf's Law Analysis
342
+
343
+ | Metric | Value |
344
+ |--------|-------|
345
+ | Zipf Coefficient | 0.5522 |
346
+ | R² (Goodness of Fit) | 0.947702 |
347
+ | Adherence Quality | **excellent** |
348
+
349
+ ### Coverage Analysis
350
+
351
+ | Top N Words | Coverage |
352
+ |-------------|----------|
353
+ | Top 100 | 47.6% |
354
+ | Top 1,000 | 0.0% |
355
+ | Top 5,000 | 0.0% |
356
+ | Top 10,000 | 0.0% |
357
+
358
+ ### Key Findings
359
+
360
+ - **Zipf Compliance:** R²=0.9477 indicates excellent adherence to Zipf's law
361
+ - **High Frequency Dominance:** Top 100 words cover 47.6% of corpus
362
+ - **Long Tail:** -9,511 words needed for remaining 100.0% coverage
363
+
364
+ ---
365
+ ## 5. Word Embeddings Evaluation
366
+
367
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
368
+
369
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
370
+
371
+ ![t-SNE Words](visualizations/tsne_words.png)
372
+
373
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
374
+
375
+
376
+ ### 5.1 Cross-Lingual Alignment
377
+
378
+ > *Note: Multilingual alignment visualization not available for this language.*
379
+
380
+
381
+ ### 5.2 Model Comparison
382
+
383
+ | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
384
+ |-------|-----------|----------|------------------|---------------|----------------|
385
+ | **mono_32d** | 32 | 0.0381 🏆 | 0.0000 | N/A | N/A |
386
+ | **mono_64d** | 64 | 0.0033 | 0.0000 | N/A | N/A |
387
+ | **mono_128d** | 128 | 0.0000 | 0.0000 | N/A | N/A |
388
+
389
+ ### Key Findings
390
+
391
+ - **Best Isotropy:** mono_32d with 0.0381 (more uniform distribution)
392
+ - **Semantic Density:** Average pairwise similarity of 0.0000. Lower values indicate better semantic separation.
393
+ - **Alignment Quality:** No aligned models evaluated in this run.
394
+ - **Recommendation:** 128d aligned for best cross-lingual performance
395
+
396
+ ---
397
+ ## 6. Morphological Analysis (Experimental)
398
+
399
+ > ⚠️ **Warning:** This language shows low morphological productivity. The statistical signals used for this analysis may be noisy or less reliable than for morphologically rich languages.
400
+
401
+ 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.
402
+
403
+ ### 6.1 Productivity & Complexity
404
+
405
+ | Metric | Value | Interpretation | Recommendation |
406
+ |--------|-------|----------------|----------------|
407
+ | Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
408
+ | Idiomaticity Gap | **-1.000** | Low formulaic content | - |
409
+
410
+ ### 6.2 Affix Inventory (Productive Units)
411
+
412
+ 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.
413
+
414
+ *No productive affixes detected.*
415
+
416
+
417
+ ### 6.3 Bound Stems (Lexical Roots)
418
+
419
+ 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.
420
+
421
+ *No significant bound stems detected.*
422
+
423
+
424
+ ### 6.4 Affix Compatibility (Co-occurrence)
425
+
426
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
427
+
428
+ *No significant affix co-occurrences detected.*
429
+
430
+
431
+ ### 6.5 Recursive Morpheme Segmentation
432
+
433
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
434
+
435
+ *Insufficient data for recursive segmentation.*
436
+
437
+
438
+ ### 6.6 Linguistic Interpretation
439
+
440
+ > **Automated Insight:**
441
+ The language CR appears to be more isolating or has a highly fixed vocabulary. Word-level models perform nearly as well as subword models, indicating fewer productive morphological processes.
442
+
443
+ ---
444
+ ## 7. Summary & Recommendations
445
+
446
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
447
+
448
+ ### Production Recommendations
449
+
450
+ | Component | Recommended | Rationale |
451
+ |-----------|-------------|-----------|
452
+ | Tokenizer | **8k BPE** | Best compression (3.18x) |
453
+ | N-gram | **3-gram** | Lowest perplexity (15) |
454
+ | Markov | **Context-4** | Highest predictability (99.1%) |
455
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
456
+
457
+
458
+ ---
459
+ ## Appendix: Metrics Glossary & Interpretation Guide
460
+
461
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
462
+
463
+ ### Tokenizer Metrics
464
+
465
+ **Compression Ratio**
466
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
467
+ >
468
+ > *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.
469
+ >
470
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
471
+
472
+ **Average Token Length (Fertility)**
473
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
474
+ >
475
+ > *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.
476
+ >
477
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
478
+
479
+ **Unknown Token Rate (OOV Rate)**
480
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
481
+ >
482
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
483
+ >
484
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
485
+
486
+ ### N-gram Model Metrics
487
+
488
+ **Perplexity**
489
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
490
+ >
491
+ > *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.
492
+ >
493
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
494
+
495
+ **Entropy**
496
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
497
+ >
498
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
499
+ >
500
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
501
+
502
+ **Coverage (Top-K)**
503
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
504
+ >
505
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
506
+ >
507
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
508
+
509
+ ### Markov Chain Metrics
510
+
511
+ **Average Entropy**
512
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
513
+ >
514
+ > *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).
515
+ >
516
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
517
+
518
+ **Branching Factor**
519
+ > *Definition:* Average number of unique next tokens observed for each context.
520
+ >
521
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
522
+ >
523
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
524
+
525
+ **Predictability**
526
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
527
+ >
528
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
529
+ >
530
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
531
+
532
+ ### Vocabulary & Zipf's Law Metrics
533
+
534
+ **Zipf's Coefficient**
535
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
536
+ >
537
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
538
+ >
539
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
540
+
541
+ **R² (Coefficient of Determination)**
542
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
543
+ >
544
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
545
+ >
546
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
547
+
548
+ **Vocabulary Coverage**
549
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
550
+ >
551
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
552
+ >
553
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
554
+
555
+ ### Word Embedding Metrics
556
+
557
+ **Isotropy**
558
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
559
+ >
560
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
561
+ >
562
+ > *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.
563
+
564
+ **Average Norm**
565
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
566
+ >
567
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
568
+ >
569
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
570
+
571
+ **Cosine Similarity**
572
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
573
+ >
574
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
575
+ >
576
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
577
+
578
+ **t-SNE Visualization**
579
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
580
+ >
581
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
582
+ >
583
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
584
+
585
+ ### General Interpretation Guidelines
586
+
587
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
588
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
589
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
590
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
591
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
592
+
593
+
594
+ ### Visualizations Index
595
+
596
+ | Visualization | Description |
597
+ |---------------|-------------|
598
+ | Tokenizer Compression | Compression ratios by vocabulary size |
599
+ | Tokenizer Fertility | Average token length by vocabulary |
600
+ | Tokenizer OOV | Unknown token rates |
601
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
602
+ | N-gram Perplexity | Perplexity by n-gram size |
603
+ | N-gram Entropy | Entropy by n-gram size |
604
+ | N-gram Coverage | Top pattern coverage |
605
+ | N-gram Unique | Unique n-gram counts |
606
+ | Markov Entropy | Entropy by context size |
607
+ | Markov Branching | Branching factor by context |
608
+ | Markov Contexts | Unique context counts |
609
+ | Zipf's Law | Frequency-rank distribution with fit |
610
+ | Vocab Frequency | Word frequency distribution |
611
+ | Top 20 Words | Most frequent words |
612
+ | Vocab Coverage | Cumulative coverage curve |
613
+ | Embedding Isotropy | Vector space uniformity |
614
+ | Embedding Norms | Vector magnitude distribution |
615
+ | Embedding Similarity | Word similarity heatmap |
616
+ | Nearest Neighbors | Similar words for key terms |
617
+ | t-SNE Words | 2D word embedding visualization |
618
+ | t-SNE Sentences | 2D sentence embedding visualization |
619
+ | Position Encoding | Encoding method comparison |
620
+ | Model Sizes | Storage requirements |
621
+ | Performance Dashboard | Comprehensive performance overview |
622
+
623
+ ---
624
+ ## About This Project
625
+
626
+ ### Data Source
627
+
628
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
629
+
630
+ ### Project
631
+
632
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
633
+
634
+ ### Maintainer
635
+
636
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
637
+
638
+ ### Citation
639
+
640
+ If you use these models in your research, please cite:
641
+
642
+ ```bibtex
643
+ @misc{wikilangs2025,
644
+ author = {Kamali, Omar},
645
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
646
+ year = {2025},
647
+ doi = {10.5281/zenodo.18073153},
648
+ publisher = {Zenodo},
649
+ url = {https://huggingface.co/wikilangs}
650
+ institution = {Omneity Labs}
651
+ }
652
+ ```
653
+
654
+ ### License
655
+
656
+ MIT License - Free for academic and commercial use.
657
+
658
+ ### Links
659
+
660
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
661
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
662
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
663
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
664
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
665
+ ---
666
+ *Generated by Wikilangs Models Pipeline*
667
+
668
+ *Report Date: 2026-01-03 10:19:03*
models/embeddings/monolingual/cr_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322799eab6ee84e7d28a0f76de24efb5b70f9e1fcd0eef88c9b61829ce272397
3
+ size 1024067754
models/embeddings/monolingual/cr_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "cr", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/cr_128d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "cr",
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": 65
15
+ }
models/embeddings/monolingual/cr_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:095584a1fc693fcab2c3fd7f0ac831d533933eb58ce565c3b082866e303db9f6
3
+ size 256017834
models/embeddings/monolingual/cr_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "cr", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/cr_32d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "cr",
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": 65
15
+ }
models/embeddings/monolingual/cr_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdd5c40a0696cfa8faa26c56bda982ab2a5efbbc0bc7d30fcea9c944b571b542
3
+ size 512034474
models/embeddings/monolingual/cr_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "cr", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/cr_64d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "cr",
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": 65
15
+ }
models/subword_markov/cr_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d336a63f8ad5e082086c17ec41db170270495929a8dd340a6abcd2e5998bc0e6
3
+ size 19362
models/subword_markov/cr_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_contexts": 273,
6
+ "total_transitions": 21066
7
+ }
models/subword_markov/cr_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88cd25c549a06a864e6af9c0a79d29d91815a704038e65f2ce7d2c821349c095
3
+ size 54769
models/subword_markov/cr_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_contexts": 2872,
6
+ "total_transitions": 21041
7
+ }
models/subword_markov/cr_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:493e48b8388399c0693ca1644064c6aff29ebd8768e02dc362bd13a9beb9923c
3
+ size 109170
models/subword_markov/cr_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_contexts": 7557,
6
+ "total_transitions": 21016
7
+ }
models/subword_markov/cr_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77ef47f052b70e08ed38cb704ef21e780c36aa884a719e5d4963f672dd6af637
3
+ size 165104
models/subword_markov/cr_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_contexts": 11842,
6
+ "total_transitions": 20991
7
+ }
models/subword_ngram/cr_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ec4f4bbb6a07a46393df0aae6d9e7264c3913c983048c199b187ccf1637509f
3
+ size 10150
models/subword_ngram/cr_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_ngrams": 848,
6
+ "total_ngrams": 21066
7
+ }
models/subword_ngram/cr_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a341e935103c45c5dd7be03811b9df507bbbcb941614f0a4d3949665defe332
3
+ size 22181
models/subword_ngram/cr_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_ngrams": 1986,
6
+ "total_ngrams": 21041
7
+ }
models/subword_ngram/cr_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36e06026aa7388f2d7e58a4f337a1ff541dac38696cfa56eaaaec940804c17a1
3
+ size 46333
models/subword_ngram/cr_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "cr",
5
+ "unique_ngrams": 3878,
6
+ "total_ngrams": 21016
7
+ }
models/tokenizer/cr_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0973f38231d8be6cc17f5bb11b4adcec87ca7e994a2d91d59f4a7f15ea4655f
3
+ size 379309
models/tokenizer/cr_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/cr_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9a339a558f9a91e507cf4c6a9afd7657b8a650a75b8594311ae35047326f22c
3
+ size 10707
models/vocabulary/cr_vocabulary_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "cr",
3
+ "vocabulary_size": 489,
4
+ "variant": "full",
5
+ "statistics": {
6
+ "type_token_ratio": 0.5915817165406116,
7
+ "coverage": {
8
+ "top_100": 0.2709634988490628,
9
+ "top_1000": 0.7372574810917462
10
+ },
11
+ "hapax_count": 1310,
12
+ "hapax_ratio": 0.7281823235130628,
13
+ "total_documents": 25
14
+ }
15
+ }
models/word_markov/cr_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b9cad226d4f9247d3628f1a8d45e964b5ac7aee3588940f10b795c7db079363
3
+ size 51656
models/word_markov/cr_markov_ctx1_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_contexts": 1787,
6
+ "total_transitions": 3016
7
+ }
models/word_markov/cr_markov_ctx2_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1f017105092b235e6c58f3c540d7b81c2ec84d6afd12ad9d42b7f06f32711cb
3
+ size 68727
models/word_markov/cr_markov_ctx2_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_contexts": 2607,
6
+ "total_transitions": 2991
7
+ }
models/word_markov/cr_markov_ctx3_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba438b38b527c374838426729a544c3af06986da131dcd7b6efc96c6174fdf64
3
+ size 78351
models/word_markov/cr_markov_ctx3_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_contexts": 2724,
6
+ "total_transitions": 2966
7
+ }
models/word_markov/cr_markov_ctx4_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de165eca955a9457fb7d104a709440b37d8fe11272266a6eaf29d8aca13bcb96
3
+ size 86120
models/word_markov/cr_markov_ctx4_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_contexts": 2765,
6
+ "total_transitions": 2941
7
+ }
models/word_ngram/cr_2gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52de354c79218bb55b0791d690a0c3f82e884bbb743d648d216165104095eb1f
3
+ size 2755
models/word_ngram/cr_2gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_ngrams": 17,
6
+ "total_ngrams": 3016
7
+ }
models/word_ngram/cr_3gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59a0f2119f21ff2bd23e3728beb8036aff3979776cb563f4f9372cec5961037d
3
+ size 3122
models/word_ngram/cr_3gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_ngrams": 16,
6
+ "total_ngrams": 2991
7
+ }
models/word_ngram/cr_4gram_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c1ac43c0e3b24b9b058c232c3156ef3f4650c2f5098663b05aff7249ed3efd3
3
+ size 5830
models/word_ngram/cr_4gram_word_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "word",
4
+ "language": "cr",
5
+ "unique_ngrams": 166,
6
+ "total_ngrams": 2966
7
+ }
visualizations/embedding_isotropy.png ADDED
visualizations/embedding_norms.png ADDED
visualizations/embedding_similarity.png ADDED

Git LFS Details

  • SHA256: 732705e6bcdc346987e99c1a4a72a4b8e9b4651fb77957ca2da5c1266364de8f
  • Pointer size: 131 Bytes
  • Size of remote file: 152 kB
visualizations/markov_branching.png ADDED
visualizations/markov_contexts.png ADDED
visualizations/markov_entropy.png ADDED
visualizations/model_sizes.png ADDED