Upload all models and assets for gu (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +768 -0
- gu_morph_tokenizer.json +0 -0
- models/embeddings/aligned/gu_128d.bin +3 -0
- models/embeddings/aligned/gu_128d.meta.json +1 -0
- models/embeddings/aligned/gu_128d.projection.npy +3 -0
- models/embeddings/aligned/gu_128d_metadata.json +8 -0
- models/embeddings/aligned/gu_32d.bin +3 -0
- models/embeddings/aligned/gu_32d.meta.json +1 -0
- models/embeddings/aligned/gu_32d.projection.npy +3 -0
- models/embeddings/aligned/gu_32d_metadata.json +8 -0
- models/embeddings/aligned/gu_64d.bin +3 -0
- models/embeddings/aligned/gu_64d.meta.json +1 -0
- models/embeddings/aligned/gu_64d.projection.npy +3 -0
- models/embeddings/aligned/gu_64d_metadata.json +8 -0
- models/embeddings/monolingual/gu_128d.bin +3 -0
- models/embeddings/monolingual/gu_128d.meta.json +1 -0
- models/embeddings/monolingual/gu_128d_metadata.json +16 -0
- models/embeddings/monolingual/gu_32d.bin +3 -0
- models/embeddings/monolingual/gu_32d.meta.json +1 -0
- models/embeddings/monolingual/gu_32d_metadata.json +16 -0
- models/embeddings/monolingual/gu_64d.bin +3 -0
- models/embeddings/monolingual/gu_64d.meta.json +1 -0
- models/embeddings/monolingual/gu_64d_metadata.json +16 -0
- models/subword_markov/gu_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/gu_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/gu_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/gu_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/gu_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/gu_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/gu_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/gu_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/gu_2gram_subword.parquet +3 -0
- models/subword_ngram/gu_2gram_subword_metadata.json +7 -0
- models/subword_ngram/gu_3gram_subword.parquet +3 -0
- models/subword_ngram/gu_3gram_subword_metadata.json +7 -0
- models/subword_ngram/gu_4gram_subword.parquet +3 -0
- models/subword_ngram/gu_4gram_subword_metadata.json +7 -0
- models/subword_ngram/gu_5gram_subword.parquet +3 -0
- models/subword_ngram/gu_5gram_subword_metadata.json +7 -0
- models/tokenizer/gu_tokenizer_16k.model +3 -0
- models/tokenizer/gu_tokenizer_16k.vocab +0 -0
- models/tokenizer/gu_tokenizer_32k.model +3 -0
- models/tokenizer/gu_tokenizer_32k.vocab +0 -0
- models/tokenizer/gu_tokenizer_64k.model +3 -0
- models/tokenizer/gu_tokenizer_64k.vocab +0 -0
- models/tokenizer/gu_tokenizer_8k.model +3 -0
- models/tokenizer/gu_tokenizer_8k.vocab +0 -0
- models/vocabulary/gu_vocabulary.parquet +3 -0
- models/vocabulary/gu_vocabulary_metadata.json +17 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_words.png filter=lfs di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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: gu
|
| 3 |
+
language_name: Gujarati
|
| 4 |
+
language_family: indoaryan_central
|
| 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-indoaryan_central
|
| 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.347
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.7575
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-10
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Gujarati - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Gujarati** 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.375x | 3.38 | 0.3164% | 854,027 |
|
| 94 |
+
| **16k** | 3.770x | 3.77 | 0.3535% | 764,449 |
|
| 95 |
+
| **32k** | 4.098x | 4.10 | 0.3842% | 703,344 |
|
| 96 |
+
| **64k** | 4.347x 🏆 | 4.35 | 0.4076% | 662,946 |
|
| 97 |
+
|
| 98 |
+
### Tokenization Examples
|
| 99 |
+
|
| 100 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 101 |
+
|
| 102 |
+
**Sample 1:** `સિકર ભારત દેશના પશ્ચિમ ભાગમાં આવેલા રાજસ્થાન રાજ્યનું એક નગર છે. સિકરમાં સિકર જિ...`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁સિક ર ▁ભારત ▁દેશના ▁પશ્ચિમ ▁ભાગમાં ▁આવેલા ▁રાજસ્થાન ▁રાજ્યનું ▁એક ... (+11 more)` | 21 |
|
| 107 |
+
| 16k | `▁સિક ર ▁ભારત ▁દેશના ▁પશ્ચિમ ▁ભાગમાં ▁આવેલા ▁રાજસ્થાન ▁રાજ્યનું ▁એક ... (+11 more)` | 21 |
|
| 108 |
+
| 32k | `▁સિકર ▁ભારત ▁દેશના ▁પશ્ચિમ ▁ભાગમાં ▁આવેલા ▁રાજસ્થાન ▁રાજ્યનું ▁એક ▁નગર ... (+9 more)` | 19 |
|
| 109 |
+
| 64k | `▁સિકર ▁ભારત ▁દેશના ▁પશ્ચિમ ▁ભાગમાં ▁આવેલા ▁રાજસ્થાન ▁રાજ્યનું ▁એક ▁નગર ... (+9 more)` | 19 |
|
| 110 |
+
|
| 111 |
+
**Sample 2:** `હસમુખ પટેલ ગુજરાતના અમરઇવાડી લોકસભા મત વિસ્તારમાંથી લોકસભા ચૂંટણીમાં ભારતીય જનત...`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁હ સ મુખ ▁પટેલ ▁ગુજરાતના ▁અમર ▁ઇ વાડી ▁લોકસભા ▁મત ... (+14 more)` | 24 |
|
| 116 |
+
| 16k | `▁હસમુખ ▁પટેલ ▁ગુજરાતના ▁અમર ▁ઇ વાડી ▁લોકસભા ▁મત ▁વિસ્તારમાંથી ▁લોકસભા ... (+11 more)` | 21 |
|
| 117 |
+
| 32k | `▁હસમુખ ▁પટેલ ▁ગુજરાતના ▁અમર ▁ઇ વાડી ▁લોકસભા ▁મત ▁વિસ્તારમાંથી ▁લોકસભા ... (+11 more)` | 21 |
|
| 118 |
+
| 64k | `▁હસમુખ ▁પટેલ ▁ગુજરાતના ▁અમર ▁ઇ વાડી ▁લોકસભા ▁મત ▁વિસ્તારમાંથી ▁લોકસભા ... (+11 more)` | 21 |
|
| 119 |
+
|
| 120 |
+
**Sample 3:** `જય હિન્દ ગુજરાતી ભાષાનું એક રોજીંદુ સમાચારપત્ર છે. બાહ્ય કડીઓ જય હિન્દ વેબસાઇટ સ...`
|
| 121 |
+
|
| 122 |
+
| Vocab | Tokens | Count |
|
| 123 |
+
|-------|--------|-------|
|
| 124 |
+
| 8k | `▁જય ▁હિન્ દ ▁ગુજરાતી ▁ભાષાનું ▁એક ▁રો જી ંદુ ▁સમાચાર ... (+11 more)` | 21 |
|
| 125 |
+
| 16k | `▁જય ▁હિન્ દ ▁ગુજરાતી ▁ભાષાનું ▁એક ▁રોજી ંદુ ▁સમાચારપત્ર ▁છે ... (+8 more)` | 18 |
|
| 126 |
+
| 32k | `▁જય ▁હિન્દ ▁ગુજરાતી ▁ભાષાનું ▁એક ▁રોજી ંદુ ▁સમાચારપત્ર ▁છે . ... (+6 more)` | 16 |
|
| 127 |
+
| 64k | `▁જય ▁હિન્દ ▁ગુજરાતી ▁ભાષાનું ▁એક ▁રોજી ંદુ ▁સમાચારપત્ર ▁છે . ... (+6 more)` | 16 |
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Key Findings
|
| 131 |
+
|
| 132 |
+
- **Best Compression:** 64k achieves 4.347x compression
|
| 133 |
+
- **Lowest UNK Rate:** 8k with 0.3164% 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 | 10,698 | 13.39 | 125,204 | 30.7% | 48.0% |
|
| 151 |
+
| **2-gram** | Subword | 2,297 🏆 | 11.17 | 62,671 | 37.2% | 69.7% |
|
| 152 |
+
| **3-gram** | Word | 6,094 | 12.57 | 126,108 | 38.3% | 57.0% |
|
| 153 |
+
| **3-gram** | Subword | 19,412 | 14.24 | 340,527 | 15.1% | 39.0% |
|
| 154 |
+
| **4-gram** | Word | 4,835 | 12.24 | 174,488 | 42.1% | 62.1% |
|
| 155 |
+
| **4-gram** | Subword | 84,467 | 16.37 | 1,351,931 | 11.0% | 28.7% |
|
| 156 |
+
| **5-gram** | Word | 2,358 | 11.20 | 99,029 | 46.1% | 70.1% |
|
| 157 |
+
| **5-gram** | Subword | 171,415 | 17.39 | 2,092,817 | 9.1% | 24.9% |
|
| 158 |
+
|
| 159 |
+
### Top 5 N-grams by Size
|
| 160 |
+
|
| 161 |
+
**2-grams (Word):**
|
| 162 |
+
|
| 163 |
+
| Rank | N-gram | Count |
|
| 164 |
+
|------|--------|-------|
|
| 165 |
+
| 1 | `છે આ` | 59,392 |
|
| 166 |
+
| 2 | `તેમ જ` | 50,730 |
|
| 167 |
+
| 3 | `આવે છે` | 34,138 |
|
| 168 |
+
| 4 | `આ ગામમાં` | 33,314 |
|
| 169 |
+
| 5 | `ભાગમાં આવેલા` | 31,103 |
|
| 170 |
+
|
| 171 |
+
**3-grams (Word):**
|
| 172 |
+
|
| 173 |
+
| Rank | N-gram | Count |
|
| 174 |
+
|------|--------|-------|
|
| 175 |
+
| 1 | `છે આ ગામમાં` | 33,162 |
|
| 176 |
+
| 2 | `કરવામાં આવે છે` | 19,146 |
|
| 177 |
+
| 3 | `પશ્ચિમ ભાગમાં આવેલા` | 18,413 |
|
| 178 |
+
| 4 | `ભારત દેશના પશ્ચિમ` | 18,409 |
|
| 179 |
+
| 5 | `દેશના પશ્ચિમ ભાગમાં` | 18,400 |
|
| 180 |
+
|
| 181 |
+
**4-grams (Word):**
|
| 182 |
+
|
| 183 |
+
| Rank | N-gram | Count |
|
| 184 |
+
|------|--------|-------|
|
| 185 |
+
| 1 | `ભારત દેશના પશ્ચિમ ભાગમાં` | 18,398 |
|
| 186 |
+
| 2 | `દેશના પશ્ચિમ ભાગમાં આવેલા` | 18,367 |
|
| 187 |
+
| 3 | `પશ્ચિમ ભાગમાં આવેલા ગુજરાત` | 17,959 |
|
| 188 |
+
| 4 | `ભાગમાં આવેલા ગુજરાત રાજ્યના` | 17,656 |
|
| 189 |
+
| 5 | `લોકોનો મુખ્ય વ્યવસાય ખેતી` | 16,402 |
|
| 190 |
+
|
| 191 |
+
**5-grams (Word):**
|
| 192 |
+
|
| 193 |
+
| Rank | N-gram | Count |
|
| 194 |
+
|------|--------|-------|
|
| 195 |
+
| 1 | `ભારત દેશના પશ્ચિમ ભાગમાં આવેલા` | 18,365 |
|
| 196 |
+
| 2 | `દેશના પશ્ચિમ ભાગમાં આવેલા ગુજરાત` | 17,934 |
|
| 197 |
+
| 3 | `પશ્ચિમ ભાગમાં આવેલા ગુજરાત રાજ્યના` | 17,654 |
|
| 198 |
+
| 4 | `ગામના લોકોનો મુખ્ય વ્યવસાય ખેતી` | 16,093 |
|
| 199 |
+
| 5 | `લોકોનો મુખ્ય વ્યવસાય ખેતી ખેતમજૂરી` | 16,009 |
|
| 200 |
+
|
| 201 |
+
**2-grams (Subword):**
|
| 202 |
+
|
| 203 |
+
| Rank | N-gram | Count |
|
| 204 |
+
|------|--------|-------|
|
| 205 |
+
| 1 | `. _` | 427,913 |
|
| 206 |
+
| 2 | `, _` | 392,494 |
|
| 207 |
+
| 3 | `_ આ` | 387,226 |
|
| 208 |
+
| 4 | `માં _` | 379,145 |
|
| 209 |
+
| 5 | `_ અ` | 336,386 |
|
| 210 |
+
|
| 211 |
+
**3-grams (Subword):**
|
| 212 |
+
|
| 213 |
+
| Rank | N-gram | Count |
|
| 214 |
+
|------|--------|-------|
|
| 215 |
+
| 1 | `_ છે .` | 235,479 |
|
| 216 |
+
| 2 | `છે . _` | 225,048 |
|
| 217 |
+
| 3 | `_ અ ને` | 167,804 |
|
| 218 |
+
| 4 | `અ ને _` | 165,365 |
|
| 219 |
+
| 5 | `માં _ આ` | 149,526 |
|
| 220 |
+
|
| 221 |
+
**4-grams (Subword):**
|
| 222 |
+
|
| 223 |
+
| Rank | N-gram | Count |
|
| 224 |
+
|------|--------|-------|
|
| 225 |
+
| 1 | `_ છે . _` | 224,981 |
|
| 226 |
+
| 2 | `_ અ ને _` | 164,399 |
|
| 227 |
+
| 3 | `માં _ આ વે` | 110,493 |
|
| 228 |
+
| 4 | `. _ આ _` | 68,884 |
|
| 229 |
+
| 5 | `વા માં _ આ` | 67,045 |
|
| 230 |
+
|
| 231 |
+
**5-grams (Subword):**
|
| 232 |
+
|
| 233 |
+
| Rank | N-gram | Count |
|
| 234 |
+
|------|--------|-------|
|
| 235 |
+
| 1 | `_ છે . _ આ` | 62,651 |
|
| 236 |
+
| 2 | `છે . _ આ _` | 57,724 |
|
| 237 |
+
| 3 | `_ આ વે લા _` | 56,800 |
|
| 238 |
+
| 4 | `માં _ આ વે લા` | 53,829 |
|
| 239 |
+
| 5 | `_ તે મ _ જ` | 50,773 |
|
| 240 |
+
|
| 241 |
+
|
| 242 |
+
### Key Findings
|
| 243 |
+
|
| 244 |
+
- **Best Perplexity:** 2-gram (subword) with 2,297
|
| 245 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 246 |
+
- **Coverage:** Top-1000 patterns cover ~25% 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.8634 | 1.819 | 7.06 | 458,692 | 13.7% |
|
| 263 |
+
| **1** | Subword | 0.9952 | 1.993 | 15.09 | 11,981 | 0.5% |
|
| 264 |
+
| **2** | Word | 0.2300 | 1.173 | 1.59 | 3,234,951 | 77.0% |
|
| 265 |
+
| **2** | Subword | 0.6872 | 1.610 | 5.08 | 180,749 | 31.3% |
|
| 266 |
+
| **3** | Word | 0.0669 | 1.047 | 1.13 | 5,125,144 | 93.3% |
|
| 267 |
+
| **3** | Subword | 0.5539 | 1.468 | 3.49 | 917,629 | 44.6% |
|
| 268 |
+
| **4** | Word | 0.0220 🏆 | 1.015 | 1.04 | 5,806,762 | 97.8% |
|
| 269 |
+
| **4** | Subword | 0.4165 | 1.335 | 2.13 | 3,199,363 | 58.3% |
|
| 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. `છે તે સામેલ કરવાનો છે એઆરડીએ arda ના વેટરર્નસ ઘડાયેલા સ્તંભો વિમલ સંધિવિગ્રહિક દામોદર ઠાકરસી મહિલા`
|
| 278 |
+
2. `અને એ ઇ સ્મિથ એંથની જીડેંસ મિશેલ ચાર્લ્સ સ્ટેઇનમેટ્ઝ અને ગાયક તરીકે પસંદ નથી તેમણે સ્ટેલીના`
|
| 279 |
+
3. `આ ગામમાં પ્રાથમિક શાળા તેમ જ દૂધની ડેરી જેવી સવલતો પ્રાપ્ય થયેલી છે સંદર્ભ કર્યા છે`
|
| 280 |
+
|
| 281 |
+
**Context Size 2:**
|
| 282 |
+
|
| 283 |
+
1. `છે આ ગામ સ્થાપિત સહયોગ કુષ્ટ યજ્ઞ ટ્રસ્ટ નામની સંસ્થા પણ જીવનસંચારવાદ પણ શીખવે છે તે દરમિયાન`
|
| 284 |
+
2. `તેમ જ અન્ય શાકભાજીના પાકની ખેતી કરવામાં આવે છે આ શહેરની અર્થતંત્રએ ભારતમા દસમો ક્રમ ધરાવે છે`
|
| 285 |
+
3. `આવે છે જો કે બંગાળીઓ વિશે કેટલીક કાલ્પનિક વાર્તાઓ ડબ્લ્યુડબ્લ્યુઇમાં બિહાઇન્ડ ધ પેઇન્ટેડ સ્માઇલ માં ...`
|
| 286 |
+
|
| 287 |
+
**Context Size 3:**
|
| 288 |
+
|
| 289 |
+
1. `છે આ ગામમાં પ્રાથમિક શાળા આંગણવાડી પંચાયતઘર દૂધની ડેરી વગેરે સવલતો પ્રાપ્ય છે ગામના લોકો વ્યવસાયમાં ...`
|
| 290 |
+
2. `કરવામાં આવે છે આ તત્વનું નામ મેન્ડેલિવીયમ ને શુદ્ધ અને ઉપયોગિ રસાયણ શાસ્તની આંતરરાષ્ટ્રીય સંસ્થા દ્વ...`
|
| 291 |
+
3. `પશ્ચિમ ભાગમાં આવેલા ગુજરાત રાજ્યના મધ્ય ભાગમાં આવેલા પંચમહાલ જિલ્લામાં આવેલા કુલ ૬ છ તાલુકાઓ પૈકીના ...`
|
| 292 |
+
|
| 293 |
+
**Context Size 4:**
|
| 294 |
+
|
| 295 |
+
1. `ભારત દેશના પશ્ચિમ ભાગમાં આવેલા ગુજરાત રાજ્યમાં આવેલા સૌરાષ્ટ્ર વિસ્તારમાં આવેલા પોરબંદર જિલ્લામાં આવ...`
|
| 296 |
+
2. `દેશના પશ્ચિમ ભાગમાં આવેલા ગુજરાત રાજ્યના દક્ષિણ ભાગમાં આવેલા તાપી જિલ્લાના કુલ ૭ સાત તાલુકાઓ પૈકીના ...`
|
| 297 |
+
3. `પશ્ચિમ ભાગમાં આવેલા ગુજરાત રાજ્યના ઉત્તર પૂર્વ ભાગમાં આવેલા અરવલ્લી જિલ્લામાં આવેલા કુલ ૬ છ તાલુકાઓ ...`
|
| 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. `_મેજયેલી_રોજના_અને_અને_`
|
| 307 |
+
2. `રજકોનો_તા_દરાજ્યની_મ��ટેની_`
|
| 308 |
+
3. `કર_hie_સ્વતંત્ર્ય_તાં_પદ્ધની`
|
| 309 |
+
|
| 310 |
+
**Context Size 2:**
|
| 311 |
+
|
| 312 |
+
1. `._૧૯_રોહિતો_અને_ભારત_મા`
|
| 313 |
+
2. `,_entના_પાકની_ઉત્તરાધિક_`
|
| 314 |
+
3. `_આર_સૂર્યના_મૃત્યુ_ગાંધીનગર,`
|
| 315 |
+
|
| 316 |
+
**Context Size 3:**
|
| 317 |
+
|
| 318 |
+
1. `_છે._આ_ગામમાં_મુખ્યત્વે_આદિવાસી`
|
| 319 |
+
2. `છે._તાલુકો_ખેતી_કરવાની_પણ_`
|
| 320 |
+
3. `_અનેક_આવેલા_અભ્યાસ_દ્વારા_પહોં`
|
| 321 |
+
|
| 322 |
+
**Context Size 4:**
|
| 323 |
+
|
| 324 |
+
1. `_છે._ગોડ્ડામાં_ગોડ્ડા_જિલ્લામાં_આવેલા_`
|
| 325 |
+
2. `_અને_ક્લાસિકલ_માર્ગ_પર_એમિગાઃ_`
|
| 326 |
+
3. `માં_આવે_ત્યારે_બાસાલ્ટિક_કે_દારૂનુ_`
|
| 327 |
+
|
| 328 |
+
|
| 329 |
+
### Key Findings
|
| 330 |
+
|
| 331 |
+
- **Best Predictability:** Context-4 (word) with 97.8% predictability
|
| 332 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 333 |
+
- **Memory Trade-off:** Larger contexts require more storage (3,199,363 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 | 193,639 |
|
| 350 |
+
| Total Tokens | 7,238,200 |
|
| 351 |
+
| Mean Frequency | 37.38 |
|
| 352 |
+
| Median Frequency | 4 |
|
| 353 |
+
| Frequency Std Dev | 1013.36 |
|
| 354 |
+
|
| 355 |
+
### Most Common Words
|
| 356 |
+
|
| 357 |
+
| Rank | Word | Frequency |
|
| 358 |
+
|------|------|-----------|
|
| 359 |
+
| 1 | છે | 321,831 |
|
| 360 |
+
| 2 | અને | 165,458 |
|
| 361 |
+
| 3 | આ | 104,369 |
|
| 362 |
+
| 4 | જ | 69,831 |
|
| 363 |
+
| 5 | એક | 66,411 |
|
| 364 |
+
| 6 | આવેલા | 56,885 |
|
| 365 |
+
| 7 | તેમ | 53,009 |
|
| 366 |
+
| 8 | કે | 43,256 |
|
| 367 |
+
| 9 | ગામમાં | 39,326 |
|
| 368 |
+
| 10 | માટે | 39,310 |
|
| 369 |
+
|
| 370 |
+
### Least Common Words (from vocabulary)
|
| 371 |
+
|
| 372 |
+
| Rank | Word | Frequency |
|
| 373 |
+
|------|------|-----------|
|
| 374 |
+
| 1 | લંપુરને | 2 |
|
| 375 |
+
| 2 | શ્રુહાદ | 2 |
|
| 376 |
+
| 3 | ફાર્મહાઉસમાં | 2 |
|
| 377 |
+
| 4 | જંબુદ્દીવપણ્ણત્તિ | 2 |
|
| 378 |
+
| 5 | જંબુસામિચરિઉ | 2 |
|
| 379 |
+
| 6 | સુધર્મસ્વામી | 2 |
|
| 380 |
+
| 7 | જંબુને | 2 |
|
| 381 |
+
| 8 | વૈરાગ્યવિરોધી | 2 |
|
| 382 |
+
| 9 | જંબુની | 2 |
|
| 383 |
+
| 10 | સુધર્માસ્વામીએ | 2 |
|
| 384 |
+
|
| 385 |
+
### Zipf's Law Analysis
|
| 386 |
+
|
| 387 |
+
| Metric | Value |
|
| 388 |
+
|--------|-------|
|
| 389 |
+
| Zipf Coefficient | 1.0403 |
|
| 390 |
+
| R² (Goodness of Fit) | 0.997228 |
|
| 391 |
+
| Adherence Quality | **excellent** |
|
| 392 |
+
|
| 393 |
+
### Coverage Analysis
|
| 394 |
+
|
| 395 |
+
| Top N Words | Coverage |
|
| 396 |
+
|-------------|----------|
|
| 397 |
+
| Top 100 | 34.5% |
|
| 398 |
+
| Top 1,000 | 58.3% |
|
| 399 |
+
| Top 5,000 | 75.1% |
|
| 400 |
+
| Top 10,000 | 81.6% |
|
| 401 |
+
|
| 402 |
+
### Key Findings
|
| 403 |
+
|
| 404 |
+
- **Zipf Compliance:** R²=0.9972 indicates excellent adherence to Zipf's law
|
| 405 |
+
- **High Frequency Dominance:** Top 100 words cover 34.5% of corpus
|
| 406 |
+
- **Long Tail:** 183,639 words needed for remaining 18.4% 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.7412 | 0.3587 | N/A | N/A |
|
| 432 |
+
| **mono_64d** | 64 | 0.7575 | 0.2728 | N/A | N/A |
|
| 433 |
+
| **mono_128d** | 128 | 0.7575 🏆 | 0.2077 | N/A | N/A |
|
| 434 |
+
| **aligned_32d** | 32 | 0.7412 | 0.3577 | 0.0380 | 0.1860 |
|
| 435 |
+
| **aligned_64d** | 64 | 0.7575 | 0.2690 | 0.0580 | 0.2540 |
|
| 436 |
+
| **aligned_128d** | 128 | 0.7575 | 0.2042 | 0.0660 | 0.2820 |
|
| 437 |
+
|
| 438 |
+
### Key Findings
|
| 439 |
+
|
| 440 |
+
- **Best Isotropy:** mono_128d with 0.7575 (more uniform distribution)
|
| 441 |
+
- **Semantic Density:** Average pairwise similarity of 0.2783. Lower values indicate better semantic separation.
|
| 442 |
+
- **Alignment Quality:** Aligned models achieve up to 6.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 | **3.181** | High morphological productivity | Reliable analysis |
|
| 455 |
+
| Idiomaticity Gap | **1.816** | 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 |
+
| `-સ` | સંસ્કૃતભાષામાં, સામાન્યત, સ્થપાતી |
|
| 465 |
+
| `-ક` | કોબોલ્ડ, કાલક્રમાનુસાર, કાળજીપુર્વક |
|
| 466 |
+
| `-મ` | મિંઢા, મહાવીરને, માયથિકલ |
|
| 467 |
+
| `-પ` | પોપચા, પાડવા, પંચગવ્ય |
|
| 468 |
+
| `-બ` | બૉલની, બલાઢા, બિન્કસ |
|
| 469 |
+
| `-વ` | વાસ્તે, વાલીના, વિદેશોની |
|
| 470 |
+
| `-ર` | રેટની, રાસમસ, રેતીયાની |
|
| 471 |
+
| `-અ` | અવસ્થાના, અપ્રમાણિકતાનો, અતુલનીય |
|
| 472 |
+
|
| 473 |
+
#### Productive Suffixes
|
| 474 |
+
| Suffix | Examples |
|
| 475 |
+
|--------|----------|
|
| 476 |
+
| `-ર` | કાલક્રમાનુસાર, ઈન્કાર, છાપર |
|
| 477 |
+
| `-ન` | નાસારિસ્તાન, ફિઝિશ્યન, અંકન |
|
| 478 |
+
| `-સ` | બિન્કસ, રાસમસ, ન્યૂટ્સ |
|
| 479 |
+
| `-ક` | આસ્ક, કાળજીપુર્વક, ટેલિફોનિક |
|
| 480 |
+
| `-લ` | માયથિકલ, ખારોલ, લીવરપૂલ |
|
| 481 |
+
| `-ટ` | ઓરિએન્ટ, બેરોનેટ, કન્ફ્લિક્ટ |
|
| 482 |
+
| `-એ` | શાલ્વએ, વેબએ, ટેસ્લાએ |
|
| 483 |
+
| `-s` | guianensis, libraries, rhodes |
|
| 484 |
+
|
| 485 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 486 |
+
|
| 487 |
+
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.
|
| 488 |
+
|
| 489 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 490 |
+
|------|----------|------------------|----------|
|
| 491 |
+
| `tion` | 3.61x | 29 contexts | motion, nation, notion |
|
| 492 |
+
| `atio` | 3.66x | 25 contexts | ratio, nation, station |
|
| 493 |
+
| `indi` | 3.58x | 24 contexts | india, hindi, indic |
|
| 494 |
+
| `વનગર` | 3.22x | 14 contexts | ઇવનગર, ધુવનગર, ભાવનગર |
|
| 495 |
+
| `નવલક` | 3.19x | 5 contexts | નવલકથા, નવલકથાએ, નવલકથાઓ |
|
| 496 |
+
|
| 497 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 498 |
+
|
| 499 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 500 |
+
|
| 501 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 502 |
+
|--------|--------|-----------|----------|
|
| 503 |
+
| `-ક` | `-ન` | 26 words | કુલન, ક્રુશિયન |
|
| 504 |
+
| `-સ` | `-સ` | 25 words | સ્પીકર્સ, સેટેલાઇટ્સ |
|
| 505 |
+
| `-ક` | `-સ` | 22 words | કનેક્શન્સ, કાલપેર્સ |
|
| 506 |
+
| `-ક` | `-ર` | 22 words | કેલનર, કૃષ્ણકુમાર |
|
| 507 |
+
| `-સ` | `-ક` | 18 words | સબસોનિક, સ્ટ્રેટેજીક |
|
| 508 |
+
| `-સ` | `-ર` | 17 words | સુમેર, સ્ટ્રાઈકર |
|
| 509 |
+
| `-પ` | `-ર` | 17 words | પાઉડર, પીયર |
|
| 510 |
+
| `-સ` | `-ન` | 17 words | સફરજન, સવેન |
|
| 511 |
+
| `-મ` | `-ન` | 16 words | માર્જીન, મિત્રસેન |
|
| 512 |
+
| `-પ` | `-ન` | 16 words | પરાધીન, પ્રણોદન |
|
| 513 |
+
|
| 514 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 515 |
+
|
| 516 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 517 |
+
|
| 518 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 519 |
+
|------|-----------------|------------|------|
|
| 520 |
+
| conventional | **`convention-al`** | 4.5 | `convention` |
|
| 521 |
+
| કસોટીઓમાં | **`ક-સ-ોટીઓમાં`** | 4.5 | `ોટીઓમાં` |
|
| 522 |
+
| એનડબલ્યુએ | **`એનડબલ્યુ-એ`** | 4.5 | `એનડબલ્યુ` |
|
| 523 |
+
| ઇન્સ્ટ્રુમેન્ટલ | **`ઇન્સ્ટ્રુમેન્ટ-લ`** | 4.5 | `ઇન્સ્ટ્રુમેન્ટ` |
|
| 524 |
+
| અવિશ્વાસની | **`અ-વિશ્વાસની`** | 4.5 | `વિશ્વાસની` |
|
| 525 |
+
| હેલેનીકોન | **`હેલેનીકો-ન`** | 4.5 | `હેલેનીકો` |
|
| 526 |
+
| manifestations | **`manifestation-s`** | 4.5 | `manifestation` |
|
| 527 |
+
| ટેકનોલોજીએ | **`ટેકનોલોજી-એ`** | 4.5 | `ટેકનોલોજી` |
|
| 528 |
+
| festivals | **`festival-s`** | 4.5 | `festival` |
|
| 529 |
+
| citations | **`citation-s`** | 4.5 | `citation` |
|
| 530 |
+
| લક્ષણોમાં | **`લ-ક્ષણોમાં`** | 4.5 | `ક્ષણોમાં` |
|
| 531 |
+
| પહોંચાડવામાં | **`પ-હ-ોંચાડવામાં`** | 4.5 | `ોંચાડવામાં` |
|
| 532 |
+
| બિનસહસંયોજક | **`બ-િનસહસંયોજ-ક`** | 3.0 | `િનસહસંયોજ` |
|
| 533 |
+
| રુખમાબાઈને | **`ર-ુખમાબાઈને`** | 1.5 | `ુખમાબાઈને` |
|
| 534 |
+
| ભવિષ્યકથન | **`ભવિષ્યકથ-ન`** | 1.5 | `ભવિષ્યકથ` |
|
| 535 |
+
|
| 536 |
+
### 6.6 Linguistic Interpretation
|
| 537 |
+
|
| 538 |
+
> **Automated Insight:**
|
| 539 |
+
The language Gujarati shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 540 |
+
|
| 541 |
+
> **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.
|
| 542 |
+
|
| 543 |
+
---
|
| 544 |
+
## 7. Summary & Recommendations
|
| 545 |
+
|
| 546 |
+

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