Upload all models and assets for wuu (latest)
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +7 -0
- README.md +764 -0
- models/embeddings/aligned/wuu_128d.bin +3 -0
- models/embeddings/aligned/wuu_128d.meta.json +1 -0
- models/embeddings/aligned/wuu_128d.projection.npy +3 -0
- models/embeddings/aligned/wuu_128d_metadata.json +8 -0
- models/embeddings/aligned/wuu_32d.bin +3 -0
- models/embeddings/aligned/wuu_32d.meta.json +1 -0
- models/embeddings/aligned/wuu_32d.projection.npy +3 -0
- models/embeddings/aligned/wuu_32d_metadata.json +8 -0
- models/embeddings/aligned/wuu_64d.bin +3 -0
- models/embeddings/aligned/wuu_64d.meta.json +1 -0
- models/embeddings/aligned/wuu_64d.projection.npy +3 -0
- models/embeddings/aligned/wuu_64d_metadata.json +8 -0
- models/embeddings/monolingual/wuu_128d.bin +3 -0
- models/embeddings/monolingual/wuu_128d.meta.json +1 -0
- models/embeddings/monolingual/wuu_128d_metadata.json +16 -0
- models/embeddings/monolingual/wuu_32d.bin +3 -0
- models/embeddings/monolingual/wuu_32d.meta.json +1 -0
- models/embeddings/monolingual/wuu_32d_metadata.json +16 -0
- models/embeddings/monolingual/wuu_64d.bin +3 -0
- models/embeddings/monolingual/wuu_64d.meta.json +1 -0
- models/embeddings/monolingual/wuu_64d_metadata.json +16 -0
- models/subword_markov/wuu_markov_ctx1_subword.parquet +3 -0
- models/subword_markov/wuu_markov_ctx1_subword_metadata.json +7 -0
- models/subword_markov/wuu_markov_ctx2_subword.parquet +3 -0
- models/subword_markov/wuu_markov_ctx2_subword_metadata.json +7 -0
- models/subword_markov/wuu_markov_ctx3_subword.parquet +3 -0
- models/subword_markov/wuu_markov_ctx3_subword_metadata.json +7 -0
- models/subword_markov/wuu_markov_ctx4_subword.parquet +3 -0
- models/subword_markov/wuu_markov_ctx4_subword_metadata.json +7 -0
- models/subword_ngram/wuu_2gram_subword.parquet +3 -0
- models/subword_ngram/wuu_2gram_subword_metadata.json +7 -0
- models/subword_ngram/wuu_3gram_subword.parquet +3 -0
- models/subword_ngram/wuu_3gram_subword_metadata.json +7 -0
- models/subword_ngram/wuu_4gram_subword.parquet +3 -0
- models/subword_ngram/wuu_4gram_subword_metadata.json +7 -0
- models/subword_ngram/wuu_5gram_subword.parquet +3 -0
- models/subword_ngram/wuu_5gram_subword_metadata.json +7 -0
- models/tokenizer/wuu_tokenizer_16k.model +3 -0
- models/tokenizer/wuu_tokenizer_16k.vocab +0 -0
- models/tokenizer/wuu_tokenizer_32k.model +3 -0
- models/tokenizer/wuu_tokenizer_32k.vocab +0 -0
- models/tokenizer/wuu_tokenizer_64k.model +3 -0
- models/tokenizer/wuu_tokenizer_64k.vocab +0 -0
- models/vocabulary/wuu_vocabulary.parquet +3 -0
- models/vocabulary/wuu_vocabulary_metadata.json +17 -0
- models/word_markov/wuu_markov_ctx1_word.parquet +3 -0
- models/word_markov/wuu_markov_ctx1_word_metadata.json +7 -0
- models/word_markov/wuu_markov_ctx2_word.parquet +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
visualizations/embedding_similarity.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
visualizations/embedding_tsne_multilingual.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
visualizations/performance_dashboard.png filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
visualizations/position_encoding_comparison.png filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
visualizations/tsne_sentences.png filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
visualizations/tsne_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,764 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: wuu
|
| 3 |
+
language_name: Wu Chinese
|
| 4 |
+
language_family: sinitic_other
|
| 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-sinitic_other
|
| 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: 2.139
|
| 37 |
+
- name: best_isotropy
|
| 38 |
+
type: isotropy
|
| 39 |
+
value: 0.6410
|
| 40 |
+
- name: vocabulary_size
|
| 41 |
+
type: vocab
|
| 42 |
+
value: 0
|
| 43 |
+
generated: 2026-01-11
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
# Wu Chinese - Wikilangs Models
|
| 47 |
+
## Comprehensive Research Report & Full Ablation Study
|
| 48 |
+
|
| 49 |
+
This repository contains NLP models trained and evaluated by Wikilangs, specifically on **Wu Chinese** Wikipedia data.
|
| 50 |
+
We analyze tokenizers, n-gram models, Markov chains, vocabulary statistics, and word embeddings.
|
| 51 |
+
|
| 52 |
+
## 📋 Repository Contents
|
| 53 |
+
|
| 54 |
+
### Models & Assets
|
| 55 |
+
|
| 56 |
+
- Tokenizers (8k, 16k, 32k, 64k)
|
| 57 |
+
- N-gram models (2, 3, 4, 5-gram)
|
| 58 |
+
- Markov chains (context of 1, 2, 3, 4 and 5)
|
| 59 |
+
- Subword N-gram and Markov chains
|
| 60 |
+
- Embeddings in various sizes and dimensions (aligned and unaligned)
|
| 61 |
+
- Language Vocabulary
|
| 62 |
+
- Language Statistics
|
| 63 |
+
|
| 64 |
+

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

|
| 82 |
+
|
| 83 |
+

|
| 84 |
+
|
| 85 |
+

|
| 86 |
+
|
| 87 |
+

|
| 88 |
+
|
| 89 |
+
### Results
|
| 90 |
+
|
| 91 |
+
| Vocab Size | Compression | Avg Token Len | UNK Rate | Total Tokens |
|
| 92 |
+
|------------|-------------|---------------|----------|--------------|
|
| 93 |
+
| **16k** | 1.645x | 1.65 | 0.0470% | 189,167 |
|
| 94 |
+
| **32k** | 1.914x | 1.92 | 0.0547% | 162,652 |
|
| 95 |
+
| **64k** | 2.139x 🏆 | 2.15 | 0.0612% | 145,478 |
|
| 96 |
+
|
| 97 |
+
### Tokenization Examples
|
| 98 |
+
|
| 99 |
+
Below are sample sentences tokenized with each vocabulary size:
|
| 100 |
+
|
| 101 |
+
**Sample 1:** `感觉系统(英语:sensory system)是神经系统中处理感觉信息个一部分。感觉系统包括感受器、神经通路搭子大脑中搭感觉知觉有关个部分。`
|
| 102 |
+
|
| 103 |
+
| Vocab | Tokens | Count |
|
| 104 |
+
|-------|--------|-------|
|
| 105 |
+
| 16k | `▁ 感 觉 系统 ( 英语 : s ens ory ... (+35 more)` | 45 |
|
| 106 |
+
| 32k | `▁ 感觉 系统 ( 英语 : s ens ory ▁system ... (+28 more)` | 38 |
|
| 107 |
+
| 64k | `▁ 感觉 系统 ( 英语 : sens ory ▁system ) ... (+25 more)` | 35 |
|
| 108 |
+
|
| 109 |
+
**Sample 2:** `大事记 明代宗为了筹募经费而开始贩卖度牒,直到明末,导致僧尼剧增,寺院林立。 德里苏丹国赛义德王朝锡林德总督巴赫鲁尔·洛迪佔据了德里,赛义德王朝被洛迪王朝取代。...`
|
| 110 |
+
|
| 111 |
+
| Vocab | Tokens | Count |
|
| 112 |
+
|-------|--------|-------|
|
| 113 |
+
| 16k | `▁大事记 ▁明 代 宗 为了 筹 募 经 费 而 ... (+63 more)` | 73 |
|
| 114 |
+
| 32k | `▁大事记 ▁明代 宗 为了 筹 募 经 费 而 开始 ... (+52 more)` | 62 |
|
| 115 |
+
| 64k | `▁大事记 ▁明代 宗 为了 筹 募 经费 而 开始 贩卖 ... (+46 more)` | 56 |
|
| 116 |
+
|
| 117 |
+
**Sample 3:** `吉兰丹州()是马来西亚拉西马北部个一個州,首府為哥打峇鲁。該州北接泰国,东北为南中国海,西接霹雳州,南临彭亨州,东南为登嘉樓州。吉兰丹国号为Darul Naim...`
|
| 118 |
+
|
| 119 |
+
| Vocab | Tokens | Count |
|
| 120 |
+
|-------|--------|-------|
|
| 121 |
+
| 16k | `▁吉 兰 丹 州 () 是 马来西亚 拉 西 马 ... (+59 more)` | 69 |
|
| 122 |
+
| 32k | `▁吉 兰 丹 州 () 是马来西亚 拉西 马 北部 个一個 ... (+51 more)` | 61 |
|
| 123 |
+
| 64k | `▁吉 兰 丹州 () 是马来西亚 拉西 马 北部 个一個 州 ... (+45 more)` | 55 |
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
### Key Findings
|
| 127 |
+
|
| 128 |
+
- **Best Compression:** 64k achieves 2.139x compression
|
| 129 |
+
- **Lowest UNK Rate:** 16k with 0.0470% unknown tokens
|
| 130 |
+
- **Trade-off:** Larger vocabularies improve compression but increase model size
|
| 131 |
+
- **Recommendation:** 32k vocabulary provides optimal balance for production use
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
## 2. N-gram Model Evaluation
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+

|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+
### Results
|
| 143 |
+
|
| 144 |
+
| N-gram | Variant | Perplexity | Entropy | Unique N-grams | Top-100 Coverage | Top-1000 Coverage |
|
| 145 |
+
|--------|---------|------------|---------|----------------|------------------|-------------------|
|
| 146 |
+
| **2-gram** | Word | 1,616 🏆 | 10.66 | 2,926 | 27.3% | 67.5% |
|
| 147 |
+
| **2-gram** | Subword | 7,919 | 12.95 | 59,139 | 22.8% | 51.4% |
|
| 148 |
+
| **3-gram** | Word | 2,273 | 11.15 | 3,242 | 19.6% | 59.2% |
|
| 149 |
+
| **3-gram** | Subword | 27,775 | 14.76 | 121,509 | 9.3% | 30.8% |
|
| 150 |
+
| **4-gram** | Word | 5,014 | 12.29 | 6,809 | 13.7% | 37.6% |
|
| 151 |
+
| **4-gram** | Subword | 81,103 | 16.31 | 233,152 | 5.5% | 16.3% |
|
| 152 |
+
| **5-gram** | Word | 3,786 | 11.89 | 5,117 | 16.4% | 41.5% |
|
| 153 |
+
| **5-gram** | Subword | 104,659 | 16.68 | 225,092 | 4.4% | 13.3% |
|
| 154 |
+
|
| 155 |
+
### Top 5 N-grams by Size
|
| 156 |
+
|
| 157 |
+
**2-grams (Word):**
|
| 158 |
+
|
| 159 |
+
| Rank | N-gram | Count |
|
| 160 |
+
|------|--------|-------|
|
| 161 |
+
| 1 | `出生 逝世` | 1,249 |
|
| 162 |
+
| 2 | `of the` | 596 |
|
| 163 |
+
| 3 | `2 2` | 359 |
|
| 164 |
+
| 4 | `大事记 中国` | 331 |
|
| 165 |
+
| 5 | `1 1` | 266 |
|
| 166 |
+
|
| 167 |
+
**3-grams (Word):**
|
| 168 |
+
|
| 169 |
+
| Rank | N-gram | Count |
|
| 170 |
+
|------|--------|-------|
|
| 171 |
+
| 1 | `2 2 2` | 234 |
|
| 172 |
+
| 2 | `1 1 1` | 152 |
|
| 173 |
+
| 3 | `作词 作曲 编曲` | 84 |
|
| 174 |
+
| 4 | `原唱 作词 作曲` | 82 |
|
| 175 |
+
| 5 | `演唱曲目 原唱 作词` | 82 |
|
| 176 |
+
|
| 177 |
+
**4-grams (Word):**
|
| 178 |
+
|
| 179 |
+
| Rank | N-gram | Count |
|
| 180 |
+
|------|--------|-------|
|
| 181 |
+
| 1 | `2 2 2 2` | 180 |
|
| 182 |
+
| 2 | `1 1 1 1` | 114 |
|
| 183 |
+
| 3 | `演唱曲目 原唱 作词 作曲` | 82 |
|
| 184 |
+
| 4 | `原唱 作词 作曲 编曲` | 82 |
|
| 185 |
+
| 5 | `作词 作曲 编曲 排名` | 73 |
|
| 186 |
+
|
| 187 |
+
**5-grams (Word):**
|
| 188 |
+
|
| 189 |
+
| Rank | N-gram | Count |
|
| 190 |
+
|------|--------|-------|
|
| 191 |
+
| 1 | `2 2 2 2 2` | 146 |
|
| 192 |
+
| 2 | `1 1 1 1 1` | 93 |
|
| 193 |
+
| 3 | `演唱曲目 原唱 作词 作曲 编曲` | 82 |
|
| 194 |
+
| 4 | `原唱 作词 作曲 编曲 排名` | 73 |
|
| 195 |
+
| 5 | `地区 邮政编码 地区 邮政编码 地区` | 54 |
|
| 196 |
+
|
| 197 |
+
**2-grams (Subword):**
|
| 198 |
+
|
| 199 |
+
| Rank | N-gram | Count |
|
| 200 |
+
|------|--------|-------|
|
| 201 |
+
| 1 | `。 _` | 20,314 |
|
| 202 |
+
| 2 | `e _` | 14,212 |
|
| 203 |
+
| 3 | `a n` | 13,204 |
|
| 204 |
+
| 4 | `i n` | 10,947 |
|
| 205 |
+
| 5 | `n _` | 10,755 |
|
| 206 |
+
|
| 207 |
+
**3-grams (Subword):**
|
| 208 |
+
|
| 209 |
+
| Rank | N-gram | Count |
|
| 210 |
+
|------|--------|-------|
|
| 211 |
+
| 1 | `t h e` | 3,901 |
|
| 212 |
+
| 2 | `_ t h` | 3,488 |
|
| 213 |
+
| 3 | `_ — _` | 3,447 |
|
| 214 |
+
| 4 | `_ o f` | 3,437 |
|
| 215 |
+
| 5 | `_ - _` | 3,310 |
|
| 216 |
+
|
| 217 |
+
**4-grams (Subword):**
|
| 218 |
+
|
| 219 |
+
| Rank | N-gram | Count |
|
| 220 |
+
|------|--------|-------|
|
| 221 |
+
| 1 | `_ o f _` | 3,134 |
|
| 222 |
+
| 2 | `t h e _` | 3,085 |
|
| 223 |
+
| 3 | `_ t h e` | 2,842 |
|
| 224 |
+
| 4 | `— _ — _` | 2,489 |
|
| 225 |
+
| 5 | `_ — _ —` | 2,487 |
|
| 226 |
+
|
| 227 |
+
**5-grams (Subword):**
|
| 228 |
+
|
| 229 |
+
| Rank | N-gram | Count |
|
| 230 |
+
|------|--------|-------|
|
| 231 |
+
| 1 | `_ t h e _` | 2,564 |
|
| 232 |
+
| 2 | `_ — _ — _` | 2,487 |
|
| 233 |
+
| 3 | `— _ — _ —` | 1,986 |
|
| 234 |
+
| 4 | `a t i o n` | 1,684 |
|
| 235 |
+
| 5 | `。 _ 出 生 _` | 1,567 |
|
| 236 |
+
|
| 237 |
+
|
| 238 |
+
### Key Findings
|
| 239 |
+
|
| 240 |
+
- **Best Perplexity:** 2-gram (word) with 1,616
|
| 241 |
+
- **Entropy Trend:** Decreases with larger n-grams (more predictable)
|
| 242 |
+
- **Coverage:** Top-1000 patterns cover ~13% of corpus
|
| 243 |
+
- **Recommendation:** 4-gram or 5-gram for best predictive performance
|
| 244 |
+
|
| 245 |
+
---
|
| 246 |
+
## 3. Markov Chain Evaluation
|
| 247 |
+
|
| 248 |
+

|
| 249 |
+
|
| 250 |
+

|
| 251 |
+
|
| 252 |
+

|
| 253 |
+
|
| 254 |
+
### Results
|
| 255 |
+
|
| 256 |
+
| Context | Variant | Avg Entropy | Perplexity | Branching Factor | Unique Contexts | Predictability |
|
| 257 |
+
|---------|---------|-------------|------------|------------------|-----------------|----------------|
|
| 258 |
+
| **1** | Word | 0.2252 | 1.169 | 1.67 | 213,385 | 77.5% |
|
| 259 |
+
| **1** | Subword | 1.9391 | 3.835 | 30.25 | 12,723 | 0.0% |
|
| 260 |
+
| **2** | Word | 0.0575 | 1.041 | 1.10 | 342,915 | 94.2% |
|
| 261 |
+
| **2** | Subword | 0.5697 | 1.484 | 2.77 | 384,552 | 43.0% |
|
| 262 |
+
| **3** | Word | 0.0189 | 1.013 | 1.03 | 360,203 | 98.1% |
|
| 263 |
+
| **3** | Subword | 0.2223 | 1.167 | 1.47 | 1,063,474 | 77.8% |
|
| 264 |
+
| **4** | Word | 0.0074 🏆 | 1.005 | 1.01 | 353,710 | 99.3% |
|
| 265 |
+
| **4** | Subword | 0.1256 | 1.091 | 1.23 | 1,559,569 | 87.4% |
|
| 266 |
+
|
| 267 |
+
### Generated Text Samples (Word-based)
|
| 268 |
+
|
| 269 |
+
Below are text samples generated from each word-based Markov chain model:
|
| 270 |
+
|
| 271 |
+
**Context Size 1:**
|
| 272 |
+
|
| 273 |
+
1. `of depression 个经济衰退开始 伊拉世界范围内造成了巨大创伤 导致普遍个失业搭贫困 富兰克林 皮尔斯franklin 民主党 乔治 唐宁搭唐宁街个典故 分类 microsoft windo...`
|
| 274 |
+
2. `the honourable privy 分类 作家 評論員 朱立熙 前華視副總 與劉文正同班 鄭啟明 中華民國風工程學會理事長 曾任國立海洋大學河海工程系副教授 淡大土木工程系副教授 教授 杜秉明 ...`
|
| 275 |
+
3. `英语 new jersey 是美国新泽西州个最大高等学府 是一所公立研究型大学 渠个主校区垃拉佛罗里达州个首府 塔拉哈西 英语 the interpreter all the world cup 法語...`
|
| 276 |
+
|
| 277 |
+
**Context Size 2:**
|
| 278 |
+
|
| 279 |
+
1. `出生 逝世 伊莎贝拉一世 西班牙卡斯蒂利亚女王 4年 0 06 0 39 0 24 3 38 0 206 58 64`
|
| 280 |
+
2. `of the population converted into years of amor en los tiempos del cólera 英文 love in all`
|
| 281 |
+
3. `2 2 2 2 6 美國永久居民 1 4 4 4 4 5 百萬人 23 4 97 百萬人`
|
| 282 |
+
|
| 283 |
+
**Context Size 3:**
|
| 284 |
+
|
| 285 |
+
1. `2 2 2 1 4 6 5 6 3 3 4 2 3 3 3 3 3 3`
|
| 286 |
+
2. `1 1 1 1 1 2 2 3 windows macos gpl 主页 arcadeflex 0 36 13 多种街机系统 java`
|
| 287 |
+
3. `作词 作曲 编曲 排名 互投 1 李克勤 李维嘉 谢谢你的爱 刘德华 林秋离 熊美玲 johnny yim 5 7 haya乐团 张大大`
|
| 288 |
+
|
| 289 |
+
**Context Size 4:**
|
| 290 |
+
|
| 291 |
+
1. `2 2 2 2 赛艇 17px fisa 4 5 6 4 4 8 8 苏诗丁 5 3 6 5`
|
| 292 |
+
2. `1 1 1 1 2 3 1 1 5 2 6 3 4 2 1 1 1 1 1`
|
| 293 |
+
3. `演唱曲目 原唱 作词 作曲 编曲 排名 互投 1 赵 传 李 锐 大地 beyond 刘卓辉 黄家驹 terence teo 7`
|
| 294 |
+
|
| 295 |
+
|
| 296 |
+
### Generated Text Samples (Subword-based)
|
| 297 |
+
|
| 298 |
+
Below are text samples generated from each subword-based Markov chain model:
|
| 299 |
+
|
| 300 |
+
**Context Size 1:**
|
| 301 |
+
|
| 302 |
+
1. `_仙子因为北京车获胜拉该地形成美`
|
| 303 |
+
2. `atha)_l_00_22_-关`
|
| 304 |
+
3. `e_-_425_skherorl`
|
| 305 |
+
|
| 306 |
+
**Context Size 2:**
|
| 307 |
+
|
| 308 |
+
1. `。_澳大利」〔glonoël_f_`
|
| 309 |
+
2. `e_'comande_handri`
|
| 310 |
+
3. `an_rw-hyd_gires_v`
|
| 311 |
+
|
| 312 |
+
**Context Size 3:**
|
| 313 |
+
|
| 314 |
+
1. `the_flee_y_特色词汇_我—`
|
| 315 |
+
2. `_theffide)是由两条有得公共`
|
| 316 |
+
3. `_—_—_3.30%_參加高中社區服`
|
| 317 |
+
|
| 318 |
+
**Context Size 4:**
|
| 319 |
+
|
| 320 |
+
1. `_of_the_nakara_ou_k`
|
| 321 |
+
2. `the_boy_adley,_clau`
|
| 322 |
+
3. `_the_warraglypha》(日`
|
| 323 |
+
|
| 324 |
+
|
| 325 |
+
### Key Findings
|
| 326 |
+
|
| 327 |
+
- **Best Predictability:** Context-4 (word) with 99.3% predictability
|
| 328 |
+
- **Branching Factor:** Decreases with context size (more deterministic)
|
| 329 |
+
- **Memory Trade-off:** Larger contexts require more storage (1,559,569 contexts)
|
| 330 |
+
- **Recommendation:** Context-3 or Context-4 for text generation
|
| 331 |
+
|
| 332 |
+
---
|
| 333 |
+
## 4. Vocabulary Analysis
|
| 334 |
+
|
| 335 |
+

|
| 336 |
+
|
| 337 |
+

|
| 338 |
+
|
| 339 |
+

|
| 340 |
+
|
| 341 |
+
### Statistics
|
| 342 |
+
|
| 343 |
+
| Metric | Value |
|
| 344 |
+
|--------|-------|
|
| 345 |
+
| Vocabulary Size | 32,292 |
|
| 346 |
+
| Total Tokens | 241,506 |
|
| 347 |
+
| Mean Frequency | 7.48 |
|
| 348 |
+
| Median Frequency | 3 |
|
| 349 |
+
| Frequency Std Dev | 50.87 |
|
| 350 |
+
|
| 351 |
+
### Most Common Words
|
| 352 |
+
|
| 353 |
+
| Rank | Word | Frequency |
|
| 354 |
+
|------|------|-----------|
|
| 355 |
+
| 1 | of | 3,198 |
|
| 356 |
+
| 2 | the | 3,043 |
|
| 357 |
+
| 3 | 英语 | 2,743 |
|
| 358 |
+
| 4 | 分类 | 2,491 |
|
| 359 |
+
| 5 | 2 | 2,396 |
|
| 360 |
+
| 6 | 1 | 2,018 |
|
| 361 |
+
| 7 | 大事记 | 1,930 |
|
| 362 |
+
| 8 | 出生 | 1,790 |
|
| 363 |
+
| 9 | 逝世 | 1,772 |
|
| 364 |
+
| 10 | 3 | 1,615 |
|
| 365 |
+
|
| 366 |
+
### Least Common Words (from vocabulary)
|
| 367 |
+
|
| 368 |
+
| Rank | Word | Frequency |
|
| 369 |
+
|------|------|-----------|
|
| 370 |
+
| 1 | 衢化公司电石厂 | 2 |
|
| 371 |
+
| 2 | 浙江大成 | 2 |
|
| 372 |
+
| 3 | 温州佳运 | 2 |
|
| 373 |
+
| 4 | 队数 | 2 |
|
| 374 |
+
| 5 | 绍兴塔牌 | 2 |
|
| 375 |
+
| 6 | 舟山舟峰 | 2 |
|
| 376 |
+
| 7 | 台州王野 | 2 |
|
| 377 |
+
| 8 | 义乌土木建设 | 2 |
|
| 378 |
+
| 9 | 杭州天业电子 | 2 |
|
| 379 |
+
| 10 | 天业电子 | 2 |
|
| 380 |
+
|
| 381 |
+
### Zipf's Law Analysis
|
| 382 |
+
|
| 383 |
+
| Metric | Value |
|
| 384 |
+
|--------|-------|
|
| 385 |
+
| Zipf Coefficient | 0.8530 |
|
| 386 |
+
| R² (Goodness of Fit) | 0.995865 |
|
| 387 |
+
| Adherence Quality | **excellent** |
|
| 388 |
+
|
| 389 |
+
### Coverage Analysis
|
| 390 |
+
|
| 391 |
+
| Top N Words | Coverage |
|
| 392 |
+
|-------------|----------|
|
| 393 |
+
| Top 100 | 25.0% |
|
| 394 |
+
| Top 1,000 | 46.3% |
|
| 395 |
+
| Top 5,000 | 67.8% |
|
| 396 |
+
| Top 10,000 | 78.3% |
|
| 397 |
+
|
| 398 |
+
### Key Findings
|
| 399 |
+
|
| 400 |
+
- **Zipf Compliance:** R²=0.9959 indicates excellent adherence to Zipf's law
|
| 401 |
+
- **High Frequency Dominance:** Top 100 words cover 25.0% of corpus
|
| 402 |
+
- **Long Tail:** 22,292 words needed for remaining 21.7% coverage
|
| 403 |
+
|
| 404 |
+
---
|
| 405 |
+
## 5. Word Embeddings Evaluation
|
| 406 |
+
|
| 407 |
+

|
| 408 |
+
|
| 409 |
+

|
| 410 |
+
|
| 411 |
+

|
| 412 |
+
|
| 413 |
+

|
| 414 |
+
|
| 415 |
+
|
| 416 |
+
### 5.1 Cross-Lingual Alignment
|
| 417 |
+
|
| 418 |
+

|
| 419 |
+
|
| 420 |
+

|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
### 5.2 Model Comparison
|
| 424 |
+
|
| 425 |
+
| Model | Dimension | Isotropy | Semantic Density | Alignment R@1 | Alignment R@10 |
|
| 426 |
+
|-------|-----------|----------|------------------|---------------|----------------|
|
| 427 |
+
| **mono_32d** | 32 | 0.6410 | 0.3758 | N/A | N/A |
|
| 428 |
+
| **mono_64d** | 64 | 0.2896 | 0.3654 | N/A | N/A |
|
| 429 |
+
| **mono_128d** | 128 | 0.0637 | 0.3638 | N/A | N/A |
|
| 430 |
+
| **aligned_32d** | 32 | 0.6410 🏆 | 0.3750 | 0.0500 | 0.2840 |
|
| 431 |
+
| **aligned_64d** | 64 | 0.2896 | 0.3749 | 0.0680 | 0.3380 |
|
| 432 |
+
| **aligned_128d** | 128 | 0.0637 | 0.3655 | 0.0820 | 0.3460 |
|
| 433 |
+
|
| 434 |
+
### Key Findings
|
| 435 |
+
|
| 436 |
+
- **Best Isotropy:** aligned_32d with 0.6410 (more uniform distribution)
|
| 437 |
+
- **Semantic Density:** Average pairwise similarity of 0.3701. Lower values indicate better semantic separation.
|
| 438 |
+
- **Alignment Quality:** Aligned models achieve up to 8.2% R@1 in cross-lingual retrieval.
|
| 439 |
+
- **Recommendation:** 128d aligned for best cross-lingual performance
|
| 440 |
+
|
| 441 |
+
---
|
| 442 |
+
## 6. Morphological Analysis (Experimental)
|
| 443 |
+
|
| 444 |
+
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.
|
| 445 |
+
|
| 446 |
+
### 6.1 Productivity & Complexity
|
| 447 |
+
|
| 448 |
+
| Metric | Value | Interpretation | Recommendation |
|
| 449 |
+
|--------|-------|----------------|----------------|
|
| 450 |
+
| Productivity Index | **5.000** | High morphological productivity | Reliable analysis |
|
| 451 |
+
| Idiomaticity Gap | **2.111** | High formulaic/idiomatic content | - |
|
| 452 |
+
|
| 453 |
+
### 6.2 Affix Inventory (Productive Units)
|
| 454 |
+
|
| 455 |
+
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.
|
| 456 |
+
|
| 457 |
+
#### Productive Prefixes
|
| 458 |
+
| Prefix | Examples |
|
| 459 |
+
|--------|----------|
|
| 460 |
+
| `-s` | saidu, sakigake, scientists |
|
| 461 |
+
| `-m` | mas, musume, missionary |
|
| 462 |
+
| `-a` | apparatus, at, angel |
|
| 463 |
+
| `-c` | christi, christensen, cotillard |
|
| 464 |
+
| `-b` | barnes, brassica, bushou |
|
| 465 |
+
| `-p` | plutocracy, parti, parent |
|
| 466 |
+
| `-t` | towns, translated, tellabs |
|
| 467 |
+
| `-d` | duels, dieu, diadem |
|
| 468 |
+
|
| 469 |
+
#### Productive Suffixes
|
| 470 |
+
| Suffix | Examples |
|
| 471 |
+
|--------|----------|
|
| 472 |
+
| `-s` | barnes, rigs, enemies |
|
| 473 |
+
| `-e` | verte, sakigake, musume |
|
| 474 |
+
| `-n` | watson, christensen, wigan |
|
| 475 |
+
| `-a` | brassica, barbara, patricia |
|
| 476 |
+
| `-on` | watson, baron, anderson |
|
| 477 |
+
| `-r` | soccer, ratzinger, isomer |
|
| 478 |
+
| `-y` | plutocracy, way, missionary |
|
| 479 |
+
| `-t` | parent, at, hurt |
|
| 480 |
+
|
| 481 |
+
### 6.3 Bound Stems (Lexical Roots)
|
| 482 |
+
|
| 483 |
+
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.
|
| 484 |
+
|
| 485 |
+
| Stem | Cohesion | Substitutability | Examples |
|
| 486 |
+
|------|----------|------------------|----------|
|
| 487 |
+
| `族自治州` | 2.45x | 13 contexts | 甘南藏族自治州, 海南藏族自治州, 甘孜藏族自治州 |
|
| 488 |
+
| `atio` | 1.98x | 18 contexts | ratio, oratio, ratios |
|
| 489 |
+
| `tion` | 1.91x | 17 contexts | motion, action, nation |
|
| 490 |
+
| `我是歌手` | 2.43x | 7 contexts | 我是歌手第八季, 我是歌手第四季, 我是歌手第三季 |
|
| 491 |
+
| `是歌手第` | 2.43x | 7 contexts | 我是歌手第八季, 我是歌手第四季, 我是歌手第三季 |
|
| 492 |
+
|
| 493 |
+
### 6.4 Affix Compatibility (Co-occurrence)
|
| 494 |
+
|
| 495 |
+
This table shows which prefixes and suffixes most frequently co-occur on the same stems, revealing the 'stacking' rules of the language's morphology.
|
| 496 |
+
|
| 497 |
+
| Prefix | Suffix | Frequency | Examples |
|
| 498 |
+
|--------|--------|-----------|----------|
|
| 499 |
+
| `-p` | `-s` | 29 words | points, primates |
|
| 500 |
+
| `-c` | `-s` | 29 words | chinois, comptes |
|
| 501 |
+
| `-s` | `-s` | 25 words | shakespeares, seuss |
|
| 502 |
+
| `-c` | `-n` | 25 words | chuushin, callaghan |
|
| 503 |
+
| `-c` | `-e` | 24 words | course, complete |
|
| 504 |
+
| `-m` | `-s` | 23 words | maximus, meiers |
|
| 505 |
+
| `-a` | `-n` | 23 words | asunción, anderson |
|
| 506 |
+
| `-a` | `-s` | 23 words | antilles, arts |
|
| 507 |
+
| `-p` | `-n` | 23 words | ponn, prachachon |
|
| 508 |
+
| `-s` | `-e` | 21 words | serie, soreyuke |
|
| 509 |
+
|
| 510 |
+
### 6.5 Recursive Morpheme Segmentation
|
| 511 |
+
|
| 512 |
+
Using **Recursive Hierarchical Substitutability**, we decompose complex words into their constituent morphemes. This approach handles nested affixes (e.g., `prefix-prefix-root-suffix`).
|
| 513 |
+
|
| 514 |
+
| Word | Suggested Split | Confidence | Stem |
|
| 515 |
+
|------|-----------------|------------|------|
|
| 516 |
+
| 玛理诺marino | **`玛理诺mar-in-o`** | 7.5 | `in` |
|
| 517 |
+
| submitted | **`submit-t-ed`** | 7.5 | `t` |
|
| 518 |
+
| australasia | **`australa-s-ia`** | 7.5 | `s` |
|
| 519 |
+
| gilbertese | **`gilbert-es-e`** | 6.0 | `gilbert` |
|
| 520 |
+
| interests | **`inter-es-ts`** | 6.0 | `inter` |
|
| 521 |
+
| alchemists | **`alchemist-s`** | 4.5 | `alchemist` |
|
| 522 |
+
| nobunagas | **`nobunaga-s`** | 4.5 | `nobunaga` |
|
| 523 |
+
| christian | **`christi-an`** | 4.5 | `christi` |
|
| 524 |
+
| wikipedias | **`wikipedia-s`** | 4.5 | `wikipedia` |
|
| 525 |
+
| governments | **`government-s`** | 4.5 | `government` |
|
| 526 |
+
| productions | **`production-s`** | 4.5 | `production` |
|
| 527 |
+
| entertainmentna | **`entertainment-na`** | 4.5 | `entertainment` |
|
| 528 |
+
| childrens | **`children-s`** | 4.5 | `children` |
|
| 529 |
+
| publishers | **`publisher-s`** | 4.5 | `publisher` |
|
| 530 |
+
| assessment | **`a-s-sessment`** | 4.5 | `sessment` |
|
| 531 |
+
|
| 532 |
+
### 6.6 Linguistic Interpretation
|
| 533 |
+
|
| 534 |
+
> **Automated Insight:**
|
| 535 |
+
The language Wu Chinese shows high morphological productivity. The subword models are significantly more efficient than word models, suggesting a rich system of affixation or compounding.
|
| 536 |
+
|
| 537 |
+
> **Note on Idiomaticity:** The high Idiomaticity Gap suggests a large number of frequent multi-word expressions or formulaic sequences that are statistically distinct from their component parts.
|
| 538 |
+
|
| 539 |
+
---
|
| 540 |
+
## 7. Summary & Recommendations
|
| 541 |
+
|
| 542 |
+

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