Views
No views yet
ana → أنا, ghadi → غادي). This doubles the statistical density for core semantic concepts.| Parameter | Configuration |
|---|---|
| Model Type | Word2Vec Skip-gram (sg=1) |
| Vector Dimensions | 300 |
| Window Size | 7 (optimized for Darija syntax) |
| Corpus Size | ~317,141 unique sentences |
| Min Word Count | 5 |
| Training Epochs | 15 |
1from gensim.models import KeyedVectors
2from huggingface_hub import hf_hub_download
3
4# Download the SOTA vectors
5repo_id = "halimbahae/Darija2Vec-SOTA-300D"
6vector_file = hf_hub_download(repo_id=repo_id, filename="darija2vec_sota_vectors.txt")
7
8# Load into Gensim
9wv = KeyedVectors.load_word2vec_format(vector_file, binary=False)
10
11# Explore similarities
12print(wv.most_similar("مزيان", topn=5))
13print(wv.most_similar("طوموبيل", topn=5))