Upload all models and assets for bcl (20251201)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +6 -0
- README.md +560 -0
- models/embeddings/monolingual/bcl_128d.bin +3 -0
- models/embeddings/monolingual/bcl_128d.meta.json +1 -0
- models/embeddings/monolingual/bcl_128d_metadata.json +13 -0
- models/embeddings/monolingual/bcl_32d.bin +3 -0
- models/embeddings/monolingual/bcl_32d.meta.json +1 -0
- models/embeddings/monolingual/bcl_32d_metadata.json +13 -0
- models/embeddings/monolingual/bcl_64d.bin +3 -0
- models/embeddings/monolingual/bcl_64d.meta.json +1 -0
- models/embeddings/monolingual/bcl_64d_metadata.json +13 -0
- models/subword_markov/bcl_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/bcl_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/bcl_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/bcl_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/bcl_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/bcl_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/bcl_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/bcl_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/bcl_2gram_subword.parquet +3 -0
- models/subword_ngram/bcl_2gram_subword_metadata.json +7 -0
- models/subword_ngram/bcl_3gram_subword.parquet +3 -0
- models/subword_ngram/bcl_3gram_subword_metadata.json +7 -0
- models/subword_ngram/bcl_4gram_subword.parquet +3 -0
- models/subword_ngram/bcl_4gram_subword_metadata.json +7 -0
- models/tokenizer/bcl_tokenizer_16k.model +3 -0
- models/tokenizer/bcl_tokenizer_16k.vocab +0 -0
- models/tokenizer/bcl_tokenizer_32k.model +3 -0
- models/tokenizer/bcl_tokenizer_32k.vocab +0 -0
- models/tokenizer/bcl_tokenizer_64k.model +3 -0
- models/tokenizer/bcl_tokenizer_64k.vocab +0 -0
- models/tokenizer/bcl_tokenizer_8k.model +3 -0
- models/tokenizer/bcl_tokenizer_8k.vocab +0 -0
- models/vocabulary/bcl_vocabulary.parquet +3 -0
- models/vocabulary/bcl_vocabulary_metadata.json +16 -0
- models/word_markov/bcl_markov_ctx1_word.parquet +3 -0
- models/word_markov/bcl_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/bcl_markov_ctx2_word.parquet +3 -0
- models/word_markov/bcl_markov_ctx2_word_metadata.json +7 -0
- models/word_markov/bcl_markov_ctx3_word.parquet +3 -0
- models/word_markov/bcl_markov_ctx3_word_metadata.json +7 -0
- models/word_markov/bcl_markov_ctx4_word.parquet +3 -0
- models/word_markov/bcl_markov_ctx4_word_metadata.json +7 -0
- models/word_ngram/bcl_2gram_word.parquet +3 -0
- models/word_ngram/bcl_2gram_word_metadata.json +7 -0
- models/word_ngram/bcl_3gram_word.parquet +3 -0
- models/word_ngram/bcl_3gram_word_metadata.json +7 -0
- models/word_ngram/bcl_4gram_word.parquet +3 -0
- models/word_ngram/bcl_4gram_word_metadata.json +7 -0
- visualizations/embedding_isotropy.png +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,9 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: bcl
|
| 3 |
+
language_name: BCL
|
| 4 |
+
language_family: austronesian_philippine_central
|
| 5 |
+
tags:
|
| 6 |
+
- wikilangs
|
| 7 |
+
- nlp
|
| 8 |
+
- tokenizer
|
| 9 |
+
- embeddings
|
| 10 |
+
- n-gram
|
| 11 |
+
- markov
|
| 12 |
+
- wikipedia
|
| 13 |
+
- monolingual
|
| 14 |
+
- family-austronesian_philippine_central
|
| 15 |
+
license: mit
|
| 16 |
+
library_name: wikilangs
|
| 17 |
+
pipeline_tag: feature-extraction
|
| 18 |
+
datasets:
|
| 19 |
+
- omarkamali/wikipedia-monthly
|
| 20 |
+
dataset_info:
|
| 21 |
+
name: wikipedia-monthly
|
| 22 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 23 |
+
metrics:
|
| 24 |
+
- name: best_compression_ratio
|
| 25 |
+
type: compression
|
| 26 |
+
value: 4.640
|
| 27 |
+
- name: best_isotropy
|
| 28 |
+
type: isotropy
|
| 29 |
+
value: 0.8200
|
| 30 |
+
- name: vocabulary_size
|
| 31 |
+
type: vocab
|
| 32 |
+
value: 139464
|
| 33 |
+
generated: 2025-12-28
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# BCL - Wikilangs Models
|
| 37 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 38 |
+
|
| 39 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **BCL** Wikipedia data.
|
| 40 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 41 |
+
|
| 42 |
+
## 📋 Repository Contents
|
| 43 |
+
|
| 44 |
+
### Models & Assets
|
| 45 |
+
|
| 46 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 47 |
+
- N-gram models (2, 3, 4-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 |
+

|
| 54 |
+
|
| 55 |
+
### Analysis and Evaluation
|
| 56 |
+
|
| 57 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 58 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
|
| 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 |
+
|
| 66 |
+
---
|
| 67 |
+
## 1. Tokenizer Evaluation
|
| 68 |
+
|
| 69 |
+

|
| 70 |
+
|
| 71 |
+
### Results
|
| 72 |
+
|
| 73 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 74 |
+
|------------|-------------|---------------|----------|--------------|
|
| 75 |
+
| **8k** | 3.849x | 3.74 | 0.0148% | 391,873 |
|
| 76 |
+
| **16k** | 4.154x | 4.04 | 0.0160% | 363,086 |
|
| 77 |
+
| **32k** | 4.421x | 4.30 | 0.0170% | 341,132 |
|
| 78 |
+
| **64k** | 4.640x 🏆 | 4.51 | 0.0178% | 325,066 |
|
| 79 |
+
|
| 80 |
+
### Tokenization Examples
|
| 81 |
+
|
| 82 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 83 |
+
|
| 84 |
+
**Sample 1:** `REDIRECT An Sanduguan`
|
| 85 |
+
|
| 86 |
+
| Vocab | Tokens | Count |
|
| 87 |
+
|-------|--------|-------|
|
| 88 |
+
| 8k | `▁re dire ct ▁an ▁sand ug uan` | 7 |
|
| 89 |
+
| 16k | `▁re dire ct ▁an ▁sand ug uan` | 7 |
|
| 90 |
+
| 32k | `▁re direct ▁an ▁sand uguan` | 5 |
|
| 91 |
+
| 64k | `▁re direct ▁an ▁sand uguan` | 5 |
|
| 92 |
+
|
| 93 |
+
**Sample 2:** `An sarong komyun asin banwaan sa Provincia nin Cosenza sa rehiyon Calabria kan ...`
|
| 94 |
+
|
| 95 |
+
| Vocab | Tokens | Count |
|
| 96 |
+
|-------|--------|-------|
|
| 97 |
+
| 8k | `▁an ▁sarong ▁komyun ▁asin ▁banwaan ▁sa ▁provincia ▁nin ▁cos enza ... (+6 more)` | 16 |
|
| 98 |
+
| 16k | `▁an ▁sarong ▁komyun ▁asin ▁banwaan ▁sa ▁provincia ▁nin ▁cosenza ▁sa ... (+5 more)` | 15 |
|
| 99 |
+
| 32k | `▁an ▁sarong ▁komyun ▁asin ▁banwaan ▁sa ▁provincia ▁nin ▁cosenza ▁sa ... (+5 more)` | 15 |
|
| 100 |
+
| 64k | `▁an ▁sarong ▁komyun ▁asin ▁banwaan ▁sa ▁provincia ▁nin ▁cosenza ▁sa ... (+5 more)` | 15 |
|
| 101 |
+
|
| 102 |
+
**Sample 3:** `An sarong taon sa Gregoryanong kalendaryo.
|
| 103 |
+
|
| 104 |
+
Enero
|
| 105 |
+
Pebrero
|
| 106 |
+
Marso
|
| 107 |
+
Abril
|
| 108 |
+
Mayo...`
|
| 109 |
+
|
| 110 |
+
| Vocab | Tokens | Count |
|
| 111 |
+
|-------|--------|-------|
|
| 112 |
+
| 8k | `▁an ▁sarong ▁taon ▁sa ▁gregoryanong ▁kalendaryo . ▁enero ▁pebrero ▁marso ... (+9 more)` | 19 |
|
| 113 |
+
| 16k | `▁an ▁sarong ▁taon ▁sa ▁gregoryanong ▁kalendaryo . ▁enero ▁pebrero ▁marso ... (+9 more)` | 19 |
|
| 114 |
+
| 32k | `▁an ▁sarong ▁taon ▁sa ▁gregoryanong ▁kalendaryo . ▁enero ▁pebrero ▁marso ... (+9 more)` | 19 |
|
| 115 |
+
| 64k | `▁an ▁sarong ▁taon ▁sa ▁gregoryanong ▁kalendaryo . ▁enero ▁pebrero ▁marso ... (+9 more)` | 19 |
|
| 116 |
+
|
| 117 |
+
|
| 118 |
+
### Key Findings
|
| 119 |
+
|
| 120 |
+
- **Best Compression:** 64k achieves 4.640x compression
|
| 121 |
+
- **Lowest UNK Rate:** 8k with 0.0148% unknown tokens
|
| 122 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 123 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
+
## 2. N-gram Model Evaluation
|
| 127 |
+
|
| 128 |
+

|
| 129 |
+
|
| 130 |
+

|
| 131 |
+
|
| 132 |
+
### Results
|
| 133 |
+
|
| 134 |
+
| N-gram | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 135 |
+
|--------|------------|---------|----------------|------------------|-------------------|
|
| 136 |
+
| **2-gram** | 31,343 🏆 | 14.94 | 180,870 | 14.8% | 31.9% |
|
| 137 |
+
| **2-gram** | 262 🏆 | 8.03 | 8,566 | 68.4% | 98.8% |
|
| 138 |
+
| **3-gram** | 108,578 | 16.73 | 332,655 | 6.5% | 18.2% |
|
| 139 |
+
| **3-gram** | 2,285 | 11.16 | 64,437 | 30.5% | 69.8% |
|
| 140 |
+
| **4-gram** | 210,030 | 17.68 | 511,491 | 6.6% | 14.4% |
|
| 141 |
+
| **4-gram** | 13,379 | 13.71 | 345,622 | 17.2% | 41.0% |
|
| 142 |
+
|
| 143 |
+
### Top 5 N-grams by Size
|
| 144 |
+
|
| 145 |
+
**2-grams:**
|
| 146 |
+
|
| 147 |
+
| Rank | N-gram | Count |
|
| 148 |
+
|------|--------|-------|
|
| 149 |
+
| 1 | `. an` | 41,934 |
|
| 150 |
+
| 2 | `sa mga` | 30,441 |
|
| 151 |
+
| 3 | `an mga` | 27,397 |
|
| 152 |
+
| 4 | `, asin` | 26,685 |
|
| 153 |
+
| 5 | `, an` | 24,473 |
|
| 154 |
+
|
| 155 |
+
**3-grams:**
|
| 156 |
+
|
| 157 |
+
| Rank | N-gram | Count |
|
| 158 |
+
|------|--------|-------|
|
| 159 |
+
| 1 | `kategorya : mga` | 16,293 |
|
| 160 |
+
| 2 | `. an mga` | 6,827 |
|
| 161 |
+
| 3 | `panluwas na takod` | 5,537 |
|
| 162 |
+
| 4 | `mga panluwas na` | 4,931 |
|
| 163 |
+
| 5 | `toltolan kategorya :` | 4,124 |
|
| 164 |
+
|
| 165 |
+
**4-grams:**
|
| 166 |
+
|
| 167 |
+
| Rank | N-gram | Count |
|
| 168 |
+
|------|--------|-------|
|
| 169 |
+
| 1 | `mga panluwas na takod` | 4,635 |
|
| 170 |
+
| 2 | `toltolan kategorya : mga` | 2,861 |
|
| 171 |
+
| 3 | `toltolan mga panluwas na` | 2,801 |
|
| 172 |
+
| 4 | `— — — —` | 2,785 |
|
| 173 |
+
| 5 | `. igwa ining sukol` | 2,225 |
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
### Key Findings
|
| 177 |
+
|
| 178 |
+
- **Best Perplexity:** 2-gram with 262
|
| 179 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 180 |
+
- **Coverage:** Top-1000 patterns cover ~41% of corpus
|
| 181 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 182 |
+
|
| 183 |
+
---
|
| 184 |
+
## 3. Markov Chain Evaluation
|
| 185 |
+
|
| 186 |
+

|
| 187 |
+
|
| 188 |
+

|
| 189 |
+
|
| 190 |
+
### Results
|
| 191 |
+
|
| 192 |
+
| Context | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 193 |
+
|---------|-------------|------------|------------------|-----------------|----------------|
|
| 194 |
+
| **1** | 0.6497 | 1.569 | 5.59 | 379,065 | 35.0% |
|
| 195 |
+
| **1** | 1.0949 | 2.136 | 6.69 | 6,611 | 0.0% |
|
| 196 |
+
| **2** | 0.3654 | 1.288 | 2.19 | 2,116,590 | 63.5% |
|
| 197 |
+
| **2** | 0.6035 | 1.519 | 3.87 | 44,194 | 39.6% |
|
| 198 |
+
| **3** | 0.1662 | 1.122 | 1.36 | 4,629,958 | 83.4% |
|
| 199 |
+
| **3** | 0.7134 | 1.640 | 3.84 | 171,168 | 28.7% |
|
| 200 |
+
| **4** | 0.0685 🏆 | 1.049 | 1.12 | 6,293,312 | 93.1% |
|
| 201 |
+
| **4** | 0.6518 🏆 | 1.571 | 2.96 | 656,881 | 34.8% |
|
| 202 |
+
|
| 203 |
+
### Generated Text Samples
|
| 204 |
+
|
| 205 |
+
Below are text samples generated from each Markov chain model:
|
| 206 |
+
|
| 207 |
+
**Context Size 1:**
|
| 208 |
+
|
| 209 |
+
1. `, sarong law jack white house of eastern europe award hale sa ' affaire jean nabiribid`
|
| 210 |
+
2. `sa mga padalian na english rosalía nagpirma sa banwaan kan ikasampulong kabilogan nin edukasyon si a...`
|
| 211 |
+
3. `na mga pagpreparar nin mayor na pigtuturing kan huring pararawitdawit , o tungkod " ) .`
|
| 212 |
+
|
| 213 |
+
**Context Size 2:**
|
| 214 |
+
|
| 215 |
+
1. `. an designadong zip code kaini iyo . susog ki milagros perfecto sanchez sa halipot na usipon`
|
| 216 |
+
2. `sa mga osipon sa pilipino na may titulong paghinanyog man , siya nagpoon na mag - audition`
|
| 217 |
+
3. `an mga botelya , pakete nin kakanon asin an responsibilidad . sa ibaba sa kabtang kaini .`
|
| 218 |
+
|
| 219 |
+
**Context Size 3:**
|
| 220 |
+
|
| 221 |
+
1. `kategorya : mga 2016 na kagadanan kategorya : mga tataramon na mansakan , iyo an pinagrekonstruhir n...`
|
| 222 |
+
2. `. an mga bitis nin manok sarong seryosong peligro nin pagkahilo sa susunod na taon huli sa iyo`
|
| 223 |
+
3. `panluwas na takod philatlas . com philippine standard geographic code local governance performance m...`
|
| 224 |
+
|
| 225 |
+
**Context Size 4:**
|
| 226 |
+
|
| 227 |
+
1. `mga panluwas na takod inactive volcanoes page ( arkibo ) kategorya : mga unibersidad asin kolehiyo s...`
|
| 228 |
+
2. `toltolan kategorya : mga armadong sanga kan mga partido pulitika kategorya : mga organisasyon natugd...`
|
| 229 |
+
3. `toltolan mga panluwas na takod philatlas . com philippine standard geographic code local governance ...`
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
### Key Findings
|
| 233 |
+
|
| 234 |
+
- **Best Predictability:** Context-4 with 93.1% predictability
|
| 235 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 236 |
+
- **Memory Trade-off:** Larger contexts require more storage (656,881 contexts)
|
| 237 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 238 |
+
|
| 239 |
+
---
|
| 240 |
+
## 4. Vocabulary Analysis
|
| 241 |
+
|
| 242 |
+

|
| 243 |
+
|
| 244 |
+

|
| 245 |
+
|
| 246 |
+

|
| 247 |
+
|
| 248 |
+
### Statistics
|
| 249 |
+
|
| 250 |
+
| Metric | Value |
|
| 251 |
+
|--------|-------|
|
| 252 |
+
| Vocabulary Size | 139,464 |
|
| 253 |
+
| Total Tokens | 6,306,562 |
|
| 254 |
+
| Mean Frequency | 45.22 |
|
| 255 |
+
| Median Frequency | 4 |
|
| 256 |
+
| Frequency Std Dev | 1750.04 |
|
| 257 |
+
|
| 258 |
+
### Most Common Words
|
| 259 |
+
|
| 260 |
+
| Rank | Word | Frequency |
|
| 261 |
+
|------|------|-----------|
|
| 262 |
+
| 1 | sa | 340,332 |
|
| 263 |
+
| 2 | na | 337,956 |
|
| 264 |
+
| 3 | an | 230,638 |
|
| 265 |
+
| 4 | kan | 226,231 |
|
| 266 |
+
| 5 | mga | 183,688 |
|
| 267 |
+
| 6 | nin | 132,320 |
|
| 268 |
+
| 7 | asin | 125,887 |
|
| 269 |
+
| 8 | sarong | 62,639 |
|
| 270 |
+
| 9 | si | 54,499 |
|
| 271 |
+
| 10 | the | 44,508 |
|
| 272 |
+
|
| 273 |
+
### Least Common Words (from vocabulary)
|
| 274 |
+
|
| 275 |
+
| Rank | Word | Frequency |
|
| 276 |
+
|------|------|-----------|
|
| 277 |
+
| 1 | zhaparova | 2 |
|
| 278 |
+
| 2 | altynbekov | 2 |
|
| 279 |
+
| 3 | wanatabe | 2 |
|
| 280 |
+
| 4 | megapaniki | 2 |
|
| 281 |
+
| 5 | kordon | 2 |
|
| 282 |
+
| 6 | sobringaran | 2 |
|
| 283 |
+
| 7 | khanid | 2 |
|
| 284 |
+
| 8 | ganish | 2 |
|
| 285 |
+
| 9 | archdioceseofcaceres | 2 |
|
| 286 |
+
| 10 | niceno | 2 |
|
| 287 |
+
|
| 288 |
+
### Zipf's Law Analysis
|
| 289 |
+
|
| 290 |
+
| Metric | Value |
|
| 291 |
+
|--------|-------|
|
| 292 |
+
| Zipf Coefficient | 1.0291 |
|
| 293 |
+
| R² (Goodness of Fit) | 0.993065 |
|
| 294 |
+
| Adherence Quality | **excellent** |
|
| 295 |
+
|
| 296 |
+
### Coverage Analysis
|
| 297 |
+
|
| 298 |
+
| Top N Words | Coverage |
|
| 299 |
+
|-------------|----------|
|
| 300 |
+
| Top 100 | 41.8% |
|
| 301 |
+
| Top 1,000 | 62.8% |
|
| 302 |
+
| Top 5,000 | 79.1% |
|
| 303 |
+
| Top 10,000 | 85.2% |
|
| 304 |
+
|
| 305 |
+
### Key Findings
|
| 306 |
+
|
| 307 |
+
- **Zipf Compliance:** R²=0.9931 indicates excellent adherence to Zipf's law
|
| 308 |
+
- **High Frequency Dominance:** Top 100 words cover 41.8% of corpus
|
| 309 |
+
- **Long Tail:** 129,464 words needed for remaining 14.8% coverage
|
| 310 |
+
|
| 311 |
+
---
|
| 312 |
+
## 5. Word Embeddings Evaluation
|
| 313 |
+
|
| 314 |
+

|
| 315 |
+
|
| 316 |
+

|
| 317 |
+
|
| 318 |
+

|
| 319 |
+
|
| 320 |
+

|
| 321 |
+
|
| 322 |
+
### Model Comparison
|
| 323 |
+
|
| 324 |
+
| Model | Vocab Size | Dimension | Avg Norm | Std Norm | Isotropy |
|
| 325 |
+
|-------|------------|-----------|----------|----------|----------|
|
| 326 |
+
| **mono_32d** | 78,307 | 32 | 3.325 | 0.855 | 0.8200 🏆 |
|
| 327 |
+
| **mono_64d** | 78,307 | 64 | 3.871 | 0.899 | 0.8194 |
|
| 328 |
+
| **mono_128d** | 78,307 | 128 | 4.639 | 0.920 | 0.8065 |
|
| 329 |
+
| **embeddings_enhanced** | 0 | 0 | 0.000 | 0.000 | 0.0000 |
|
| 330 |
+
|
| 331 |
+
### Key Findings
|
| 332 |
+
|
| 333 |
+
- **Best Isotropy:** mono_32d with 0.8200 (more uniform distribution)
|
| 334 |
+
- **Dimension Trade-off:** Higher dimensions capture more semantics but reduce isotropy
|
| 335 |
+
- **Vocabulary Coverage:** All models cover 78,307 words
|
| 336 |
+
- **Recommendation:** 100d for balanced semantic capture and efficiency
|
| 337 |
+
|
| 338 |
+
---
|
| 339 |
+
## 6. Summary & Recommendations
|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
|
| 343 |
+
### Production Recommendations
|
| 344 |
+
|
| 345 |
+
| Component | Recommended | Rationale |
|
| 346 |
+
|-----------|-------------|-----------|
|
| 347 |
+
| Tokenizer | **32k BPE** | Best compression (4.64x) with low UNK rate |
|
| 348 |
+
| N-gram | **5-gram** | Lowest perplexity (262) |
|
| 349 |
+
| Markov | **Context-4** | Highest predictability (93.1%) |
|
| 350 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 351 |
+
|
| 352 |
+
---
|
| 353 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 354 |
+
|
| 355 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 356 |
+
|
| 357 |
+
### Tokenizer Metrics
|
| 358 |
+
|
| 359 |
+
**Compression Ratio**
|
| 360 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 361 |
+
>
|
| 362 |
+
> *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.
|
| 363 |
+
>
|
| 364 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 365 |
+
|
| 366 |
+
**Average Token Length (Fertility)**
|
| 367 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 368 |
+
>
|
| 369 |
+
> *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.
|
| 370 |
+
>
|
| 371 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 372 |
+
|
| 373 |
+
**Unknown Token Rate (OOV Rate)**
|
| 374 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 375 |
+
>
|
| 376 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 377 |
+
>
|
| 378 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 379 |
+
|
| 380 |
+
### N-gram Model Metrics
|
| 381 |
+
|
| 382 |
+
**Perplexity**
|
| 383 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 384 |
+
>
|
| 385 |
+
> *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.
|
| 386 |
+
>
|
| 387 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 388 |
+
|
| 389 |
+
**Entropy**
|
| 390 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 391 |
+
>
|
| 392 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 393 |
+
>
|
| 394 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 395 |
+
|
| 396 |
+
**Coverage (Top-K)**
|
| 397 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 398 |
+
>
|
| 399 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 400 |
+
>
|
| 401 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 402 |
+
|
| 403 |
+
### Markov Chain Metrics
|
| 404 |
+
|
| 405 |
+
**Average Entropy**
|
| 406 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 407 |
+
>
|
| 408 |
+
> *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).
|
| 409 |
+
>
|
| 410 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 411 |
+
|
| 412 |
+
**Branching Factor**
|
| 413 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 414 |
+
>
|
| 415 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 416 |
+
>
|
| 417 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 418 |
+
|
| 419 |
+
**Predictability**
|
| 420 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 421 |
+
>
|
| 422 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 423 |
+
>
|
| 424 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 425 |
+
|
| 426 |
+
### Vocabulary & Zipf's Law Metrics
|
| 427 |
+
|
| 428 |
+
**Zipf's Coefficient**
|
| 429 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 430 |
+
>
|
| 431 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 432 |
+
>
|
| 433 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 434 |
+
|
| 435 |
+
**R² (Coefficient of Determination)**
|
| 436 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 437 |
+
>
|
| 438 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 439 |
+
>
|
| 440 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 441 |
+
|
| 442 |
+
**Vocabulary Coverage**
|
| 443 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 444 |
+
>
|
| 445 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 446 |
+
>
|
| 447 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 448 |
+
|
| 449 |
+
### Word Embedding Metrics
|
| 450 |
+
|
| 451 |
+
**Isotropy**
|
| 452 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 453 |
+
>
|
| 454 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 455 |
+
>
|
| 456 |
+
> *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.
|
| 457 |
+
|
| 458 |
+
**Average Norm**
|
| 459 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 460 |
+
>
|
| 461 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 462 |
+
>
|
| 463 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 464 |
+
|
| 465 |
+
**Cosine Similarity**
|
| 466 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 467 |
+
>
|
| 468 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 469 |
+
>
|
| 470 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 471 |
+
|
| 472 |
+
**t-SNE Visualization**
|
| 473 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 474 |
+
>
|
| 475 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 476 |
+
>
|
| 477 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 478 |
+
|
| 479 |
+
### General Interpretation Guidelines
|
| 480 |
+
|
| 481 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 482 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 483 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 484 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 485 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 486 |
+
|
| 487 |
+
|
| 488 |
+
### Visualizations Index
|
| 489 |
+
|
| 490 |
+
| Visualization | Description |
|
| 491 |
+
|---------------|-------------|
|
| 492 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 493 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 494 |
+
| Tokenizer OOV | Unknown token rates |
|
| 495 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 496 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 497 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 498 |
+
| N-gram Coverage | Top pattern coverage |
|
| 499 |
+
| N-gram Unique | Unique n-gram counts |
|
| 500 |
+
| Markov Entropy | Entropy by context size |
|
| 501 |
+
| Markov Branching | Branching factor by context |
|
| 502 |
+
| Markov Contexts | Unique context counts |
|
| 503 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 504 |
+
| Vocab Frequency | Word frequency distribution |
|
| 505 |
+
| Top 20 Words | Most frequent words |
|
| 506 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 507 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 508 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 509 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 510 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 511 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 512 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 513 |
+
| Position Encoding | Encoding method comparison |
|
| 514 |
+
| Model Sizes | Storage requirements |
|
| 515 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 516 |
+
|
| 517 |
+
---
|
| 518 |
+
## About This Project
|
| 519 |
+
|
| 520 |
+
### Data Source
|
| 521 |
+
|
| 522 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 523 |
+
|
| 524 |
+
### Project
|
| 525 |
+
|
| 526 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 527 |
+
|
| 528 |
+
### Maintainer
|
| 529 |
+
|
| 530 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 531 |
+
|
| 532 |
+
### Citation
|
| 533 |
+
|
| 534 |
+
If you use these models in your research, please cite:
|
| 535 |
+
|
| 536 |
+
```bibtex
|
| 537 |
+
@misc{wikilangs2025,
|
| 538 |
+
author = {Kamali, Omar},
|
| 539 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 540 |
+
year = {2025},
|
| 541 |
+
publisher = {HuggingFace},
|
| 542 |
+
url = {https://huggingface.co/wikilangs}
|
| 543 |
+
institution = {Omneity Labs}
|
| 544 |
+
}
|
| 545 |
+
```
|
| 546 |
+
|
| 547 |
+
### License
|
| 548 |
+
|
| 549 |
+
MIT License - Free for academic and commercial use.
|
| 550 |
+
|
| 551 |
+
### Links
|
| 552 |
+
|
| 553 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 554 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 555 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 556 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 557 |
+
---
|
| 558 |
+
*Generated by Wikilangs Models Pipeline*
|
| 559 |
+
|
| 560 |
+
*Report Date: 2025-12-28 00:25:48*
|
models/embeddings/monolingual/bcl_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b68fde739946da5ad381854c13e0c7e9f3ae925a20b45114dead92b2d7a5ec7
|
| 3 |
+
size 1105550844
|
models/embeddings/monolingual/bcl_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bcl", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bcl_128d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bcl",
|
| 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": 78307
|
| 13 |
+
}
|
models/embeddings/monolingual/bcl_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c5888b050fda02741996a649ef4e574917bf0c70c8bcd7b003fd8a04df805ab
|
| 3 |
+
size 277411068
|
models/embeddings/monolingual/bcl_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bcl", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bcl_32d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bcl",
|
| 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": 78307
|
| 13 |
+
}
|
models/embeddings/monolingual/bcl_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73e0742024fc7fef32624a6cdeb09e3dc030122f49523813287cd56514f45ca0
|
| 3 |
+
size 553457660
|
models/embeddings/monolingual/bcl_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "bcl", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/bcl_64d_metadata.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bcl",
|
| 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": 78307
|
| 13 |
+
}
|
models/subword_markov/bcl_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:739fa35135e9500445bce8bcb51a25f5c3997c1ee417f4e594aafd5b60d2ad0f
|
| 3 |
+
size 286254
|
models/subword_markov/bcl_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 6611,
|
| 6 |
+
"total_transitions": 42024331
|
| 7 |
+
}
|
models/subword_markov/bcl_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1fa5543c495a6dc7b592e6ed9db597421ed8a10f87195a57c3a5ae0adb04538
|
| 3 |
+
size 1378883
|
models/subword_markov/bcl_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 44194,
|
| 6 |
+
"total_transitions": 42002807
|
| 7 |
+
}
|
models/subword_markov/bcl_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21e6e12757b0460aafcbbdf777b4947f1a68cd9d5a25f399807b67cd4a70bd88
|
| 3 |
+
size 5038178
|
models/subword_markov/bcl_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 171168,
|
| 6 |
+
"total_transitions": 41981283
|
| 7 |
+
}
|
models/subword_markov/bcl_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8aaf71ea0ea25c963c31d64367f987031042ce65e722e9f5e8475e81791c7af
|
| 3 |
+
size 15230088
|
models/subword_markov/bcl_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 656881,
|
| 6 |
+
"total_transitions": 41959759
|
| 7 |
+
}
|
models/subword_ngram/bcl_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5afe288d387fa175c7c566a01acbddcc3e251edf63334aafe7f54ed4dee114e5
|
| 3 |
+
size 112319
|
models/subword_ngram/bcl_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 8566,
|
| 6 |
+
"total_ngrams": 42024331
|
| 7 |
+
}
|
models/subword_ngram/bcl_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b01ba4b34f80ef57927352ca4ad9437096837f0d321a57fb99d039db1ecf0d5
|
| 3 |
+
size 793658
|
models/subword_ngram/bcl_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 64437,
|
| 6 |
+
"total_ngrams": 42002807
|
| 7 |
+
}
|
models/subword_ngram/bcl_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa935e3bfc1d4549c3217dc3d673805015911677b09755efe6121a07a25deb22
|
| 3 |
+
size 3810759
|
models/subword_ngram/bcl_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 345622,
|
| 6 |
+
"total_ngrams": 41981283
|
| 7 |
+
}
|
models/tokenizer/bcl_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb0c1d6ec9b37aa48ab4580025133b7115a3a321b90a538df159371b6b346dc5
|
| 3 |
+
size 504162
|
models/tokenizer/bcl_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bcl_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:45ed3fdf3b5b2424886cfa7b6371ad864d24da591648b25007a712969fcd7bf9
|
| 3 |
+
size 779719
|
models/tokenizer/bcl_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bcl_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bca4456326070a24d1192d3df157782d08cdd45ec794b4e39075351072d4119
|
| 3 |
+
size 1339713
|
models/tokenizer/bcl_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/bcl_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:001d9a2fb8dd93cbd5b03c53f63b6fda18503cff21a9fdcf488356c5ddaba705
|
| 3 |
+
size 370216
|
models/tokenizer/bcl_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/bcl_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:377f83e39987b4da8cfa29b2470f276d727552a7628b8a387f78dd8541a70ab0
|
| 3 |
+
size 2359026
|
models/vocabulary/bcl_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "bcl",
|
| 3 |
+
"vocabulary_size": 139464,
|
| 4 |
+
"statistics": {
|
| 5 |
+
"type_token_ratio": 0.05786067345010461,
|
| 6 |
+
"coverage": {
|
| 7 |
+
"top_100": 0.4028147626471449,
|
| 8 |
+
"top_1000": 0.6046892341630454,
|
| 9 |
+
"top_5000": 0.7619812262587947,
|
| 10 |
+
"top_10000": 0.8206949599325984
|
| 11 |
+
},
|
| 12 |
+
"hapax_count": 239283,
|
| 13 |
+
"hapax_ratio": 0.6317753011905045,
|
| 14 |
+
"total_documents": 21524
|
| 15 |
+
}
|
| 16 |
+
}
|
models/word_markov/bcl_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa0505ff75b4bb563a9c6248c9ad624724bc60f8e390de4c1480153c67bb974e
|
| 3 |
+
size 19592785
|
models/word_markov/bcl_markov_ctx1_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 379065,
|
| 6 |
+
"total_transitions": 7959439
|
| 7 |
+
}
|
models/word_markov/bcl_markov_ctx2_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:017bca82c0d603a73ea84c30f277a13bf8138f46a8bd609c2ca20192bc0339c2
|
| 3 |
+
size 51192571
|
models/word_markov/bcl_markov_ctx2_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 2116590,
|
| 6 |
+
"total_transitions": 7937915
|
| 7 |
+
}
|
models/word_markov/bcl_markov_ctx3_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c15d097a7dfd722a8f8ff785ce89195257c0b0623ae7522c58fc7ad017fe2a1
|
| 3 |
+
size 85270277
|
models/word_markov/bcl_markov_ctx3_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 4629958,
|
| 6 |
+
"total_transitions": 7916395
|
| 7 |
+
}
|
models/word_markov/bcl_markov_ctx4_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06def7271772bbb24e5855c6419398ebbd5ee42dac50cd2db0ae0e82b52681ec
|
| 3 |
+
size 107623142
|
models/word_markov/bcl_markov_ctx4_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_contexts": 6293312,
|
| 6 |
+
"total_transitions": 7894880
|
| 7 |
+
}
|
models/word_ngram/bcl_2gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:804450949415c5c59b5cff49dc971557289a8e8c8df8fe79908549dace5f80d9
|
| 3 |
+
size 2384371
|
models/word_ngram/bcl_2gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 180870,
|
| 6 |
+
"total_ngrams": 7959439
|
| 7 |
+
}
|
models/word_ngram/bcl_3gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bffb92dfe9eb20b87645783d0ec648103f9ae0fafa9ccd37d6e397d295243c2a
|
| 3 |
+
size 4734062
|
models/word_ngram/bcl_3gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 332655,
|
| 6 |
+
"total_ngrams": 7937915
|
| 7 |
+
}
|
models/word_ngram/bcl_4gram_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb52d0e8bc028c69de74ba58fb8dc5143ff79cc0d378ce50a1d7f95e483fa874
|
| 3 |
+
size 7776301
|
models/word_ngram/bcl_4gram_word_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "word",
|
| 4 |
+
"language": "bcl",
|
| 5 |
+
"unique_ngrams": 511491,
|
| 6 |
+
"total_ngrams": 7916395
|
| 7 |
+
}
|
visualizations/embedding_isotropy.png
ADDED
|