Upload all models and assets for it (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +230 -0
- RESEARCH_REPORT.md +686 -0
- it_morph_tokenizer.json +0 -0
- models/embeddings/aligned/it_128d.bin +3 -0
- models/embeddings/aligned/it_128d.meta.json +1 -0
- models/embeddings/aligned/it_128d.projection.npy +3 -0
- models/embeddings/aligned/it_128d_metadata.json +8 -0
- models/embeddings/aligned/it_32d.bin +3 -0
- models/embeddings/aligned/it_32d.meta.json +1 -0
- models/embeddings/aligned/it_32d.projection.npy +3 -0
- models/embeddings/aligned/it_32d_metadata.json +8 -0
- models/embeddings/aligned/it_64d.bin +3 -0
- models/embeddings/aligned/it_64d.meta.json +1 -0
- models/embeddings/aligned/it_64d.projection.npy +3 -0
- models/embeddings/aligned/it_64d_metadata.json +8 -0
- models/embeddings/monolingual/it_128d.bin +3 -0
- models/embeddings/monolingual/it_128d.meta.json +1 -0
- models/embeddings/monolingual/it_128d_metadata.json +16 -0
- models/embeddings/monolingual/it_32d.bin +3 -0
- models/embeddings/monolingual/it_32d.meta.json +1 -0
- models/embeddings/monolingual/it_32d_metadata.json +16 -0
- models/embeddings/monolingual/it_64d.bin +3 -0
- models/embeddings/monolingual/it_64d.meta.json +1 -0
- models/embeddings/monolingual/it_64d_metadata.json +16 -0
- models/subword_markov/it_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/it_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/it_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/it_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/it_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/it_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/it_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/it_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/it_2gram_subword.parquet +3 -0
- models/subword_ngram/it_2gram_subword_metadata.json +7 -0
- models/subword_ngram/it_3gram_subword.parquet +3 -0
- models/subword_ngram/it_3gram_subword_metadata.json +7 -0
- models/subword_ngram/it_4gram_subword.parquet +3 -0
- models/subword_ngram/it_4gram_subword_metadata.json +7 -0
- models/subword_ngram/it_5gram_subword.parquet +3 -0
- models/subword_ngram/it_5gram_subword_metadata.json +7 -0
- models/tokenizer/it_tokenizer_16k.model +3 -0
- models/tokenizer/it_tokenizer_16k.vocab +0 -0
- models/tokenizer/it_tokenizer_32k.model +3 -0
- models/tokenizer/it_tokenizer_32k.vocab +0 -0
- models/tokenizer/it_tokenizer_64k.model +3 -0
- models/tokenizer/it_tokenizer_64k.vocab +0 -0
- models/tokenizer/it_tokenizer_8k.model +3 -0
- models/tokenizer/it_tokenizer_8k.vocab +0 -0
- models/vocabulary/it_vocabulary.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
visualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: it
|
| 3 |
+
language_name: Italian
|
| 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.817
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.7834
|
| 40 |
+
- name: best_alignment_r10
|
| 41 |
+
type: alignment
|
| 42 |
+
value: 0.9340
|
| 43 |
+
- name: vocabulary_size
|
| 44 |
+
type: vocab
|
| 45 |
+
value: 511837
|
| 46 |
+
generated: 2026-03-03
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
# Italian — Wikilangs Models
|
| 50 |
+
|
| 51 |
+
Open-source tokenizers, n-gram & Markov language models, vocabulary stats, and word embeddings trained on **Italian** Wikipedia by [Wikilangs](https://wikilangs.org).
|
| 52 |
+
|
| 53 |
+
🌐 [Language Page](https://wikilangs.org/languages/it/) · 🎮 [Playground](https://wikilangs.org/playground/?lang=it) · 📊 [Full Research Report](RESEARCH_REPORT.md)
|
| 54 |
+
|
| 55 |
+
## Language Samples
|
| 56 |
+
|
| 57 |
+
Example sentences drawn from the Italian Wikipedia corpus:
|
| 58 |
+
|
| 59 |
+
> Eventi, invenzioni e scoperte Personaggi nasce Dante Alighieri Altri progetti 07
|
| 60 |
+
|
| 61 |
+
> Eventi, invenzioni e scoperte Periodo della Grande carestia del Personaggi Giovanni Boccaccio nasce nel luglio Altri progetti 02
|
| 62 |
+
|
| 63 |
+
> Eventi, invenzioni e scoperte Fine della cattività avignonese A Vicenza venne sparato il primo fuoco d'artificio Europeo. Personaggi Altri progetti 08
|
| 64 |
+
|
| 65 |
+
> Eventi, invenzioni e scoperte Personaggi ... Altri progetti 09
|
| 66 |
+
|
| 67 |
+
> Eventi, invenzioni e scoperte Viene inventato il Lapis Benjamin Franklin inventa il Parafulmine. Personaggi Wolfgang Amadeus Mozart Altri progetti 06
|
| 68 |
+
|
| 69 |
+
## Quick Start
|
| 70 |
+
|
| 71 |
+
### Load the Tokenizer
|
| 72 |
+
|
| 73 |
+
```python
|
| 74 |
+
import sentencepiece as spm
|
| 75 |
+
|
| 76 |
+
sp = spm.SentencePieceProcessor()
|
| 77 |
+
sp.Load("it_tokenizer_32k.model")
|
| 78 |
+
|
| 79 |
+
text = "Eventi, invenzioni e scoperte Viene inventato il Lapis Benjamin Franklin inventa"
|
| 80 |
+
tokens = sp.EncodeAsPieces(text)
|
| 81 |
+
ids = sp.EncodeAsIds(text)
|
| 82 |
+
|
| 83 |
+
print(tokens) # subword pieces
|
| 84 |
+
print(ids) # integer ids
|
| 85 |
+
|
| 86 |
+
# Decode back
|
| 87 |
+
print(sp.DecodeIds(ids))
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
<details>
|
| 91 |
+
<summary><b>Tokenization examples (click to expand)</b></summary>
|
| 92 |
+
|
| 93 |
+
**Sample 1:** `Eventi, invenzioni e scoperte Viene inventato il Lapis Benjamin Franklin inventa…`
|
| 94 |
+
|
| 95 |
+
| Vocab | Tokens | Count |
|
| 96 |
+
|-------|--------|-------|
|
| 97 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inv entato ▁il ▁la … (+29 more)` | 39 |
|
| 98 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis … (+21 more)` | 31 |
|
| 99 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis … (+17 more)` | 27 |
|
| 100 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis … (+17 more)` | 27 |
|
| 101 |
+
|
| 102 |
+
**Sample 2:** `Eventi, invenzioni e scoperte Roma - Inaugurazione del Colosseo Personaggi 81 Ro…`
|
| 103 |
+
|
| 104 |
+
| Vocab | Tokens | Count |
|
| 105 |
+
|-------|--------|-------|
|
| 106 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugu razione ▁del … (+19 more)` | 29 |
|
| 107 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugu razione ▁del … (+19 more)` | 29 |
|
| 108 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugurazione ▁del ▁colo … (+18 more)` | 28 |
|
| 109 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugurazione ▁del ▁colosseo … (+16 more)` | 26 |
|
| 110 |
+
|
| 111 |
+
**Sample 3:** `Eventi, invenzioni e scoperte Fine della cattività avignonese A Vicenza venne sp…`
|
| 112 |
+
|
| 113 |
+
| Vocab | Tokens | Count |
|
| 114 |
+
|-------|--------|-------|
|
| 115 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca tti vità … (+23 more)` | 33 |
|
| 116 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca ttività ▁avi … (+22 more)` | 32 |
|
| 117 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca ttività ▁avi … (+22 more)` | 32 |
|
| 118 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁cattività ▁avignon ese … (+18 more)` | 28 |
|
| 119 |
+
|
| 120 |
+
</details>
|
| 121 |
+
|
| 122 |
+
### Load Word Embeddings
|
| 123 |
+
|
| 124 |
+
```python
|
| 125 |
+
from gensim.models import KeyedVectors
|
| 126 |
+
|
| 127 |
+
# Aligned embeddings (cross-lingual, mapped to English vector space)
|
| 128 |
+
wv = KeyedVectors.load("it_embeddings_128d_aligned.kv")
|
| 129 |
+
|
| 130 |
+
similar = wv.most_similar("word", topn=5)
|
| 131 |
+
for word, score in similar:
|
| 132 |
+
print(f" {word}: {score:.3f}")
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
### Load N-gram Model
|
| 136 |
+
|
| 137 |
+
```python
|
| 138 |
+
import pyarrow.parquet as pq
|
| 139 |
+
|
| 140 |
+
df = pq.read_table("it_3gram_word.parquet").to_pandas()
|
| 141 |
+
print(df.head())
|
| 142 |
+
```
|
| 143 |
+
|
| 144 |
+
## Models Overview
|
| 145 |
+
|
| 146 |
+

|
| 147 |
+
|
| 148 |
+
| Category | Assets |
|
| 149 |
+
|----------|--------|
|
| 150 |
+
| Tokenizers | BPE at 8k, 16k, 32k, 64k vocab sizes |
|
| 151 |
+
| N-gram models | 2 / 3 / 4 / 5-gram (word & subword) |
|
| 152 |
+
| Markov chains | Context 1–5 (word & subword) |
|
| 153 |
+
| Embeddings | 32d, 64d, 128d — mono & aligned |
|
| 154 |
+
| Vocabulary | Full frequency list + Zipf analysis |
|
| 155 |
+
| Statistics | Corpus & model statistics JSON |
|
| 156 |
+
|
| 157 |
+
## Metrics Summary
|
| 158 |
+
|
| 159 |
+
| Component | Model | Key Metric | Value |
|
| 160 |
+
|-----------|-------|------------|-------|
|
| 161 |
+
| Tokenizer | 8k BPE | Compression | 3.86x |
|
| 162 |
+
| Tokenizer | 16k BPE | Compression | 4.25x |
|
| 163 |
+
| Tokenizer | 32k BPE | Compression | 4.58x |
|
| 164 |
+
| Tokenizer | 64k BPE | Compression | 4.82x 🏆 |
|
| 165 |
+
| N-gram | 2-gram (subword) | Perplexity | 214 🏆 |
|
| 166 |
+
| N-gram | 2-gram (word) | Perplexity | 204,245 |
|
| 167 |
+
| N-gram | 3-gram (subword) | Perplexity | 1,722 |
|
| 168 |
+
| N-gram | 3-gram (word) | Perplexity | 980,193 |
|
| 169 |
+
| N-gram | 4-gram (subword) | Perplexity | 10,064 |
|
| 170 |
+
| N-gram | 4-gram (word) | Perplexity | 1,937,953 |
|
| 171 |
+
| N-gram | 5-gram (subword) | Perplexity | 43,596 |
|
| 172 |
+
| N-gram | 5-gram (word) | Perplexity | 1,090,157 |
|
| 173 |
+
| Markov | ctx-1 (subword) | Predictability | 0.0% |
|
| 174 |
+
| Markov | ctx-1 (word) | Predictability | 0.0% |
|
| 175 |
+
| Markov | ctx-2 (subword) | Predictability | 32.2% |
|
| 176 |
+
| Markov | ctx-2 (word) | Predictability | 53.2% |
|
| 177 |
+
| Markov | ctx-3 (subword) | Predictability | 27.9% |
|
| 178 |
+
| Markov | ctx-3 (word) | Predictability | 79.8% |
|
| 179 |
+
| Markov | ctx-4 (subword) | Predictability | 32.0% |
|
| 180 |
+
| Markov | ctx-4 (word) | Predictability | 92.6% 🏆 |
|
| 181 |
+
| Vocabulary | full | Size | 511,837 |
|
| 182 |
+
| Vocabulary | full | Zipf R² | 0.9968 |
|
| 183 |
+
| Embeddings | mono_32d | Isotropy | 0.7834 |
|
| 184 |
+
| Embeddings | mono_64d | Isotropy | 0.7465 |
|
| 185 |
+
| Embeddings | mono_128d | Isotropy | 0.6690 |
|
| 186 |
+
| Embeddings | aligned_32d | Isotropy | 0.7834 🏆 |
|
| 187 |
+
| Embeddings | aligned_64d | Isotropy | 0.7465 |
|
| 188 |
+
| Embeddings | aligned_128d | Isotropy | 0.6690 |
|
| 189 |
+
| Alignment | aligned_32d | R@1 / R@5 / R@10 | 39.2% / 64.2% / 74.8% |
|
| 190 |
+
| Alignment | aligned_64d | R@1 / R@5 / R@10 | 60.6% / 81.4% / 85.8% |
|
| 191 |
+
| Alignment | aligned_128d | R@1 / R@5 / R@10 | 67.8% / 88.8% / 93.4% 🏆 |
|
| 192 |
+
|
| 193 |
+
📊 **[Full ablation study, per-model breakdowns, and interpretation guide →](RESEARCH_REPORT.md)**
|
| 194 |
+
|
| 195 |
+
---
|
| 196 |
+
|
| 197 |
+
## About
|
| 198 |
+
|
| 199 |
+
Trained on [wikipedia-monthly](https://huggingface.co/datasets/omarkamali/wikipedia-monthly) — monthly snapshots of 300+ Wikipedia languages.
|
| 200 |
+
|
| 201 |
+
A project by **[Wikilangs](https://wikilangs.org)** · Maintainer: [Omar Kamali](https://omarkamali.com) · [Omneity Labs](https://omneitylabs.com)
|
| 202 |
+
|
| 203 |
+
### Citation
|
| 204 |
+
|
| 205 |
+
```bibtex
|
| 206 |
+
@misc{wikilangs2025,
|
| 207 |
+
author = {Kamali, Omar},
|
| 208 |
+
title = {Wikilangs: Open NLP Models for Wikipedia Languages},
|
| 209 |
+
year = {2025},
|
| 210 |
+
doi = {10.5281/zenodo.18073153},
|
| 211 |
+
publisher = {Zenodo},
|
| 212 |
+
url = {https://huggingface.co/wikilangs},
|
| 213 |
+
institution = {Omneity Labs}
|
| 214 |
+
}
|
| 215 |
+
```
|
| 216 |
+
|
| 217 |
+
### Links
|
| 218 |
+
|
| 219 |
+
- 🌐 [wikilangs.org](https://wikilangs.org)
|
| 220 |
+
- 🌍 [Language page](https://wikilangs.org/languages/it/)
|
| 221 |
+
- 🎮 [Playground](https://wikilangs.org/playground/?lang=it)
|
| 222 |
+
- 🤗 [HuggingFace models](https://huggingface.co/wikilangs)
|
| 223 |
+
- 📊 [wikipedia-monthly dataset](https://huggingface.co/datasets/omarkamali/wikipedia-monthly)
|
| 224 |
+
- 👤 [Omar Kamali](https://huggingface.co/omarkamali)
|
| 225 |
+
- 🤝 Sponsor: [Featherless AI](https://featherless.ai)
|
| 226 |
+
|
| 227 |
+
**License:** MIT — free for academic and commercial use.
|
| 228 |
+
|
| 229 |
+
---
|
| 230 |
+
*Generated by Wikilangs Pipeline · 2026-03-03 11:41:08*
|
RESEARCH_REPORT.md
ADDED
|
@@ -0,0 +1,686 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Italian — Full Ablation Study & Research Report
|
| 2 |
+
|
| 3 |
+
Detailed evaluation of all model variants trained on **Italian** Wikipedia data by [Wikilangs](https://wikilangs.org).
|
| 4 |
+
|
| 5 |
+
👈 [Back to README](README.md)
|
| 6 |
+
|
| 7 |
+
## 📋 Repository Contents
|
| 8 |
+
|
| 9 |
+
### Models & Assets
|
| 10 |
+
|
| 11 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 12 |
+
- N-gram models (2, 3, 4, 5-gram)
|
| 13 |
+
- Markov chains (context of 1, 2, 3, 4 and 5)
|
| 14 |
+
- Subword N-gram and Markov chains
|
| 15 |
+
- Embeddings in various sizes and dimensions (aligned and unaligned)
|
| 16 |
+
- Language Vocabulary
|
| 17 |
+
- Language Statistics
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
### Analysis and Evaluation
|
| 22 |
+
|
| 23 |
+
- [1. Tokenizer Evaluation](#1-tokenizer-evaluation)
|
| 24 |
+
- [2. N-gram Model Evaluation](#2-n-gram-model-evaluation)
|
| 25 |
+
- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)
|
| 26 |
+
- [4. Vocabulary Analysis](#4-vocabulary-analysis)
|
| 27 |
+
- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)
|
| 28 |
+
- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)
|
| 29 |
+
- [7. Summary & Recommendations](#7-summary--recommendations)
|
| 30 |
+
- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)
|
| 31 |
+
- [Visualizations Index](#visualizations-index)
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
## 1. Tokenizer Evaluation
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+

|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+

|
| 43 |
+
|
| 44 |
+
### Results
|
| 45 |
+
|
| 46 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 47 |
+
|------------|-------------|---------------|----------|--------------|
|
| 48 |
+
| **8k** | 3.856x | 3.86 | 0.1569% | 3,369,266 |
|
| 49 |
+
| **16k** | 4.248x | 4.25 | 0.1729% | 3,057,865 |
|
| 50 |
+
| **32k** | 4.578x | 4.58 | 0.1863% | 2,837,619 |
|
| 51 |
+
| **64k** | 4.817x 🏆 | 4.82 | 0.1960% | 2,696,638 |
|
| 52 |
+
|
| 53 |
+
### Tokenization Examples
|
| 54 |
+
|
| 55 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 56 |
+
|
| 57 |
+
**Sample 1:** `Eventi, invenzioni e scoperte Viene inventato il Lapis Benjamin Franklin inventa...`
|
| 58 |
+
|
| 59 |
+
| Vocab | Tokens | Count |
|
| 60 |
+
|-------|--------|-------|
|
| 61 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inv entato ▁il ▁la ... (+29 more)` | 39 |
|
| 62 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis ... (+21 more)` | 31 |
|
| 63 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis ... (+17 more)` | 27 |
|
| 64 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁viene ▁inventato ▁il ▁la pis ... (+17 more)` | 27 |
|
| 65 |
+
|
| 66 |
+
**Sample 2:** `Eventi, invenzioni e scoperte Roma - Inaugurazione del Colosseo Personaggi 81 Ro...`
|
| 67 |
+
|
| 68 |
+
| Vocab | Tokens | Count |
|
| 69 |
+
|-------|--------|-------|
|
| 70 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugu razione ▁del ... (+19 more)` | 29 |
|
| 71 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugu razione ▁del ... (+19 more)` | 29 |
|
| 72 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugurazione ▁del ▁colo ... (+18 more)` | 28 |
|
| 73 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁roma ▁- ▁inaugurazione ▁del ▁colosseo ... (+16 more)` | 26 |
|
| 74 |
+
|
| 75 |
+
**Sample 3:** `Eventi, invenzioni e scoperte Fine della cattività avignonese A Vicenza venne sp...`
|
| 76 |
+
|
| 77 |
+
| Vocab | Tokens | Count |
|
| 78 |
+
|-------|--------|-------|
|
| 79 |
+
| 8k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca tti vità ... (+23 more)` | 33 |
|
| 80 |
+
| 16k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca ttività ▁avi ... (+22 more)` | 32 |
|
| 81 |
+
| 32k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁ca ttività ▁avi ... (+22 more)` | 32 |
|
| 82 |
+
| 64k | `▁eventi , ▁invenzioni ▁e ▁scoperte ▁fine ▁della ▁cattività ▁avignon ese ... (+18 more)` | 28 |
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
### Key Findings
|
| 86 |
+
|
| 87 |
+
- **Best Compression:** 64k achieves 4.817x compression
|
| 88 |
+
- **Lowest UNK Rate:** 8k with 0.1569% unknown tokens
|
| 89 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 90 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
## 2. N-gram Model Evaluation
|
| 94 |
+
|
| 95 |
+

|
| 96 |
+
|
| 97 |
+

|
| 98 |
+
|
| 99 |
+

|
| 100 |
+
|
| 101 |
+
### Results
|
| 102 |
+
|
| 103 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 104 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 105 |
+
| **2-gram** | Word | 204,245 | 17.64 | 1,475,040 | 6.1% | 16.8% |
|
| 106 |
+
| **2-gram** | Subword | 214 🏆 | 7.74 | 16,385 | 74.4% | 99.4% |
|
| 107 |
+
| **3-gram** | Word | 980,193 | 19.90 | 3,253,104 | 3.2% | 7.9% |
|
| 108 |
+
| **3-gram** | Subword | 1,722 | 10.75 | 125,759 | 29.1% | 78.9% |
|
| 109 |
+
| **4-gram** | Word | 1,937,953 | 20.89 | 4,769,877 | 3.5% | 7.0% |
|
| 110 |
+
| **4-gram** | Subword | 10,064 | 13.30 | 693,084 | 14.1% | 42.3% |
|
| 111 |
+
| **5-gram** | Word | 1,090,157 | 20.06 | 2,714,110 | 5.0% | 9.7% |
|
| 112 |
+
| **5-gram** | Subword | 43,596 | 15.41 | 2,255,172 | 7.7% | 24.4% |
|
| 113 |
+
|
| 114 |
+
### Top 5 N-grams by Size
|
| 115 |
+
|
| 116 |
+
**2-grams (Word):**
|
| 117 |
+
|
| 118 |
+
| Rank | N-gram | Count |
|
| 119 |
+
|------|--------|-------|
|
| 120 |
+
| 1 | `per la` | 97,286 |
|
| 121 |
+
| 2 | `è un` | 96,027 |
|
| 122 |
+
| 3 | `di un` | 94,634 |
|
| 123 |
+
| 4 | `e il` | 87,633 |
|
| 124 |
+
| 5 | `altri progetti` | 84,533 |
|
| 125 |
+
|
| 126 |
+
**3-grams (Word):**
|
| 127 |
+
|
| 128 |
+
| Rank | N-gram | Count |
|
| 129 |
+
|------|--------|-------|
|
| 130 |
+
| 1 | `altri progetti collegamenti` | 60,396 |
|
| 131 |
+
| 2 | `progetti collegamenti esterni` | 60,395 |
|
| 132 |
+
| 3 | `è un comune` | 49,422 |
|
| 133 |
+
| 4 | `note altri progetti` | 43,464 |
|
| 134 |
+
| 5 | `società evoluzione demografica` | 42,434 |
|
| 135 |
+
|
| 136 |
+
**4-grams (Word):**
|
| 137 |
+
|
| 138 |
+
| Rank | N-gram | Count |
|
| 139 |
+
|------|--------|-------|
|
| 140 |
+
| 1 | `altri progetti collegamenti esterni` | 60,395 |
|
| 141 |
+
| 2 | `è un comune francese` | 33,569 |
|
| 142 |
+
| 3 | `abitanti situato nel dipartimento` | 33,506 |
|
| 143 |
+
| 4 | `un comune francese di` | 33,266 |
|
| 144 |
+
| 5 | `società evoluzione demografica note` | 32,814 |
|
| 145 |
+
|
| 146 |
+
**5-grams (Word):**
|
| 147 |
+
|
| 148 |
+
| Rank | N-gram | Count |
|
| 149 |
+
|------|--------|-------|
|
| 150 |
+
| 1 | `è un comune francese di` | 33,067 |
|
| 151 |
+
| 2 | `evoluzione demografica note altri progetti` | 32,558 |
|
| 152 |
+
| 3 | `società evoluzione demografica note altri` | 32,545 |
|
| 153 |
+
| 4 | `note altri progetti collegamenti esterni` | 27,862 |
|
| 154 |
+
| 5 | `demografica note altri progetti collegamenti` | 18,549 |
|
| 155 |
+
|
| 156 |
+
**2-grams (Subword):**
|
| 157 |
+
|
| 158 |
+
| Rank | N-gram | Count |
|
| 159 |
+
|------|--------|-------|
|
| 160 |
+
| 1 | `e _` | 14,124,940 |
|
| 161 |
+
| 2 | `a _` | 13,040,624 |
|
| 162 |
+
| 3 | `i _` | 10,977,304 |
|
| 163 |
+
| 4 | `o _` | 10,608,684 |
|
| 164 |
+
| 5 | `_ d` | 9,830,426 |
|
| 165 |
+
|
| 166 |
+
**3-grams (Subword):**
|
| 167 |
+
|
| 168 |
+
| Rank | N-gram | Count |
|
| 169 |
+
|------|--------|-------|
|
| 170 |
+
| 1 | `_ d i` | 3,986,152 |
|
| 171 |
+
| 2 | `_ d e` | 3,607,817 |
|
| 172 |
+
| 3 | `l a _` | 3,337,560 |
|
| 173 |
+
| 4 | `d i _` | 3,263,476 |
|
| 174 |
+
| 5 | `_ c o` | 3,099,394 |
|
| 175 |
+
|
| 176 |
+
**4-grams (Subword):**
|
| 177 |
+
|
| 178 |
+
| Rank | N-gram | Count |
|
| 179 |
+
|------|--------|-------|
|
| 180 |
+
| 1 | `_ d i _` | 3,072,491 |
|
| 181 |
+
| 2 | `_ d e l` | 2,506,551 |
|
| 182 |
+
| 3 | `l l a _` | 1,668,082 |
|
| 183 |
+
| 4 | `_ i l _` | 1,519,530 |
|
| 184 |
+
| 5 | `d e l l` | 1,488,470 |
|
| 185 |
+
|
| 186 |
+
**5-grams (Subword):**
|
| 187 |
+
|
| 188 |
+
| Rank | N-gram | Count |
|
| 189 |
+
|------|--------|-------|
|
| 190 |
+
| 1 | `_ d e l l` | 1,459,429 |
|
| 191 |
+
| 2 | `e l l a _` | 1,154,387 |
|
| 192 |
+
| 3 | `i o n e _` | 1,144,610 |
|
| 193 |
+
| 4 | `_ d e l _` | 1,020,510 |
|
| 194 |
+
| 5 | `z i o n e` | 936,001 |
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
### Key Findings
|
| 198 |
+
|
| 199 |
+
- **Best Perplexity:** 2-gram (subword) with 214
|
| 200 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 201 |
+
- **Coverage:** Top-1000 patterns cover ~24% of corpus
|
| 202 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 203 |
+
|
| 204 |
+
---
|
| 205 |
+
## 3. Markov Chain Evaluation
|
| 206 |
+
|
| 207 |
+

|
| 208 |
+
|
| 209 |
+

|
| 210 |
+
|
| 211 |
+

|
| 212 |
+
|
| 213 |
+
### Results
|
| 214 |
+
|
| 215 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 216 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 217 |
+
| **1** | Word | 1.1017 | 2.146 | 14.31 | 1,066,977 | 0.0% |
|
| 218 |
+
| **1** | Subword | 1.1777 | 2.262 | 7.67 | 8,745 | 0.0% |
|
| 219 |
+
| **2** | Word | 0.4680 | 1.383 | 2.78 | 15,250,485 | 53.2% |
|
| 220 |
+
| **2** | Subword | 0.6777 | 1.600 | 4.48 | 67,098 | 32.2% |
|
| 221 |
+
| **3** | Word | 0.2017 | 1.150 | 1.44 | 42,356,757 | 79.8% |
|
| 222 |
+
| **3** | Subword | 0.7209 | 1.648 | 4.10 | 300,612 | 27.9% |
|
| 223 |
+
| **4** | Word | 0.0737 🏆 | 1.052 | 1.12 | 61,123,669 | 92.6% |
|
| 224 |
+
| **4** | Subword | 0.6799 | 1.602 | 3.41 | 1,231,483 | 32.0% |
|
| 225 |
+
|
| 226 |
+
### Generated Text Samples (Word-based)
|
| 227 |
+
|
| 228 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 229 |
+
|
| 230 |
+
**Context Size 1:**
|
| 231 |
+
|
| 232 |
+
1. `di assessore regionale del manto di pilotaggio e la frase di classificazione i dimostranti scendono ...`
|
| 233 |
+
2. `e della borgogna franca contea società evoluzione demografica note book apogeo del jkd è inoltre l`
|
| 234 |
+
3. `il numero di sacco viene riportato che all inizio con le descrizioni matematicamente da cui le`
|
| 235 |
+
|
| 236 |
+
**Context Size 2:**
|
| 237 |
+
|
| 238 |
+
1. `per la stirpe più distante e poi per varie statue a delfi in grecia per la prima`
|
| 239 |
+
2. `è un genere teatrale di rendere il suo simbolo è appunto quello di stern gerlach numero quantico`
|
| 240 |
+
3. `di un giovane nero floyd patterson mettendolo anche in alcuni casi come trimble contro gordon brown ...`
|
| 241 |
+
|
| 242 |
+
**Context Size 3:**
|
| 243 |
+
|
| 244 |
+
1. `altri progetti collegamenti esterni white teeth a conversation with cary grant che lo portò in testa...`
|
| 245 |
+
2. `è un comune francese di abitanti situato nel dipartimento della valle della politica di per il migli...`
|
| 246 |
+
3. `progetti collegamenti esterni t dell oceano pacifico meridionale polinesia con una superficie per co...`
|
| 247 |
+
|
| 248 |
+
**Context Size 4:**
|
| 249 |
+
|
| 250 |
+
1. `altri progetti collegamenti esterni topo gigio all ed sullivan show di elvis presley scatenò i teena...`
|
| 251 |
+
2. `è un comune francese di 75 abitanti situato nella comunità autonoma della navarra altri progetti del...`
|
| 252 |
+
3. `abitanti situato nel dipartimento dell eure nella regione della normandia società evoluzione demogra...`
|
| 253 |
+
|
| 254 |
+
|
| 255 |
+
### Generated Text Samples (Subword-based)
|
| 256 |
+
|
| 257 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 258 |
+
|
| 259 |
+
**Context Size 1:**
|
| 260 |
+
|
| 261 |
+
1. `_ri_fi_ami_l'agi`
|
| 262 |
+
2. `i_po_mpr_pri_mpa`
|
| 263 |
+
3. `eo_ia,_ltavinafa`
|
| 264 |
+
|
| 265 |
+
**Context Size 2:**
|
| 266 |
+
|
| 267 |
+
1. `e_diatuas,_of_spe`
|
| 268 |
+
2. `a_inasa_quo_ca_ar`
|
| 269 |
+
3. `i_nal_re_e_ne_pie`
|
| 270 |
+
|
| 271 |
+
**Context Size 3:**
|
| 272 |
+
|
| 273 |
+
1. `_di_anni_di_gioria`
|
| 274 |
+
2. `_della_galle._mali`
|
| 275 |
+
3. `la_perfalcune_pelt`
|
| 276 |
+
|
| 277 |
+
**Context Size 4:**
|
| 278 |
+
|
| 279 |
+
1. `_di_fontempi_livini`
|
| 280 |
+
2. `_del_romanzo_è_anch`
|
| 281 |
+
3. `lla_classi_e_l'inse`
|
| 282 |
+
|
| 283 |
+
|
| 284 |
+
### Key Findings
|
| 285 |
+
|
| 286 |
+
- **Best Predictability:** Context-4 (word) with 92.6% predictability
|
| 287 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 288 |
+
- **Memory Trade-off:** Larger contexts require more storage (1,231,483 contexts)
|
| 289 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 290 |
+
|
| 291 |
+
---
|
| 292 |
+
## 4. Vocabulary Analysis
|
| 293 |
+
|
| 294 |
+

|
| 295 |
+
|
| 296 |
+

|
| 297 |
+
|
| 298 |
+

|
| 299 |
+
|
| 300 |
+
### Statistics
|
| 301 |
+
|
| 302 |
+
| Metric | Value |
|
| 303 |
+
|--------|-------|
|
| 304 |
+
| Vocabulary Size | 511,837 |
|
| 305 |
+
| Total Tokens | 75,575,358 |
|
| 306 |
+
| Mean Frequency | 147.66 |
|
| 307 |
+
| Median Frequency | 4 |
|
| 308 |
+
| Frequency Std Dev | 7438.35 |
|
| 309 |
+
|
| 310 |
+
### Most Common Words
|
| 311 |
+
|
| 312 |
+
| Rank | Word | Frequency |
|
| 313 |
+
|------|------|-----------|
|
| 314 |
+
| 1 | di | 3,083,677 |
|
| 315 |
+
| 2 | e | 1,824,641 |
|
| 316 |
+
| 3 | il | 1,551,962 |
|
| 317 |
+
| 4 | la | 1,467,509 |
|
| 318 |
+
| 5 | in | 1,133,909 |
|
| 319 |
+
| 6 | a | 1,025,836 |
|
| 320 |
+
| 7 | del | 1,022,058 |
|
| 321 |
+
| 8 | che | 801,243 |
|
| 322 |
+
| 9 | un | 799,178 |
|
| 323 |
+
| 10 | della | 790,420 |
|
| 324 |
+
|
| 325 |
+
### Least Common Words (from vocabulary)
|
| 326 |
+
|
| 327 |
+
| Rank | Word | Frequency |
|
| 328 |
+
|------|------|-----------|
|
| 329 |
+
| 1 | strensall | 2 |
|
| 330 |
+
| 2 | towthorpe | 2 |
|
| 331 |
+
| 3 | flamininus | 2 |
|
| 332 |
+
| 4 | etolici | 2 |
|
| 333 |
+
| 5 | riveros | 2 |
|
| 334 |
+
| 6 | kuntur | 2 |
|
| 335 |
+
| 7 | wachana | 2 |
|
| 336 |
+
| 8 | queñua | 2 |
|
| 337 |
+
| 9 | karabotas | 2 |
|
| 338 |
+
| 10 | tveitite | 2 |
|
| 339 |
+
|
| 340 |
+
### Zipf's Law Analysis
|
| 341 |
+
|
| 342 |
+
| Metric | Value |
|
| 343 |
+
|--------|-------|
|
| 344 |
+
| Zipf Coefficient | 1.0088 |
|
| 345 |
+
| R² (Goodness of Fit) | 0.996765 |
|
| 346 |
+
| Adherence Quality | **excellent** |
|
| 347 |
+
|
| 348 |
+
### Coverage Analysis
|
| 349 |
+
|
| 350 |
+
| Top N Words | Coverage |
|
| 351 |
+
|-------------|----------|
|
| 352 |
+
| Top 100 | 39.3% |
|
| 353 |
+
| Top 1,000 | 60.2% |
|
| 354 |
+
| Top 5,000 | 76.8% |
|
| 355 |
+
| Top 10,000 | 83.4% |
|
| 356 |
+
|
| 357 |
+
### Key Findings
|
| 358 |
+
|
| 359 |
+
- **Zipf Compliance:** R²=0.9968 indicates excellent adherence to Zipf's law
|
| 360 |
+
- **High Frequency Dominance:** Top 100 words cover 39.3% of corpus
|
| 361 |
+
- **Long Tail:** 501,837 words needed for remaining 16.6% coverage
|
| 362 |
+
|
| 363 |
+
---
|
| 364 |
+
## 5. Word Embeddings Evaluation
|
| 365 |
+
|
| 366 |
+

|
| 367 |
+
|
| 368 |
+

|
| 369 |
+
|
| 370 |
+

|
| 371 |
+
|
| 372 |
+

|
| 373 |
+
|
| 374 |
+
|
| 375 |
+
### 5.1 Cross-Lingual Alignment
|
| 376 |
+
|
| 377 |
+

|
| 378 |
+
|
| 379 |
+

|
| 380 |
+
|
| 381 |
+
|
| 382 |
+
### 5.2 Model Comparison
|
| 383 |
+
|
| 384 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 385 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 386 |
+
| **mono_32d** | 32 | 0.7834 | 0.3810 | N/A | N/A |
|
| 387 |
+
| **mono_64d** | 64 | 0.7465 | 0.3030 | N/A | N/A |
|
| 388 |
+
| **mono_128d** | 128 | 0.6690 | 0.2585 | N/A | N/A |
|
| 389 |
+
| **aligned_32d** | 32 | 0.7834 🏆 | 0.3788 | 0.3920 | 0.7480 |
|
| 390 |
+
| **aligned_64d** | 64 | 0.7465 | 0.3134 | 0.6060 | 0.8580 |
|
| 391 |
+
| **aligned_128d** | 128 | 0.6690 | 0.2626 | 0.6780 | 0.9340 |
|
| 392 |
+
|
| 393 |
+
### Key Findings
|
| 394 |
+
|
| 395 |
+
- **Best Isotropy:** aligned_32d with 0.7834 (more uniform distribution)
|
| 396 |
+
- **Semantic Density:** Average pairwise similarity of 0.3162. Lower values indicate better semantic separation.
|
| 397 |
+
- **Alignment Quality:** Aligned models achieve up to 67.8% R@1 in cross-lingual retrieval.
|
| 398 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 399 |
+
|
| 400 |
+
---
|
| 401 |
+
## 6. Morphological Analysis (Experimental)
|
| 402 |
+
|
| 403 |
+
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.
|
| 404 |
+
|
| 405 |
+
### 6.1 Productivity & Complexity
|
| 406 |
+
|
| 407 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 408 |
+
|--------|-------|----------------|----------------|
|
| 409 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 410 |
+
| Idiomaticity Gap | **-0.603** | Low formulaic content | - |
|
| 411 |
+
|
| 412 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 413 |
+
|
| 414 |
+
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.
|
| 415 |
+
|
| 416 |
+
#### Productive Prefixes
|
| 417 |
+
| Prefix | Examples |
|
| 418 |
+
|--------|----------|
|
| 419 |
+
| `-s` | sansavi, sfocianti, santegidiese |
|
| 420 |
+
| `-a` | astrolabes, applicheremo, ancia |
|
| 421 |
+
| `-ma` | madonne, marclay, mastrantuono |
|
| 422 |
+
| `-m` | mistruzzi, medioriente, madonne |
|
| 423 |
+
| `-c` | camminerò, ceraio, coltellacci |
|
| 424 |
+
| `-p` | primaibidem, pohliana, poschiavini |
|
| 425 |
+
| `-b` | brozzo, berlette, bucherer |
|
| 426 |
+
| `-t` | tigerdirect, takahito, tintry |
|
| 427 |
+
|
| 428 |
+
#### Productive Suffixes
|
| 429 |
+
| Suffix | Examples |
|
| 430 |
+
|--------|----------|
|
| 431 |
+
| `-e` | medioriente, madonne, lasiocampidae |
|
| 432 |
+
| `-o` | takahito, ceraio, brozzo |
|
| 433 |
+
| `-a` | gialloviola, pohliana, dawa |
|
| 434 |
+
| `-i` | mistruzzi, coltellacci, creatrici |
|
| 435 |
+
| `-s` | astrolabes, glîrs, canids |
|
| 436 |
+
| `-no` | mastrantuono, corrispondano, leprino |
|
| 437 |
+
| `-n` | guédelon, esametilen, cupidon |
|
| 438 |
+
| `-te` | medioriente, berlette, supercorazzate |
|
| 439 |
+
|
| 440 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 441 |
+
|
| 442 |
+
Bound stems are high-frequency subword units that are semantically cohesive but rarely appear as standalone words. These often correspond to the 'core' of a word that requires inflection or derivation to be valid.
|
| 443 |
+
|
| 444 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 445 |
+
|------|----------|------------------|----------|
|
| 446 |
+
| `rono` | 2.58x | 96 contexts | grono, crono, ronon |
|
| 447 |
+
| `nche` | 1.63x | 202 contexts | anche, nchev, ponche |
|
| 448 |
+
| `ogra` | 1.55x | 226 contexts | fogra, sogra, dogra |
|
| 449 |
+
| `nter` | 1.48x | 287 contexts | enter, inter, nterr |
|
| 450 |
+
| `lmen` | 1.98x | 62 contexts | almen, ulmen, ilmen |
|
| 451 |
+
| `izza` | 1.47x | 191 contexts | vizza, mizza, nizza |
|
| 452 |
+
| `stru` | 1.49x | 158 contexts | strub, strup, strum |
|
| 453 |
+
| `ostr` | 1.37x | 174 contexts | costr, ostro, nostr |
|
| 454 |
+
| `uest` | 1.64x | 65 contexts | quest, fuest, guest |
|
| 455 |
+
| `ntro` | 1.50x | 94 contexts | antro, intro, entro |
|
| 456 |
+
| `ontr` | 1.42x | 115 contexts | contr, contrò, hontra |
|
| 457 |
+
| `ggio` | 1.33x | 157 contexts | iggio, aggio, eggio |
|
| 458 |
+
|
| 459 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 460 |
+
|
| 461 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 462 |
+
|
| 463 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 464 |
+
|--------|--------|-----------|----------|
|
| 465 |
+
| `-c` | `-o` | 141 words | collalto, connettivo |
|
| 466 |
+
| `-c` | `-e` | 139 words | cappelline, clorotiche |
|
| 467 |
+
| `-s` | `-a` | 138 words | stäfa, serratissima |
|
| 468 |
+
| `-s` | `-e` | 136 words | shilke, sommette |
|
| 469 |
+
| `-a` | `-e` | 132 words | acquaforte, accreditabile |
|
| 470 |
+
| `-s` | `-o` | 128 words | sperandiofrancesco, sfido |
|
| 471 |
+
| `-c` | `-i` | 116 words | caseifici, consistenticittadini |
|
| 472 |
+
| `-c` | `-a` | 114 words | cabarga, carapinheira |
|
| 473 |
+
| `-a` | `-o` | 111 words | arcagato, ammandorlato |
|
| 474 |
+
| `-a` | `-i` | 110 words | appaltatrici, angiulli |
|
| 475 |
+
|
| 476 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 477 |
+
|
| 478 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 479 |
+
|
| 480 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 481 |
+
|------|-----------------|------------|------|
|
| 482 |
+
| iannacone | **`ianna-co-ne`** | 7.5 | `co` |
|
| 483 |
+
| frantumata | **`frantum-a-ta`** | 7.5 | `a` |
|
| 484 |
+
| strigosus | **`strigo-s-us`** | 7.5 | `s` |
|
| 485 |
+
| roccatani | **`rocca-ta-ni`** | 7.5 | `ta` |
|
| 486 |
+
| scoppiato | **`scoppi-a-to`** | 7.5 | `a` |
|
| 487 |
+
| archedemo | **`arched-e-mo`** | 7.5 | `e` |
|
| 488 |
+
| pontificem | **`pontific-e-m`** | 7.5 | `e` |
|
| 489 |
+
| approvarono | **`approvar-o-no`** | 7.5 | `o` |
|
| 490 |
+
| millières | **`milliè-re-s`** | 7.5 | `re` |
|
| 491 |
+
| cercheremo | **`cercher-e-mo`** | 7.5 | `e` |
|
| 492 |
+
| sintaxina | **`sintax-i-na`** | 7.5 | `i` |
|
| 493 |
+
| ancorarono | **`ancora-ro-no`** | 7.5 | `ro` |
|
| 494 |
+
| contesero | **`conte-se-ro`** | 7.5 | `se` |
|
| 495 |
+
| wirelessman | **`wirelessm-a-n`** | 7.5 | `a` |
|
| 496 |
+
| granadini | **`granad-i-ni`** | 7.5 | `i` |
|
| 497 |
+
|
| 498 |
+
### 6.6 Linguistic Interpretation
|
| 499 |
+
|
| 500 |
+
> **Automated Insight:**
|
| 501 |
+
The language Italian shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 502 |
+
|
| 503 |
+
---
|
| 504 |
+
## 7. Summary & Recommendations
|
| 505 |
+
|
| 506 |
+

|
| 507 |
+
|
| 508 |
+
### Production Recommendations
|
| 509 |
+
|
| 510 |
+
| Component | Recommended | Rationale |
|
| 511 |
+
|-----------|-------------|-----------|
|
| 512 |
+
| Tokenizer | **64k BPE** | Best compression (4.82x) |
|
| 513 |
+
| N-gram | **2-gram** | Lowest perplexity (214) |
|
| 514 |
+
| Markov | **Context-4** | Highest predictability (92.6%) |
|
| 515 |
+
| Embeddings | **100d** | Balanced semantic capture and isotropy |
|
| 516 |
+
|
| 517 |
+
|
| 518 |
+
---
|
| 519 |
+
## Appendix: Metrics Glossary & Interpretation Guide
|
| 520 |
+
|
| 521 |
+
This section provides definitions, intuitions, and guidance for interpreting the metrics used throughout this report.
|
| 522 |
+
|
| 523 |
+
### Tokenizer Metrics
|
| 524 |
+
|
| 525 |
+
**Compression Ratio**
|
| 526 |
+
> *Definition:* The ratio of characters to tokens (chars/token). Measures how efficiently the tokenizer represents text.
|
| 527 |
+
>
|
| 528 |
+
> *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.
|
| 529 |
+
>
|
| 530 |
+
> *What to seek:* Higher is generally better for efficiency, but extremely high compression may indicate overly aggressive merging that loses morphological information.
|
| 531 |
+
|
| 532 |
+
**Average Token Length (Fertility)**
|
| 533 |
+
> *Definition:* Mean number of characters per token produced by the tokenizer.
|
| 534 |
+
>
|
| 535 |
+
> *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.
|
| 536 |
+
>
|
| 537 |
+
> *What to seek:* Balance between 2-5 characters for most languages. Arabic/morphologically-rich languages may benefit from slightly longer tokens.
|
| 538 |
+
|
| 539 |
+
**Unknown Token Rate (OOV Rate)**
|
| 540 |
+
> *Definition:* Percentage of tokens that map to the unknown/UNK token, indicating words the tokenizer cannot represent.
|
| 541 |
+
>
|
| 542 |
+
> *Intuition:* Lower OOV means better vocabulary coverage. High OOV indicates the tokenizer encounters many unseen character sequences.
|
| 543 |
+
>
|
| 544 |
+
> *What to seek:* Below 1% is excellent; below 5% is acceptable. BPE tokenizers typically achieve very low OOV due to subword fallback.
|
| 545 |
+
|
| 546 |
+
### N-gram Model Metrics
|
| 547 |
+
|
| 548 |
+
**Perplexity**
|
| 549 |
+
> *Definition:* Measures how "surprised" the model is by test data. Mathematically: 2^(cross-entropy). Lower values indicate better prediction.
|
| 550 |
+
>
|
| 551 |
+
> *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.
|
| 552 |
+
>
|
| 553 |
+
> *What to seek:* Lower is better. Perplexity decreases with larger n-grams (more context). Values vary widely by language and corpus size.
|
| 554 |
+
|
| 555 |
+
**Entropy**
|
| 556 |
+
> *Definition:* Average information content (in bits) needed to encode the next token given the context. Related to perplexity: perplexity = 2^entropy.
|
| 557 |
+
>
|
| 558 |
+
> *Intuition:* High entropy means high uncertainty/randomness; low entropy means predictable patterns. Natural language typically has entropy between 1-4 bits per character.
|
| 559 |
+
>
|
| 560 |
+
> *What to seek:* Lower entropy indicates more predictable text patterns. Entropy should decrease as n-gram size increases.
|
| 561 |
+
|
| 562 |
+
**Coverage (Top-K)**
|
| 563 |
+
> *Definition:* Percentage of corpus occurrences explained by the top K most frequent n-grams.
|
| 564 |
+
>
|
| 565 |
+
> *Intuition:* High coverage with few patterns indicates repetitive/formulaic text; low coverage suggests diverse vocabulary usage.
|
| 566 |
+
>
|
| 567 |
+
> *What to seek:* Depends on use case. For language modeling, moderate coverage (40-60% with top-1000) is typical for natural text.
|
| 568 |
+
|
| 569 |
+
### Markov Chain Metrics
|
| 570 |
+
|
| 571 |
+
**Average Entropy**
|
| 572 |
+
> *Definition:* Mean entropy across all contexts, measuring average uncertainty in next-word prediction.
|
| 573 |
+
>
|
| 574 |
+
> *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).
|
| 575 |
+
>
|
| 576 |
+
> *What to seek:* Decreasing entropy with larger context sizes. Very low entropy (<0.1) indicates highly deterministic transitions.
|
| 577 |
+
|
| 578 |
+
**Branching Factor**
|
| 579 |
+
> *Definition:* Average number of unique next tokens observed for each context.
|
| 580 |
+
>
|
| 581 |
+
> *Intuition:* High branching = many possible continuations (flexible but uncertain); low branching = few options (predictable but potentially repetitive).
|
| 582 |
+
>
|
| 583 |
+
> *What to seek:* Branching factor should decrease with context size. Values near 1.0 indicate nearly deterministic chains.
|
| 584 |
+
|
| 585 |
+
**Predictability**
|
| 586 |
+
> *Definition:* Derived metric: (1 - normalized_entropy) × 100%. Indicates how deterministic the model's predictions are.
|
| 587 |
+
>
|
| 588 |
+
> *Intuition:* 100% predictability means the next word is always certain; 0% means completely random. Real text falls between these extremes.
|
| 589 |
+
>
|
| 590 |
+
> *What to seek:* Higher predictability for text generation quality, but too high (>98%) may produce repetitive output.
|
| 591 |
+
|
| 592 |
+
### Vocabulary & Zipf's Law Metrics
|
| 593 |
+
|
| 594 |
+
**Zipf's Coefficient**
|
| 595 |
+
> *Definition:* The slope of the log-log plot of word frequency vs. rank. Zipf's law predicts this should be approximately -1.
|
| 596 |
+
>
|
| 597 |
+
> *Intuition:* A coefficient near -1 indicates the corpus follows natural language patterns where a few words are very common and most words are rare.
|
| 598 |
+
>
|
| 599 |
+
> *What to seek:* Values between -0.8 and -1.2 indicate healthy natural language distribution. Deviations may suggest domain-specific or artificial text.
|
| 600 |
+
|
| 601 |
+
**R² (Coefficient of Determination)**
|
| 602 |
+
> *Definition:* Measures how well the linear fit explains the frequency-rank relationship. Ranges from 0 to 1.
|
| 603 |
+
>
|
| 604 |
+
> *Intuition:* R² near 1.0 means the data closely follows Zipf's law; lower values indicate deviation from expected word frequency patterns.
|
| 605 |
+
>
|
| 606 |
+
> *What to seek:* R² > 0.95 is excellent; > 0.99 indicates near-perfect Zipf adherence typical of large natural corpora.
|
| 607 |
+
|
| 608 |
+
**Vocabulary Coverage**
|
| 609 |
+
> *Definition:* Cumulative percentage of corpus tokens accounted for by the top N words.
|
| 610 |
+
>
|
| 611 |
+
> *Intuition:* Shows how concentrated word usage is. If top-100 words cover 50% of text, the corpus relies heavily on common words.
|
| 612 |
+
>
|
| 613 |
+
> *What to seek:* Top-100 covering 30-50% is typical. Higher coverage indicates more repetitive text; lower suggests richer vocabulary.
|
| 614 |
+
|
| 615 |
+
### Word Embedding Metrics
|
| 616 |
+
|
| 617 |
+
**Isotropy**
|
| 618 |
+
> *Definition:* Measures how uniformly distributed vectors are in the embedding space. Computed as the ratio of minimum to maximum singular values.
|
| 619 |
+
>
|
| 620 |
+
> *Intuition:* High isotropy (near 1.0) means vectors spread evenly in all directions; low isotropy means vectors cluster in certain directions, reducing expressiveness.
|
| 621 |
+
>
|
| 622 |
+
> *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.
|
| 623 |
+
|
| 624 |
+
**Average Norm**
|
| 625 |
+
> *Definition:* Mean magnitude (L2 norm) of word vectors in the embedding space.
|
| 626 |
+
>
|
| 627 |
+
> *Intuition:* Indicates the typical "length" of vectors. Consistent norms suggest stable training; high variance may indicate some words are undertrained.
|
| 628 |
+
>
|
| 629 |
+
> *What to seek:* Relatively consistent norms across models. The absolute value matters less than consistency (low std deviation).
|
| 630 |
+
|
| 631 |
+
**Cosine Similarity**
|
| 632 |
+
> *Definition:* Measures angular similarity between vectors, ranging from -1 (opposite) to 1 (identical direction).
|
| 633 |
+
>
|
| 634 |
+
> *Intuition:* Words with similar meanings should have high cosine similarity. This is the standard metric for semantic relatedness in embeddings.
|
| 635 |
+
>
|
| 636 |
+
> *What to seek:* Semantically related words should score > 0.5; unrelated words should be near 0. Synonyms often score > 0.7.
|
| 637 |
+
|
| 638 |
+
**t-SNE Visualization**
|
| 639 |
+
> *Definition:* t-Distributed Stochastic Neighbor Embedding - a dimensionality reduction technique that preserves local structure for visualization.
|
| 640 |
+
>
|
| 641 |
+
> *Intuition:* Clusters in t-SNE plots indicate groups of semantically related words. Spread indicates vocabulary diversity; tight clusters suggest semantic coherence.
|
| 642 |
+
>
|
| 643 |
+
> *What to seek:* Meaningful clusters (e.g., numbers together, verbs together). Avoid over-interpreting distances - t-SNE preserves local, not global, structure.
|
| 644 |
+
|
| 645 |
+
### General Interpretation Guidelines
|
| 646 |
+
|
| 647 |
+
1. **Compare within model families:** Metrics are most meaningful when comparing models of the same type (e.g., 8k vs 64k tokenizer).
|
| 648 |
+
2. **Consider trade-offs:** Better performance on one metric often comes at the cost of another (e.g., compression vs. OOV rate).
|
| 649 |
+
3. **Context matters:** Optimal values depend on downstream tasks. Text generation may prioritize different metrics than classification.
|
| 650 |
+
4. **Corpus influence:** All metrics are influenced by corpus characteristics. Wikipedia text differs from social media or literature.
|
| 651 |
+
5. **Language-specific patterns:** Morphologically rich languages (like Arabic) may show different optimal ranges than analytic languages.
|
| 652 |
+
|
| 653 |
+
|
| 654 |
+
### Visualizations Index
|
| 655 |
+
|
| 656 |
+
| Visualization | Description |
|
| 657 |
+
|---------------|-------------|
|
| 658 |
+
| Tokenizer Compression | Compression ratios by vocabulary size |
|
| 659 |
+
| Tokenizer Fertility | Average token length by vocabulary |
|
| 660 |
+
| Tokenizer OOV | Unknown token rates |
|
| 661 |
+
| Tokenizer Total Tokens | Total tokens by vocabulary |
|
| 662 |
+
| N-gram Perplexity | Perplexity by n-gram size |
|
| 663 |
+
| N-gram Entropy | Entropy by n-gram size |
|
| 664 |
+
| N-gram Coverage | Top pattern coverage |
|
| 665 |
+
| N-gram Unique | Unique n-gram counts |
|
| 666 |
+
| Markov Entropy | Entropy by context size |
|
| 667 |
+
| Markov Branching | Branching factor by context |
|
| 668 |
+
| Markov Contexts | Unique context counts |
|
| 669 |
+
| Zipf's Law | Frequency-rank distribution with fit |
|
| 670 |
+
| Vocab Frequency | Word frequency distribution |
|
| 671 |
+
| Top 20 Words | Most frequent words |
|
| 672 |
+
| Vocab Coverage | Cumulative coverage curve |
|
| 673 |
+
| Embedding Isotropy | Vector space uniformity |
|
| 674 |
+
| Embedding Norms | Vector magnitude distribution |
|
| 675 |
+
| Embedding Similarity | Word similarity heatmap |
|
| 676 |
+
| Nearest Neighbors | Similar words for key terms |
|
| 677 |
+
| t-SNE Words | 2D word embedding visualization |
|
| 678 |
+
| t-SNE Sentences | 2D sentence embedding visualization |
|
| 679 |
+
| Position Encoding | Encoding method comparison |
|
| 680 |
+
| Model Sizes | Storage requirements |
|
| 681 |
+
| Performance Dashboard | Comprehensive performance overview |
|
| 682 |
+
|
| 683 |
+
---
|
| 684 |
+
👈 [Back to README](README.md)
|
| 685 |
+
|
| 686 |
+
*Generated by Wikilangs Pipeline · 2026-03-03 12:12:25*
|
it_morph_tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/embeddings/aligned/it_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a75f5744fd9b82c261724c57ca861ccb1390839eb3c86ac9201ec3af61ab8f33
|
| 3 |
+
size 1512839801
|
models/embeddings/aligned/it_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 128, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/it_128d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79ef63f40403a5609792fd8aaa96c38619237994c65a67868645917804d0d903
|
| 3 |
+
size 65664
|
models/embeddings/aligned/it_128d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 3 |
+
"dimension": 128,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 142715,
|
| 7 |
+
"vocab_size": 468929
|
| 8 |
+
}
|
models/embeddings/aligned/it_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37449ff975d09da7d6c636b2e5e0f456862d304eaa0b55276842177699d31ac7
|
| 3 |
+
size 384702329
|
models/embeddings/aligned/it_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 32, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/it_32d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb69e4a6d408a878afb56e65ab58f90be780f1557fa7a064615e7411e923ce2f
|
| 3 |
+
size 4224
|
models/embeddings/aligned/it_32d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 3 |
+
"dimension": 32,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 142715,
|
| 7 |
+
"vocab_size": 468929
|
| 8 |
+
}
|
models/embeddings/aligned/it_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e81e9c0b416f6f4cb9f371c0dc02e7825ad723ea0e4ddac03a75bda79ff5454
|
| 3 |
+
size 760748153
|
models/embeddings/aligned/it_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 64, "max_seq_len": 512, "is_aligned": true}
|
models/embeddings/aligned/it_64d.projection.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d22ecc7eded22e279e3752118e3406e6d18c7403e99e292482c9a8f1f0f0e02
|
| 3 |
+
size 16512
|
models/embeddings/aligned/it_64d_metadata.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 3 |
+
"dimension": 64,
|
| 4 |
+
"version": "aligned",
|
| 5 |
+
"hub_language": "en",
|
| 6 |
+
"seed_vocab_size": 142715,
|
| 7 |
+
"vocab_size": 468929
|
| 8 |
+
}
|
models/embeddings/monolingual/it_128d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a75f5744fd9b82c261724c57ca861ccb1390839eb3c86ac9201ec3af61ab8f33
|
| 3 |
+
size 1512839801
|
models/embeddings/monolingual/it_128d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 128, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/it_128d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 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": 40
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 468929
|
| 16 |
+
}
|
models/embeddings/monolingual/it_32d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37449ff975d09da7d6c636b2e5e0f456862d304eaa0b55276842177699d31ac7
|
| 3 |
+
size 384702329
|
models/embeddings/monolingual/it_32d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 32, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/it_32d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 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": 40
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 468929
|
| 16 |
+
}
|
models/embeddings/monolingual/it_64d.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e81e9c0b416f6f4cb9f371c0dc02e7825ad723ea0e4ddac03a75bda79ff5454
|
| 3 |
+
size 760748153
|
models/embeddings/monolingual/it_64d.meta.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"lang": "it", "dim": 64, "max_seq_len": 512, "is_aligned": false}
|
models/embeddings/monolingual/it_64d_metadata.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "it",
|
| 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": 40
|
| 14 |
+
},
|
| 15 |
+
"vocab_size": 468929
|
| 16 |
+
}
|
models/subword_markov/it_markov_ctx1_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30f182d4cabed042d3e09a325458ef98a82d37a8029d5e99b8cdc5286781ddde
|
| 3 |
+
size 455016
|
models/subword_markov/it_markov_ctx1_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 1,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_contexts": 8745,
|
| 6 |
+
"total_transitions": 485499126
|
| 7 |
+
}
|
models/subword_markov/it_markov_ctx2_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0168fb1bb76ca041a5c73c1b56d72584e723090805cdb19fc938481f38d155a
|
| 3 |
+
size 2353744
|
models/subword_markov/it_markov_ctx2_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_contexts": 67098,
|
| 6 |
+
"total_transitions": 485399393
|
| 7 |
+
}
|
models/subword_markov/it_markov_ctx3_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f8b34cacb566e86174a6b179b36960ef89bf3a81665cace0504eecb10dcf370
|
| 3 |
+
size 10379971
|
models/subword_markov/it_markov_ctx3_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_contexts": 300612,
|
| 6 |
+
"total_transitions": 485299660
|
| 7 |
+
}
|
models/subword_markov/it_markov_ctx4_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10b3b9b38f30e07d73fa1b764c8c9fba9874c1348d35069c9649c605549f0218
|
| 3 |
+
size 33104624
|
models/subword_markov/it_markov_ctx4_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"context_size": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_contexts": 1231483,
|
| 6 |
+
"total_transitions": 485199927
|
| 7 |
+
}
|
models/subword_ngram/it_2gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbe8e891e74a636f9d46e058b7e3a424e8f66391cab32cbb11da7aa98cbd9723
|
| 3 |
+
size 216381
|
models/subword_ngram/it_2gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 2,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_ngrams": 16385,
|
| 6 |
+
"total_ngrams": 485499126
|
| 7 |
+
}
|
models/subword_ngram/it_3gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d4a34014e3995218f265d6ad22967ef298ce747d14f0c08da1af55bb6ac1be5
|
| 3 |
+
size 1515652
|
models/subword_ngram/it_3gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 3,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_ngrams": 125759,
|
| 6 |
+
"total_ngrams": 485399393
|
| 7 |
+
}
|
models/subword_ngram/it_4gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d87e5b19b7e6b5d8e4fef209793304bb470577356d3ade91e938f9db9502122b
|
| 3 |
+
size 8080629
|
models/subword_ngram/it_4gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 4,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_ngrams": 693084,
|
| 6 |
+
"total_ngrams": 485299660
|
| 7 |
+
}
|
models/subword_ngram/it_5gram_subword.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d733d0e657ae852c37a87a5b1ad21ef7fb94c9b28128c4f2b901cd437ca352a2
|
| 3 |
+
size 26811718
|
models/subword_ngram/it_5gram_subword_metadata.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"n": 5,
|
| 3 |
+
"variant": "subword",
|
| 4 |
+
"language": "it",
|
| 5 |
+
"unique_ngrams": 2255172,
|
| 6 |
+
"total_ngrams": 485199927
|
| 7 |
+
}
|
models/tokenizer/it_tokenizer_16k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:997257db8795d1dc6502b081cccd29b94adeb7bea81086a4a635a5a7923a462c
|
| 3 |
+
size 515873
|
models/tokenizer/it_tokenizer_16k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/it_tokenizer_32k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7cebfbceff2b85fe9c9df7bfe4f9e631ad00332dcae58cbd289876ad37831669
|
| 3 |
+
size 799571
|
models/tokenizer/it_tokenizer_32k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/it_tokenizer_64k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff9d664ad0415ffb2199d1db156f7d4f92437d91e2fd73210bd5a05f7e8e2cf3
|
| 3 |
+
size 1374420
|
models/tokenizer/it_tokenizer_64k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/tokenizer/it_tokenizer_8k.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:21c27d1babd8d3d3ba3e321a899c29795fc65fbc0ab8f53d8a343db40b9994b9
|
| 3 |
+
size 376755
|
models/tokenizer/it_tokenizer_8k.vocab
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
models/vocabulary/it_vocabulary.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:725a23e8c934818af398604a1ad5c530c6f640228374542c8b6d6f55498ddd88
|
| 3 |
+
size 7577503
|