omarkamali commited on
Commit
1aa461d
·
verified ·
1 Parent(s): 2dc51fb

Upload all models and assets for fur (latest)

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 +7 -0
  2. README.md +770 -0
  3. models/embeddings/aligned/fur_128d.bin +3 -0
  4. models/embeddings/aligned/fur_128d.meta.json +1 -0
  5. models/embeddings/aligned/fur_128d.projection.npy +3 -0
  6. models/embeddings/aligned/fur_128d_metadata.json +8 -0
  7. models/embeddings/aligned/fur_32d.bin +3 -0
  8. models/embeddings/aligned/fur_32d.meta.json +1 -0
  9. models/embeddings/aligned/fur_32d.projection.npy +3 -0
  10. models/embeddings/aligned/fur_32d_metadata.json +8 -0
  11. models/embeddings/aligned/fur_64d.bin +3 -0
  12. models/embeddings/aligned/fur_64d.meta.json +1 -0
  13. models/embeddings/aligned/fur_64d.projection.npy +3 -0
  14. models/embeddings/aligned/fur_64d_metadata.json +8 -0
  15. models/embeddings/monolingual/fur_128d.bin +3 -0
  16. models/embeddings/monolingual/fur_128d.meta.json +1 -0
  17. models/embeddings/monolingual/fur_128d_metadata.json +15 -0
  18. models/embeddings/monolingual/fur_32d.bin +3 -0
  19. models/embeddings/monolingual/fur_32d.meta.json +1 -0
  20. models/embeddings/monolingual/fur_32d_metadata.json +15 -0
  21. models/embeddings/monolingual/fur_64d.bin +3 -0
  22. models/embeddings/monolingual/fur_64d.meta.json +1 -0
  23. models/embeddings/monolingual/fur_64d_metadata.json +15 -0
  24. models/subword_markov/fur_markov_ctx1_subword.parquet +3 -0
  25. models/subword_markov/fur_markov_ctx1_subword_metadata.json +7 -0
  26. models/subword_markov/fur_markov_ctx2_subword.parquet +3 -0
  27. models/subword_markov/fur_markov_ctx2_subword_metadata.json +7 -0
  28. models/subword_markov/fur_markov_ctx3_subword.parquet +3 -0
  29. models/subword_markov/fur_markov_ctx3_subword_metadata.json +7 -0
  30. models/subword_markov/fur_markov_ctx4_subword.parquet +3 -0
  31. models/subword_markov/fur_markov_ctx4_subword_metadata.json +7 -0
  32. models/subword_ngram/fur_2gram_subword.parquet +3 -0
  33. models/subword_ngram/fur_2gram_subword_metadata.json +7 -0
  34. models/subword_ngram/fur_3gram_subword.parquet +3 -0
  35. models/subword_ngram/fur_3gram_subword_metadata.json +7 -0
  36. models/subword_ngram/fur_4gram_subword.parquet +3 -0
  37. models/subword_ngram/fur_4gram_subword_metadata.json +7 -0
  38. models/subword_ngram/fur_5gram_subword.parquet +3 -0
  39. models/subword_ngram/fur_5gram_subword_metadata.json +7 -0
  40. models/tokenizer/fur_tokenizer_16k.model +3 -0
  41. models/tokenizer/fur_tokenizer_16k.vocab +0 -0
  42. models/tokenizer/fur_tokenizer_32k.model +3 -0
  43. models/tokenizer/fur_tokenizer_32k.vocab +0 -0
  44. models/tokenizer/fur_tokenizer_64k.model +3 -0
  45. models/tokenizer/fur_tokenizer_64k.vocab +0 -0
  46. models/tokenizer/fur_tokenizer_8k.model +3 -0
  47. models/tokenizer/fur_tokenizer_8k.vocab +0 -0
  48. models/vocabulary/fur_vocabulary.parquet +3 -0
  49. models/vocabulary/fur_vocabulary_metadata.json +17 -0
  50. models/word_markov/fur_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_words.png filter=lfs diff=lfs merge=lfs -text
42
+ visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,770 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: fur
3
+ language_name: Friulian
4
+ language_family: romance_galloitalic
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-romance_galloitalic
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.179
37
+ - name: best_isotropy
38
+ type: isotropy
39
+ value: 0.8456
40
+ - name: vocabulary_size
41
+ type: vocab
42
+ value: 0
43
+ generated: 2026-01-04
44
+ ---
45
+
46
+ # Friulian - Wikilangs Models
47
+ ## Comprehensive Research Report & Full Ablation Study
48
+
49
+ This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Friulian** 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
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
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
+ ![Tokenizer Compression](visualizations/tokenizer_compression.png)
82
+
83
+ ![Tokenizer Fertility](visualizations/tokenizer_fertility.png)
84
+
85
+ ![Tokenizer OOV](visualizations/tokenizer_oov.png)
86
+
87
+ ![Total Tokens](visualizations/tokenizer_total_tokens.png)
88
+
89
+ ### Results
90
+
91
+ | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
92
+ |------------|-------------|---------------|----------|--------------|
93
+ | **8k** | 3.499x | 3.50 | 0.0442% | 298,836 |
94
+ | **16k** | 3.763x | 3.77 | 0.0475% | 277,903 |
95
+ | **32k** | 4.005x | 4.01 | 0.0506% | 261,078 |
96
+ | **64k** | 4.179x 🏆 | 4.18 | 0.0528% | 250,188 |
97
+
98
+ ### Tokenization Examples
99
+
100
+ Below are sample sentences tokenized with each vocabulary size:
101
+
102
+ **Sample 1:** `Angelo Angeli (Tarcint al è stât un chimic furlan. Angeli, Angelo`
103
+
104
+ | Vocab | Tokens | Count |
105
+ |-------|--------|-------|
106
+ | 8k | `▁angelo ▁ang eli ▁( tar cint ▁al ▁è ▁stât ▁un ... (+7 more)` | 17 |
107
+ | 16k | `▁angelo ▁ang eli ▁( tar cint ▁al ▁è ▁stât ▁un ... (+7 more)` | 17 |
108
+ | 32k | `▁angelo ▁angeli ▁( tarcint ▁al ▁è ▁stât ▁un ▁chimic ▁furlan ... (+4 more)` | 14 |
109
+ | 64k | `▁angelo ▁angeli ▁( tarcint ▁al ▁è ▁stât ▁un ▁chimic ▁furlan ... (+4 more)` | 14 |
110
+
111
+ **Sample 2:** `Futurama e jè une serie televisive merecane fate di Matt Groening, creadôr dai S...`
112
+
113
+ | Vocab | Tokens | Count |
114
+ |-------|--------|-------|
115
+ | 8k | `▁fut ura ma ▁e ▁jè ▁une ▁serie ▁televis ive ▁merecane ... (+20 more)` | 30 |
116
+ | 16k | `▁fut ura ma ▁e ▁jè ▁une ▁serie ▁televisive ▁merecane ▁fate ... (+16 more)` | 26 |
117
+ | 32k | `▁fut ura ma ▁e ▁jè ▁une ▁serie ▁televisive ▁merecane ▁fate ... (+15 more)` | 25 |
118
+ | 64k | `▁futurama ▁e ▁jè ▁une ▁serie ▁televisive ▁merecane ▁fate ▁di ▁matt ... (+10 more)` | 20 |
119
+
120
+ **Sample 3:** `La gjenerazion cidine (Silent Generation par inglês) e je la coort demografiche ...`
121
+
122
+ | Vocab | Tokens | Count |
123
+ |-------|--------|-------|
124
+ | 8k | `▁la ▁gjenerazion ▁cid ine ▁( s il ent ▁gener ation ... (+16 more)` | 26 |
125
+ | 16k | `▁la ▁gjenerazion ▁cid ine ▁( s il ent ▁gener ation ... (+15 more)` | 25 |
126
+ | 32k | `▁la ▁gjenerazion ▁cidine ▁( sil ent ▁generation ▁par ▁inglês ) ... (+12 more)` | 22 |
127
+ | 64k | `▁la ▁gjenerazion ▁cidine ▁( silent ▁generation ▁par ▁inglês ) ▁e ... (+11 more)` | 21 |
128
+
129
+
130
+ ### Key Findings
131
+
132
+ - **Best Compression:** 64k achieves 4.179x compression
133
+ - **Lowest UNK Rate:** 8k with 0.0442% 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
+ ![N-gram Perplexity](visualizations/ngram_perplexity.png)
141
+
142
+ ![N-gram Unique](visualizations/ngram_unique.png)
143
+
144
+ ![N-gram Coverage](visualizations/ngram_coverage.png)
145
+
146
+ ### Results
147
+
148
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
149
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
150
+ | **2-gram** | Word | 6,387 | 12.64 | 19,666 | 20.3% | 46.3% |
151
+ | **2-gram** | Subword | 248 🏆 | 7.96 | 2,671 | 70.2% | 99.2% |
152
+ | **3-gram** | Word | 8,833 | 13.11 | 24,038 | 19.0% | 41.2% |
153
+ | **3-gram** | Subword | 1,960 | 10.94 | 19,755 | 29.1% | 74.5% |
154
+ | **4-gram** | Word | 13,956 | 13.77 | 38,236 | 17.7% | 36.5% |
155
+ | **4-gram** | Subword | 10,511 | 13.36 | 89,752 | 14.0% | 41.5% |
156
+ | **5-gram** | Word | 8,136 | 12.99 | 25,386 | 22.1% | 44.1% |
157
+ | **5-gram** | Subword | 34,761 | 15.09 | 204,100 | 7.7% | 25.8% |
158
+
159
+ ### Top 5 N-grams by Size
160
+
161
+ **2-grams (Word):**
162
+
163
+ | Rank | N-gram | Count |
164
+ |------|--------|-------|
165
+ | 1 | `al è` | 7,101 |
166
+ | 2 | `e je` | 3,936 |
167
+ | 3 | `che al` | 2,795 |
168
+ | 4 | `d c` | 2,492 |
169
+ | 5 | `a son` | 2,477 |
170
+
171
+ **3-grams (Word):**
172
+
173
+ | Rank | N-gram | Count |
174
+ |------|--------|-------|
175
+ | 1 | `p d c` | 2,382 |
176
+ | 2 | `al è un` | 2,096 |
177
+ | 3 | `c p d` | 1,011 |
178
+ | 4 | `d c p` | 1,011 |
179
+ | 5 | `e je la` | 898 |
180
+
181
+ **4-grams (Word):**
182
+
183
+ | Rank | N-gram | Count |
184
+ |------|--------|-------|
185
+ | 1 | `c p d c` | 1,011 |
186
+ | 2 | `d c p d` | 1,011 |
187
+ | 3 | `p d c p` | 1,011 |
188
+ | 4 | `al è un comun` | 793 |
189
+ | 5 | `friûl vie pal mont` | 658 |
190
+
191
+ **5-grams (Word):**
192
+
193
+ | Rank | N-gram | Count |
194
+ |------|--------|-------|
195
+ | 1 | `p d c p d` | 1,011 |
196
+ | 2 | `d c p d c` | 1,011 |
197
+ | 3 | `c p d c p` | 1,002 |
198
+ | 4 | `in friûl vie pal mont` | 653 |
199
+ | 5 | `cjale ancje storie an par` | 623 |
200
+
201
+ **2-grams (Subword):**
202
+
203
+ | Rank | N-gram | Count |
204
+ |------|--------|-------|
205
+ | 1 | `e _` | 162,437 |
206
+ | 2 | `_ d` | 109,050 |
207
+ | 3 | `i _` | 91,782 |
208
+ | 4 | `l _` | 85,238 |
209
+ | 5 | `_ c` | 77,432 |
210
+
211
+ **3-grams (Subword):**
212
+
213
+ | Rank | N-gram | Count |
214
+ |------|--------|-------|
215
+ | 1 | `a l _` | 50,711 |
216
+ | 2 | `_ d i` | 47,425 |
217
+ | 3 | `d i _` | 41,307 |
218
+ | 4 | `_ e _` | 27,541 |
219
+ | 5 | `_ d a` | 27,491 |
220
+
221
+ **4-grams (Subword):**
222
+
223
+ | Rank | N-gram | Count |
224
+ |------|--------|-------|
225
+ | 1 | `_ d i _` | 38,921 |
226
+ | 2 | `_ a l _` | 22,205 |
227
+ | 3 | `_ d a l` | 18,305 |
228
+ | 4 | `d a l _` | 18,054 |
229
+ | 5 | `c h e _` | 17,262 |
230
+
231
+ **5-grams (Subword):**
232
+
233
+ | Rank | N-gram | Count |
234
+ |------|--------|-------|
235
+ | 1 | `_ d a l _` | 17,925 |
236
+ | 2 | `_ c h e _` | 11,800 |
237
+ | 3 | `e _ d i _` | 9,488 |
238
+ | 4 | `_ p a r _` | 7,670 |
239
+ | 5 | `a z i o n` | 7,163 |
240
+
241
+
242
+ ### Key Findings
243
+
244
+ - **Best Perplexity:** 2-gram (subword) with 248
245
+ - **Entropy Trend:** Decreases with larger n-grams (more predictable)
246
+ - **Coverage:** Top-1000 patterns cover ~26% of corpus
247
+ - **Recommendation:** 4-gram or 5-gram for best predictive performance
248
+
249
+ ---
250
+ ## 3. Markov Chain Evaluation
251
+
252
+ ![Markov Entropy](visualizations/markov_entropy.png)
253
+
254
+ ![Markov Contexts](visualizations/markov_contexts.png)
255
+
256
+ ![Markov Branching](visualizations/markov_branching.png)
257
+
258
+ ### Results
259
+
260
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
261
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
262
+ | **1** | Word | 0.8172 | 1.762 | 4.95 | 72,772 | 18.3% |
263
+ | **1** | Subword | 1.1868 | 2.277 | 8.98 | 739 | 0.0% |
264
+ | **2** | Word | 0.2892 | 1.222 | 1.68 | 358,823 | 71.1% |
265
+ | **2** | Subword | 0.9716 | 1.961 | 5.88 | 6,634 | 2.8% |
266
+ | **3** | Word | 0.0992 | 1.071 | 1.17 | 599,633 | 90.1% |
267
+ | **3** | Subword | 0.8300 | 1.778 | 3.99 | 38,974 | 17.0% |
268
+ | **4** | Word | 0.0329 🏆 | 1.023 | 1.05 | 698,598 | 96.7% |
269
+ | **4** | Subword | 0.6457 | 1.564 | 2.69 | 155,477 | 35.4% |
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. `di març nassût intal vivaldi al continuà il plui famôs il cjampanîl di ferruccio valcareggi dilunc`
278
+ 2. `e al è un an par descrivi in lui intal bahrain a cjaval di lôr al`
279
+ 3. `al deficit dal stelon l an par latin si c p d c 502 p d`
280
+
281
+ **Context Size 2:**
282
+
283
+ 1. `al è iessut il 28 chês di chei timps a vevin sielzût in riferiment ae lenghe te`
284
+ 2. `e je la ilustrazion de vedue che e je l uniche eruzion tal cjamp des circoscrizions che`
285
+ 3. `che al conte 40 670 puescj 31 533 omologâts dal la glesie parochiâl di foresto sparso dedicade`
286
+
287
+ **Context Size 3:**
288
+
289
+ 1. `p d c 459 p d c 983 p d c 818 p d c al vûl dî`
290
+ 2. `al è un an dal secul xvii acjadiments nassûts muarts cjale ancje storie an par an dal friûl`
291
+ 3. `c p d c 680 p d c 327 p d c fint al p d c 73`
292
+
293
+ **Context Size 4:**
294
+
295
+ 1. `p d c p d c p d c p d c p d c p d c p`
296
+ 2. `d c p d c p d c p d c p d c p d c p d`
297
+ 3. `c p d c p d c p d c p d c p d c p d c`
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. `_rda_3871570prtâ`
307
+ 2. `icjoba_ili_a_pal`
308
+ 3. `entisal_asi_ant_`
309
+
310
+ **Context Size 2:**
311
+
312
+ 1. `e_e_abitadôr_a_em`
313
+ 2. `_diulnunellonobum`
314
+ 3. `i_riodellan_de_mi`
315
+
316
+ **Context Size 3:**
317
+
318
+ 1. `al_riveligjôs_pera`
319
+ 2. `_di_un_si_day_28_d`
320
+ 3. `di_la_maxister_(†_`
321
+
322
+ **Context Size 4:**
323
+
324
+ 1. `_di_2-3_fin_a_un_fu`
325
+ 2. `_al_à_1.353)_tris_c`
326
+ 3. `_dal_mâr_dai_piçule`
327
+
328
+
329
+ ### Key Findings
330
+
331
+ - **Best Predictability:** Context-4 (word) with 96.7% predictability
332
+ - **Branching Factor:** Decreases with context size (more deterministic)
333
+ - **Memory Trade-off:** Larger contexts require more storage (155,477 contexts)
334
+ - **Recommendation:** Context-3 or Context-4 for text generation
335
+
336
+ ---
337
+ ## 4. Vocabulary Analysis
338
+
339
+ ![Zipf's Law](visualizations/zipf_law.png)
340
+
341
+ ![Top Words](visualizations/top20_words.png)
342
+
343
+ ![Coverage Curve](visualizations/vocab_coverage.png)
344
+
345
+ ### Statistics
346
+
347
+ | Metric | Value |
348
+ |--------|-------|
349
+ | Vocabulary Size | 32,145 |
350
+ | Total Tokens | 790,046 |
351
+ | Mean Frequency | 24.58 |
352
+ | Median Frequency | 4 |
353
+ | Frequency Std Dev | 397.72 |
354
+
355
+ ### Most Common Words
356
+
357
+ | Rank | Word | Frequency |
358
+ |------|------|-----------|
359
+ | 1 | di | 39,085 |
360
+ | 2 | e | 28,112 |
361
+ | 3 | al | 22,659 |
362
+ | 4 | a | 19,048 |
363
+ | 5 | dal | 18,049 |
364
+ | 6 | la | 17,389 |
365
+ | 7 | il | 14,910 |
366
+ | 8 | de | 12,230 |
367
+ | 9 | che | 12,124 |
368
+ | 10 | in | 9,877 |
369
+
370
+ ### Least Common Words (from vocabulary)
371
+
372
+ | Rank | Word | Frequency |
373
+ |------|------|-----------|
374
+ | 1 | sorunsuz | 2 |
375
+ | 2 | honorem | 2 |
376
+ | 3 | mariie | 2 |
377
+ | 4 | zeni | 2 |
378
+ | 5 | prestato | 2 |
379
+ | 6 | colomps | 2 |
380
+ | 7 | mariotti | 2 |
381
+ | 8 | acoustic | 2 |
382
+ | 9 | hayreddin | 2 |
383
+ | 10 | mitilen | 2 |
384
+
385
+ ### Zipf's Law Analysis
386
+
387
+ | Metric | Value |
388
+ |--------|-------|
389
+ | Zipf Coefficient | 1.0527 |
390
+ | R² (Goodness of Fit) | 0.998570 |
391
+ | Adherence Quality | **excellent** |
392
+
393
+ ### Coverage Analysis
394
+
395
+ | Top N Words | Coverage |
396
+ |-------------|----------|
397
+ | Top 100 | 47.2% |
398
+ | Top 1,000 | 70.1% |
399
+ | Top 5,000 | 85.4% |
400
+ | Top 10,000 | 91.3% |
401
+
402
+ ### Key Findings
403
+
404
+ - **Zipf Compliance:** R²=0.9986 indicates excellent adherence to Zipf's law
405
+ - **High Frequency Dominance:** Top 100 words cover 47.2% of corpus
406
+ - **Long Tail:** 22,145 words needed for remaining 8.7% coverage
407
+
408
+ ---
409
+ ## 5. Word Embeddings Evaluation
410
+
411
+ ![Embedding Isotropy](visualizations/embedding_isotropy.png)
412
+
413
+ ![Similarity Matrix](visualizations/embedding_similarity.png)
414
+
415
+ ![t-SNE Words](visualizations/tsne_words.png)
416
+
417
+ ![t-SNE Sentences](visualizations/tsne_sentences.png)
418
+
419
+
420
+ ### 5.1 Cross-Lingual Alignment
421
+
422
+ ![Alignment Quality](visualizations/embedding_alignment_quality.png)
423
+
424
+ ![Multilingual t-SNE](visualizations/embedding_tsne_multilingual.png)
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.8456 🏆 | 0.3453 | N/A | N/A |
432
+ | **mono_64d** | 64 | 0.7362 | 0.2912 | N/A | N/A |
433
+ | **mono_128d** | 128 | 0.3656 | 0.2659 | N/A | N/A |
434
+ | **aligned_32d** | 32 | 0.8456 | 0.3331 | 0.0580 | 0.2960 |
435
+ | **aligned_64d** | 64 | 0.7362 | 0.2849 | 0.1000 | 0.3420 |
436
+ | **aligned_128d** | 128 | 0.3656 | 0.2575 | 0.1500 | 0.4140 |
437
+
438
+ ### Key Findings
439
+
440
+ - **Best Isotropy:** mono_32d with 0.8456 (more uniform distribution)
441
+ - **Semantic Density:** Average pairwise similarity of 0.2963. Lower values indicate better semantic separation.
442
+ - **Alignment Quality:** Aligned models achieve up to 15.0% R@1 in cross-lingual retrieval.
443
+ - **Recommendation:** 128d aligned for best cross-lingual performance
444
+
445
+ ---
446
+ ## 6. Morphological Analysis (Experimental)
447
+
448
+ This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
449
+
450
+ ### 6.1 Productivity & Complexity
451
+
452
+ | Metric | Value | Interpretation | Recommendation |
453
+ |--------|-------|----------------|----------------|
454
+ | Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
455
+ | Idiomaticity Gap | **0.707** | High formulaic/idiomatic content | - |
456
+
457
+ ### 6.2 Affix Inventory (Productive Units)
458
+
459
+ These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
460
+
461
+ #### Productive Prefixes
462
+ | Prefix | Examples |
463
+ |--------|----------|
464
+ | `-co` | comme, concentrâts, conventu |
465
+ | `-pr` | programadis, protagoniscj, prestazions |
466
+ | `-in` | insets, inventôrs, interpretazions |
467
+
468
+ #### Productive Suffixes
469
+ | Suffix | Examples |
470
+ |--------|----------|
471
+ | `-s` | murçalis, programadis, carateristichis |
472
+ | `-e` | que, croniche, vicenze |
473
+ | `-is` | murçalis, programadis, carateristichis |
474
+ | `-ts` | insets, falâts, possidents |
475
+ | `-on` | perfezion, chiampon, ambientazion |
476
+ | `-ât` | bonât, popolaritât, staticitât |
477
+ | `-de` | alimentade, liende, einöde |
478
+ | `-in` | rabin, montafin, bandonin |
479
+
480
+ ### 6.3 Bound Stems (Lexical Roots)
481
+
482
+ 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.
483
+
484
+ | Stem | Cohesion | Substitutability | Examples |
485
+ |------|----------|------------------|----------|
486
+ | `azio` | 2.07x | 55 contexts | lazio, azion, spazio |
487
+ | `uart` | 1.84x | 71 contexts | fuart, puart, muart |
488
+ | `razi` | 2.17x | 30 contexts | razis, orazi, grazie |
489
+ | `iche` | 1.93x | 44 contexts | piche, laiche, criche |
490
+ | `entr` | 1.81x | 43 contexts | centr, entre, entri |
491
+ | `lian` | 1.92x | 34 contexts | zelian, zulian, talian |
492
+ | `itât` | 1.95x | 30 contexts | citât, mitât, zitât |
493
+ | `imen` | 1.95x | 27 contexts | imens, timent, ciment |
494
+ | `ions` | 2.24x | 16 contexts | lions, zions, grions |
495
+ | `omun` | 2.07x | 18 contexts | comun, comune, comuni |
496
+ | `isti` | 1.48x | 52 contexts | esisti, listis, istint |
497
+ | `ntri` | 1.85x | 20 contexts | entri, cintri, contri |
498
+
499
+ ### 6.4 Affix Compatibility (Co-occurrence)
500
+
501
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
502
+
503
+ | Prefix | Suffix | Frequency | Examples |
504
+ |--------|--------|-----------|----------|
505
+ | `-co` | `-s` | 88 words | comunâls, comics |
506
+ | `-co` | `-e` | 64 words | couture, completade |
507
+ | `-pr` | `-e` | 50 words | predicjave, protagoniste |
508
+ | `-pr` | `-s` | 48 words | principinonpais, provocatoris |
509
+ | `-in` | `-s` | 46 words | invetivis, industriis |
510
+ | `-in` | `-e` | 38 words | invistidure, incirche |
511
+ | `-co` | `-is` | 34 words | contraris, convicinis |
512
+ | `-co` | `-on` | 31 words | concession, cosson |
513
+ | `-co` | `-in` | 24 words | costin, condividevin |
514
+ | `-co` | `-nt` | 21 words | costituint, corispondent |
515
+
516
+ ### 6.5 Recursive Morpheme Segmentation
517
+
518
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
519
+
520
+ | Word | Suggested Split | Confidence | Stem |
521
+ |------|-----------------|------------|------|
522
+ | studentis | **`stude-nt-is`** | 6.0 | `stude` |
523
+ | costantin | **`co-stant-in`** | 6.0 | `stant` |
524
+ | incontaminât | **`in-co-ntam-in-ât`** | 6.0 | `ntam` |
525
+ | friulinis | **`friul-in-is`** | 6.0 | `friul` |
526
+ | indreçâts | **`in-dreçâ-ts`** | 6.0 | `dreçâ` |
527
+ | filipinis | **`filip-in-is`** | 6.0 | `filip` |
528
+ | grandonis | **`grand-on-is`** | 6.0 | `grand` |
529
+ | venetopontinis | **`venetopo-nt-in-is`** | 4.5 | `venetopo` |
530
+ | bandonâts | **`bandonâ-ts`** | 4.5 | `bandonâ` |
531
+ | favorevulis | **`favorevul-is`** | 4.5 | `favorevul` |
532
+ | indagjinis | **`in-dagj-in-is`** | 4.5 | `dagj` |
533
+ | segretariât | **`segretari-ât`** | 4.5 | `segretari` |
534
+ | designâts | **`designâ-ts`** | 4.5 | `designâ` |
535
+ | associâts | **`associâ-ts`** | 4.5 | `associâ` |
536
+ | cuviertis | **`cuviert-is`** | 4.5 | `cuviert` |
537
+
538
+ ### 6.6 Linguistic Interpretation
539
+
540
+ > **Automated Insight:**
541
+ The language Friulian shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
542
+
543
+ > **Note on Idiomaticity:** The high Idiomaticity Gap suggests a large number of frequent multi-word expressions or formulaic sequences that are statistically distinct from their component parts.
544
+
545
+ ---
546
+ ## 7. Summary & Recommendations
547
+
548
+ ![Performance Dashboard](visualizations/performance_dashboard.png)
549
+
550
+ ### Production Recommendations
551
+
552
+ | Component | Recommended | Rationale |
553
+ |-----------|-------------|-----------|
554
+ | Tokenizer | **64k BPE** | Best compression (4.18x) |
555
+ | N-gram | **2-gram** | Lowest perplexity (248) |
556
+ | Markov | **Context-4** | Highest predictability (96.7%) |
557
+ | Embeddings | **100d** | Balanced semantic capture and isotropy |
558
+
559
+
560
+ ---
561
+ ## Appendix: Metrics Glossary & Interpretation Guide
562
+
563
+ This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
564
+
565
+ ### Tokenizer Metrics
566
+
567
+ **Compression Ratio**
568
+ > *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
569
+ >
570
+ > *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.
571
+ >
572
+ > *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
573
+
574
+ **Average Token Length (Fertility)**
575
+ > *Definition:* Mean number of characters per token produced by the tokenizer.
576
+ >
577
+ > *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.
578
+ >
579
+ > *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
580
+
581
+ **Unknown Token Rate (OOV Rate)**
582
+ > *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
583
+ >
584
+ > *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
585
+ >
586
+ > *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
587
+
588
+ ### N-gram Model Metrics
589
+
590
+ **Perplexity**
591
+ > *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
592
+ >
593
+ > *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.
594
+ >
595
+ > *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
596
+
597
+ **Entropy**
598
+ > *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
599
+ >
600
+ > *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
601
+ >
602
+ > *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
603
+
604
+ **Coverage (Top-K)**
605
+ > *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
606
+ >
607
+ > *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
608
+ >
609
+ > *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
610
+
611
+ ### Markov Chain Metrics
612
+
613
+ **Average Entropy**
614
+ > *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
615
+ >
616
+ > *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).
617
+ >
618
+ > *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
619
+
620
+ **Branching Factor**
621
+ > *Definition:* Average number of unique next tokens observed for each context.
622
+ >
623
+ > *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
624
+ >
625
+ > *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
626
+
627
+ **Predictability**
628
+ > *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
629
+ >
630
+ > *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
631
+ >
632
+ > *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
633
+
634
+ ### Vocabulary & Zipf's Law Metrics
635
+
636
+ **Zipf's Coefficient**
637
+ > *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
638
+ >
639
+ > *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
640
+ >
641
+ > *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
642
+
643
+ **R² (Coefficient of Determination)**
644
+ > *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
645
+ >
646
+ > *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
647
+ >
648
+ > *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
649
+
650
+ **Vocabulary Coverage**
651
+ > *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
652
+ >
653
+ > *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
654
+ >
655
+ > *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
656
+
657
+ ### Word Embedding Metrics
658
+
659
+ **Isotropy**
660
+ > *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
661
+ >
662
+ > *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
663
+ >
664
+ > *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.
665
+
666
+ **Average Norm**
667
+ > *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
668
+ >
669
+ > *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
670
+ >
671
+ > *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
672
+
673
+ **Cosine Similarity**
674
+ > *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
675
+ >
676
+ > *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
677
+ >
678
+ > *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
679
+
680
+ **t-SNE Visualization**
681
+ > *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
682
+ >
683
+ > *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
684
+ >
685
+ > *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
686
+
687
+ ### General Interpretation Guidelines
688
+
689
+ 1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
690
+ 2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
691
+ 3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
692
+ 4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
693
+ 5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
694
+
695
+
696
+ ### Visualizations Index
697
+
698
+ | Visualization | Description |
699
+ |---------------|-------------|
700
+ | Tokenizer Compression | Compression ratios by vocabulary size |
701
+ | Tokenizer Fertility | Average token length by vocabulary |
702
+ | Tokenizer OOV | Unknown token rates |
703
+ | Tokenizer Total Tokens | Total tokens by vocabulary |
704
+ | N-gram Perplexity | Perplexity by n-gram size |
705
+ | N-gram Entropy | Entropy by n-gram size |
706
+ | N-gram Coverage | Top pattern coverage |
707
+ | N-gram Unique | Unique n-gram counts |
708
+ | Markov Entropy | Entropy by context size |
709
+ | Markov Branching | Branching factor by context |
710
+ | Markov Contexts | Unique context counts |
711
+ | Zipf's Law | Frequency-rank distribution with fit |
712
+ | Vocab Frequency | Word frequency distribution |
713
+ | Top 20 Words | Most frequent words |
714
+ | Vocab Coverage | Cumulative coverage curve |
715
+ | Embedding Isotropy | Vector space uniformity |
716
+ | Embedding Norms | Vector magnitude distribution |
717
+ | Embedding Similarity | Word similarity heatmap |
718
+ | Nearest Neighbors | Similar words for key terms |
719
+ | t-SNE Words | 2D word embedding visualization |
720
+ | t-SNE Sentences | 2D sentence embedding visualization |
721
+ | Position Encoding | Encoding method comparison |
722
+ | Model Sizes | Storage requirements |
723
+ | Performance Dashboard | Comprehensive performance overview |
724
+
725
+ ---
726
+ ## About This Project
727
+
728
+ ### Data Source
729
+
730
+ Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
731
+
732
+ ### Project
733
+
734
+ A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
735
+
736
+ ### Maintainer
737
+
738
+ [Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
739
+
740
+ ### Citation
741
+
742
+ If you use these models in your research, please cite:
743
+
744
+ ```bibtex
745
+ @misc{wikilangs2025,
746
+ author = {Kamali, Omar},
747
+ title = {Wikilangs: Open NLP Models for Wikipedia Languages},
748
+ year = {2025},
749
+ doi = {10.5281/zenodo.18073153},
750
+ publisher = {Zenodo},
751
+ url = {https://huggingface.co/wikilangs}
752
+ institution = {Omneity Labs}
753
+ }
754
+ ```
755
+
756
+ ### License
757
+
758
+ MIT License - Free for academic and commercial use.
759
+
760
+ ### Links
761
+
762
+ - 🌐 Website: [wikilangs.org](https://wikilangs.org)
763
+ - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
764
+ - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
765
+ - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
766
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
767
+ ---
768
+ *Generated by Wikilangs Models Pipeline*
769
+
770
+ *Report Date: 2026-01-04 14:49:50*
models/embeddings/aligned/fur_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bd754070f656cf0568ced45f83985bb70edbf290d1305aad3a3f55f12dedf8d
3
+ size 1038779862
models/embeddings/aligned/fur_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 128, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/fur_128d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:449ab221e6732830837170e2741b43bbfa8731d291539ef43234dd8d063e51e9
3
+ size 65664
models/embeddings/aligned/fur_128d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
3
+ "dimension": 128,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 4364,
7
+ "vocab_size": 14201
8
+ }
models/embeddings/aligned/fur_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10cf51a0616f06d35ffd476a47a3bd25236edd530453f49cfa87e1aa40285671
3
+ size 259873494
models/embeddings/aligned/fur_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 32, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/fur_32d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:210e88611abfb93769235899af8416285e87dace4eaa483c6bb6a966e3c43d46
3
+ size 4224
models/embeddings/aligned/fur_32d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
3
+ "dimension": 32,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 4364,
7
+ "vocab_size": 14201
8
+ }
models/embeddings/aligned/fur_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4210022c8ed44f164c3ddf53a2ee8eaebd7926506f2946b208fd5c0fdc162854
3
+ size 519508950
models/embeddings/aligned/fur_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 64, "max_seq_len": 512, "is_aligned": true}
models/embeddings/aligned/fur_64d.projection.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c7e73c2b6b265455b0afd054208785b8fade8cd3a1ca688a2fc709dbbe3a579
3
+ size 16512
models/embeddings/aligned/fur_64d_metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
3
+ "dimension": 64,
4
+ "version": "aligned",
5
+ "hub_language": "en",
6
+ "seed_vocab_size": 4364,
7
+ "vocab_size": 14201
8
+ }
models/embeddings/monolingual/fur_128d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bd754070f656cf0568ced45f83985bb70edbf290d1305aad3a3f55f12dedf8d
3
+ size 1038779862
models/embeddings/monolingual/fur_128d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 128, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/fur_128d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
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": 14201
15
+ }
models/embeddings/monolingual/fur_32d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10cf51a0616f06d35ffd476a47a3bd25236edd530453f49cfa87e1aa40285671
3
+ size 259873494
models/embeddings/monolingual/fur_32d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 32, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/fur_32d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
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": 14201
15
+ }
models/embeddings/monolingual/fur_64d.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4210022c8ed44f164c3ddf53a2ee8eaebd7926506f2946b208fd5c0fdc162854
3
+ size 519508950
models/embeddings/monolingual/fur_64d.meta.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"lang": "fur", "dim": 64, "max_seq_len": 512, "is_aligned": false}
models/embeddings/monolingual/fur_64d_metadata.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
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": 14201
15
+ }
models/subword_markov/fur_markov_ctx1_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b242fa6ea9c11140fe9c87acf2ce9ec766b13f032edad68a77f0ee3187e0756
3
+ size 53730
models/subword_markov/fur_markov_ctx1_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 1,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_contexts": 739,
6
+ "total_transitions": 4661841
7
+ }
models/subword_markov/fur_markov_ctx2_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64d86b022fbd7302cad8acac5c85a2d8090ea358f974ffbe9899246043480223
3
+ size 310979
models/subword_markov/fur_markov_ctx2_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 2,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_contexts": 6634,
6
+ "total_transitions": 4656853
7
+ }
models/subword_markov/fur_markov_ctx3_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5184cd335af7a6bdaa5796bbfd953405700df038c2fc83d2150526e39b7b79eb
3
+ size 1167229
models/subword_markov/fur_markov_ctx3_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 3,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_contexts": 38974,
6
+ "total_transitions": 4651865
7
+ }
models/subword_markov/fur_markov_ctx4_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06e62411296d48d06c36192fe6a162b0a4fd1321f35d3bb2dc6b0fe2bcf5ccad
3
+ size 3232561
models/subword_markov/fur_markov_ctx4_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "context_size": 4,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_contexts": 155477,
6
+ "total_transitions": 4646877
7
+ }
models/subword_ngram/fur_2gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85282934533987b7a2b762f8b6b37f1743a149ef77b47a2aba1642661cfd7f3f
3
+ size 36065
models/subword_ngram/fur_2gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 2,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_ngrams": 2671,
6
+ "total_ngrams": 4661841
7
+ }
models/subword_ngram/fur_3gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30242096d15f610f47b5c652f54c4133a9950e6e97f6a71a1adf3e7cc0000404
3
+ size 240858
models/subword_ngram/fur_3gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 3,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_ngrams": 19755,
6
+ "total_ngrams": 4656853
7
+ }
models/subword_ngram/fur_4gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8fca177552757bc4d970ec7b96cd9bdff88dd2f785fd74b5e20f4cd593b11c9
3
+ size 1031007
models/subword_ngram/fur_4gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 4,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_ngrams": 89752,
6
+ "total_ngrams": 4651865
7
+ }
models/subword_ngram/fur_5gram_subword.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eadf83e51313a7159a33666d4dbe11b21a26b1245c5ab39583f565b81a8ea037
3
+ size 2352553
models/subword_ngram/fur_5gram_subword_metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "n": 5,
3
+ "variant": "subword",
4
+ "language": "fur",
5
+ "unique_ngrams": 204100,
6
+ "total_ngrams": 4646877
7
+ }
models/tokenizer/fur_tokenizer_16k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c82f34540c76c37f8b6247dea287d8e08f014bce25a9a96571a6de5b5b1db095
3
+ size 510064
models/tokenizer/fur_tokenizer_16k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/fur_tokenizer_32k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:238fdf75dd5b7ca74f10d98df3f2f39305f10c8f7041ebe600bd274e8239f377
3
+ size 783899
models/tokenizer/fur_tokenizer_32k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/fur_tokenizer_64k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05439ffde3e261a830121c66e05e83f6aa7480ce7db0e5f755c1098e6d2329a9
3
+ size 1375208
models/tokenizer/fur_tokenizer_64k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/fur_tokenizer_8k.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1da2cc48b4fa4a90e847255351226a6eb7c550c1b592b5fe6e3ff82226cdd874
3
+ size 375086
models/tokenizer/fur_tokenizer_8k.vocab ADDED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/fur_vocabulary.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10031283454c4a768b3758ecb0cfd651cc2ac00ff322fa5caa5fc3c4f7037e1c
3
+ size 537539
models/vocabulary/fur_vocabulary_metadata.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "language": "fur",
3
+ "vocabulary_size": 32145,
4
+ "variant": "full",
5
+ "statistics": {
6
+ "type_token_ratio": 0.08781032642120985,
7
+ "coverage": {
8
+ "top_100": 0.44923386519252967,
9
+ "top_1000": 0.666736473938418,
10
+ "top_5000": 0.8116070235743971,
11
+ "top_10000": 0.8681870209024636
12
+ },
13
+ "hapax_count": 40813,
14
+ "hapax_ratio": 0.5594040406809397,
15
+ "total_documents": 4988
16
+ }
17
+ }
models/word_markov/fur_markov_ctx1_word.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a4de3940f026199bd86c87cbc9e98be07b41c3ccff8273faa96954e75bd1c5a
3
+ size 2693096