Text Generation
fastText
Amis
wikilangs
nlp
tokenizer
embeddings
n-gram
markov
wikipedia
feature-extraction
sentence-similarity
tokenization
n-grams
markov-chain
text-mining
babelvec
vocabulous
vocabulary
monolingual
family-austronesian_formosan
Instructions to use wikilangs/ami with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use wikilangs/ami with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("wikilangs/ami", "model.bin")) - Notebooks
- Google Colab
- Kaggle
Upload all models and assets for ami (latest)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+1
- README.md+222-187
- models/embeddings/aligned/ami_128d.binAdded+3
- models/embeddings/aligned/ami_128d.meta.jsonAdded+1
- models/embeddings/aligned/ami_128d.projection.npyAdded+3
- models/embeddings/aligned/ami_128d_metadata.jsonAdded+8
- models/embeddings/aligned/ami_32d.binAdded+3
- models/embeddings/aligned/ami_32d.meta.jsonAdded+1
- models/embeddings/aligned/ami_32d.projection.npyAdded+3
- models/embeddings/aligned/ami_32d_metadata.jsonAdded+8
- models/embeddings/aligned/ami_64d.binAdded+3
- models/embeddings/aligned/ami_64d.meta.jsonAdded+1
- models/embeddings/aligned/ami_64d.projection.npyAdded+3
- models/embeddings/aligned/ami_64d_metadata.jsonAdded+8
- models/embeddings/monolingual/ami_128d.bin+2-2
- models/embeddings/monolingual/ami_128d_metadata.json+1-1
- models/embeddings/monolingual/ami_32d.bin+2-2
- models/embeddings/monolingual/ami_32d_metadata.json+1-1
- models/embeddings/monolingual/ami_64d.bin+2-2
- models/embeddings/monolingual/ami_64d_metadata.json+1-1
- models/subword_markov/ami_markov_ctx1_subword.parquet+2-2
- models/subword_markov/ami_markov_ctx1_subword_metadata.json+2-2
- models/subword_markov/ami_markov_ctx2_subword.parquet+2-2
- models/subword_markov/ami_markov_ctx2_subword_metadata.json+2-2
- models/subword_markov/ami_markov_ctx3_subword.parquet+2-2
- models/subword_markov/ami_markov_ctx3_subword_metadata.json+2-2
- models/subword_markov/ami_markov_ctx4_subword.parquet+2-2
- models/subword_markov/ami_markov_ctx4_subword_metadata.json+2-2
- models/subword_ngram/ami_2gram_subword.parquet+2-2
- models/subword_ngram/ami_2gram_subword_metadata.json+2-2
- models/subword_ngram/ami_3gram_subword.parquet+2-2
- models/subword_ngram/ami_3gram_subword_metadata.json+2-2
- models/subword_ngram/ami_4gram_subword.parquet+2-2
- models/subword_ngram/ami_4gram_subword_metadata.json+2-2
- models/subword_ngram/ami_5gram_subword.parquetAdded+3
- models/subword_ngram/ami_5gram_subword_metadata.jsonAdded+7
- models/tokenizer/ami_tokenizer_16k.model+2-2
- models/tokenizer/ami_tokenizer_16k.vocab
- models/tokenizer/ami_tokenizer_32k.model+2-2
- models/tokenizer/ami_tokenizer_32k.vocab
- models/tokenizer/ami_tokenizer_64k.model+2-2
- models/tokenizer/ami_tokenizer_64k.vocab
- models/tokenizer/ami_tokenizer_8k.model+2-2
- models/tokenizer/ami_tokenizer_8k.vocab
- models/vocabulary/ami_vocabulary.parquet+2-2
- models/vocabulary/ami_vocabulary_metadata.json+9-9
- models/word_markov/ami_markov_ctx1_word.parquet+2-2
- models/word_markov/ami_markov_ctx1_word_metadata.json+2-2
- models/word_markov/ami_markov_ctx2_word.parquet+2-2
- models/word_markov/ami_markov_ctx2_word_metadata.json+2-2
38 unmodified lines39404138 unmodified linesvisualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -textvisualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -textvisualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -text38 unmodified lines3940414238 unmodified linesvisualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -textvisualizations/tsne_words.png filter=lfs diff=lfs merge=lfs -textvisualizations/zipf_law.png filter=lfs diff=lfs merge=lfs -textvisualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
1234563 unmodified lines10111213141516171819202 unmodified lines232425262728293031323334353637383940414217 unmodified lines6061626364656613 unmodified lines808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512610 unmodified lines1371381391401411421431441451461471481 unmodified line1501511521531541551561571581591601611621631641651661671685 unmodified lines1741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162179 unmodified lines2272282292302312322332342352362372382392401 unmodified line2422432442452462472482492502512522532542552562572582592602612622632642652662672682 unmodified lines2712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033049 unmodified lines3143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763779 unmodified lines3873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224232 unmodified lines4264274284294304314324334344354364374384394404414424434444454464474484491 unmodified line4514524534544554564574584594604614624634644654664674681 unmodified line4704714724734744754764774784794804814824834844851 unmodified line4874884894904914924934944954964974984995005015025035045055065075085095105115125 unmodified lines518519520521522523524208 unmodified lines733734735736---language: amilanguage_name: AMIlanguage_family: austronesian_formosantags:- wikilangs3 unmodified lines- n-gram- markov- wikipedia- monolingual- family-austronesian_formosanlicense: mitlibrary_name: wikilangspipeline_tag: feature-extractiondatasets:- omarkamali/wikipedia-monthlydataset_info:2 unmodified linesmetrics:- name: best_compression_ratiotype: compressionvalue: 3.608- name: best_isotropytype: isotropyvalue: 0.8374- name: vocabulary_sizetype: vocabvalue: 0generated: 2026-01-03---# AMI - Wikilangs Models## Comprehensive Research Report & Full Ablation StudyThis repository contains NLP models trained and evaluated by Wikilangs, specifically on **AMI** Wikipedia data.We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.## 📋 Repository Contents17 unmodified lines- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)- [4. Vocabulary Analysis](#4-vocabulary-analysis)- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)- [6. Morphological Analysis (Experimental)](#6-morphological-analysis)- [7. Summary & Recommendations](#7-summary--recommendations)- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)- [Visualizations Index](#visualizations-index)13 unmodified lines| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens ||------------|-------------|---------------|----------|--------------|| **8k** | 3.161x | 3.16 | 0.4493% | 709,382 || **16k** | 3.338x | 3.34 | 0.4744% | 671,788 || **32k** | 3.486x | 3.49 | 0.4954% | 643,295 || **64k** | 3.608x 🏆 | 3.61 | 0.5128% | 621,527 |### Tokenization ExamplesBelow are sample sentences tokenized with each vocabulary size:**Sample 1:** `makomod(統治) I a mihecaan, misatapang a makomod ko Ripon to Taywan tangasa i a mi...`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁makomod ( 統 治 ) ▁i ▁a ▁mihecaan , ▁misatapang ... (+11 more)` | 21 || 16k | `▁makomod ( 統治 ) ▁i ▁a ▁mihecaan , ▁misatapang ▁a ... (+10 more)` | 20 || 32k | `▁makomod ( 統治 ) ▁i ▁a ▁mihecaan , ▁misatapang ▁a ... (+10 more)` | 20 || 64k | `▁makomod ( 統治 ) ▁i ▁a ▁mihecaan , ▁misatapang ▁a ... (+10 more)` | 20 |**Sample 2:** `malitengay(老人家) Romadiw ci malitengay. (老人家在唱歌) 'Amis`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁malitengay ( 老 人 家 ) ▁romadiw ▁ci ▁malitengay . ... (+10 more)` | 20 || 16k | `▁malitengay ( 老人家 ) ▁romadiw ▁ci ▁malitengay . ▁( 老人家 ... (+6 more)` | 16 || 32k | `▁malitengay ( 老人家 ) ▁romadiw ▁ci ▁malitengay . ▁( 老人家在 ... (+5 more)` | 15 || 64k | `▁malitengay ( 老人家 ) ▁romadiw ▁ci ▁malitengay . ▁( 老人家在 ... (+5 more)` | 15 |**Sample 3:** `Sokoy 木鱉果 縮圖|sokoy Caay to ka'aloman ko mipaloma'ay to matiniay a sokay, carekah...`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁so koy ▁ 木 鱉 果 ▁縮圖 | so koy ... (+21 more)` | 31 || 16k | `▁sokoy ▁ 木 鱉 果 ▁縮圖 | so koy ▁caay ... (+19 more)` | 29 || 32k | `▁sokoy ▁木 鱉 果 ▁縮圖 | so koy ▁caay ▁to ... (+17 more)` | 27 || 64k | `▁sokoy ▁木 鱉 果 ▁縮圖 | sokoy ▁caay ▁to ▁ka ... (+16 more)` | 26 |### Key Findings- **Best Compression:** 64k achieves 3.608x compression- **Lowest UNK Rate:** 8k with 0.4493% unknown tokens- **Trade-off:** Larger vocabularies improve compression but increase model size- **Recommendation:** 32k vocabulary provides optimal balance for production use10 unmodified lines| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage ||--------|---------|------------|---------|----------------|------------------|-------------------|| **2-gram** | Word | 6,678 | 12.71 | 22,550 | 20.3% | 47.3% || **2-gram** | Subword | 207 🏆 | 7.69 | 6,731 | 78.5% | 98.2% || **3-gram** | Word | 12,757 | 13.64 | 35,948 | 17.2% | 36.4% || **3-gram** | Subword | 1,373 | 10.42 | 25,440 | 36.9% | 81.6% || **4-gram** | Word | 30,756 | 14.91 | 77,159 | 15.4% | 26.9% || **4-gram** | Subword | 6,401 | 12.64 | 95,881 | 18.2% | 53.7% |### Top 5 N-grams by Size1 unmodified line| Rank | N-gram | Count ||------|--------|-------|| 1 | `ira ko` | 5,064 || 2 | `romi ad` | 4,019 || 3 | `i miheca` | 2,827 || 4 | `a tamdaw` | 2,806 || 5 | `a sowal` | 2,768 |**3-grams (Word):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `ka aloman no` | 2,123 || 2 | `a romi ad` | 1,671 || 3 | `ko tamdaw o` | 1,565 || 4 | `sa osi no` | 1,535 || 5 | `ko ka aloman` | 1,534 |5 unmodified lines| 2 | `ko ka aloman no` | 1,395 || 3 | `nina angan tilid i` | 853 || 4 | `nano nina angan tilid` | 845 || 5 | `o roma sato i` | 766 |**2-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `o _` | 200,857 || 2 | `a _` | 143,109 || 3 | `a n` | 139,584 || 4 | `_ k` | 106,296 || 5 | `a y` | 96,390 |**3-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `a y _` | 60,395 || 2 | `_ a _` | 58,815 || 3 | `a n _` | 54,544 || 4 | `n o _` | 54,458 || 5 | `t o _` | 53,668 |**4-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `_ n o _` | 47,644 || 2 | `_ k o _` | 44,141 || 3 | `_ t o _` | 37,131 || 4 | `o _ k a` | 18,566 || 5 | `a y _ a` | 15,366 |### Key Findings- **Best Perplexity:** 2-gram (subword) with 207- **Entropy Trend:** Decreases with larger n-grams (more predictable)- **Coverage:** Top-1000 patterns cover ~54% of corpus- **Recommendation:** 4-gram or 5-gram for best predictive performance---9 unmodified lines| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability ||---------|---------|-------------|------------|------------------|-----------------|----------------|| **1** | Word | 0.6170 | 1.534 | 4.54 | 72,606 | 38.3% || **1** | Subword | 1.5133 | 2.855 | 9.96 | 4,060 | 0.0% || **2** | Word | 0.3021 | 1.233 | 1.87 | 329,508 | 69.8% || **2** | Subword | 0.4126 | 1.331 | 2.39 | 40,428 | 58.7% || **3** | Word | 0.1213 | 1.088 | 1.23 | 614,195 | 87.9% || **3** | Subword | 0.3832 | 1.304 | 2.24 | 96,490 | 61.7% || **4** | Word | 0.0415 🏆 | 1.029 | 1.07 | 756,623 | 95.8% || **4** | Subword | 0.3927 | 1.313 | 2.01 | 215,619 | 60.7% |### Generated Text Samples (Word-based)1 unmodified line**Context Size 1:**1. `a niyaro ira itiya mitahidang ko nani sera ira ko tamdaw no i likisi kingkiwso a`2. `no kalingko posong kowan 395 satoko cilafas to sapitoripes paysin hananay a tayni i lalan matengil`3. `ko sowal 波札那共和國 o no switzerland 瑞士 anini a tapolo malowid no sici misatapang romakat cira`**Context Size 2:**1. `ira ko piawniya taerniya maciton ato seroys etal a cakoma tamdaw chakma o sangco fociyaw theravāda k...`2. `romi ad pi arawan a patefoc ano ca i kiwkay ato mimokongay foksi ci cang congmin zhang`3. `i miheca saka 4 folad 22 romi ad no papotalay a kakafit list of current heads of`**Context Size 3:**1. `ka aloman no tamdaw no kasafinacadan i ko ira ko picodadan 台東專科 原住民族部落大學 空中大學 i niyaro ira ko`2. `a romi ad pawsa sato kiya wina niya wawa a pasowal jiya wina ningra ya saan ya wina`3. `ko tamdaw o roma sato i 31 ko tamdaw o pasinto no ka aloman no roma a finacadan`**Context Size 4:**1. `ko sa osi no parod no loma 921 ko sa osi no tamdaw 98 ko ka aloman no roma`2. `ko ka aloman no yincomin polong han i 97 ko tamdaw o roma sato i 9 ko ka aloman`3. `nina angan tilid i 18 南アフリカ共和国 日本外務省 nano nina angan tilid pdf i 24 7 government of ireland article`### Generated Text Samples (Subword-based)2 unmodified lines**Context Size 1:**1. `ayayah_n_n_ka._k`2. `_no_(池上田部—“f_nc_`3. `omicecakoli_para`**Context Size 2:**1. `o_lay_tan_a_kitay`2. `a_ko_cininay_to_a`3. `analay_tok_atoker`**Context Size 3:**1. `ay_a_honti”_ni_kit`2. `_a_roman_no_maka,_`3. `an_of_stas_no_paka`**Context Size 4:**1. `_no_opi_lilay._sa’o`2. `_ko_pikinko-’aloma’`3. `_to_tasiya_finaca_a`### Key Findings- **Best Predictability:** Context-4 (word) with 95.8% predictability- **Branching Factor:** Decreases with context size (more deterministic)- **Memory Trade-off:** Larger contexts require more storage (215,619 contexts)- **Recommendation:** Context-3 or Context-4 for text generation---9 unmodified lines| Metric | Value ||--------|-------|| Vocabulary Size | 29,996 || Total Tokens | 911,467 || Mean Frequency | 30.39 || Median Frequency | 3 || Frequency Std Dev | 650.13 |### Most Common Words| Rank | Word | Frequency ||------|------|-----------|| 1 | a | 59,636 || 2 | no | 47,923 || 3 | ko | 44,308 || 4 | to | 39,595 || 5 | i | 37,830 || 6 | o | 30,176 || 7 | ato | 10,792 || 8 | tamdaw | 10,688 || 9 | miheca | 6,765 || 10 | sa | 6,716 |### Least Common Words (from vocabulary)| Rank | Word | Frequency ||------|------|-----------|| 1 | paiyo | 2 || 2 | parangalan | 2 || 3 | 對豐年祭的一些看法 | 2 || 4 | kalikowatan | 2 || 5 | pisifat | 2 || 6 | suise | 2 || 7 | pililafangan | 2 || 8 | sapikomod | 2 || 9 | piselong | 2 || 10 | ekelay | 2 |### Zipf's Law Analysis| Metric | Value ||--------|-------|| Zipf Coefficient | 1.1663 || R² (Goodness of Fit) | 0.995345 || Adherence Quality | **excellent** |### Coverage Analysis| Top N Words | Coverage ||-------------|----------|| Top 100 | 52.9% || Top 1,000 | 76.5% || Top 5,000 | 89.8% || Top 10,000 | 94.1% |### Key Findings- **Zipf Compliance:** R²=0.9953 indicates excellent adherence to Zipf's law- **High Frequency Dominance:** Top 100 words cover 52.9% of corpus- **Long Tail:** 19,996 words needed for remaining 5.9% coverage---## 5. Word Embeddings Evaluation9 unmodified lines### 5.1 Cross-Lingual Alignment> *Note: Multilingual alignment visualization not available for this language.*### 5.2 Model Comparison| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 ||-------|-----------|----------|------------------|---------------|----------------|| **mono_32d** | 32 | 0.8374 🏆 | 0.3299 | N/A | N/A || **mono_64d** | 64 | 0.7849 | 0.2563 | N/A | N/A || **mono_128d** | 128 | 0.4896 | 0.2197 | N/A | N/A |### Key Findings- **Best Isotropy:** mono_32d with 0.8374 (more uniform distribution)- **Semantic Density:** Average pairwise similarity of 0.2686. Lower values indicate better semantic separation.- **Alignment Quality:** No aligned models evaluated in this run.- **Recommendation:** 128d aligned for best cross-lingual performance---## 6. Morphological Analysis (Experimental)> ⚠️ **Warning:** This language shows low morphological productivity. The statistical signals used for this analysis may be noisy or less reliable than for morphologically rich languages.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.### 6.1 Productivity & Complexity| Metric | Value | Interpretation | Recommendation ||--------|-------|----------------|----------------|| Productivity Index | **0.000** | Low morphological productivity | ⚠️ Likely unreliable || Idiomaticity Gap | **-1.000** | Low formulaic content | - |### 6.2 Affix Inventory (Productive Units)2 unmodified lines#### Productive Prefixes| Prefix | Examples ||--------|----------|| `-ma` | mapateli, matoasto, macekelay || `-mi` | milika, misahiraterateng, milafo || `-ka` | kariponan, kaorira, kalapaliw || `-pa` | pafatisay, paherekan, palecapu || `-sa` | safaniyotan, sarosaros, sakiikoray || `-pi` | piaw, pidemak, pirayray || `-ta` | tahaf, tanetekay, tadamarorayay || `-mal` | malamisiieday, malikiday, malatoloay |#### Productive Suffixes| Suffix | Examples ||--------|----------|| `-n` | balkan, iskawalian, otoman || `-y` | elay, qehuy, macekelay || `-ay` | elay, macekelay, tanetekay || `-an` | balkan, iskawalian, otoman || `-ng` | jinfeng, kopitahidang, arawang || `-en` | haratengen, adihayen, tatayalen |### 6.3 Bound Stems (Lexical Roots)1 unmodified line| Stem | Cohesion | Substitutability | Examples ||------|----------|------------------|----------|| `emak` | 2.36x | 36 contexts | demak, hemak, ademak || `alom` | 1.99x | 51 contexts | alomi, aloma, paloma || `ilid` | 2.22x | 32 contexts | tilid, atilid, pitilid || `dema` | 2.18x | 33 contexts | demak, ademak, odemak || `olon` | 1.98x | 47 contexts | kolon, tolon, polon || `iren` | 2.34x | 25 contexts | ireng, yiren, sairen || `ihec` | 2.13x | 28 contexts | niheca, kiheca, ciheci || `taki` | 2.23x | 15 contexts | takid, takimi, kitaki || `ngra` | 2.05x | 19 contexts | ingra, angra, cngra || `onga` | 1.49x | 55 contexts | fonga, ongay, tonga || `mihe` | 2.10x | 14 contexts | mihea, miheca, mihemek || `itak` | 1.81x | 22 contexts | kitakt, mitaka, kitaki |### 6.4 Affix Compatibility (Co-occurrence)1 unmodified line| Prefix | Suffix | Frequency | Examples ||--------|--------|-----------|----------|| `-ma` | `-y` | 239 words | masamaanay, malekoay || `-ma` | `-ay` | 238 words | masamaanay, malekoay || `-ka` | `-n` | 174 words | kalamkamen, kasopedan || `-mi` | `-y` | 173 words | misamoraday, mipelengay || `-mi` | `-ay` | 169 words | misamoraday, mipelengay || `-ka` | `-an` | 154 words | kasopedan, kacitiyadan || `-pa` | `-n` | 122 words | paecasan, pahapingan || `-pi` | `-n` | 122 words | pitokadan, pitengilan || `-pi` | `-an` | 117 words | pitokadan, pitengilan || `-pa` | `-y` | 81 words | papaysoay, pakaenay |### 6.5 Recursive Morpheme Segmentation1 unmodified line| Word | Suggested Split | Confidence | Stem ||------|-----------------|------------|------|| masataporoay | **`ma-sa-ta-poro-ay`** | 9.0 | `poro` || pipafilongan | **`pi-pa-filo-ng-an`** | 9.0 | `filo` || masamaamaanay | **`ma-sa-ma-amaan-ay`** | 9.0 | `amaan` || papisatoronen | **`pa-pi-sa-toron-en`** | 9.0 | `toron` || milinganganay | **`mi-linga-ng-an-ay`** | 9.0 | `linga` || mikapolongan | **`mi-ka-polo-ng-an`** | 9.0 | `polo` || kasakakitaan | **`ka-sa-ka-kita-an`** | 9.0 | `kita` || mapanganganay | **`ma-pa-ngang-an-ay`** | 9.0 | `ngang` || talolongay | **`ta-lolo-ng-ay`** | 7.5 | `lolo` || mipalawacoay | **`mi-pa-lawaco-ay`** | 7.5 | `lawaco` || sakalaloodan | **`sa-ka-lalood-an`** | 7.5 | `lalood` || masakapahay | **`ma-sa-ka-pahay`** | 7.5 | `pahay` || pisaomahan | **`pi-sa-omah-an`** | 7.5 | `omah` || pakapatayay | **`pa-ka-pa-tayay`** | 7.5 | `tayay` || mamipadoedo | **`ma-mi-pa-doedo`** | 7.5 | `doedo` |### 6.6 Linguistic Interpretation> **Automated Insight:**The language AMI appears to be more isolating or has a highly fixed vocabulary. Word-level models perform nearly as well as subword models, indicating fewer productive morphological processes.---## 7. Summary & Recommendations5 unmodified lines| Component | Recommended | Rationale ||-----------|-------------|-----------|| Tokenizer | **64k BPE** | Best compression (3.61x) || N-gram | **2-gram** | Lowest perplexity (207) || Markov | **Context-4** | Highest predictability (95.8%) || Embeddings | **100d** | Balanced semantic capture and isotropy |208 unmodified lines---*Generated by Wikilangs Models Pipeline**Report Date: 2026-01-03 05:06:08*1234563 unmodified lines1011121314151617181920212223242526272829302 unmodified lines333435363738394041424344454647484950515217 unmodified lines7071727374757613 unmodified lines9091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513610 unmodified lines1471481491501511521531541551561571581591601 unmodified line1621631641651661671681691701711721731741751761771781791805 unmodified lines1861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482499 unmodified lines2592602612622632642652662672682692702712721 unmodified line2742752762772782792802812822832842852862872882892902912922932942952962972982993002 unmodified lines3033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353369 unmodified lines3463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084099 unmodified lines4194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574582 unmodified lines4614624634644654664674684694704714724734744754764774784794804814824834841 unmodified line4864874884894904914924934944954964974984995005015025031 unmodified line5055065075085095105115125135145155165175185195201 unmodified line5225235245255265275285295305315325335345355365375385395405415425435445455465475 unmodified lines553554555556557558559208 unmodified lines768769770771---language: amilanguage_name: Amislanguage_family: austronesian_formosantags:- wikilangs3 unmodified lines- n-gram- markov- wikipedia- feature-extraction- sentence-similarity- tokenization- n-grams- markov-chain- text-mining- fasttext- babelvec- vocabulous- vocabulary- monolingual- family-austronesian_formosanlicense: mitlibrary_name: wikilangspipeline_tag: text-generationdatasets:- omarkamali/wikipedia-monthlydataset_info:2 unmodified linesmetrics:- name: best_compression_ratiotype: compressionvalue: 3.607- name: best_isotropytype: isotropyvalue: 0.8437- name: vocabulary_sizetype: vocabvalue: 0generated: 2026-01-03---# Amis - Wikilangs Models## Comprehensive Research Report & Full Ablation StudyThis repository contains NLP models trained and evaluated by Wikilangs, specifically on **Amis** Wikipedia data.We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.## 📋 Repository Contents17 unmodified lines- [3. Markov Chain Evaluation](#3-markov-chain-evaluation)- [4. Vocabulary Analysis](#4-vocabulary-analysis)- [5. Word Embeddings Evaluation](#5-word-embeddings-evaluation)- [6. Morphological Analysis (Experimental)](#6--morphological-analysis-experimental)- [7. Summary & Recommendations](#7-summary--recommendations)- [Metrics Glossary](#appendix-metrics-glossary--interpretation-guide)- [Visualizations Index](#visualizations-index)13 unmodified lines| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens ||------------|-------------|---------------|----------|--------------|| **8k** | 3.160x | 3.16 | 0.4656% | 701,501 || **16k** | 3.337x | 3.34 | 0.4917% | 664,267 || **32k** | 3.486x | 3.49 | 0.5136% | 635,874 || **64k** | 3.607x 🏆 | 3.61 | 0.5314% | 614,596 |### Tokenization ExamplesBelow are sample sentences tokenized with each vocabulary size:**Sample 1:** `ising(Kuwaping a sowal:醫生) O maan ko ising? O ising kako. 'Amis`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁ising ( kuwaping ▁a ▁sowal : 醫生 ) ▁o ▁maan ... (+9 more)` | 19 || 16k | `▁ising ( kuwaping ▁a ▁sowal : 醫生 ) ▁o ▁maan ... (+9 more)` | 19 || 32k | `▁ising ( kuwaping ▁a ▁sowal : 醫生 ) ▁o ▁maan ... (+9 more)` | 19 || 64k | `▁ising ( kuwaping ▁a ▁sowal : 醫生 ) ▁o ▁maan ... (+9 more)` | 19 |**Sample 2:** `O Sir James Paul McCartney(kuwaping a sowal:保羅·麥卡尼)`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁o ▁sir ▁j am es ▁paul ▁mc car tn ey ... (+11 more)` | 21 || 16k | `▁o ▁sir ▁james ▁paul ▁mccartney ( kuwaping ▁a ▁sowal : ... (+6 more)` | 16 || 32k | `▁o ▁sir ▁james ▁paul ▁mccartney ( kuwaping ▁a ▁sowal : ... (+4 more)` | 14 || 64k | `▁o ▁sir ▁james ▁paul ▁mccartney ( kuwaping ▁a ▁sowal : ... (+4 more)` | 14 |**Sample 3:** `hana (花) O mialaan nai Dipong kona sowal. O falo han no roma a niyaro', no roma ...`| Vocab | Tokens | Count ||-------|--------|-------|| 8k | `▁hana ▁( 花 ) ▁o ▁mi alaan ▁nai ▁dipong ▁kona ... (+15 more)` | 25 || 16k | `▁hana ▁( 花 ) ▁o ▁mialaan ▁nai ▁dipong ▁kona ▁sowal ... (+14 more)` | 24 || 32k | `▁hana ▁( 花 ) ▁o ▁mialaan ▁nai ▁dipong ▁kona ▁sowal ... (+14 more)` | 24 || 64k | `▁hana ▁( 花 ) ▁o ▁mialaan ▁nai ▁dipong ▁kona ▁sowal ... (+14 more)` | 24 |### Key Findings- **Best Compression:** 64k achieves 3.607x compression- **Lowest UNK Rate:** 8k with 0.4656% unknown tokens- **Trade-off:** Larger vocabularies improve compression but increase model size- **Recommendation:** 32k vocabulary provides optimal balance for production use10 unmodified lines| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage ||--------|---------|------------|---------|----------------|------------------|-------------------|| **2-gram** | Word | 6,664 | 12.70 | 22,555 | 20.4% | 47.4% || **2-gram** | Subword | 206 🏆 | 7.68 | 6,765 | 78.7% | 98.2% || **3-gram** | Word | 12,814 | 13.65 | 36,103 | 17.1% | 36.4% || **3-gram** | Subword | 1,357 | 10.41 | 25,329 | 37.0% | 81.9% || **4-gram** | Word | 30,923 | 14.92 | 77,456 | 15.4% | 26.9% || **4-gram** | Subword | 6,313 | 12.62 | 95,308 | 18.3% | 53.9% || **5-gram** | Word | 25,903 | 14.66 | 63,935 | 16.8% | 28.0% || **5-gram** | Subword | 18,568 | 14.18 | 183,225 | 11.1% | 36.2% |### Top 5 N-grams by Size1 unmodified line| Rank | N-gram | Count ||------|--------|-------|| 1 | `ira ko` | 5,084 || 2 | `romi ad` | 4,077 || 3 | `i miheca` | 2,844 || 4 | `a tamdaw` | 2,817 || 5 | `a sowal` | 2,775 |**3-grams (Word):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `ka aloman no` | 2,123 || 2 | `a romi ad` | 1,679 || 3 | `ko tamdaw o` | 1,567 || 4 | `sa osi no` | 1,535 || 5 | `ko ka aloman` | 1,534 |5 unmodified lines| 2 | `ko ka aloman no` | 1,395 || 3 | `nina angan tilid i` | 853 || 4 | `nano nina angan tilid` | 845 || 5 | `o roma sato i` | 767 |**5-grams (Word):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `nano nina angan tilid i` | 820 || 2 | `aloman no roma a finacadan` | 737 || 3 | `tamdaw o roma sato i` | 737 || 4 | `ko sa osi no parod` | 736 || 5 | `sa osi no parod no` | 736 |**2-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `o _` | 201,957 || 2 | `a _` | 143,658 || 3 | `a n` | 139,880 || 4 | `_ k` | 106,844 || 5 | `a y` | 96,918 |**3-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `a y _` | 60,683 || 2 | `_ a _` | 59,010 || 3 | `n o _` | 54,715 || 4 | `a n _` | 54,705 || 5 | `t o _` | 54,068 |**4-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `_ n o _` | 47,866 || 2 | `_ k o _` | 44,431 || 3 | `_ t o _` | 37,474 || 4 | `o _ k a` | 18,696 || 5 | `a y _ a` | 15,406 |**5-grams (Subword):**| Rank | N-gram | Count ||------|--------|-------|| 1 | `n _ n o _` | 13,318 || 2 | `a y _ a _` | 13,310 || 3 | `a n _ n o` | 11,599 || 4 | `a m d a w` | 11,462 || 5 | `t a m d a` | 11,449 |### Key Findings- **Best Perplexity:** 2-gram (subword) with 206- **Entropy Trend:** Decreases with larger n-grams (more predictable)- **Coverage:** Top-1000 patterns cover ~36% of corpus- **Recommendation:** 4-gram or 5-gram for best predictive performance---9 unmodified lines| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability ||---------|---------|-------------|------------|------------------|-----------------|----------------|| **1** | Word | 0.6135 | 1.530 | 4.53 | 72,743 | 38.7% || **1** | Subword | 1.5301 | 2.888 | 10.10 | 4,131 | 0.0% || **2** | Word | 0.3027 | 1.233 | 1.87 | 329,306 | 69.7% || **2** | Subword | 0.4066 | 1.326 | 2.35 | 41,693 | 59.3% || **3** | Word | 0.1215 | 1.088 | 1.23 | 614,944 | 87.9% || **3** | Subword | 0.3759 | 1.298 | 2.21 | 98,063 | 62.4% || **4** | Word | 0.0417 🏆 | 1.029 | 1.07 | 757,884 | 95.8% || **4** | Subword | 0.3880 | 1.309 | 2.00 | 216,477 | 61.2% |### Generated Text Samples (Word-based)1 unmodified line**Context Size 1:**1. `a sowal 蝦 hananay ato misalidong i cowacowa a ingiden a misanga an a malasawad ko`2. `no riyaran ko pico ay koya nitahidangan caay sa osi no pinalengaw a sowal 里約熱內盧 i`3. `ko wawa i mihecaan malamirotocay to amilika misafa eloh a atapangan rikec saka 8 saka 8`**Context Size 2:**1. `ira ko sakowan no po o kakeridan no tadamaanay lisin mapatiko tayra i anpin 9 miheca 7`2. `romi ad tahira i miheca oni pacomodan a dafong 經濟 縮圖 niyaro gitega flickr dave proffer ato`3. `i miheca 希臘應借鑑愛爾蘭 實事求是由奢入儉 miheca lacemcem ko kohecalay tamdaw no ikiris a sowal formula ona kala ed...`**Context Size 3:**1. `ka aloman no yincomin polong han i 821 ko tamdaw o roma sato saheto i manikaway a kaliomahan`2. `a romi ad o mihayiay 49 77 o minaayay ira ko 50 ko madengaay to nia aids 23`3. `ko tamdaw o poay li i miheca a new hebrides palapa lira ko 45 000 a month reuters`**Context Size 4:**1. `ko sa osi no tamdaw 97 ko ka aloman no roma a finacadan polong 全部 han i 11 ko`2. `ko ka aloman no roma a finacadan polong han i 53 ko tamdaw o roma sato i 7 ko`3. `nina angan tilid i 522 south africa tona ci mandela ato kalalaed no finacadan mala likisiay to new y...`### Generated Text Samples (Subword-based)2 unmodified lines**Context Size 1:**1. `afidawapafoco_ip`2. `_巴哥維茨·穆罕默西亞灣基追思的`3. `o’ena_mu_no_safi`**Context Size 2:**1. `o_samday_a_i_lont`2. `a_cifetatating_a_`3. `an._ci_jinceca,_s`**Context Size 3:**1. `ay_lals_mata._ikir`2. `_a_mital,_tangos_n`3. `no_kasapipankos_of`**Context Size 4:**1. `_no_nina’angra_to,_`2. `_ko_tamdaw;_o_romi’`3. `_to_i,_caay_ko_i_ta`### Key Findings- **Best Predictability:** Context-4 (word) with 95.8% predictability- **Branching Factor:** Decreases with context size (more deterministic)- **Memory Trade-off:** Larger contexts require more storage (216,477 contexts)- **Recommendation:** Context-3 or Context-4 for text generation---9 unmodified lines| Metric | Value ||--------|-------|| Vocabulary Size | 29,904 || Total Tokens | 912,858 || Mean Frequency | 30.53 || Median Frequency | 3 || Frequency Std Dev | 654.44 |### Most Common Words| Rank | Word | Frequency ||------|------|-----------|| 1 | a | 59,833 || 2 | no | 48,143 || 3 | ko | 44,598 || 4 | to | 39,959 || 5 | i | 38,034 || 6 | o | 30,294 || 7 | ato | 10,833 || 8 | tamdaw | 10,726 || 9 | miheca | 6,785 || 10 | sa | 6,742 |### Least Common Words (from vocabulary)| Rank | Word | Frequency ||------|------|-----------|| 1 | hiay | 2 || 2 | 牡丹社事件 | 2 || 3 | pasitenokay | 2 || 4 | satsuma | 2 || 5 | pisamawmaw | 2 || 6 | saigo | 2 || 7 | tsumoru | 2 || 8 | vetoma | 2 || 9 | mitingting | 2 || 10 | kalosaasik | 2 |### Zipf's Law Analysis| Metric | Value ||--------|-------|| Zipf Coefficient | 1.1692 || R² (Goodness of Fit) | 0.995283 || Adherence Quality | **excellent** |### Coverage Analysis| Top N Words | Coverage ||-------------|----------|| Top 100 | 53.0% || Top 1,000 | 76.7% || Top 5,000 | 89.9% || Top 10,000 | 94.1% |### Key Findings- **Zipf Compliance:** R²=0.9953 indicates excellent adherence to Zipf's law- **High Frequency Dominance:** Top 100 words cover 53.0% of corpus- **Long Tail:** 19,904 words needed for remaining 5.9% coverage---## 5. Word Embeddings Evaluation9 unmodified lines### 5.1 Cross-Lingual Alignment### 5.2 Model Comparison| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 ||-------|-----------|----------|------------------|---------------|----------------|| **mono_32d** | 32 | 0.8437 | 0.3356 | N/A | N/A || **mono_64d** | 64 | 0.8007 | 0.2526 | N/A | N/A || **mono_128d** | 128 | 0.4818 | 0.2214 | N/A | N/A || **aligned_32d** | 32 | 0.8437 🏆 | 0.3313 | 0.0340 | 0.2100 || **aligned_64d** | 64 | 0.8007 | 0.2560 | 0.0540 | 0.2540 || **aligned_128d** | 128 | 0.4818 | 0.2213 | 0.1040 | 0.3400 |### Key Findings- **Best Isotropy:** aligned_32d with 0.8437 (more uniform distribution)- **Semantic Density:** Average pairwise similarity of 0.2697. Lower values indicate better semantic separation.- **Alignment Quality:** Aligned models achieve up to 10.4% R@1 in cross-lingual retrieval.- **Recommendation:** 128d aligned for best cross-lingual performance---## 6. Morphological Analysis (Experimental)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.### 6.1 Productivity & Complexity| Metric | Value | Interpretation | Recommendation ||--------|-------|----------------|----------------|| Productivity Index | **5.000** | High morphological productivity | Reliable analysis || Idiomaticity Gap | **-0.226** | Low formulaic content | - |### 6.2 Affix Inventory (Productive Units)2 unmodified lines#### Productive Prefixes| Prefix | Examples ||--------|----------|| `-ma` | mamakari, mapasifana, mamisarocod || `-mi` | mipaliwalay, micowatan, mipadangay || `-ka` | kasasolsol, kasasiked, katulagan || `-sa` | sacipaysoay, sakararamod, sapifelih || `-pa` | pataminaan, pawalian, paliwalan || `-pi` | pidafo, pirnato, pisaepahan || `-ta` | tatangangay, taypa, taipingjing || `-mal` | maliyangay, malawidangay, malikiday |#### Productive Suffixes| Suffix | Examples ||--------|----------|| `-n` | cayin, napirmaan, komian || `-y` | mipaliwalay, ccayay, nanomay || `-ay` | mipaliwalay, ccayay, nanomay || `-an` | napirmaan, komian, pataminaan || `-ng` | popatireng, intuyang, awsiyong || `-en` | cecayen, iloen, pakilacen |### 6.3 Bound Stems (Lexical Roots)1 unmodified line| Stem | Cohesion | Substitutability | Examples ||------|----------|------------------|----------|| `emak` | 2.37x | 36 contexts | demak, hemak, ademak || `alom` | 2.07x | 51 contexts | aloma, alomi, naloma || `ilid` | 2.25x | 32 contexts | tilid, atilid, mililid || `dema` | 2.16x | 33 contexts | demak, ademak, odemak || `olon` | 1.93x | 46 contexts | tolon, olong, polon || `iren` | 2.24x | 25 contexts | ireng, yiren, sairen || `ihec` | 2.13x | 28 contexts | niheca, miheca, ciheci || `onga` | 1.54x | 55 contexts | ongay, conga, songa || `taki` | 2.19x | 15 contexts | takid, takimi, kitaki || `ngra` | 1.98x | 19 contexts | ingra, cngra, angra || `mihe` | 2.08x | 14 contexts | mihea, miheca, miheaan || `ngan` | 1.37x | 52 contexts | ngani, ingan, angan |### 6.4 Affix Compatibility (Co-occurrence)1 unmodified line| Prefix | Suffix | Frequency | Examples ||--------|--------|-----------|----------|| `-ma` | `-y` | 212 words | mafalicay, mapatodongay || `-ma` | `-ay` | 210 words | mafalicay, mapatodongay || `-mi` | `-y` | 196 words | mitekeday, mihinomay || `-mi` | `-ay` | 190 words | mitekeday, mihinomay || `-ka` | `-n` | 187 words | kasakapingan, kamaomahan || `-ka` | `-an` | 168 words | kasakapingan, kamaomahan || `-pa` | `-n` | 119 words | pasitaywan, palinkaan || `-pi` | `-n` | 113 words | pisiyakayan, pidemakan || `-pi` | `-an` | 105 words | pisiyakayan, pidemakan || `-pa` | `-y` | 91 words | pacarcaray, pahay |### 6.5 Recursive Morpheme Segmentation1 unmodified line| Word | Suggested Split | Confidence | Stem ||------|-----------------|------------|------|| pipalafangan | **`pi-pa-lafa-ng-an`** | 9.0 | `lafa` || masataporoay | **`ma-sa-ta-poro-ay`** | 9.0 | `poro` || kasatatelekan | **`ka-sa-ta-telek-an`** | 9.0 | `telek` || masapinangay | **`ma-sa-pi-nang-ay`** | 9.0 | `nang` || pipanganganan | **`pi-pa-ngang-an-an`** | 9.0 | `ngang` || tatefingen | **`ta-tefi-ng-en`** | 7.5 | `tefi` || masawawaay | **`ma-sa-wawa-ay`** | 7.5 | `wawa` || mikowananay | **`mi-kowan-an-ay`** | 7.5 | `kowan` || papinanamen | **`pa-pi-nanam-en`** | 7.5 | `nanam` || kakakilimen | **`ka-ka-kilim-en`** | 7.5 | `kilim` || mipatenakay | **`mi-pa-tenak-ay`** | 7.5 | `tenak` || masamaciay | **`ma-sa-ma-ciay`** | 7.5 | `ciay` || pakalayapay | **`pa-ka-layap-ay`** | 7.5 | `layap` || pisadingkian | **`pi-sa-dingki-an`** | 7.5 | `dingki` || sakapilowid | **`sa-ka-pi-lowid`** | 7.5 | `lowid` |### 6.6 Linguistic Interpretation> **Automated Insight:**The language Amis shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.---## 7. Summary & Recommendations5 unmodified lines| Component | Recommended | Rationale ||-----------|-------------|-----------|| Tokenizer | **64k BPE** | Best compression (3.61x) || N-gram | **2-gram** | Lowest perplexity (206) || Markov | **Context-4** | Highest predictability (95.8%) || Embeddings | **100d** | Balanced semantic capture and isotropy |208 unmodified lines---*Generated by Wikilangs Models Pipeline**Report Date: 2026-01-03 18:29:47*
123version https://git-lfs.github.com/spec/v1oid sha256:de118da613ec45a6991af9b44e998f7518b254f0fcf867f93d8122f3e825282bsize 10369686721{"lang": "ami", "dim": 128, "max_seq_len": 512, "is_aligned": true}123version https://git-lfs.github.com/spec/v1oid sha256:2fe4fa65eee666f0e4552bbe4cadc75d43f8824020da4e9755fc8114b39b8341size 6566412345678{ "language": "ami", "dimension": 128, "version": "aligned", "hub_language": "en", "seed_vocab_size": 2500, "vocab_size": 12449}123version https://git-lfs.github.com/spec/v1oid sha256:559cb11071b8398ce9d177cc7a7713bef8c5400a194bc42e74e416d1441ac42csize 2594078401{"lang": "ami", "dim": 32, "max_seq_len": 512, "is_aligned": true}123version https://git-lfs.github.com/spec/v1oid sha256:b3b753ca7b1d0fc8790128d27e41bcbcd2f4b1694f18f9460a615b0535b99b06size 422412345678{ "language": "ami", "dimension": 32, "version": "aligned", "hub_language": "en", "seed_vocab_size": 2500, "vocab_size": 12449}123version https://git-lfs.github.com/spec/v1oid sha256:fabf88d153dcebf07c6df29f5504a44ad10ff5ec568cc8a1942cf0f903c44affsize 5185947841{"lang": "ami", "dim": 64, "max_seq_len": 512, "is_aligned": true}123version https://git-lfs.github.com/spec/v1oid sha256:d9272800ae6067c13be4b9b739ea60581c08b708d5aa8946343b63aa4c0927absize 1651212345678{ "language": "ami", "dimension": 64, "version": "aligned", "hub_language": "en", "seed_vocab_size": 2500, "vocab_size": 12449}123version https://git-lfs.github.com/spec/v1oid sha256:15905bdf3ef2a2c33080d911e43499747f02a98b908fe2fd8f60829e51b06e3bsize 1036991498123version https://git-lfs.github.com/spec/v1oid sha256:de118da613ec45a6991af9b44e998f7518b254f0fcf867f93d8122f3e825282bsize 1036968672
10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 128},"vocab_size": 12471}10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 128},"vocab_size": 12449}
123version https://git-lfs.github.com/spec/v1oid sha256:1637a213277140817cb0abdc86b03667570ab2c62b90fadaab2d4f67dd7d34c1size 259413770123version https://git-lfs.github.com/spec/v1oid sha256:559cb11071b8398ce9d177cc7a7713bef8c5400a194bc42e74e416d1441ac42csize 259407840
10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 32},"vocab_size": 12471}10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 32},"vocab_size": 12449}
123version https://git-lfs.github.com/spec/v1oid sha256:d86b494753732d38bf3c59ecf55e84334333d1b828be2bb495f8f20346d41fe7size 518606346123version https://git-lfs.github.com/spec/v1oid sha256:fabf88d153dcebf07c6df29f5504a44ad10ff5ec568cc8a1942cf0f903c44affsize 518594784
10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 64},"vocab_size": 12471}10 unmodified lines111213141510 unmodified lines"encoding_method": "rope","dim": 64},"vocab_size": 12449}
123version https://git-lfs.github.com/spec/v1oid sha256:bd6c5414c5d99f255c9a24fd799f5715c61d98151829429da1c891c950c71b6csize 237122123version https://git-lfs.github.com/spec/v1oid sha256:c901c46305c08d84a4b964bd54dc4782807d216b7647d90b2b8ad558ef813d6fsize 247661
1 unmodified line2345671 unmodified line"context_size": 1,"variant": "subword","language": "ami","unique_contexts": 4060,"total_transitions": 5416535}1 unmodified line2345671 unmodified line"context_size": 1,"variant": "subword","language": "ami","unique_contexts": 4131,"total_transitions": 5423690}
123version https://git-lfs.github.com/spec/v1oid sha256:c95bebddb17ca6bb55229dc5f814136974b0cdf0bec76337ee41e0101f6d951dsize 896649123version https://git-lfs.github.com/spec/v1oid sha256:f8e04c3461094fea47a79e6fe2baeef864b2d179ed2548869b07b3f8c25c89fbsize 901465
1 unmodified line2345671 unmodified line"context_size": 2,"variant": "subword","language": "ami","unique_contexts": 40428,"total_transitions": 5414744}1 unmodified line2345671 unmodified line"context_size": 2,"variant": "subword","language": "ami","unique_contexts": 41693,"total_transitions": 5421893}
123version https://git-lfs.github.com/spec/v1oid sha256:3bdee46d76e034d877f43a9063eb7dced0030fd717bea264027433f451c9d30bsize 2005109123version https://git-lfs.github.com/spec/v1oid sha256:2f656fbe0d08ebee25d0f1268fb1db3b8eb75919e1351bbfeb6e4f545e0ebb0asize 2056557
1 unmodified line2345671 unmodified line"context_size": 3,"variant": "subword","language": "ami","unique_contexts": 96490,"total_transitions": 5412953}1 unmodified line2345671 unmodified line"context_size": 3,"variant": "subword","language": "ami","unique_contexts": 98063,"total_transitions": 5420096}
123version https://git-lfs.github.com/spec/v1oid sha256:5583564cfdde5d8d793971d0b83f3491b51f34500300b4550db8c3f95b407fdcsize 4098231123version https://git-lfs.github.com/spec/v1oid sha256:b7b647770f810150775f485b560626b9824ab6a0814db4ad04b905b40fa9faa7size 4175569
1 unmodified line2345671 unmodified line"context_size": 4,"variant": "subword","language": "ami","unique_contexts": 215619,"total_transitions": 5411162}1 unmodified line2345671 unmodified line"context_size": 4,"variant": "subword","language": "ami","unique_contexts": 216477,"total_transitions": 5418299}
123version https://git-lfs.github.com/spec/v1oid sha256:e1026db4cb824d7fb2d17207e6726e192995fccc42121a6deb342c7b4330714asize 88989123version https://git-lfs.github.com/spec/v1oid sha256:ffdc9000cd20471468e7bebee1bd756539ba5d2714192bd64736082b1c990656size 89447
1 unmodified line2345671 unmodified line"n": 2,"variant": "subword","language": "ami","unique_ngrams": 6731,"total_ngrams": 5416535}1 unmodified line2345671 unmodified line"n": 2,"variant": "subword","language": "ami","unique_ngrams": 6765,"total_ngrams": 5423690}
123version https://git-lfs.github.com/spec/v1oid sha256:75fd09f81b66ca76353d7986bbb6cbcf010ea89e9f05da2205a5da78535f5399size 336416123version https://git-lfs.github.com/spec/v1oid sha256:7dca9563d3531c94375db0537d490040d08506f5e0efad5b0d87219d84fc13f9size 332364
1 unmodified line2345671 unmodified line"n": 3,"variant": "subword","language": "ami","unique_ngrams": 25440,"total_ngrams": 5414744}1 unmodified line2345671 unmodified line"n": 3,"variant": "subword","language": "ami","unique_ngrams": 25329,"total_ngrams": 5421893}
123version https://git-lfs.github.com/spec/v1oid sha256:2dba14c53ee7a60b255aeac3e25837701b86d507511cedb46513b241b52709d2size 1158460123version https://git-lfs.github.com/spec/v1oid sha256:8d84bc8df40e56f7ad0f204a309ad5aab4c0996143e2674c20cb46cad4108192size 1159066
1 unmodified line2345671 unmodified line"n": 4,"variant": "subword","language": "ami","unique_ngrams": 95881,"total_ngrams": 5412953}1 unmodified line2345671 unmodified line"n": 4,"variant": "subword","language": "ami","unique_ngrams": 95308,"total_ngrams": 5420096}
123version https://git-lfs.github.com/spec/v1oid sha256:a950a2f4094dbbbe183988151416e023c729072f6a40ae9a5ccb14164e529ec8size 21863161234567{ "n": 5, "variant": "subword", "language": "ami", "unique_ngrams": 183225, "total_ngrams": 5418299}123version https://git-lfs.github.com/spec/v1oid sha256:717608566d5035e11e0b6a237c9dc8de306a618502b3c9c2d163cff3d89a1fd3size 504074123version https://git-lfs.github.com/spec/v1oid sha256:e65adcd6ca6102ba2b5d303404702966781752a577d8c1d3cc4cc3b86d0c1b93size 504355
123version https://git-lfs.github.com/spec/v1oid sha256:65580b9ce13917e013a326ec049db42b294a2d5b301ede6cece658a66bf01a32size 812779123version https://git-lfs.github.com/spec/v1oid sha256:4c007e0cf1053efe7e2edf3da82abdc5bc6cb2c51c6655e3d30568d071001e58size 813484
123version https://git-lfs.github.com/spec/v1oid sha256:cc91af1f68cf46d19a5cf0946b2630e7d893f6743a951a7b586d0bab9b304a41size 1350707123version https://git-lfs.github.com/spec/v1oid sha256:298bb8c8177ab1904268167abfe0adaca25036562fdcbb005ac9d6a720531459size 1351428
123version https://git-lfs.github.com/spec/v1oid sha256:299585e3fae7c7c16e32939fafacf44061bf52adbb735a7cc3118845a7421988size 367877123version https://git-lfs.github.com/spec/v1oid sha256:b07445891cd6ffb74bd65332fc302306f71376ee25ab5f8d784612ae8a8cafb6size 368749
123version https://git-lfs.github.com/spec/v1oid sha256:5b2554bb753aa34783bd74f1d3bc80f61a566f9e2273bab9bfdd7d5526d3aa32size 519354123version https://git-lfs.github.com/spec/v1oid sha256:03da06f98885efb144f2df5ca41e4151ca9f9b30e00147a7048bbf4e77745ee8size 517595
1234567891011121314151617{"language": "ami","vocabulary_size": 29996,"variant": "full","statistics": {"type_token_ratio": 0.07616371567334841,"coverage": {"top_100": 0.5051533209941497,"top_1000": 0.7309960152681676,"top_5000": 0.8578964137413508,"top_10000": 0.8988609661874228},"hapax_count": 42675,"hapax_ratio": 0.5872356235637325,"total_documents": 1791}}1234567891011121314151617{"language": "ami","vocabulary_size": 29904,"variant": "full","statistics": {"type_token_ratio": 0.07617796062199585,"coverage": {"top_100": 0.5065989231628795,"top_1000": 0.7323224819568052,"top_5000": 0.8585714853697887,"top_10000": 0.8991799213611756},"hapax_count": 42904,"hapax_ratio": 0.589275903746841,"total_documents": 1797}}
123version https://git-lfs.github.com/spec/v1oid sha256:82994f99e1f273b3e05d36bc2663a6668f77084bae001566586edc6fa521ceacsize 2810453123version https://git-lfs.github.com/spec/v1oid sha256:ebbde2c1b533fd48aea2a88f55a1c8cf98dc5566c0cbdefd8d7ad3b6ad7d56e5size 2801692
1 unmodified line2345671 unmodified line"context_size": 1,"variant": "word","language": "ami","unique_contexts": 72606,"total_transitions": 952351}1 unmodified line2345671 unmodified line"context_size": 1,"variant": "word","language": "ami","unique_contexts": 72743,"total_transitions": 953965}
123version https://git-lfs.github.com/spec/v1oid sha256:8c3d060cf7c94ddcc5b80137ae2381c825554392a922b3f095d2bc6335335c03size 6568432123version https://git-lfs.github.com/spec/v1oid sha256:66dc581ec1dec7dc988b94faa808ff00fd17975a1ed8c16709129f7008194fe6size 6557162
1 unmodified line2345671 unmodified line"context_size": 2,"variant": "word","language": "ami","unique_contexts": 329508,"total_transitions": 950560}1 unmodified line2345671 unmodified line"context_size": 2,"variant": "word","language": "ami","unique_contexts": 329306,"total_transitions": 952168}
.gitattributes+1
README.md+222-187
models/embeddings/aligned/ami_128d.binAdded+3
models/embeddings/aligned/ami_128d.meta.jsonAdded+1
models/embeddings/aligned/ami_128d.projection.npyAdded+3
models/embeddings/aligned/ami_128d_metadata.jsonAdded+8
models/embeddings/aligned/ami_32d.binAdded+3
models/embeddings/aligned/ami_32d.meta.jsonAdded+1
models/embeddings/aligned/ami_32d.projection.npyAdded+3
models/embeddings/aligned/ami_32d_metadata.jsonAdded+8
models/embeddings/aligned/ami_64d.binAdded+3
models/embeddings/aligned/ami_64d.meta.jsonAdded+1
models/embeddings/aligned/ami_64d.projection.npyAdded+3
models/embeddings/aligned/ami_64d_metadata.jsonAdded+8
models/embeddings/monolingual/ami_128d.bin+2-2
models/embeddings/monolingual/ami_128d_metadata.json+1-1
models/embeddings/monolingual/ami_32d.bin+2-2
models/embeddings/monolingual/ami_32d_metadata.json+1-1
models/embeddings/monolingual/ami_64d.bin+2-2
models/embeddings/monolingual/ami_64d_metadata.json+1-1
models/subword_markov/ami_markov_ctx1_subword.parquet+2-2
models/subword_markov/ami_markov_ctx1_subword_metadata.json+2-2
models/subword_markov/ami_markov_ctx2_subword.parquet+2-2
models/subword_markov/ami_markov_ctx2_subword_metadata.json+2-2
models/subword_markov/ami_markov_ctx3_subword.parquet+2-2
models/subword_markov/ami_markov_ctx3_subword_metadata.json+2-2
models/subword_markov/ami_markov_ctx4_subword.parquet+2-2
models/subword_markov/ami_markov_ctx4_subword_metadata.json+2-2
models/subword_ngram/ami_2gram_subword.parquet+2-2
models/subword_ngram/ami_2gram_subword_metadata.json+2-2
models/subword_ngram/ami_3gram_subword.parquet+2-2
models/subword_ngram/ami_3gram_subword_metadata.json+2-2
models/subword_ngram/ami_4gram_subword.parquet+2-2
models/subword_ngram/ami_4gram_subword_metadata.json+2-2
models/subword_ngram/ami_5gram_subword.parquetAdded+3
models/subword_ngram/ami_5gram_subword_metadata.jsonAdded+7
models/tokenizer/ami_tokenizer_16k.model+2-2
models/tokenizer/ami_tokenizer_16k.vocab
models/tokenizer/ami_tokenizer_32k.model+2-2
models/tokenizer/ami_tokenizer_32k.vocab
models/tokenizer/ami_tokenizer_64k.model+2-2
models/tokenizer/ami_tokenizer_64k.vocab
models/tokenizer/ami_tokenizer_8k.model+2-2
models/tokenizer/ami_tokenizer_8k.vocab
models/vocabulary/ami_vocabulary.parquet+2-2
models/vocabulary/ami_vocabulary_metadata.json+9-9
models/word_markov/ami_markov_ctx1_word.parquet+2-2
models/word_markov/ami_markov_ctx1_word_metadata.json+2-2
models/word_markov/ami_markov_ctx2_word.parquet+2-2
models/word_markov/ami_markov_ctx2_word_metadata.json+2-2