omarkamali commited on
Commit
e015fc1
·
verified ·
1 Parent(s): 5957820

Upload all models and assets for br (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. README.md +297 -137
  2. models/embeddings/monolingual/br_128d.bin +2 -2
  3. models/embeddings/monolingual/br_128d_metadata.json +5 -3
  4. models/embeddings/monolingual/br_32d.bin +2 -2
  5. models/embeddings/monolingual/br_32d_metadata.json +5 -3
  6. models/embeddings/monolingual/br_64d.bin +2 -2
  7. models/embeddings/monolingual/br_64d_metadata.json +5 -3
  8. models/subword_markov/br_markov_ctx1_subword.parquet +2 -2
  9. models/subword_markov/br_markov_ctx1_subword_metadata.json +2 -2
  10. models/subword_markov/br_markov_ctx2_subword.parquet +2 -2
  11. models/subword_markov/br_markov_ctx2_subword_metadata.json +2 -2
  12. models/subword_markov/br_markov_ctx3_subword.parquet +2 -2
  13. models/subword_markov/br_markov_ctx3_subword_metadata.json +2 -2
  14. models/subword_markov/br_markov_ctx4_subword.parquet +2 -2
  15. models/subword_markov/br_markov_ctx4_subword_metadata.json +2 -2
  16. models/subword_ngram/br_2gram_subword.parquet +2 -2
  17. models/subword_ngram/br_2gram_subword_metadata.json +2 -2
  18. models/subword_ngram/br_3gram_subword.parquet +2 -2
  19. models/subword_ngram/br_3gram_subword_metadata.json +2 -2
  20. models/subword_ngram/br_4gram_subword.parquet +2 -2
  21. models/subword_ngram/br_4gram_subword_metadata.json +2 -2
  22. models/tokenizer/br_tokenizer_16k.model +2 -2
  23. models/tokenizer/br_tokenizer_16k.vocab +0 -0
  24. models/tokenizer/br_tokenizer_32k.model +2 -2
  25. models/tokenizer/br_tokenizer_32k.vocab +0 -0
  26. models/tokenizer/br_tokenizer_64k.model +2 -2
  27. models/tokenizer/br_tokenizer_64k.vocab +0 -0
  28. models/tokenizer/br_tokenizer_8k.model +2 -2
  29. models/tokenizer/br_tokenizer_8k.vocab +0 -0
  30. models/vocabulary/br_vocabulary.parquet +2 -2
  31. models/vocabulary/br_vocabulary_metadata.json +10 -9
  32. models/word_markov/br_markov_ctx1_word.parquet +2 -2
  33. models/word_markov/br_markov_ctx1_word_metadata.json +2 -2
  34. models/word_markov/br_markov_ctx2_word.parquet +2 -2
  35. models/word_markov/br_markov_ctx2_word_metadata.json +2 -2
  36. models/word_markov/br_markov_ctx3_word.parquet +2 -2
  37. models/word_markov/br_markov_ctx3_word_metadata.json +2 -2
  38. models/word_markov/br_markov_ctx4_word.parquet +2 -2
  39. models/word_markov/br_markov_ctx4_word_metadata.json +2 -2
  40. models/word_ngram/br_2gram_word.parquet +2 -2
  41. models/word_ngram/br_2gram_word_metadata.json +2 -2
  42. models/word_ngram/br_3gram_word.parquet +2 -2
  43. models/word_ngram/br_3gram_word_metadata.json +2 -2
  44. models/word_ngram/br_4gram_word.parquet +2 -2
  45. models/word_ngram/br_4gram_word_metadata.json +2 -2
  46. visualizations/embedding_isotropy.png +0 -0
  47. visualizations/embedding_norms.png +0 -0
  48. visualizations/embedding_similarity.png +2 -2
  49. visualizations/markov_branching.png +0 -0
  50. visualizations/markov_contexts.png +0 -0
README.md CHANGED
@@ -23,14 +23,14 @@ dataset_info:
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
- value: 3.617
27
  - name: best_isotropy
28
  type: isotropy
29
- value: 0.8322
30
  - name: vocabulary_size
31
  type: vocab
32
- value: 263085
33
- generated: 2025-12-28
34
  ---
35
 
36
  # BR - Wikilangs Models
@@ -44,12 +44,13 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
44
  ### Models & Assets
45
 
46
  - Tokenizers (8k, 16k, 32k, 64k)
47
- - N-gram models (2, 3, 4-gram)
48
- - Markov chains (context of 1, 2, 3 and 4)
49
  - Subword N-gram and Markov chains
50
- - Embeddings in various sizes and dimensions
51
  - Language Vocabulary
52
  - Language Statistics
 
53
  ![Performance Dashboard](visualizations/performance_dashboard.png)
54
 
55
  ### Analysis and Evaluation
@@ -59,7 +60,8 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
59
  - [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
60
  - [4. Vocabulary Analysis](#4-vocabulary-analysis)
61
  - [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
62
- - [6. Summary & Recommendations](#6-summary--recommendations)
 
63
  - [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
64
  - [Visualizations Index](#visualizations-index)
65
 
@@ -68,55 +70,57 @@ We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and
68
 
69
  ![Tokenizer Compression](visualizations/tokenizer_compression.png)
70
 
 
 
 
 
 
 
71
  ### Results
72
 
73
  | Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
74
  |------------|-------------|---------------|----------|--------------|
75
- | **8k** | 3.122x | 3.07 | 0.4020% | 881,322 |
76
- | **16k** | 3.329x | 3.28 | 0.4286% | 826,606 |
77
- | **32k** | 3.492x | 3.44 | 0.4496% | 788,002 |
78
- | **64k** | 3.617x 🏆 | 3.56 | 0.4657% | 760,713 |
79
 
80
  ### Tokenization Examples
81
 
82
  Below are sample sentences tokenized with each vocabulary size:
83
 
84
- **Sample 1:** `Fuentes de Jiloca zo ur gumun eus Spagn e Proviñs Zaragoza, en Aragon.`
85
 
86
  | Vocab | Tokens | Count |
87
  |-------|--------|-------|
88
- | 8k | `▁fu ent esdej il oc azour ... (+12 more)` | 22 |
89
- | 16k | `▁fu entesdej il oca zourgumuneus ... (+8 more)` | 18 |
90
- | 32k | `▁fuentes ▁dejil oca ▁zo ▁ur ▁gumun ▁eusspagne ... (+6 more)` | 16 |
91
- | 64k | `▁fuentes ▁dejil oca ▁zo ▁ur ▁gumun ▁eusspagne ... (+6 more)` | 16 |
92
 
93
- **Sample 2:** `Barromán zo ur gumun eus Spagn, e proviñs Ávila, en Kastilha ha León.
94
-
95
- Rummad:K...`
96
 
97
  | Vocab | Tokens | Count |
98
  |-------|--------|-------|
99
- | 8k | `▁bar rom án ▁zo ▁ur ▁gumun ▁eusspagn , e ... (+14 more)` | 24 |
100
- | 16k | `▁bar rom án ▁zo ▁ur ▁gumun ▁eusspagn , e ... (+14 more)` | 24 |
101
- | 32k | `▁bar rom án ▁zo ▁ur ▁gumun ▁eusspagn , e ... (+14 more)` | 24 |
102
- | 64k | `▁bar rom án ▁zo ▁ur ▁gumun ▁eusspagn , e ... (+14 more)` | 24 |
103
-
104
- **Sample 3:** `Tolbaños zo ur gumun eus Spagn, e proviñs Ávila, en Kastilha ha León.
105
 
106
- Rummad:K...`
107
 
108
  | Vocab | Tokens | Count |
109
  |-------|--------|-------|
110
- | 8k | `▁tol b os ▁zo ▁ur ▁gumun ▁eusspagn , ... (+15 more)` | 25 |
111
- | 16k | `▁tol b os ▁zo ▁ur ▁gumun ▁eusspagn , ... (+15 more)` | 25 |
112
- | 32k | `▁tol b años ▁zo ▁ur ▁gumun ▁eusspagn , ▁e ... (+14 more)` | 24 |
113
- | 64k | `▁tol b años ▁zo ▁ur ▁gumun ▁eusspagn , ▁e ... (+14 more)` | 24 |
114
 
115
 
116
  ### Key Findings
117
 
118
- - **Best Compression:** 64k achieves 3.617x compression
119
- - **Lowest UNK Rate:** 8k with 0.4020% unknown tokens
120
  - **Trade-off:** Larger vocabularies improve compression but increase model size
121
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
122
 
@@ -125,57 +129,89 @@ Rummad:K...`
125
 
126
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
127
 
 
 
128
  ![N-gram Coverage](visualizations/ngram_coverage.png)
129
 
130
  ### Results
131
 
132
- | N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
133
- |--------|------------|---------|----------------|------------------|-------------------|
134
- | **2-gram** | 37,795 🏆 | 15.21 | 396,301 | 15.5% | 32.7% |
135
- | **2-gram** | 361 🏆 | 8.49 | 13,774 | 60.5% | 98.2% |
136
- | **3-gram** | 147,885 | 17.17 | 858,386 | 7.1% | 19.7% |
137
- | **3-gram** | 3,461 | 11.76 | 106,981 | 21.9% | 63.7% |
138
- | **4-gram** | 382,971 | 18.55 | 1,581,104 | 3.6% | 13.2% |
139
- | **4-gram** | 22,182 | 14.44 | 580,225 | 10.3% | 33.1% |
140
 
141
  ### Top 5 N-grams by Size
142
 
143
- **2-grams:**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
 
145
  | Rank | N-gram | Count |
146
  |------|--------|-------|
147
- | 1 | `c '` | 168,356 |
148
- | 2 | `rummad :` | 166,928 |
149
- | 3 | `d '` | 113,851 |
150
- | 4 | `' h` | 99,333 |
151
- | 5 | `, e` | 74,128 |
152
 
153
- **3-grams:**
154
 
155
  | Rank | N-gram | Count |
156
  |------|--------|-------|
157
- | 1 | `ar c '` | 51,117 |
158
- | 2 | `d ' ar` | 44,541 |
159
- | 3 | `d ' an` | 33,579 |
160
- | 4 | `. rummad :` | 24,562 |
161
- | 5 | `c ' hall` | 23,162 |
162
 
163
- **4-grams:**
164
 
165
  | Rank | N-gram | Count |
166
  |------|--------|-------|
167
- | 1 | `bro - c '` | 16,536 |
168
- | 2 | `- c ' hall` | 15,614 |
169
- | 3 | `zo ur gumun eus` | 8,365 |
170
- | 4 | `ha daveennoù rummad :` | 7,182 |
171
- | 5 | `notennoù ha daveennoù rummad` | 7,173 |
 
 
 
 
 
 
 
 
 
 
172
 
173
 
174
  ### Key Findings
175
 
176
- - **Best Perplexity:** 2-gram with 361
177
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
178
- - **Coverage:** Top-1000 patterns cover ~33% of corpus
179
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
180
 
181
  ---
@@ -183,55 +219,86 @@ Rummad:K...`
183
 
184
  ![Markov Entropy](visualizations/markov_entropy.png)
185
 
 
 
186
  ![Markov Branching](visualizations/markov_branching.png)
187
 
188
  ### Results
189
 
190
- | Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
191
- |---------|-------------|------------|------------------|-----------------|----------------|
192
- | **1** | 0.7133 | 1.640 | 6.37 | 642,948 | 28.7% |
193
- | **1** | 1.1559 | 2.228 | 7.70 | 6,849 | 0.0% |
194
- | **2** | 0.3934 | 1.313 | 2.35 | 4,087,653 | 60.7% |
195
- | **2** | 0.7490 | 1.681 | 4.86 | 52,722 | 25.1% |
196
- | **3** | 0.1872 | 1.139 | 1.44 | 9,600,283 | 81.3% |
197
- | **3** | 0.7699 | 1.705 | 4.16 | 256,241 | 23.0% |
198
- | **4** | 0.0950 🏆 | 1.068 | 1.19 | 13,824,129 | 90.5% |
199
- | **4** | 0.6874 🏆 | 1.610 | 3.24 | 1,065,026 | 31.3% |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
 
201
- ### Generated Text Samples
 
 
 
 
 
 
 
202
 
203
- Below are text samples generated from each Markov chain model:
204
 
205
  **Context Size 1:**
206
 
207
- 1. `, job de reims . emañ o embann levrioù gant ur yezh romanek . ramsay ha`
208
- 2. `- kreiz kalotenn skorn . sonet gantañ cheñch anv ar - se ne em gavas youenn`
209
- 3. `. notennoù rummad : nobiliaire et tableaux d ' orgeraie ; barnet rust e - labour`
210
 
211
  **Context Size 2:**
212
 
213
- 1. `c ' hommonwealth e beredoù ar brezel en ur bolz - enor e 1785 . darn all`
214
- 2. `rummad : geomorfologiezh rummad : pladennoù brezhonek rummad : ganedigezhioù 1958 rummad : ganedigez...`
215
- 3. `d ' ar gonfusianegezh lakaet e voe seitek nijour , ne c ' hoar vras paula (`
216
 
217
  **Context Size 3:**
218
 
219
- 1. `ar c ' hentañ derez ) ofis publik ar brezhoneg . in : studia celtica18 / 19 :`
220
- 2. `d ' ar 26 a viz eost . an anv implij al lerc ' h pa ' z`
221
- 3. `d ' an arabegerion eta , evit skrivañ ar sañskriteg e vez implijet ar sistem - mañ gant`
222
 
223
  **Context Size 4:**
224
 
225
- 1. `bro - c ' hall ) , e - lec ' h zo anvet pentre e kembre . hen`
226
- 2. `- c ' hall ) d ' an 3 a viz genver 1871 . krouet e oa bet gant`
227
- 3. `zo ur gumun eus italia , e proviñs cremona , e rannvro lombardia . rummad : kumunioù lombardia rumma...`
228
 
229
 
230
  ### Key Findings
231
 
232
- - **Best Predictability:** Context-4 with 90.5% predictability
233
  - **Branching Factor:** Decreases with context size (more deterministic)
234
- - **Memory Trade-off:** Larger contexts require more storage (1,065,026 contexts)
235
  - **Recommendation:** Context-3 or Context-4 for text generation
236
 
237
  ---
@@ -247,64 +314,64 @@ Below are text samples generated from each Markov chain model:
247
 
248
  | Metric | Value |
249
  |--------|-------|
250
- | Vocabulary Size | 263,085 |
251
- | Total Tokens | 16,823,868 |
252
- | Mean Frequency | 63.95 |
253
  | Median Frequency | 4 |
254
- | Frequency Std Dev | 2476.07 |
255
 
256
  ### Most Common Words
257
 
258
  | Rank | Word | Frequency |
259
  |------|------|-----------|
260
- | 1 | e | 717,291 |
261
- | 2 | ar | 526,767 |
262
- | 3 | a | 475,234 |
263
- | 4 | an | 331,609 |
264
- | 5 | ha | 233,395 |
265
- | 6 | c | 194,241 |
266
- | 7 | gant | 192,785 |
267
- | 8 | en | 189,181 |
268
- | 9 | da | 173,430 |
269
- | 10 | rummad | 169,617 |
270
 
271
  ### Least Common Words (from vocabulary)
272
 
273
  | Rank | Word | Frequency |
274
  |------|------|-----------|
275
- | 1 | maghrebonkoud | 2 |
276
- | 2 | fidefide | 2 |
277
- | 3 | 2024he | 2 |
278
- | 4 | ougandachess | 2 |
279
- | 5 | ouganda365 | 2 |
280
- | 6 | inmediares | 2 |
281
- | 7 | cytonn | 2 |
282
- | 8 | malinga | 2 |
283
- | 9 | ablainville | 2 |
284
- | 10 | remonter | 2 |
285
 
286
  ### Zipf's Law Analysis
287
 
288
  | Metric | Value |
289
  |--------|-------|
290
- | Zipf Coefficient | 1.1027 |
291
- | R² (Goodness of Fit) | 0.995216 |
292
  | Adherence Quality | **excellent** |
293
 
294
  ### Coverage Analysis
295
 
296
  | Top N Words | Coverage |
297
  |-------------|----------|
298
- | Top 100 | 40.0% |
299
- | Top 1,000 | 64.0% |
300
- | Top 5,000 | 79.7% |
301
- | Top 10,000 | 85.1% |
302
 
303
  ### Key Findings
304
 
305
- - **Zipf Compliance:** R²=0.9952 indicates excellent adherence to Zipf's law
306
- - **High Frequency Dominance:** Top 100 words cover 40.0% of corpus
307
- - **Long Tail:** 253,085 words needed for remaining 14.9% coverage
308
 
309
  ---
310
  ## 5. Word Embeddings Evaluation
@@ -317,24 +384,114 @@ Below are text samples generated from each Markov chain model:
317
 
318
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
319
 
320
- ### Model Comparison
321
 
322
- | Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
323
- |-------|------------|-----------|----------|----------|----------|
324
- | **mono_32d** | 165,065 | 32 | 3.529 | 1.159 | 0.8322 🏆 |
325
- | **mono_64d** | 165,065 | 64 | 4.045 | 1.139 | 0.8224 |
326
- | **mono_128d** | 165,065 | 128 | 4.668 | 1.127 | 0.8005 |
327
- | **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
 
 
 
 
 
 
328
 
329
  ### Key Findings
330
 
331
- - **Best Isotropy:** mono_32d with 0.8322 (more uniform distribution)
332
- - **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
333
- - **Vocabulary Coverage:** All models cover 165,065 words
334
- - **Recommendation:** 100d for balanced semantic capture and efficiency
335
 
336
  ---
337
- ## 6. Summary & Recommendations
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
338
 
339
  ![Performance Dashboard](visualizations/performance_dashboard.png)
340
 
@@ -342,11 +499,12 @@ Below are text samples generated from each Markov chain model:
342
 
343
  | Component | Recommended | Rationale |
344
  |-----------|-------------|-----------|
345
- | Tokenizer | **32k BPE** | Best compression (3.62x) with low UNK rate |
346
- | N-gram | **5-gram** | Lowest perplexity (361) |
347
- | Markov | **Context-4** | Highest predictability (90.5%) |
348
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
349
 
 
350
  ---
351
  ## Appendix: Metrics Glossary & Interpretation Guide
352
 
@@ -536,7 +694,8 @@ If you use these models in your research, please cite:
536
  author = {Kamali, Omar},
537
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
538
  year = {2025},
539
- publisher = {HuggingFace},
 
540
  url = {https://huggingface.co/wikilangs}
541
  institution = {Omneity Labs}
542
  }
@@ -552,7 +711,8 @@ MIT License - Free for academic and commercial use.
552
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
553
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
554
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
 
555
  ---
556
  *Generated by Wikilangs Models Pipeline*
557
 
558
- *Report Date: 2025-12-28 08:17:06*
 
23
  metrics:
24
  - name: best_compression_ratio
25
  type: compression
26
+ value: 3.786
27
  - name: best_isotropy
28
  type: isotropy
29
+ value: 0.8171
30
  - name: vocabulary_size
31
  type: vocab
32
+ value: 0
33
+ generated: 2026-01-03
34
  ---
35
 
36
  # BR - Wikilangs Models
 
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
 
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
 
 
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.235x | 3.24 | 0.4490% | 793,680 |
84
+ | **16k** | 3.460x | 3.46 | 0.4803% | 742,059 |
85
+ | **32k** | 3.645x | 3.65 | 0.5060% | 704,331 |
86
+ | **64k** | 3.786x 🏆 | 3.79 | 0.5255% | 678,179 |
87
 
88
  ### Tokenization Examples
89
 
90
  Below are sample sentences tokenized with each vocabulary size:
91
 
92
+ **Sample 1:** `Monsano zo ur gumun italian e proviñs Ancona, er Marche. Marche Proviñs Ancona`
93
 
94
  | Vocab | Tokens | Count |
95
  |-------|--------|-------|
96
+ | 8k | `▁mon s anozour ▁gumun ▁italian ▁eproviñsanc ... (+9 more)` | 19 |
97
+ | 16k | `▁mons anozour ▁gumunitalianeproviñsancona , ... (+6 more)` | 16 |
98
+ | 32k | `▁mons ano ▁zo ▁ur ▁gumun ▁italianeproviñs ▁ancona , ... (+6 more)` | 16 |
99
+ | 64k | `▁mons ano ▁zo ▁ur ▁gumun ▁italianeproviñs ▁ancona , ... (+6 more)` | 16 |
100
 
101
+ **Sample 2:** `San Asensio zo ur gumun e proviñs La Rioja en Spagn. Rioja`
 
 
102
 
103
  | Vocab | Tokens | Count |
104
  |-------|--------|-------|
105
+ | 8k | `▁san ▁as ens io ▁zo ▁ur ▁gumun ▁eproviñsla ... (+5 more)` | 15 |
106
+ | 16k | `▁san ▁as ens io ▁zo ▁ur ▁gumun ▁eproviñsla ... (+5 more)` | 15 |
107
+ | 32k | `▁san ▁as ens io ▁zo ▁ur ▁gumun ▁eproviñsla ... (+5 more)` | 15 |
108
+ | 64k | `▁san ▁as ens io ▁zo ▁ur ▁gumun ▁eproviñsla ... (+5 more)` | 15 |
 
 
109
 
110
+ **Sample 3:** `Segusino zo ur gumun e proviñs Treviso e Veneto, en Italia.`
111
 
112
  | Vocab | Tokens | Count |
113
  |-------|--------|-------|
114
+ | 8k | `▁seg us ino ▁zo ▁ur ▁gumun ▁eproviñs ▁trev iso ... (+6 more)` | 16 |
115
+ | 16k | `▁seg us ino ▁zo ▁ur ▁gumun ▁eproviñs ▁treviso ▁e ... (+5 more)` | 15 |
116
+ | 32k | `▁seg us ino ▁zo ▁ur ▁gumun ▁eproviñs ▁treviso ▁e ... (+5 more)` | 15 |
117
+ | 64k | `▁seg us ino ▁zo ▁ur ▁gumun ▁eproviñs ▁treviso ▁e ... (+5 more)` | 15 |
118
 
119
 
120
  ### Key Findings
121
 
122
+ - **Best Compression:** 64k achieves 3.786x compression
123
+ - **Lowest UNK Rate:** 8k with 0.4490% unknown tokens
124
  - **Trade-off:** Larger vocabularies improve compression but increase model size
125
  - **Recommendation:** 32k vocabulary provides optimal balance for production use
126
 
 
129
 
130
  ![N-gram Perplexity](visualizations/ngram_perplexity.png)
131
 
132
+ ![N-gram Unique](visualizations/ngram_unique.png)
133
+
134
  ![N-gram Coverage](visualizations/ngram_coverage.png)
135
 
136
  ### Results
137
 
138
+ | N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
139
+ |--------|---------|------------|---------|----------------|------------------|-------------------|
140
+ | **2-gram** | Word | 37,349 | 15.19 | 296,192 | 13.7% | 32.0% |
141
+ | **2-gram** | Subword | 294 🏆 | 8.20 | 11,776 | 65.3% | 98.9% |
142
+ | **3-gram** | Word | 128,487 | 16.97 | 570,380 | 5.9% | 19.5% |
143
+ | **3-gram** | Subword | 2,726 | 11.41 | 81,142 | 23.8% | 68.1% |
144
+ | **4-gram** | Word | 279,047 | 18.09 | 973,376 | 4.1% | 14.8% |
145
+ | **4-gram** | Subword | 17,313 | 14.08 | 421,873 | 10.8% | 35.5% |
146
 
147
  ### Top 5 N-grams by Size
148
 
149
+ **2-grams (Word):**
150
+
151
+ | Rank | N-gram | Count |
152
+ |------|--------|-------|
153
+ | 1 | `e voe` | 59,782 |
154
+ | 2 | `ar c` | 55,139 |
155
+ | 3 | `a viz` | 53,711 |
156
+ | 4 | `e oa` | 52,022 |
157
+ | 5 | `d ar` | 47,935 |
158
+
159
+ **3-grams (Word):**
160
+
161
+ | Rank | N-gram | Count |
162
+ |------|--------|-------|
163
+ | 1 | `zo ur gumun` | 17,678 |
164
+ | 2 | `bro c hall` | 15,638 |
165
+ | 3 | `a zo ur` | 15,315 |
166
+ | 4 | `e oa bet` | 12,845 |
167
+ | 5 | `ur gumun eus` | 8,897 |
168
+
169
+ **4-grams (Word):**
170
 
171
  | Rank | N-gram | Count |
172
  |------|--------|-------|
173
+ | 1 | `zo ur gumun eus` | 8,261 |
174
+ | 2 | `monumantoù ha traoù heverk` | 5,435 |
175
+ | 3 | `a zo ur gumun` | 5,065 |
176
+ | 4 | `zo ur gumun e` | 4,314 |
177
+ | 5 | `monumant ar re varv` | 3,991 |
178
 
179
+ **2-grams (Subword):**
180
 
181
  | Rank | N-gram | Count |
182
  |------|--------|-------|
183
+ | 1 | `_ a` | 1,901,092 |
184
+ | 2 | `_ e` | 1,675,345 |
185
+ | 3 | `a n` | 1,608,231 |
186
+ | 4 | `e _` | 1,592,896 |
187
+ | 5 | `r _` | 1,428,493 |
188
 
189
+ **3-grams (Subword):**
190
 
191
  | Rank | N-gram | Count |
192
  |------|--------|-------|
193
+ | 1 | `a r _` | 640,562 |
194
+ | 2 | `_ e _` | 639,818 |
195
+ | 3 | `e t _` | 623,800 |
196
+ | 4 | `_ a r` | 555,503 |
197
+ | 5 | `e n n` | 467,995 |
198
+
199
+ **4-grams (Subword):**
200
+
201
+ | Rank | N-gram | Count |
202
+ |------|--------|-------|
203
+ | 1 | `_ a r _` | 456,425 |
204
+ | 2 | `_ a n _` | 280,111 |
205
+ | 3 | `a n t _` | 269,237 |
206
+ | 4 | `_ g a n` | 228,714 |
207
+ | 5 | `_ h a _` | 221,977 |
208
 
209
 
210
  ### Key Findings
211
 
212
+ - **Best Perplexity:** 2-gram (subword) with 294
213
  - **Entropy Trend:** Decreases with larger n-grams (more predictable)
214
+ - **Coverage:** Top-1000 patterns cover ~35% of corpus
215
  - **Recommendation:** 4-gram or 5-gram for best predictive performance
216
 
217
  ---
 
219
 
220
  ![Markov Entropy](visualizations/markov_entropy.png)
221
 
222
+ ![Markov Contexts](visualizations/markov_contexts.png)
223
+
224
  ![Markov Branching](visualizations/markov_branching.png)
225
 
226
  ### Results
227
 
228
+ | Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
229
+ |---------|---------|-------------|------------|------------------|-----------------|----------------|
230
+ | **1** | Word | 0.8900 | 1.853 | 7.60 | 546,189 | 11.0% |
231
+ | **1** | Subword | 0.8953 | 1.860 | 5.85 | 8,402 | 10.5% |
232
+ | **2** | Word | 0.3300 | 1.257 | 2.04 | 4,129,549 | 67.0% |
233
+ | **2** | Subword | 0.6669 | 1.588 | 4.21 | 49,100 | 33.3% |
234
+ | **3** | Word | 0.1561 | 1.114 | 1.34 | 8,377,190 | 84.4% |
235
+ | **3** | Subword | 0.6656 | 1.586 | 3.74 | 206,555 | 33.4% |
236
+ | **4** | Word | 0.0728 🏆 | 1.052 | 1.13 | 11,216,136 | 92.7% |
237
+ | **4** | Subword | 0.6497 | 1.569 | 3.22 | 772,246 | 35.0% |
238
+
239
+ ### Generated Text Samples (Word-based)
240
+
241
+ Below are text samples generated from each word-based Markov chain model:
242
+
243
+ **Context Size 1:**
244
+
245
+ 1. `e breizh e vennozhioù diskouez an 18 muhelder bihanañ 34 evel caravan palace da vezañ ivez`
246
+ 2. `ar zastava e amzer tredeoged betek da vare a eskemm ha pterosaurus petra a ra an`
247
+ 3. `a oa un heñvelster gant dean bounce prison gang crime deep grand prix de france bleu`
248
+
249
+ **Context Size 2:**
250
+
251
+ 1. `e voe embannet an testennoù klasel e vez da 800 000 den pe gant kraf ar revelezh`
252
+ 2. `ar c hembraeg mawr bras tolkien avat en doa bet ur gwadliñvadur e barzh ar c haramel`
253
+ 3. `a viz eost a oa ul livour hag un impalaer e voe kumun kernitron al lann e`
254
+
255
+ **Context Size 3:**
256
+
257
+ 1. `zo ur gumun en italia e proviñs cuneo etre kumunioù entracque ha valdieri anezhañ unan eus ugent lev...`
258
+ 2. `a zo ur bronneg geotdebrer a vev er meurvor atlantel belle isle distaget bɛl ˈaɪl e saozneg zo`
259
+ 3. `bro c hall zo un tiern ag ar morioù a zo e kenver ar sonerezh met evel ul`
260
 
261
+ **Context Size 4:**
262
+
263
+ 1. `zo ur gumun eus meurgêr palermo e sikilia un 3 400 a dud zo enni o chom anezhi an`
264
+ 2. `monumantoù ha traoù heverk iliz katolik saint eustacheclochers de france douaroniezh emdroadur ar bo...`
265
+ 3. `a zo ur gumun eus italia e proviñs piacenza e rannvro emilia romagna ha 525 940 a dud o`
266
+
267
+
268
+ ### Generated Text Samples (Subword-based)
269
 
270
+ Below are text samples generated from each subword-based Markov chain model:
271
 
272
  **Context Size 1:**
273
 
274
+ 1. `_t_onur_b_el_gan`
275
+ 2. `er_pakoumiat_g_v`
276
+ 3. `adoù-stiz_aleuri`
277
 
278
  **Context Size 2:**
279
 
280
+ 1. `_a_un_erl_ezenner`
281
+ 2. `_e_he_c'hhn_/_niz`
282
+ 3. `an_ero_liged_;_ev`
283
 
284
  **Context Size 3:**
285
 
286
+ 1. `ar_bretek_ilioù,_o`
287
+ 2. `_e_pyrrarkva,_leon`
288
+ 3. `et_gant_franne,_ga`
289
 
290
  **Context Size 4:**
291
 
292
+ 1. `_ar_spesadoù_war_ar`
293
+ 2. `_an_emsavid_fy_nhad`
294
+ 3. `ant_an_alamanentiad`
295
 
296
 
297
  ### Key Findings
298
 
299
+ - **Best Predictability:** Context-4 (word) with 92.7% predictability
300
  - **Branching Factor:** Decreases with context size (more deterministic)
301
+ - **Memory Trade-off:** Larger contexts require more storage (772,246 contexts)
302
  - **Recommendation:** Context-3 or Context-4 for text generation
303
 
304
  ---
 
314
 
315
  | Metric | Value |
316
  |--------|-------|
317
+ | Vocabulary Size | 242,115 |
318
+ | Total Tokens | 15,327,088 |
319
+ | Mean Frequency | 63.30 |
320
  | Median Frequency | 4 |
321
+ | Frequency Std Dev | 2500.68 |
322
 
323
  ### Most Common Words
324
 
325
  | Rank | Word | Frequency |
326
  |------|------|-----------|
327
+ | 1 | e | 701,948 |
328
+ | 2 | ar | 517,584 |
329
+ | 3 | a | 464,667 |
330
+ | 4 | an | 326,300 |
331
+ | 5 | ha | 228,454 |
332
+ | 6 | gant | 189,759 |
333
+ | 7 | c | 186,830 |
334
+ | 8 | en | 181,309 |
335
+ | 9 | da | 170,732 |
336
+ | 10 | ur | 158,708 |
337
 
338
  ### Least Common Words (from vocabulary)
339
 
340
  | Rank | Word | Frequency |
341
  |------|------|-----------|
342
+ | 1 | nfpb | 2 |
343
+ | 2 | konjic | 2 |
344
+ | 3 | formoraich | 2 |
345
+ | 4 | vsn | 2 |
346
+ | 5 | moldavie | 2 |
347
+ | 6 | yankovich | 2 |
348
+ | 7 | gueydon | 2 |
349
+ | 8 | tréhouart | 2 |
350
+ | 9 | bouguen | 2 |
351
+ | 10 | shimosa | 2 |
352
 
353
  ### Zipf's Law Analysis
354
 
355
  | Metric | Value |
356
  |--------|-------|
357
+ | Zipf Coefficient | 1.1106 |
358
+ | R² (Goodness of Fit) | 0.996763 |
359
  | Adherence Quality | **excellent** |
360
 
361
  ### Coverage Analysis
362
 
363
  | Top N Words | Coverage |
364
  |-------------|----------|
365
+ | Top 100 | 41.7% |
366
+ | Top 1,000 | 65.8% |
367
+ | Top 5,000 | 80.4% |
368
+ | Top 10,000 | 85.6% |
369
 
370
  ### Key Findings
371
 
372
+ - **Zipf Compliance:** R²=0.9968 indicates excellent adherence to Zipf's law
373
+ - **High Frequency Dominance:** Top 100 words cover 41.7% of corpus
374
+ - **Long Tail:** 232,115 words needed for remaining 14.4% coverage
375
 
376
  ---
377
  ## 5. Word Embeddings Evaluation
 
384
 
385
  ![t-SNE Sentences](visualizations/tsne_sentences.png)
386
 
 
387
 
388
+ ### 5.1 Cross-Lingual Alignment
389
+
390
+ > *Note: Multilingual alignment visualization not available for this language.*
391
+
392
+
393
+ ### 5.2 Model Comparison
394
+
395
+ | Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
396
+ |-------|-----------|----------|------------------|---------------|----------------|
397
+ | **mono_32d** | 32 | 0.8120 | 0.3605 | N/A | N/A |
398
+ | **mono_64d** | 64 | 0.8171 🏆 | 0.2761 | N/A | N/A |
399
+ | **mono_128d** | 128 | 0.7922 | 0.2119 | N/A | N/A |
400
 
401
  ### Key Findings
402
 
403
+ - **Best Isotropy:** mono_64d with 0.8171 (more uniform distribution)
404
+ - **Semantic Density:** Average pairwise similarity of 0.2828. Lower values indicate better semantic separation.
405
+ - **Alignment Quality:** No aligned models evaluated in this run.
406
+ - **Recommendation:** 128d aligned for best cross-lingual performance
407
 
408
  ---
409
+ ## 6. Morphological Analysis (Experimental)
410
+
411
+ > ⚠️ **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.
412
+
413
+ 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.
414
+
415
+ ### 6.1 Productivity & Complexity
416
+
417
+ | Metric | Value | Interpretation | Recommendation |
418
+ |--------|-------|----------------|----------------|
419
+ | Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable |
420
+ | Idiomaticity Gap | **-1.000** | Low formulaic content | - |
421
+
422
+ ### 6.2 Affix Inventory (Productive Units)
423
+
424
+ 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.
425
+
426
+ #### Productive Prefixes
427
+ | Prefix | Examples |
428
+ |--------|----------|
429
+
430
+ #### Productive Suffixes
431
+ | Suffix | Examples |
432
+ |--------|----------|
433
+ | `-s` | mariånas, gilgamès, battalions |
434
+ | `-er` | tufer, hutier, beaver |
435
+ | `-où` | damkanadoù, barrennoù, heitioù |
436
+ | `-es` | tarbes, marcondes, cordes |
437
+ | `-us` | luchinus, menenius, fulmarus |
438
+ | `-en` | weyden, minchen, wageningen |
439
+
440
+ ### 6.3 Bound Stems (Lexical Roots)
441
+
442
+ 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.
443
+
444
+ | Stem | Cohesion | Substitutability | Examples |
445
+ |------|----------|------------------|----------|
446
+ | `tion` | 2.51x | 77 contexts | tione, metion, aktion |
447
+ | `emba` | 2.14x | 41 contexts | pemba, emban, bemba |
448
+ | `adoù` | 1.80x | 74 contexts | dadoù, kadoù, zadoù |
449
+ | `nnet` | 1.78x | 70 contexts | annet, bonnet, linnet |
450
+ | `iamm` | 2.35x | 24 contexts | liamm, fiamma, fiamme |
451
+ | `ouar` | 1.48x | 126 contexts | douar, zouar, mouar |
452
+ | `nnad` | 1.52x | 97 contexts | bennad, rannad, hannad |
453
+ | `zhio` | 1.87x | 40 contexts | uzhioù, lezhioù, bezhioù |
454
+ | `zhañ` | 1.91x | 35 contexts | ezhañ, kozhañ, dizhañ |
455
+ | `nnoù` | 1.84x | 39 contexts | tennoù, vannoù, bennoù |
456
+ | `hone` | 1.81x | 40 contexts | honeg, khone, dhone |
457
+ | `reze` | 1.46x | 94 contexts | breze, dreze, rezet |
458
+
459
+ ### 6.4 Affix Compatibility (Co-occurrence)
460
+
461
+ This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
462
+
463
+ *No significant affix co-occurrences detected.*
464
+
465
+
466
+ ### 6.5 Recursive Morpheme Segmentation
467
+
468
+ Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
469
+
470
+ | Word | Suggested Split | Confidence | Stem |
471
+ |------|-----------------|------------|------|
472
+ | eildelwennoù | **`eildelwenn-où`** | 4.5 | `eildelwenn` |
473
+ | hejadennoù | **`hejadenn-où`** | 4.5 | `hejadenn` |
474
+ | wissenschaften | **`wissenschaft-en`** | 4.5 | `wissenschaft` |
475
+ | beauvaisen | **`beauvais-en`** | 4.5 | `beauvais` |
476
+ | wellaennoù | **`wellaenn-où`** | 4.5 | `wellaenn` |
477
+ | antoninus | **`antonin-us`** | 4.5 | `antonin` |
478
+ | pluñvennoù | **`pluñvenn-où`** | 4.5 | `pluñvenn` |
479
+ | kementadoù | **`kementad-où`** | 4.5 | `kementad` |
480
+ | compositores | **`compositor-es`** | 4.5 | `compositor` |
481
+ | garidelloù | **`garidell-où`** | 4.5 | `garidell` |
482
+ | hromozomoù | **`hromozom-où`** | 4.5 | `hromozom` |
483
+ | reolennoù | **`reolenn-où`** | 4.5 | `reolenn` |
484
+ | barringer | **`barring-er`** | 4.5 | `barring` |
485
+ | diamantes | **`diamant-es`** | 4.5 | `diamant` |
486
+ | stradivarius | **`stradivari-us`** | 4.5 | `stradivari` |
487
+
488
+ ### 6.6 Linguistic Interpretation
489
+
490
+ > **Automated Insight:**
491
+ The language BR 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.
492
+
493
+ ---
494
+ ## 7. Summary & Recommendations
495
 
496
  ![Performance Dashboard](visualizations/performance_dashboard.png)
497
 
 
499
 
500
  | Component | Recommended | Rationale |
501
  |-----------|-------------|-----------|
502
+ | Tokenizer | **64k BPE** | Best compression (3.79x) |
503
+ | N-gram | **2-gram** | Lowest perplexity (294) |
504
+ | Markov | **Context-4** | Highest predictability (92.7%) |
505
  | Embeddings | **100d** | Balanced semantic capture and isotropy |
506
 
507
+
508
  ---
509
  ## Appendix: Metrics Glossary & Interpretation Guide
510
 
 
694
  author = {Kamali, Omar},
695
  title = {Wikilangs: Open NLP Models for Wikipedia Languages},
696
  year = {2025},
697
+ doi = {10.5281/zenodo.18073153},
698
+ publisher = {Zenodo},
699
  url = {https://huggingface.co/wikilangs}
700
  institution = {Omneity Labs}
701
  }
 
711
  - 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
712
  - 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
713
  - 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
714
+ - 🤝 Sponsor: [Featherless AI](https://featherless.ai)
715
  ---
716
  *Generated by Wikilangs Models Pipeline*
717
 
718
+ *Report Date: 2026-01-03 08:48:16*
models/embeddings/monolingual/br_128d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3454154976810c137904a12ad207abedf1ec5887e8aca2f5a7122ad0f8d5930
3
- size 1195958360
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cc2dcf0e5dbf7b0a47f5b7b84203934a4ef4a94c793c7cf148e47bcf6831e94
3
+ size 1181713085
models/embeddings/monolingual/br_128d_metadata.json CHANGED
@@ -3,11 +3,13 @@
3
  "dimension": 128,
4
  "version": "monolingual",
5
  "training_params": {
6
- "dim": 128,
7
  "min_count": 5,
8
  "window": 5,
9
  "negative": 5,
10
- "epochs": 5
 
 
11
  },
12
- "vocab_size": 165065
13
  }
 
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": 151402
15
  }
models/embeddings/monolingual/br_32d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64e33fc4be67c9fbddd42b666550e7082d827aabcc323efa5fa8f0d43bbce29b
3
- size 301188440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563c972d1b01c4444517fc5d7b7951b8d9f5cf9c450bf8bfa161f4a7504bc953
3
+ size 297436349
models/embeddings/monolingual/br_32d_metadata.json CHANGED
@@ -3,11 +3,13 @@
3
  "dimension": 32,
4
  "version": "monolingual",
5
  "training_params": {
6
- "dim": 32,
7
  "min_count": 5,
8
  "window": 5,
9
  "negative": 5,
10
- "epochs": 5
 
 
11
  },
12
- "vocab_size": 165065
13
  }
 
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": 151402
15
  }
models/embeddings/monolingual/br_64d.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d9f750fa84e5a98167cab2dbbbb436fa61f2fe773cee5d410fe13aeafa89b674
3
- size 599445080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64947ec6dfc340b15fe1245dfbf27eb885378a9c32be40f616fce71e20a67416
3
+ size 592195261
models/embeddings/monolingual/br_64d_metadata.json CHANGED
@@ -3,11 +3,13 @@
3
  "dimension": 64,
4
  "version": "monolingual",
5
  "training_params": {
6
- "dim": 64,
7
  "min_count": 5,
8
  "window": 5,
9
  "negative": 5,
10
- "epochs": 5
 
 
11
  },
12
- "vocab_size": 165065
13
  }
 
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": 151402
15
  }
models/subword_markov/br_markov_ctx1_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7589832008594b2044eb3a660f9c0ee1c38b0a71dc2cf76a5e11e054aa0709c2
3
- size 359681
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:364c87eeed84e49a322b272f9060cbaf46e7cf91d5fc9cf833ebcd76d814171e
3
+ size 371383
models/subword_markov/br_markov_ctx1_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_contexts": 6849,
6
- "total_transitions": 100507380
7
  }
 
2
  "context_size": 1,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_contexts": 8402,
6
+ "total_transitions": 88562222
7
  }
models/subword_markov/br_markov_ctx2_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b80fd5521997f26184b281b5d6b8bbdead1d92da1152a2bc63ff0293af7aaeaa
3
- size 1941406
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b2ffa4ddd6ad6edd05335dca480707c3b64c0a14c509081d1d74dfe72edc981
3
+ size 1665166
models/subword_markov/br_markov_ctx2_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_contexts": 52722,
6
- "total_transitions": 100417214
7
  }
 
2
  "context_size": 2,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_contexts": 49100,
6
+ "total_transitions": 88473399
7
  }
models/subword_markov/br_markov_ctx3_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:909df4c05b66b69687d1d8f920db593ab05009de50d4a603df49a4228042cb35
3
- size 8952059
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:692d3af21734dce1c8cf7fcea827b781d47ef5c8b25654782ff6145d753309c2
3
+ size 6642409
models/subword_markov/br_markov_ctx3_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_contexts": 256241,
6
- "total_transitions": 100327048
7
  }
 
2
  "context_size": 3,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_contexts": 206555,
6
+ "total_transitions": 88384576
7
  }
models/subword_markov/br_markov_ctx4_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2615bccc86f4696fdc966eac1f934f561672e8ed319db55e0b79b9044123108
3
- size 27438080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02fe0d42cac9d5c8869d073c8570acc4ae0f693f23327c55de4b987d7ddb8e52
3
+ size 20533909
models/subword_markov/br_markov_ctx4_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_contexts": 1065026,
6
- "total_transitions": 100236882
7
  }
 
2
  "context_size": 4,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_contexts": 772246,
6
+ "total_transitions": 88295753
7
  }
models/subword_ngram/br_2gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:97148ef1780fce9d7c84e24a99d7d18050738bc639866e47145c2650f4d24549
3
- size 180245
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aa9a0309201a5bff85bb732039ec09cee34921527090479840454db58c6414f
3
+ size 154793
models/subword_ngram/br_2gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_ngrams": 13774,
6
- "total_ngrams": 100507380
7
  }
 
2
  "n": 2,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_ngrams": 11776,
6
+ "total_ngrams": 88562222
7
  }
models/subword_ngram/br_3gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5896217e8144736c8569249112eb653f0c7159070b9cdcc4fab60365ffc6f9ea
3
- size 1306949
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f11838b2e1dd3db7e5060c435f0ed9b2d633720992bd49d8414dc3ebb1947f1
3
+ size 1025779
models/subword_ngram/br_3gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_ngrams": 106981,
6
- "total_ngrams": 100417214
7
  }
 
2
  "n": 3,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_ngrams": 81142,
6
+ "total_ngrams": 88473399
7
  }
models/subword_ngram/br_4gram_subword.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:018393f222505ae1b2a7dc78a37fb2b916100fe4fd5ae7b93b4852d77884fc8d
3
- size 6695773
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0662a30ed0f866ba0ef46fba70681b5e219c20b4d5f818869aeaf346ad95cea
3
+ size 4921369
models/subword_ngram/br_4gram_subword_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "br",
5
- "unique_ngrams": 580225,
6
- "total_ngrams": 100327048
7
  }
 
2
  "n": 4,
3
  "variant": "subword",
4
  "language": "br",
5
+ "unique_ngrams": 421873,
6
+ "total_ngrams": 88384576
7
  }
models/tokenizer/br_tokenizer_16k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a752f92ace2ce968d9f9080803babfaec23f0f941b90aeaef31fda3dfce785ad
3
- size 501248
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a34b2820290797923a2b18aa49d5154f1b7c7d12b7564cace04d896d97c6e53
3
+ size 502646
models/tokenizer/br_tokenizer_16k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/br_tokenizer_32k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c1de8e69da6c92acfc056827b6f959e3a09c7f5e3833dbf06d735ef89d1a4415
3
- size 772253
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26ea0db3a85a9e9055b43984cf4ac687e795f5825553ccc302a5abc29d9b8273
3
+ size 774769
models/tokenizer/br_tokenizer_32k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/br_tokenizer_64k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:952d3588c7c165d850f099355da1f2fb472e90d978c3fca8d4064f335f551dce
3
- size 1327800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3d3d03f79fa86777af32c2e613a308e2b7c627fbf49f5d7a3c97678ebafad13
3
+ size 1335604
models/tokenizer/br_tokenizer_64k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/tokenizer/br_tokenizer_8k.model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae0f58e053910435e1f0c3469037b7e403142c364ac16080087a71a6a1757cb9
3
- size 369734
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6a1ce4f9267e8a3f8951e0d2dfd0751006c25871dfdcd890cceebf4f01248eb
3
+ size 370491
models/tokenizer/br_tokenizer_8k.vocab CHANGED
The diff for this file is too large to render. See raw diff
 
models/vocabulary/br_vocabulary.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3e743e0213a6e24e64e5597ee9208bbcc913f68ffe7dfd9358fa210925a8f67c
3
- size 4050849
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ace7ffc403a7ed53e5646074aa9d3b0acceee4c23eb067355b372c233b0488f
3
+ size 3765893
models/vocabulary/br_vocabulary_metadata.json CHANGED
@@ -1,16 +1,17 @@
1
  {
2
  "language": "br",
3
- "vocabulary_size": 263085,
 
4
  "statistics": {
5
- "type_token_ratio": 0.03735837819296646,
6
  "coverage": {
7
- "top_100": 0.3910641436030635,
8
- "top_1000": 0.6260291451547847,
9
- "top_5000": 0.779592055722224,
10
- "top_10000": 0.8327078880623957
11
  },
12
- "hapax_count": 379609,
13
- "hapax_ratio": 0.5906527834397085,
14
- "total_documents": 90166
15
  }
16
  }
 
1
  {
2
  "language": "br",
3
+ "vocabulary_size": 242115,
4
+ "variant": "full",
5
  "statistics": {
6
+ "type_token_ratio": 0.03497837029849385,
7
  "coverage": {
8
+ "top_100": 0.40905545676087623,
9
+ "top_1000": 0.6447280425360034,
10
+ "top_5000": 0.7885968080597011,
11
+ "top_10000": 0.8392496909814169
12
  },
13
+ "hapax_count": 304658,
14
+ "hapax_ratio": 0.5571928387100314,
15
+ "total_documents": 88823
16
  }
17
  }
models/word_markov/br_markov_ctx1_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:29d6439c7c56bab6e2e37e1f57fd518d0ba61a6913f7d0eb2a4fea4b55dbef56
3
- size 35882245
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be693644d5a0ebbb01f9e30236eea7c454a9d88268b56513e574925b7ff00051
3
+ size 35952141
models/word_markov/br_markov_ctx1_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_contexts": 642948,
6
- "total_transitions": 22080722
7
  }
 
2
  "context_size": 1,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_contexts": 546189,
6
+ "total_transitions": 15542923
7
  }
models/word_markov/br_markov_ctx2_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ceff4f844e237ead4ea08a340d17ef9f3e7fe62d5bc6d7e8c3d3b31b59d2cf3d
3
- size 102417911
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8fda1c756cb7fc2b4ab6e70c2cd1d67819d416d7e280f2e0548839fb1da8d2f
3
+ size 97354526
models/word_markov/br_markov_ctx2_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_contexts": 4087653,
6
- "total_transitions": 21990556
7
  }
 
2
  "context_size": 2,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_contexts": 4129549,
6
+ "total_transitions": 15454100
7
  }
models/word_markov/br_markov_ctx3_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6a8a1170156b1dcf6b52e7667e73eb5c87efc4eed7afa9a113410a6fc6268928
3
- size 178712506
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e416824c2150276925507a7611e286a76e96671f648bc40d13846ae080b28802
3
+ size 157121741
models/word_markov/br_markov_ctx3_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_contexts": 9600283,
6
- "total_transitions": 21900429
7
  }
 
2
  "context_size": 3,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_contexts": 8377190,
6
+ "total_transitions": 15365277
7
  }
models/word_markov/br_markov_ctx4_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4dc51b5cdaf1e6d6f00bfc342106c2a491d891dca552edee6c7dc09f3e43da76
3
- size 237588645
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dd980b2747cf4b46ceef14ea14dd7faf42da8d72d82141bf5e94c7943d016ce
3
+ size 198463924
models/word_markov/br_markov_ctx4_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_contexts": 13824129,
6
- "total_transitions": 21810331
7
  }
 
2
  "context_size": 4,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_contexts": 11216136,
6
+ "total_transitions": 15276454
7
  }
models/word_ngram/br_2gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0378b53defe0eedb7989c2010d751a14d99928386aba3ced76bad82ec402ec36
3
- size 5232515
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf0a3e72d51913a31496c69f8b0c3a5557067df085981f0f30eb30c446795de
3
+ size 4100389
models/word_ngram/br_2gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 2,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_ngrams": 396301,
6
- "total_ngrams": 22080722
7
  }
 
2
  "n": 2,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_ngrams": 296192,
6
+ "total_ngrams": 15542923
7
  }
models/word_ngram/br_3gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:513c163c0b3b0ac784029384146f1f680f6310d92cb835eb7aad27b794f28240
3
- size 12329602
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14593e06d89cdb20d9c666016043454320f17e45c7383903f2d8fe59206d47be
3
+ size 8580184
models/word_ngram/br_3gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 3,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_ngrams": 858386,
6
- "total_ngrams": 21990556
7
  }
 
2
  "n": 3,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_ngrams": 570380,
6
+ "total_ngrams": 15454100
7
  }
models/word_ngram/br_4gram_word.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6e17780562a29c8720acf9f11550b417c291cd4606856491e09f594c95e9fc88
3
- size 23878363
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53200ebaddcf544fba280fb0b628cb226d70d854902efc6cb0a1b28fe2934c37
3
+ size 15534803
models/word_ngram/br_4gram_word_metadata.json CHANGED
@@ -2,6 +2,6 @@
2
  "n": 4,
3
  "variant": "word",
4
  "language": "br",
5
- "unique_ngrams": 1581104,
6
- "total_ngrams": 21900429
7
  }
 
2
  "n": 4,
3
  "variant": "word",
4
  "language": "br",
5
+ "unique_ngrams": 973376,
6
+ "total_ngrams": 15365277
7
  }
visualizations/embedding_isotropy.png CHANGED
visualizations/embedding_norms.png CHANGED
visualizations/embedding_similarity.png CHANGED

Git LFS Details

  • SHA256: 38d4d34915faffa61dc6e17d791c29132fa919d2b39302a8c0cf82c8bd65326d
  • Pointer size: 131 Bytes
  • Size of remote file: 140 kB

Git LFS Details

  • SHA256: 12d31aef1c7f65dd1967283bd93a527577229f6d2d43fd19d64c3aea79a39d07
  • Pointer size: 131 Bytes
  • Size of remote file: 144 kB
visualizations/markov_branching.png CHANGED
visualizations/markov_contexts.png CHANGED