Upload all models and assets for frp (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +766 -0
- models/embeddings/aligned/frp_128d.bin +3 -0
- models/embeddings/aligned/frp_128d.meta.json +1 -0
- models/embeddings/aligned/frp_128d.projection.npy +3 -0
- models/embeddings/aligned/frp_128d_metadata.json +8 -0
- models/embeddings/aligned/frp_32d.bin +3 -0
- models/embeddings/aligned/frp_32d.meta.json +1 -0
- models/embeddings/aligned/frp_32d.projection.npy +3 -0
- models/embeddings/aligned/frp_32d_metadata.json +8 -0
- models/embeddings/aligned/frp_64d.bin +3 -0
- models/embeddings/aligned/frp_64d.meta.json +1 -0
- models/embeddings/aligned/frp_64d.projection.npy +3 -0
- models/embeddings/aligned/frp_64d_metadata.json +8 -0
- models/embeddings/monolingual/frp_128d.bin +3 -0
- models/embeddings/monolingual/frp_128d.meta.json +1 -0
- models/embeddings/monolingual/frp_128d_metadata.json +15 -0
- models/embeddings/monolingual/frp_32d.bin +3 -0
- models/embeddings/monolingual/frp_32d.meta.json +1 -0
- models/embeddings/monolingual/frp_32d_metadata.json +15 -0
- models/embeddings/monolingual/frp_64d.bin +3 -0
- models/embeddings/monolingual/frp_64d.meta.json +1 -0
- models/embeddings/monolingual/frp_64d_metadata.json +15 -0
- models/subword_markov/frp_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/frp_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/frp_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/frp_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/frp_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/frp_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/frp_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/frp_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/frp_2gram_subword.parquet +3 -0
- models/subword_ngram/frp_2gram_subword_metadata.json +7 -0
- models/subword_ngram/frp_3gram_subword.parquet +3 -0
- models/subword_ngram/frp_3gram_subword_metadata.json +7 -0
- models/subword_ngram/frp_4gram_subword.parquet +3 -0
- models/subword_ngram/frp_4gram_subword_metadata.json +7 -0
- models/subword_ngram/frp_5gram_subword.parquet +3 -0
- models/subword_ngram/frp_5gram_subword_metadata.json +7 -0
- models/tokenizer/frp_tokenizer_16k.model +3 -0
- models/tokenizer/frp_tokenizer_16k.vocab +0 -0
- models/tokenizer/frp_tokenizer_32k.model +3 -0
- models/tokenizer/frp_tokenizer_32k.vocab +0 -0
- models/tokenizer/frp_tokenizer_64k.model +3 -0
- models/tokenizer/frp_tokenizer_64k.vocab +0 -0
- models/tokenizer/frp_tokenizer_8k.model +3 -0
- models/tokenizer/frp_tokenizer_8k.vocab +0 -0
- models/vocabulary/frp_vocabulary.parquet +3 -0
- models/vocabulary/frp_vocabulary_metadata.json +17 -0
- models/word_markov/frp_markov_ctx1_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: frp
|
| 3 |
+
language_name: Arpitan
|
| 4 |
+
language_family: romance_galloitalic
|
| 5 |
+
tags:
|
| 6 |
+
- wikilangs
|
| 7 |
+
- nlp
|
| 8 |
+
- tokenizer
|
| 9 |
+
- embeddings
|
| 10 |
+
- n-gram
|
| 11 |
+
- markov
|
| 12 |
+
- wikipedia
|
| 13 |
+
- feature-extraction
|
| 14 |
+
- sentence-similarity
|
| 15 |
+
- tokenization
|
| 16 |
+
- n-grams
|
| 17 |
+
- markov-chain
|
| 18 |
+
- text-mining
|
| 19 |
+
- fasttext
|
| 20 |
+
- babelvec
|
| 21 |
+
- vocabulous
|
| 22 |
+
- vocabulary
|
| 23 |
+
- monolingual
|
| 24 |
+
- family-romance_galloitalic
|
| 25 |
+
license: mit
|
| 26 |
+
library_name: wikilangs
|
| 27 |
+
pipeline_tag: text-generation
|
| 28 |
+
datasets:
|
| 29 |
+
- omarkamali/wikipedia-monthly
|
| 30 |
+
dataset_info:
|
| 31 |
+
name: wikipedia-monthly
|
| 32 |
+
description: Monthly snapshots of Wikipedia articles across 300+ languages
|
| 33 |
+
metrics:
|
| 34 |
+
- name: best_compression_ratio
|
| 35 |
+
type: compression
|
| 36 |
+
value: 4.432
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.8533
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-04
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Arpitan - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Arpitan** Wikipedia data.
|
| 50 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 51 |
+
|
| 52 |
+
## 📋 Repository Contents
|
| 53 |
+
|
| 54 |
+
### Models & Assets
|
| 55 |
+
|
| 56 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 57 |
+
- N-gram models (2, 3, 4, 5-gram)
|
| 58 |
+
- Markov chains (context of 1, 2, 3, 4 and 5)
|
| 59 |
+
- Subword N-gram and Markov chains
|
| 60 |
+
- Embeddings in various sizes and dimensions (aligned and unaligned)
|
| 61 |
+
- Language Vocabulary
|
| 62 |
+
- Language Statistics
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
### Analysis and Evaluation
|
| 67 |
+
|
| 68 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 69 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
|
| 70 |
+
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 71 |
+
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 72 |
+
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 73 |
+
- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
|
| 74 |
+
- [7. Summary & Recommendations](#7-summary--recommendations)
|
| 75 |
+
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 76 |
+
- [Visualizations Index](#visualizations-index)
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
## 1. Tokenizer Evaluation
|
| 80 |
+
|
| 81 |
+

|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
+
### Results
|
| 90 |
+
|
| 91 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 92 |
+
|------------|-------------|---------------|----------|--------------|
|
| 93 |
+
| **8k** | 3.752x | 3.76 | 0.1908% | 159,349 |
|
| 94 |
+
| **16k** | 4.028x | 4.03 | 0.2048% | 148,425 |
|
| 95 |
+
| **32k** | 4.260x | 4.27 | 0.2166% | 140,346 |
|
| 96 |
+
| **64k** | 4.432x 🏆 | 4.44 | 0.2254% | 134,893 |
|
| 97 |
+
|
| 98 |
+
### Tokenization Examples
|
| 99 |
+
|
| 100 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
+
|
| 102 |
+
**Sample 1:** `David Charvet (Liyon, 15 de mê est un actor francês d'origina arpetana. Charvet,...`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁david ▁char vet ▁( liyon , ▁ 1 5 ▁de ... (+18 more)` | 28 |
|
| 107 |
+
| 16k | `▁david ▁charvet ▁( liyon , ▁ 1 5 ▁de ▁mê ... (+15 more)` | 25 |
|
| 108 |
+
| 32k | `▁david ▁charvet ▁( liyon , ▁ 1 5 ▁de ▁mê ... (+15 more)` | 25 |
|
| 109 |
+
| 64k | `▁david ▁charvet ▁( liyon , ▁ 1 5 ▁de ▁mê ... (+15 more)` | 25 |
|
| 110 |
+
|
| 111 |
+
**Sample 2:** `Cort-Mayor, tot-pariér Cort-Màyœr (Croméyeui en vâldoten), est na comena de la V...`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁cort - mayor , ▁tot - pariér ▁cort - m ... (+28 more)` | 38 |
|
| 116 |
+
| 16k | `▁cort - mayor , ▁tot - pariér ▁cort - m ... (+27 more)` | 37 |
|
| 117 |
+
| 32k | `▁cort - mayor , ▁tot - pariér ▁cort - m ... (+26 more)` | 36 |
|
| 118 |
+
| 64k | `▁cort - mayor , ▁tot - pariér ▁cort - màyœr ... (+21 more)` | 31 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `Antê est na comena de la Vâl d’Aoûta. de la Vâl d’Aoûta`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁ant ê ▁est ▁na ▁comena ▁de ▁la ▁vâl ▁d ’ ... (+8 more)` | 18 |
|
| 125 |
+
| 16k | `▁ant ê ▁est ▁na ▁comena ▁de ▁la ▁vâl ▁d ’ ... (+8 more)` | 18 |
|
| 126 |
+
| 32k | `▁antê ▁est ▁na ▁comena ▁de ▁la ▁vâl ▁d ’ aoûta ... (+7 more)` | 17 |
|
| 127 |
+
| 64k | `▁antê ▁est ▁na ▁comena ▁de ▁la ▁vâl ▁d ’ aoûta ... (+7 more)` | 17 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 4.432x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.1908% unknown tokens
|
| 134 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 135 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
## 2. N-gram Model Evaluation
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+

|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+
### Results
|
| 147 |
+
|
| 148 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 149 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 150 |
+
| **2-gram** | Word | 3,875 | 11.92 | 12,862 | 22.5% | 56.7% |
|
| 151 |
+
| **2-gram** | Subword | 300 🏆 | 8.23 | 2,633 | 63.9% | 99.1% |
|
| 152 |
+
| **3-gram** | Word | 7,576 | 12.89 | 21,319 | 15.1% | 45.6% |
|
| 153 |
+
| **3-gram** | Subword | 2,356 | 11.20 | 19,570 | 26.8% | 69.6% |
|
| 154 |
+
| **4-gram** | Word | 12,950 | 13.66 | 38,195 | 12.2% | 39.0% |
|
| 155 |
+
| **4-gram** | Subword | 10,867 | 13.41 | 86,875 | 14.5% | 41.7% |
|
| 156 |
+
| **5-gram** | Word | 10,775 | 13.40 | 31,168 | 12.8% | 41.5% |
|
| 157 |
+
| **5-gram** | Subword | 28,788 | 14.81 | 185,811 | 9.5% | 30.0% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `de la` | 7,927 |
|
| 166 |
+
| 2 | `de l` | 4,843 |
|
| 167 |
+
| 3 | `en francês` | 2,035 |
|
| 168 |
+
| 4 | `est un` | 1,537 |
|
| 169 |
+
| 5 | `est na` | 1,506 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `notes et rèferences` | 921 |
|
| 176 |
+
| 2 | `lims de defôr` | 887 |
|
| 177 |
+
| 3 | `et rèferences notes` | 838 |
|
| 178 |
+
| 4 | `que sè trôve` | 823 |
|
| 179 |
+
| 5 | `du calendriér grègorien` | 787 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `notes et rèferences notes` | 838 |
|
| 186 |
+
| 2 | `que sè trôve dens` | 676 |
|
| 187 |
+
| 3 | `sè trôve dens lo` | 616 |
|
| 188 |
+
| 4 | `règ ion ôvèrgne rôno` | 598 |
|
| 189 |
+
| 5 | `trôve dens lo dèpartament` | 594 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `que sè trôve dens lo` | 610 |
|
| 196 |
+
| 2 | `sè trôve dens lo dèpartament` | 594 |
|
| 197 |
+
| 3 | `règ ion ôvèrgne rôno ârpes` | 583 |
|
| 198 |
+
| 4 | `en règ ion ôvèrgne rôno` | 573 |
|
| 199 |
+
| 5 | `trôve dens lo dèpartament de` | 541 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `_ d` | 93,461 |
|
| 206 |
+
| 2 | `e _` | 89,908 |
|
| 207 |
+
| 3 | `s _` | 81,969 |
|
| 208 |
+
| 4 | `a _` | 81,049 |
|
| 209 |
+
| 5 | `_ l` | 70,807 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `_ d e` | 53,565 |
|
| 216 |
+
| 2 | `d e _` | 42,218 |
|
| 217 |
+
| 3 | `e s _` | 30,241 |
|
| 218 |
+
| 4 | `l a _` | 24,855 |
|
| 219 |
+
| 5 | `_ l a` | 20,309 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ d e _` | 40,630 |
|
| 226 |
+
| 2 | `_ l a _` | 18,775 |
|
| 227 |
+
| 3 | `d e _ l` | 16,081 |
|
| 228 |
+
| 4 | `_ e t _` | 16,050 |
|
| 229 |
+
| 5 | `_ d u _` | 12,274 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ d e _ l` | 15,995 |
|
| 236 |
+
| 2 | `_ e s t _` | 8,935 |
|
| 237 |
+
| 3 | `e _ l a _` | 8,731 |
|
| 238 |
+
| 4 | `d e _ l a` | 7,987 |
|
| 239 |
+
| 5 | `a _ d e _` | 7,692 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 300
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~30% of corpus
|
| 247 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 248 |
+
|
| 249 |
+
---
|
| 250 |
+
## 3. Markov Chain Evaluation
|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+

|
| 255 |
+
|
| 256 |
+

|
| 257 |
+
|
| 258 |
+
### Results
|
| 259 |
+
|
| 260 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 261 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 262 |
+
| **1** | Word | 0.6833 | 1.606 | 3.88 | 60,657 | 31.7% |
|
| 263 |
+
| **1** | Subword | 1.0805 | 2.115 | 8.29 | 778 | 0.0% |
|
| 264 |
+
| **2** | Word | 0.2270 | 1.170 | 1.54 | 234,074 | 77.3% |
|
| 265 |
+
| **2** | Subword | 0.9698 | 1.959 | 5.76 | 6,449 | 3.0% |
|
| 266 |
+
| **3** | Word | 0.0984 | 1.071 | 1.18 | 358,473 | 90.2% |
|
| 267 |
+
| **3** | Subword | 0.8264 | 1.773 | 3.96 | 37,109 | 17.4% |
|
| 268 |
+
| **4** | Word | 0.0495 🏆 | 1.035 | 1.08 | 419,570 | 95.1% |
|
| 269 |
+
| **4** | Subword | 0.6064 | 1.522 | 2.56 | 146,964 | 39.4% |
|
| 270 |
+
|
| 271 |
+
### Generated Text Samples (Word-based)
|
| 272 |
+
|
| 273 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 274 |
+
|
| 275 |
+
**Context Size 1:**
|
| 276 |
+
|
| 277 |
+
1. `de la ples èpatâs dens lo seto de les alemagnes ôtriche contre pendent sa m m`
|
| 278 |
+
2. `la ferveur d or de l en règ ionalisto de l endrêt vocabulèro rèferences notes et`
|
| 279 |
+
3. `et dictionnaire français liyon nèssences giuseppe mariano egaña universidad de vôd dês lo seto patoi...`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `de la rèpublica francêsa entre lo v continu et le r roulâ at étâ remplaciê per le`
|
| 284 |
+
2. `de l alsace iwar werlen matthias grünert èd italica raetica gallica studia linguarum litterarum arti...`
|
| 285 |
+
3. `en francês est na comena francêsa et arpetana de banye èthendiu per piérro duplê lo jouventua calço`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `notes et rèferences notes vocabulèro rèferences de l en de l en de tant qu en môrts roxelane`
|
| 290 |
+
2. `et rèferences notes rèferences de la savouè francês de l isera les doux dèrriérs kilomètros ont uvèr...`
|
| 291 |
+
3. `lims de defôr âjo de france`
|
| 292 |
+
|
| 293 |
+
**Context Size 4:**
|
| 294 |
+
|
| 295 |
+
1. `notes et rèferences notes rèferences de la savouè d avâl arpetan de sports d hivèrn du musê dôfenen ...`
|
| 296 |
+
2. `que sè trôve dens lo dèpartament de la lêre en règ ion ôvèrgne rôno ârpes los habitents du velâjo`
|
| 297 |
+
3. `sè trôve dens lo dèpartament de la lêre en règ ion borgogne franche comtât los habitents du velâjo s...`
|
| 298 |
+
|
| 299 |
+
|
| 300 |
+
### Generated Text Samples (Subword-based)
|
| 301 |
+
|
| 302 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 303 |
+
|
| 304 |
+
**Context Size 1:**
|
| 305 |
+
|
| 306 |
+
1. `_dir_dust_di,_t,`
|
| 307 |
+
2. `et_ubolesatre_p.`
|
| 308 |
+
3. `at._élyâyarçanâl`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `_des_de_de_39-64_`
|
| 313 |
+
2. `e_nonqu’es_procal`
|
| 314 |
+
3. `s_véls_devartiérs`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `_de_du_chârmetllar`
|
| 319 |
+
2. `de_loirenciacionâr`
|
| 320 |
+
3. `es_ont_de_la_vencr`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `_de_la_barmacopo_de`
|
| 325 |
+
2. `_la_vela_des_vocabu`
|
| 326 |
+
3. `de_la_bourk_»_adv_d`
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Key Findings
|
| 330 |
+
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 95.1% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (146,964 contexts)
|
| 334 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 335 |
+
|
| 336 |
+
---
|
| 337 |
+
## 4. Vocabulary Analysis
|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+

|
| 342 |
+
|
| 343 |
+

|
| 344 |
+
|
| 345 |
+
### Statistics
|
| 346 |
+
|
| 347 |
+
| Metric | Value |
|
| 348 |
+
|--------|-------|
|
| 349 |
+
| Vocabulary Size | 25,646 |
|
| 350 |
+
| Total Tokens | 594,200 |
|
| 351 |
+
| Mean Frequency | 23.17 |
|
| 352 |
+
| Median Frequency | 3 |
|
| 353 |
+
| Frequency Std Dev | 373.02 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | de | 41,301 |
|
| 360 |
+
| 2 | la | 20,109 |
|
| 361 |
+
| 3 | et | 16,321 |
|
| 362 |
+
| 4 | en | 13,958 |
|
| 363 |
+
| 5 | lo | 13,046 |
|
| 364 |
+
| 6 | du | 12,396 |
|
| 365 |
+
| 7 | l | 11,637 |
|
| 366 |
+
| 8 | est | 9,993 |
|
| 367 |
+
| 9 | d | 9,696 |
|
| 368 |
+
| 10 | a | 6,854 |
|
| 369 |
+
|
| 370 |
+
### Least Common Words (from vocabulary)
|
| 371 |
+
|
| 372 |
+
| Rank | Word | Frequency |
|
| 373 |
+
|------|------|-----------|
|
| 374 |
+
| 1 | gewesen | 2 |
|
| 375 |
+
| 2 | müh | 2 |
|
| 376 |
+
| 3 | professors | 2 |
|
| 377 |
+
| 4 | seiant | 2 |
|
| 378 |
+
| 5 | hoch | 2 |
|
| 379 |
+
| 6 | sich | 2 |
|
| 380 |
+
| 7 | too | 2 |
|
| 381 |
+
| 8 | pereat | 2 |
|
| 382 |
+
| 9 | pèreisset | 2 |
|
| 383 |
+
| 10 | rêpond | 2 |
|
| 384 |
+
|
| 385 |
+
### Zipf's Law Analysis
|
| 386 |
+
|
| 387 |
+
| Metric | Value |
|
| 388 |
+
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.1126 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.996613 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 48.2% |
|
| 398 |
+
| Top 1,000 | 74.5% |
|
| 399 |
+
| Top 5,000 | 88.1% |
|
| 400 |
+
| Top 10,000 | 93.3% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9966 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 48.2% of corpus
|
| 406 |
+
- **Long Tail:** 15,646 words needed for remaining 6.7% coverage
|
| 407 |
+
|
| 408 |
+
---
|
| 409 |
+
## 5. Word Embeddings Evaluation
|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+

|
| 416 |
+
|
| 417 |
+

|
| 418 |
+
|
| 419 |
+
|
| 420 |
+
### 5.1 Cross-Lingual Alignment
|
| 421 |
+
|
| 422 |
+

|
| 423 |
+
|
| 424 |
+

|
| 425 |
+
|
| 426 |
+
|
| 427 |
+
### 5.2 Model Comparison
|
| 428 |
+
|
| 429 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 430 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 431 |
+
| **mono_32d** | 32 | 0.8533 | 0.3620 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.7080 | 0.3125 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.2790 | 0.2979 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.8533 🏆 | 0.3573 | 0.0340 | 0.2060 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.7080 | 0.3022 | 0.0800 | 0.2980 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.2790 | 0.2962 | 0.1260 | 0.4020 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** aligned_32d with 0.8533 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.3213. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 12.6% R@1 in cross-lingual retrieval.
|
| 443 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 444 |
+
|
| 445 |
+
---
|
| 446 |
+
## 6. Morphological Analysis (Experimental)
|
| 447 |
+
|
| 448 |
+
This section presents an automated morphological analysis derived from the statistical divergence between word-level and subword-level models. By analyzing where subword predictability spikes and where word-level coverage fails, we can infer linguistic structures without supervised data.
|
| 449 |
+
|
| 450 |
+
### 6.1 Productivity & Complexity
|
| 451 |
+
|
| 452 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 453 |
+
|--------|-------|----------------|----------------|
|
| 454 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **0.381** | High formulaic/idiomatic content | - |
|
| 456 |
+
|
| 457 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 458 |
+
|
| 459 |
+
These are the most productive prefixes and suffixes identified by sampling the vocabulary for global substitutability patterns. A unit is considered an affix if stripping it leaves a valid stem that appears in other contexts.
|
| 460 |
+
|
| 461 |
+
#### Productive Prefixes
|
| 462 |
+
| Prefix | Examples |
|
| 463 |
+
|--------|----------|
|
| 464 |
+
| `-co` | cornèlye, columbân, compto |
|
| 465 |
+
| `-ch` | chouèséssont, chesalles, chasper |
|
| 466 |
+
|
| 467 |
+
#### Productive Suffixes
|
| 468 |
+
| Suffix | Examples |
|
| 469 |
+
|--------|----------|
|
| 470 |
+
| `-s` | besièrs, mans, chesalles |
|
| 471 |
+
| `-es` | chesalles, romanes, sassenajouèses |
|
| 472 |
+
| `-on` | frutificacion, enstitucion, différenciation |
|
| 473 |
+
| `-nt` | chouèséssont, variant, fassévont |
|
| 474 |
+
| `-ns` | mans, dragons, pontesans |
|
| 475 |
+
|
| 476 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 477 |
+
|
| 478 |
+
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.
|
| 479 |
+
|
| 480 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 481 |
+
|------|----------|------------------|----------|
|
| 482 |
+
| `ranc` | 1.61x | 40 contexts | franc, rancé, drance |
|
| 483 |
+
| `cion` | 1.68x | 33 contexts | accion, nocion, nacion |
|
| 484 |
+
| `etan` | 2.23x | 12 contexts | gaetano, arpetan, erpetan |
|
| 485 |
+
| `anta` | 1.82x | 22 contexts | santa, antan, tanta |
|
| 486 |
+
| `peta` | 2.23x | 11 contexts | petar, arpetan, erpetan |
|
| 487 |
+
| `acio` | 1.82x | 20 contexts | nacion, lacion, stacion |
|
| 488 |
+
| `avou` | 1.81x | 17 contexts | avoué, avouë, avouì |
|
| 489 |
+
| `uiss` | 2.18x | 10 contexts | buisse, suisso, suisse |
|
| 490 |
+
| `isto` | 1.53x | 26 contexts | visto, istos, cristo |
|
| 491 |
+
| `iant` | 1.75x | 16 contexts | diant, aviant, étiant |
|
| 492 |
+
| `rpet` | 2.23x | 8 contexts | arpetan, arpette, erpetan |
|
| 493 |
+
| `omen` | 1.56x | 19 contexts | women, romen, comenê |
|
| 494 |
+
|
| 495 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 496 |
+
|
| 497 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 498 |
+
|
| 499 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 500 |
+
|--------|--------|-----------|----------|
|
| 501 |
+
| `-co` | `-s` | 69 words | concèpcions, conches |
|
| 502 |
+
| `-ch` | `-s` | 40 words | chexbres, chevâls |
|
| 503 |
+
| `-co` | `-es` | 26 words | conches, comenes |
|
| 504 |
+
| `-co` | `-on` | 22 words | comparèson, coalicion |
|
| 505 |
+
| `-co` | `-nt` | 19 words | confondont, corent |
|
| 506 |
+
| `-ch` | `-es` | 18 words | chexbres, chasèles |
|
| 507 |
+
| `-co` | `-ns` | 13 words | concèpcions, cotens |
|
| 508 |
+
| `-ch` | `-on` | 10 words | chambllon, chillon |
|
| 509 |
+
| `-ch` | `-nt` | 5 words | chavonont, chantont |
|
| 510 |
+
| `-ch` | `-ns` | 4 words | chens, chaneins |
|
| 511 |
+
|
| 512 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 513 |
+
|
| 514 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 515 |
+
|
| 516 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 517 |
+
|------|-----------------|------------|------|
|
| 518 |
+
| trentines | **`trentin-es`** | 4.5 | `trentin` |
|
| 519 |
+
| neuchâteloises | **`neuchâtelois-es`** | 4.5 | `neuchâtelois` |
|
| 520 |
+
| reprèsentent | **`reprèsente-nt`** | 4.5 | `reprèsente` |
|
| 521 |
+
| vôdouèses | **`vôdouès-es`** | 4.5 | `vôdouès` |
|
| 522 |
+
| dèssèrtes | **`dèssèrt-es`** | 4.5 | `dèssèrt` |
|
| 523 |
+
| grenoblouèses | **`grenoblouès-es`** | 4.5 | `grenoblouès` |
|
| 524 |
+
| véselyinouèses | **`véselyinouès-es`** | 4.5 | `véselyinouès` |
|
| 525 |
+
| appellent | **`appelle-nt`** | 4.5 | `appelle` |
|
| 526 |
+
| charentes | **`ch-arent-es`** | 3.0 | `arent` |
|
| 527 |
+
| conclusion | **`co-nclusi-on`** | 3.0 | `nclusi` |
|
| 528 |
+
| comparèsons | **`co-mparèso-ns`** | 3.0 | `mparèso` |
|
| 529 |
+
| siuventes | **`siuve-nt-es`** | 3.0 | `siuve` |
|
| 530 |
+
| compèticions | **`co-mpèticio-ns`** | 3.0 | `mpèticio` |
|
| 531 |
+
| châtenêècrivont | **`ch-âtenêècrivo-nt`** | 3.0 | `âtenêècrivo` |
|
| 532 |
+
| communities | **`co-mmuniti-es`** | 3.0 | `mmuniti` |
|
| 533 |
+
|
| 534 |
+
### 6.6 Linguistic Interpretation
|
| 535 |
+
|
| 536 |
+
> **Automated Insight:**
|
| 537 |
+
The language Arpitan shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 538 |
+
|
| 539 |
+
> **Note on Idiomaticity:** The high Idiomaticity Gap suggests a large number of frequent multi-word expressions or formulaic sequences that are statistically distinct from their component parts.
|
| 540 |
+
|
| 541 |
+
---
|
| 542 |
+
## 7. Summary & Recommendations
|
| 543 |
+
|
| 544 |
+

|
| 545 |
+
|
| 546 |
+
### Production Recommendations
|
| 547 |
+
|
| 548 |
+
| Component | Recommended | Rationale |
|
| 549 |
+
|-----------|-------------|-----------|
|
| 550 |
+
| Tokenizer | **64k BPE** | Best compression (4.43x) |
|
| 551 |
+
| N-gram | **2-gram** | Lowest perplexity (300) |
|
| 552 |
+
| Markov | **Context-4** | Highest predictability (95.1%) |
|
| 553 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 554 |
+
|
| 555 |
+
|
| 556 |
+
---
|
| 557 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 558 |
+
|
| 559 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 560 |
+
|
| 561 |
+
### Tokenizer Metrics
|
| 562 |
+
|
| 563 |
+
**Compression Ratio**
|
| 564 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 565 |
+
>
|
| 566 |
+
> *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.
|
| 567 |
+
>
|
| 568 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 569 |
+
|
| 570 |
+
**Average Token Length (Fertility)**
|
| 571 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 572 |
+
>
|
| 573 |
+
> *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.
|
| 574 |
+
>
|
| 575 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 576 |
+
|
| 577 |
+
**Unknown Token Rate (OOV Rate)**
|
| 578 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 579 |
+
>
|
| 580 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 581 |
+
>
|
| 582 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 583 |
+
|
| 584 |
+
### N-gram Model Metrics
|
| 585 |
+
|
| 586 |
+
**Perplexity**
|
| 587 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 588 |
+
>
|
| 589 |
+
> *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.
|
| 590 |
+
>
|
| 591 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 592 |
+
|
| 593 |
+
**Entropy**
|
| 594 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 595 |
+
>
|
| 596 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 597 |
+
>
|
| 598 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 599 |
+
|
| 600 |
+
**Coverage (Top-K)**
|
| 601 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 602 |
+
>
|
| 603 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 604 |
+
>
|
| 605 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 606 |
+
|
| 607 |
+
### Markov Chain Metrics
|
| 608 |
+
|
| 609 |
+
**Average Entropy**
|
| 610 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 611 |
+
>
|
| 612 |
+
> *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).
|
| 613 |
+
>
|
| 614 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 615 |
+
|
| 616 |
+
**Branching Factor**
|
| 617 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 618 |
+
>
|
| 619 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 620 |
+
>
|
| 621 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 622 |
+
|
| 623 |
+
**Predictability**
|
| 624 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 625 |
+
>
|
| 626 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 627 |
+
>
|
| 628 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 629 |
+
|
| 630 |
+
### Vocabulary & Zipf's Law Metrics
|
| 631 |
+
|
| 632 |
+
**Zipf's Coefficient**
|
| 633 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 634 |
+
>
|
| 635 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 636 |
+
>
|
| 637 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 638 |
+
|
| 639 |
+
**R² (Coefficient of Determination)**
|
| 640 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 641 |
+
>
|
| 642 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 643 |
+
>
|
| 644 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 645 |
+
|
| 646 |
+
**Vocabulary Coverage**
|
| 647 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 648 |
+
>
|
| 649 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 650 |
+
>
|
| 651 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 652 |
+
|
| 653 |
+
### Word Embedding Metrics
|
| 654 |
+
|
| 655 |
+
**Isotropy**
|
| 656 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 657 |
+
>
|
| 658 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 659 |
+
>
|
| 660 |
+
> *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.
|
| 661 |
+
|
| 662 |
+
**Average Norm**
|
| 663 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 664 |
+
>
|
| 665 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 666 |
+
>
|
| 667 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 668 |
+
|
| 669 |
+
**Cosine Similarity**
|
| 670 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 671 |
+
>
|
| 672 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 673 |
+
>
|
| 674 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 675 |
+
|
| 676 |
+
**t-SNE Visualization**
|
| 677 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 678 |
+
>
|
| 679 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 680 |
+
>
|
| 681 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 682 |
+
|
| 683 |
+
### General Interpretation Guidelines
|
| 684 |
+
|
| 685 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 686 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 687 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 688 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 689 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 690 |
+
|
| 691 |
+
|
| 692 |
+
### Visualizations Index
|
| 693 |
+
|
| 694 |
+
| Visualization | Description |
|
| 695 |
+
|---------------|-------------|
|
| 696 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 697 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 698 |
+
| Tokenizer OOV | Unknown token rates |
|
| 699 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 700 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 701 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 702 |
+
| N-gram Coverage | Top pattern coverage |
|
| 703 |
+
| N-gram Unique | Unique n-gram counts |
|
| 704 |
+
| Markov Entropy | Entropy by context size |
|
| 705 |
+
| Markov Branching | Branching factor by context |
|
| 706 |
+
| Markov Contexts | Unique context counts |
|
| 707 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 708 |
+
| Vocab Frequency | Word frequency distribution |
|
| 709 |
+
| Top 20 Words | Most frequent words |
|
| 710 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 711 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 712 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 713 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 714 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 715 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 716 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 717 |
+
| Position Encoding | Encoding method comparison |
|
| 718 |
+
| Model Sizes | Storage requirements |
|
| 719 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 720 |
+
|
| 721 |
+
---
|
| 722 |
+
## About This Project
|
| 723 |
+
|
| 724 |
+
### Data Source
|
| 725 |
+
|
| 726 |
+
Models trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) - a monthly snapshot of Wikipedia articles across 300+ languages.
|
| 727 |
+
|
| 728 |
+
### Project
|
| 729 |
+
|
| 730 |
+
A project by **[Wikilangs](https://wikilangs.org)** - Open-source NLP models for every Wikipedia language.
|
| 731 |
+
|
| 732 |
+
### Maintainer
|
| 733 |
+
|
| 734 |
+
[Omar Kamali](https://omarkamali.com) - [Omneity Labs](https://omneitylabs.com)
|
| 735 |
+
|
| 736 |
+
### Citation
|
| 737 |
+
|
| 738 |
+
If you use these models in your research, please cite:
|
| 739 |
+
|
| 740 |
+
```bibtex
|
| 741 |
+
@misc{wikilangs2025,
|
| 742 |
+
author = {Kamali, Omar},
|
| 743 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 744 |
+
year = {2025},
|
| 745 |
+
doi = {10.5281/zenodo.18073153},
|
| 746 |
+
publisher = {Zenodo},
|
| 747 |
+
url = {https://huggingface.co/wikilangs}
|
| 748 |
+
institution = {Omneity Labs}
|
| 749 |
+
}
|
| 750 |
+
```
|
| 751 |
+
|
| 752 |
+
### License
|
| 753 |
+
|
| 754 |
+
MIT License - Free for academic and commercial use.
|
| 755 |
+
|
| 756 |
+
### Links
|
| 757 |
+
|
| 758 |
+
- 🌐 Website: [wikilangs.org](https://wikilangs.org)
|
| 759 |
+
- 🤗 Models: [huggingface.co/wikilangs](https://huggingface.co/wikilangs)
|
| 760 |
+
- 📊 Data: [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 761 |
+
- 👤 Author: [Omar Kamali](https://huggingface.co/omarkamali)
|
| 762 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 763 |
+
---
|
| 764 |
+
*Generated by Wikilangs Models Pipeline*
|
| 765 |
+
|
| 766 |
+
*Report Date: 2026-01-04 14:50:14*
|
models/embeddings/aligned/frp_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4ebd515c4ffecf5a8c2a0d88ad7a5b0b83969aa5db3e39b0ef31524fc769c10
|
| 3 |
+
size 1034012395
|
models/embeddings/aligned/frp_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/frp_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2367f4444f4e7b73ca723b98d657ccad4006b58f282bed8b20123fdfe7e0ed18
|
| 3 |
+
size 65664
|
models/embeddings/aligned/frp_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 3580,
|
| 7 |
+
"vocab_size": 9615
|
| 8 |
+
}
|
models/embeddings/aligned/frp_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58e3ac07846bf587592a264cf8911aedd16841eae93a315c90b2e3bb10232924
|
| 3 |
+
size 258628075
|
models/embeddings/aligned/frp_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/frp_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:613894249e67581dd6aa86ba6e18ac569fa67e7f4e76bead3e35979ffa7a91b0
|
| 3 |
+
size 4224
|
models/embeddings/aligned/frp_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 3580,
|
| 7 |
+
"vocab_size": 9615
|
| 8 |
+
}
|
models/embeddings/aligned/frp_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d3e078401954afed99850d3b485f29a5bb899d0f9eb6bda87304d9547508b69
|
| 3 |
+
size 517089515
|
models/embeddings/aligned/frp_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/frp_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81eef5f617b1e9cfda141d4f455a2bf29d057d24601e0f3c975c8a174ce89359
|
| 3 |
+
size 16512
|
models/embeddings/aligned/frp_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 3580,
|
| 7 |
+
"vocab_size": 9615
|
| 8 |
+
}
|
models/embeddings/monolingual/frp_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4ebd515c4ffecf5a8c2a0d88ad7a5b0b83969aa5db3e39b0ef31524fc769c10
|
| 3 |
+
size 1034012395
|
models/embeddings/monolingual/frp_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/frp_128d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 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": 9615
|
| 15 |
+
}
|
models/embeddings/monolingual/frp_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:58e3ac07846bf587592a264cf8911aedd16841eae93a315c90b2e3bb10232924
|
| 3 |
+
size 258628075
|
models/embeddings/monolingual/frp_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/frp_32d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 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": 9615
|
| 15 |
+
}
|
models/embeddings/monolingual/frp_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6d3e078401954afed99850d3b485f29a5bb899d0f9eb6bda87304d9547508b69
|
| 3 |
+
size 517089515
|
models/embeddings/monolingual/frp_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "frp", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/frp_64d_metadata.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 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": 9615
|
| 15 |
+
}
|
models/subword_markov/frp_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6251e46a9c1a9d7e20c82362b0ead3647812c62fe0118df19eed0b0c411f0119
|
| 3 |
+
size 53550
|
models/subword_markov/frp_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_contexts": 778,
|
| 6 |
+
"total_transitions": 3759203
|
| 7 |
+
}
|
models/subword_markov/frp_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b9738cef1b371531de5203c43ed3a4f6a4fe7c0322eb5da3a6e1ddc64594eb2
|
| 3 |
+
size 310743
|
models/subword_markov/frp_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_contexts": 6449,
|
| 6 |
+
"total_transitions": 3753467
|
| 7 |
+
}
|
models/subword_markov/frp_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:72cb2d125f0983d9b72dfa4b9c286803600796b4b6ac196665b94e677150f441
|
| 3 |
+
size 1135882
|
models/subword_markov/frp_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_contexts": 37109,
|
| 6 |
+
"total_transitions": 3747731
|
| 7 |
+
}
|
models/subword_markov/frp_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa0e0d963e8dbbefb3e736b0e90951340d76275f40de83d582bb3bef844cf156
|
| 3 |
+
size 2992398
|
models/subword_markov/frp_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_contexts": 146964,
|
| 6 |
+
"total_transitions": 3741995
|
| 7 |
+
}
|
models/subword_ngram/frp_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d30c3b69827b9606f82dccffd5a57d1b3fef738873b448cf3af11002bb70124
|
| 3 |
+
size 36717
|
models/subword_ngram/frp_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_ngrams": 2633,
|
| 6 |
+
"total_ngrams": 3759203
|
| 7 |
+
}
|
models/subword_ngram/frp_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d21416d6fa533fdcf437a0539643e8399787fd840d468d1cce35e8fc12f7b5f2
|
| 3 |
+
size 243031
|
models/subword_ngram/frp_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_ngrams": 19570,
|
| 6 |
+
"total_ngrams": 3753467
|
| 7 |
+
}
|
models/subword_ngram/frp_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9b73bfef32d3ff2f27c287df4a03d4c867bbf8a6f1ffaf08d98dc2448dd7bd8
|
| 3 |
+
size 1013220
|
models/subword_ngram/frp_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_ngrams": 86875,
|
| 6 |
+
"total_ngrams": 3747731
|
| 7 |
+
}
|
models/subword_ngram/frp_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffa7b43d1ac41f6a02fbd82406939f8de61ce67c629375576b6c4fdcc9bb385f
|
| 3 |
+
size 2184296
|
models/subword_ngram/frp_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "frp",
|
| 5 |
+
"unique_ngrams": 185811,
|
| 6 |
+
"total_ngrams": 3741995
|
| 7 |
+
}
|
models/tokenizer/frp_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82b10964184a0c62da925531989f1c96c4cf9b4cd93e5938c16be1f1c9754bd7
|
| 3 |
+
size 508915
|
models/tokenizer/frp_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/frp_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66b2f17efefee5faa6ecab35d93f45980c4b9c3494ad84172c737b7b6524374b
|
| 3 |
+
size 779332
|
models/tokenizer/frp_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/frp_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce8b4f480d1a93809eb3a1ae72e8669e02e979ad35c8f4b9876c23ccb8e6c264
|
| 3 |
+
size 1370080
|
models/tokenizer/frp_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/frp_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:238cc5e3f3b030e9b8eb971775d3dbd53062b02705b472ad7d49c904bb64653f
|
| 3 |
+
size 373349
|
models/tokenizer/frp_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/frp_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6411538f52a64dae10bf4db0fdea8dc0ad00a80616545076d9db6db5acb3d58c
|
| 3 |
+
size 436154
|
models/vocabulary/frp_vocabulary_metadata.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "frp",
|
| 3 |
+
"vocabulary_size": 25646,
|
| 4 |
+
"variant": "full",
|
| 5 |
+
"statistics": {
|
| 6 |
+
"type_token_ratio": 0.09670029026769132,
|
| 7 |
+
"coverage": {
|
| 8 |
+
"top_100": 0.45507046975067483,
|
| 9 |
+
"top_1000": 0.7034217270212688,
|
| 10 |
+
"top_5000": 0.8314969837262618,
|
| 11 |
+
"top_10000": 0.8806502504690834
|
| 12 |
+
},
|
| 13 |
+
"hapax_count": 35219,
|
| 14 |
+
"hapax_ratio": 0.5786412552369999,
|
| 15 |
+
"total_documents": 5736
|
| 16 |
+
}
|
| 17 |
+
}
|
models/word_markov/frp_markov_ctx1_word.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c17398622107b6172652b4d2d054d97bf81e4a2b8642df9b6af6951deb01d981
|
| 3 |
+
size 2048340
|