Fill-Mask
Transformers
Safetensors
Dari
bert
dari
dari-persian
persian
parsbert
masked-language-model
masked-lm
nlp
natural-language-processing
low-resource-language
Instructions to use hahang/DariBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hahang/DariBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hahang/DariBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hahang/DariBERT") model = AutoModelForMaskedLM.from_pretrained("hahang/DariBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add model documentation and training vocabulary
Browse files- README.md +388 -0
- dariBERT_v1_training_vocabulary.csv +212 -0
README.md
ADDED
|
@@ -0,0 +1,388 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- prs
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: fill-mask
|
| 7 |
+
base_model: HooshvareLab/bert-base-parsbert-uncased
|
| 8 |
+
base_model_relation: finetune
|
| 9 |
+
tags:
|
| 10 |
+
- dari
|
| 11 |
+
- dari-persian
|
| 12 |
+
- persian
|
| 13 |
+
- parsbert
|
| 14 |
+
- bert
|
| 15 |
+
- masked-language-model
|
| 16 |
+
- masked-lm
|
| 17 |
+
- nlp
|
| 18 |
+
- natural-language-processing
|
| 19 |
+
- low-resource-language
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# DariBERT
|
| 23 |
+
|
| 24 |
+
**A Dari-focused fine-tuned version of ParsBERT.**
|
| 25 |
+
|
| 26 |
+
DariBERT is an experimental fine-tuned version of
|
| 27 |
+
[`HooshvareLab/bert-base-parsbert-uncased`](https://huggingface.co/HooshvareLab/bert-base-parsbert-uncased),
|
| 28 |
+
adapted toward Dari vocabulary and usage through fine-tuning on a manually curated
|
| 29 |
+
Dari–Persian vocabulary dataset.
|
| 30 |
+
|
| 31 |
+
The goal of the project is to explore whether an existing Persian-language BERT
|
| 32 |
+
model can be adapted toward Dari-specific vocabulary and linguistic usage using
|
| 33 |
+
a relatively small, manually curated dataset.
|
| 34 |
+
|
| 35 |
+
> **DariBERT v1.0 is an experimental research and learning project.**
|
| 36 |
+
> It should not be considered a fully trained Dari language model or a replacement
|
| 37 |
+
> for a large-scale pretrained Dari NLP model.
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## Model Details
|
| 42 |
+
|
| 43 |
+
### Model Description
|
| 44 |
+
|
| 45 |
+
| Property | Value |
|
| 46 |
+
|---|---|
|
| 47 |
+
| Model name | DariBERT |
|
| 48 |
+
| Version | v1.0 |
|
| 49 |
+
| Architecture | BERT / Masked Language Model |
|
| 50 |
+
| Base model | HooshvareLab/bert-base-parsbert-uncased |
|
| 51 |
+
| Primary task | Masked Language Modeling |
|
| 52 |
+
| Pipeline | `fill-mask` |
|
| 53 |
+
| Language focus | Dari |
|
| 54 |
+
| Fine-tuning dataset | 211 manually curated Dari–Persian vocabulary entries |
|
| 55 |
+
| Unique Dari entries | 207 |
|
| 56 |
+
| Unique Persian entries | 204 |
|
| 57 |
+
| License | Apache-2.0 |
|
| 58 |
+
|
| 59 |
+
DariBERT retains the underlying ParsBERT architecture and tokenizer and is
|
| 60 |
+
fine-tuned rather than trained from scratch.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## Motivation
|
| 65 |
+
|
| 66 |
+
Dari and Persian share a large amount of vocabulary and linguistic structure,
|
| 67 |
+
but Dari also contains vocabulary, expressions, pronunciations, and usage that
|
| 68 |
+
can differ from contemporary Iranian Persian.
|
| 69 |
+
|
| 70 |
+
This project began as an exploration of whether a Persian-language BERT model
|
| 71 |
+
could be nudged toward Dari usage by introducing a curated collection of
|
| 72 |
+
Dari-specific vocabulary and corresponding Persian equivalents.
|
| 73 |
+
|
| 74 |
+
The project is intentionally small in scope.
|
| 75 |
+
|
| 76 |
+
Rather than attempting to train a new language model from scratch, DariBERT
|
| 77 |
+
uses an existing Persian pretrained model as its foundation and investigates
|
| 78 |
+
what can be achieved through targeted fine-tuning with a small amount of
|
| 79 |
+
Dari-focused data.
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## Training Data
|
| 84 |
+
|
| 85 |
+
The v1.0 training dataset consists of **211 manually curated vocabulary
|
| 86 |
+
entries**, representing **207 unique Dari entries** and **204 unique Persian
|
| 87 |
+
equivalents**.
|
| 88 |
+
|
| 89 |
+
The vocabulary was manually reviewed and organized into 24 broad categories:
|
| 90 |
+
|
| 91 |
+
- Basic Communication
|
| 92 |
+
- Household Items
|
| 93 |
+
- Family & Social
|
| 94 |
+
- Food & Cooking
|
| 95 |
+
- Fruits & Vegetables
|
| 96 |
+
- Animals
|
| 97 |
+
- Technology & Modern Terms
|
| 98 |
+
- Medical & Health
|
| 99 |
+
- Clothing & Appearance
|
| 100 |
+
- Administrative & Social
|
| 101 |
+
- Occupations & Trades
|
| 102 |
+
- Building & Architecture
|
| 103 |
+
- Agriculture & Farming
|
| 104 |
+
- Tools & Implements
|
| 105 |
+
- Nature & Geography
|
| 106 |
+
- Adjectives & Descriptors
|
| 107 |
+
- Verbs & Actions
|
| 108 |
+
- Time & Seasons
|
| 109 |
+
- Body Parts
|
| 110 |
+
- Emotions & States
|
| 111 |
+
- Money & Commerce
|
| 112 |
+
- Measurement Units
|
| 113 |
+
- Miscellaneous Important Words
|
| 114 |
+
|
| 115 |
+
The training vocabulary is provided separately as a CSV file:
|
| 116 |
+
|
| 117 |
+
`dariBERT_v1_training_vocabulary.csv`
|
| 118 |
+
|
| 119 |
+
Each entry contains:
|
| 120 |
+
|
| 121 |
+
```text
|
| 122 |
+
dari,persian,english
|
| 123 |
+
|
| 124 |
+
The dataset is a manually curated research dataset and is not intended to
|
| 125 |
+
represent the full Dari language.
|
| 126 |
+
|
| 127 |
+
Training Procedure
|
| 128 |
+
|
| 129 |
+
DariBERT was fine-tuned from the ParsBERT base model using the Hugging Face
|
| 130 |
+
Transformers library.
|
| 131 |
+
|
| 132 |
+
The training objective was Masked Language Modeling (MLM).
|
| 133 |
+
|
| 134 |
+
The model was trained on the Dari entries from the curated vocabulary dataset,
|
| 135 |
+
with the corresponding text tokenized using the ParsBERT tokenizer.
|
| 136 |
+
|
| 137 |
+
Training configuration
|
| 138 |
+
|
| 139 |
+
The v1.0 training run used:
|
| 140 |
+
|
| 141 |
+
Base model: HooshvareLab/bert-base-parsbert-uncased
|
| 142 |
+
Training epochs: 3
|
| 143 |
+
Batch size: 1
|
| 144 |
+
Learning rate: 5e-5
|
| 145 |
+
Weight decay: 0.01
|
| 146 |
+
Maximum sequence length: 16 tokens
|
| 147 |
+
Training objective: Masked Language Modeling
|
| 148 |
+
Hardware: CPU
|
| 149 |
+
Mixed precision: disabled
|
| 150 |
+
|
| 151 |
+
The training was intentionally lightweight and designed as an experiment in
|
| 152 |
+
Dari-specific adaptation rather than large-scale pretraining.
|
| 153 |
+
|
| 154 |
+
Intended Use
|
| 155 |
+
|
| 156 |
+
DariBERT is intended for experimentation and research involving Dari NLP,
|
| 157 |
+
including:
|
| 158 |
+
|
| 159 |
+
Masked-token prediction
|
| 160 |
+
Vocabulary exploration
|
| 161 |
+
Dari/Persian lexical comparison
|
| 162 |
+
Experimentation with low-resource language adaptation
|
| 163 |
+
Educational NLP experimentation
|
| 164 |
+
Further fine-tuning for downstream Dari NLP tasks
|
| 165 |
+
|
| 166 |
+
For example, a user can provide a sentence containing a [MASK] token and ask
|
| 167 |
+
the model to predict likely replacements.
|
| 168 |
+
|
| 169 |
+
Usage
|
| 170 |
+
|
| 171 |
+
DariBERT can be loaded using the Hugging Face Transformers library.
|
| 172 |
+
|
| 173 |
+
Installation
|
| 174 |
+
pip install transformers torch
|
| 175 |
+
Masked-token prediction
|
| 176 |
+
from transformers import AutoTokenizer, AutoModelForMaskedLM, pipeline
|
| 177 |
+
|
| 178 |
+
model_id = "hahang/DariBERT"
|
| 179 |
+
|
| 180 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 181 |
+
model = AutoModelForMaskedLM.from_pretrained(model_id)
|
| 182 |
+
|
| 183 |
+
fill_mask = pipeline(
|
| 184 |
+
"fill-mask",
|
| 185 |
+
model=model,
|
| 186 |
+
tokenizer=tokenizer
|
| 187 |
+
)
|
| 188 |
+
|
| 189 |
+
text = "من دیروز به بازار رفتم و یک [MASK] خریدم."
|
| 190 |
+
|
| 191 |
+
results = fill_mask(text)
|
| 192 |
+
|
| 193 |
+
for result in results:
|
| 194 |
+
print(
|
| 195 |
+
result["sequence"],
|
| 196 |
+
result["score"]
|
| 197 |
+
)
|
| 198 |
+
|
| 199 |
+
Example output may look like:
|
| 200 |
+
|
| 201 |
+
من دیروز به بازار رفتم و یک لپتاپ خریدم.
|
| 202 |
+
من دیروز به بازار رفتم و یک تبلت خریدم.
|
| 203 |
+
من دیروز به بازار رفتم و یک ماشین خریدم.
|
| 204 |
+
|
| 205 |
+
The exact predictions and scores may vary depending on the Transformers
|
| 206 |
+
version and runtime environment.
|
| 207 |
+
|
| 208 |
+
Example
|
| 209 |
+
Input
|
| 210 |
+
این کتاب بسیار [MASK] است.
|
| 211 |
+
Example predictions
|
| 212 |
+
|
| 213 |
+
The fine-tuned model produced predictions including:
|
| 214 |
+
|
| 215 |
+
این کتاب بسیار خوب است.
|
| 216 |
+
این کتاب بسیار خوبی است.
|
| 217 |
+
این کتاب بسیار ارزشمند است.
|
| 218 |
+
این کتاب بسیار جالب است.
|
| 219 |
+
این کتاب بسیار مهم است.
|
| 220 |
+
|
| 221 |
+
Another test used:
|
| 222 |
+
|
| 223 |
+
هوا امروز خیلی [MASK] است.
|
| 224 |
+
|
| 225 |
+
The model produced predictions including:
|
| 226 |
+
|
| 227 |
+
هوا امروز خیلی گرم است.
|
| 228 |
+
هوا امروز خیلی سرد است.
|
| 229 |
+
هوا امروز خیلی خوب است.
|
| 230 |
+
هوا امروز خیلی خنک است.
|
| 231 |
+
|
| 232 |
+
These examples demonstrate that the model can perform masked-token prediction,
|
| 233 |
+
but they should not be interpreted as a formal benchmark.
|
| 234 |
+
|
| 235 |
+
Evaluation
|
| 236 |
+
|
| 237 |
+
DariBERT v1.0 was evaluated through qualitative inference tests rather than a
|
| 238 |
+
formal held-out benchmark.
|
| 239 |
+
|
| 240 |
+
Testing included manually constructed Dari sentences covering areas such as:
|
| 241 |
+
|
| 242 |
+
Everyday activities
|
| 243 |
+
Shopping
|
| 244 |
+
Descriptive language
|
| 245 |
+
Weather
|
| 246 |
+
Vocabulary usage
|
| 247 |
+
|
| 248 |
+
The model demonstrated meaningful masked-token predictions in several examples.
|
| 249 |
+
|
| 250 |
+
However, the small size of the fine-tuning dataset means that these results
|
| 251 |
+
should be considered preliminary.
|
| 252 |
+
|
| 253 |
+
No formal accuracy, F1, perplexity, or downstream-task benchmark is provided
|
| 254 |
+
for v1.0.
|
| 255 |
+
|
| 256 |
+
Future versions may include a dedicated held-out Dari evaluation dataset and
|
| 257 |
+
quantitative benchmarks.
|
| 258 |
+
|
| 259 |
+
Limitations
|
| 260 |
+
|
| 261 |
+
DariBERT v1.0 has significant limitations.
|
| 262 |
+
|
| 263 |
+
Small training dataset
|
| 264 |
+
|
| 265 |
+
The model was fine-tuned using only 211 manually curated vocabulary entries.
|
| 266 |
+
This is extremely small compared with the datasets normally used to train
|
| 267 |
+
modern language models.
|
| 268 |
+
|
| 269 |
+
Not trained from scratch
|
| 270 |
+
|
| 271 |
+
DariBERT is not an independently pretrained Dari language model. It is a
|
| 272 |
+
fine-tuned version of ParsBERT.
|
| 273 |
+
|
| 274 |
+
The underlying model therefore retains substantial characteristics of its
|
| 275 |
+
Persian-language pretraining.
|
| 276 |
+
|
| 277 |
+
Limited Dari coverage
|
| 278 |
+
|
| 279 |
+
The vocabulary included in v1.0 represents only a small portion of the Dari
|
| 280 |
+
language.
|
| 281 |
+
|
| 282 |
+
Many Dari words, expressions, grammatical constructions, dialectal variants,
|
| 283 |
+
and contextual usages are not represented.
|
| 284 |
+
|
| 285 |
+
No translation capability
|
| 286 |
+
|
| 287 |
+
DariBERT is not a Dari-to-English or English-to-Dari translation model.
|
| 288 |
+
|
| 289 |
+
It should not be used as a translation system.
|
| 290 |
+
|
| 291 |
+
Not an autoregressive text-generation model
|
| 292 |
+
|
| 293 |
+
DariBERT is a BERT-style masked language model.
|
| 294 |
+
|
| 295 |
+
Its primary intended operation is predicting masked tokens within text rather
|
| 296 |
+
than generating long passages autoregressively like GPT-style language models.
|
| 297 |
+
|
| 298 |
+
Limited evaluation
|
| 299 |
+
|
| 300 |
+
The current version has not been evaluated against a large, independent Dari
|
| 301 |
+
test set.
|
| 302 |
+
|
| 303 |
+
Relationship to ParsBERT
|
| 304 |
+
|
| 305 |
+
DariBERT is derived from:
|
| 306 |
+
|
| 307 |
+
HooshvareLab/bert-base-parsbert-uncased
|
| 308 |
+
|
| 309 |
+
ParsBERT is a Persian-language BERT model developed for Persian natural
|
| 310 |
+
language processing.
|
| 311 |
+
|
| 312 |
+
DariBERT does not replace or compete with ParsBERT. Instead, this project
|
| 313 |
+
explores a small-scale adaptation of ParsBERT toward Dari vocabulary and usage.
|
| 314 |
+
|
| 315 |
+
Please refer to the original ParsBERT model and its documentation for
|
| 316 |
+
information about the underlying architecture, pretraining data, and original
|
| 317 |
+
model development.
|
| 318 |
+
|
| 319 |
+
Dataset
|
| 320 |
+
|
| 321 |
+
The manually curated v1.0 vocabulary is included with the project as:
|
| 322 |
+
|
| 323 |
+
dariBERT_v1_training_vocabulary.csv
|
| 324 |
+
|
| 325 |
+
The dataset contains three columns:
|
| 326 |
+
|
| 327 |
+
dari
|
| 328 |
+
persian
|
| 329 |
+
english
|
| 330 |
+
|
| 331 |
+
The CSV is provided primarily for transparency and reproducibility.
|
| 332 |
+
|
| 333 |
+
Future Work
|
| 334 |
+
|
| 335 |
+
Possible future versions of DariBERT may include:
|
| 336 |
+
|
| 337 |
+
A substantially larger Dari vocabulary
|
| 338 |
+
More naturally occurring Dari sentences
|
| 339 |
+
Curated Dari text corpora
|
| 340 |
+
Improved coverage of Dari-specific grammar and syntax
|
| 341 |
+
Additional dialectal and regional vocabulary
|
| 342 |
+
A dedicated Dari evaluation dataset
|
| 343 |
+
Quantitative benchmarking
|
| 344 |
+
Comparison against the original ParsBERT model
|
| 345 |
+
Further fine-tuning for downstream NLP tasks
|
| 346 |
+
Investigation of Dari-specific tokenization
|
| 347 |
+
Exploration of larger pretrained multilingual or Persian-language models
|
| 348 |
+
|
| 349 |
+
The long-term goal is to investigate practical approaches for improving
|
| 350 |
+
open-source NLP resources for Dari.
|
| 351 |
+
|
| 352 |
+
Citation
|
| 353 |
+
|
| 354 |
+
If you use DariBERT in your research, experiments, or projects, please cite
|
| 355 |
+
this repository:
|
| 356 |
+
|
| 357 |
+
Ahang, Hamid. DariBERT: A Dari-focused fine-tuned version of ParsBERT.
|
| 358 |
+
2026.
|
| 359 |
+
|
| 360 |
+
The underlying ParsBERT model should also be appropriately acknowledged when
|
| 361 |
+
DariBERT is used.
|
| 362 |
+
|
| 363 |
+
License
|
| 364 |
+
|
| 365 |
+
DariBERT v1.0 is released under the Apache License 2.0.
|
| 366 |
+
|
| 367 |
+
See the Apache License 2.0 text for the complete terms and conditions.
|
| 368 |
+
|
| 369 |
+
This model is derived from the ParsBERT model and users should also review the
|
| 370 |
+
license and attribution requirements associated with the original model.
|
| 371 |
+
|
| 372 |
+
Acknowledgments
|
| 373 |
+
|
| 374 |
+
This project builds upon the open-source Persian NLP ecosystem and, in
|
| 375 |
+
particular, the ParsBERT model developed by HooshvareLab.
|
| 376 |
+
|
| 377 |
+
Special thanks to the developers and researchers who have contributed to
|
| 378 |
+
open-source Persian and Dari natural language processing resources.
|
| 379 |
+
|
| 380 |
+
Project Status
|
| 381 |
+
|
| 382 |
+
DariBERT v1.0 — Experimental / Initial Release
|
| 383 |
+
|
| 384 |
+
This release represents an initial exploration of adapting ParsBERT toward
|
| 385 |
+
Dari using a small manually curated vocabulary.
|
| 386 |
+
|
| 387 |
+
The project is intended to remain open for experimentation, evaluation, and
|
| 388 |
+
future improvement.
|
dariBERT_v1_training_vocabulary.csv
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dari,persian,english
|
| 2 |
+
لیکن,اما,but
|
| 3 |
+
نخیر,خیر,no
|
| 4 |
+
تشکر,متشکرم,thank you
|
| 5 |
+
قابل نیست,خواهش میکنم,you're welcome
|
| 6 |
+
تبریک باشد,تبریک میگویم,congratulations
|
| 7 |
+
چراکه,زیرا,because
|
| 8 |
+
اذخاتر,زیرا,because
|
| 9 |
+
همی,همین,this/that
|
| 10 |
+
کدامه,کدام,which one
|
| 11 |
+
واسه,برای,for
|
| 12 |
+
بچیم,پسرم,my son
|
| 13 |
+
میباشه,هست,is / exists
|
| 14 |
+
میباشند,هستند,are
|
| 15 |
+
چوکی,صندلی,chair
|
| 16 |
+
پاک کن,پاک کننده,eraser
|
| 17 |
+
توشک,تشک,mattress
|
| 18 |
+
بالشت,بالش,pillow
|
| 19 |
+
چادر شب,ملحفه,bedsheet
|
| 20 |
+
پیاله,استکان,tea cup
|
| 21 |
+
چمچه,قاشق,spoon
|
| 22 |
+
کارد,چاقو,knife
|
| 23 |
+
بادله,سطل,bucket
|
| 24 |
+
تابه,ماهی تابه,frying pan
|
| 25 |
+
کراحی,ماهی تابه,frying pan
|
| 26 |
+
مومبتی,شمع,candle
|
| 27 |
+
دوشی,شانه,comb
|
| 28 |
+
تلیفون,تلفن,telephone
|
| 29 |
+
قاپ,بشقاب,plate
|
| 30 |
+
لَیلَم,پیاله,teacup (smaller/local variant)
|
| 31 |
+
چپلی,دمپایی,slippers
|
| 32 |
+
خلته,کیسه,sack/bag
|
| 33 |
+
فامیل,خانواده,family
|
| 34 |
+
پدرکلان,پدربزرگ,grandfather
|
| 35 |
+
مادرکلان,مادربزرگ,grandmother
|
| 36 |
+
رفیق,دوست,buddy/friend
|
| 37 |
+
کاکا,عمو,uncle
|
| 38 |
+
بچهگی,کودکی,childhood
|
| 39 |
+
ماما,دایی,uncle (mother’s brother)
|
| 40 |
+
چپاول,غارت,plunder
|
| 41 |
+
کچالو,سیب زمینی,potato
|
| 42 |
+
بادرنگ,خیار,cucumber
|
| 43 |
+
زردک,هویج,carrot
|
| 44 |
+
بادنجانرومی,گوجه فرنگی,tomato
|
| 45 |
+
مرچ,فلفل,pepper
|
| 46 |
+
قند,شکر,sugar
|
| 47 |
+
مسکه,کره,butter
|
| 48 |
+
قیماق,خامه,cream
|
| 49 |
+
پلو,برنج پخته,cooked rice
|
| 50 |
+
گندمینه,آرد سفید,white flour
|
| 51 |
+
هریسه,آرد درسته,coarse wheat flour
|
| 52 |
+
شوربا,سوپ,soup
|
| 53 |
+
قورمه,خورش,stew
|
| 54 |
+
قابلی پلو,پلو افغانی,kabuli pilaf
|
| 55 |
+
بولانی,نان پرشده,stuffed flatbread
|
| 56 |
+
منتو,مانتی,dumplings
|
| 57 |
+
آشک,گوشتابه,afghan ravioli
|
| 58 |
+
قروت,کشک,dried yogurt
|
| 59 |
+
جلبی,بامیه,jalebi/sweet
|
| 60 |
+
بورانی بادنجان,خورش بادمجان,eggplant stew
|
| 61 |
+
منتو,دستپیچ بخارپز,dumpling
|
| 62 |
+
آشک,پیراشکی بخارپز,stuffed dumpling
|
| 63 |
+
ناک,گلابی,pear
|
| 64 |
+
تربوز,هندوانه,watermelon
|
| 65 |
+
آلوچه,گوجه سبز,green plum
|
| 66 |
+
آلوبخارا,آلو,plum
|
| 67 |
+
شبت,شوید,dill
|
| 68 |
+
چمن,چمنزار,lawn/grass
|
| 69 |
+
پیشک,گربه,cat
|
| 70 |
+
گاو,گاو نر,bull
|
| 71 |
+
دومبه,میش,ram/fat-tailed sheep
|
| 72 |
+
سنگپثته,لاک پشت,turtle
|
| 73 |
+
رمه,گله,flock
|
| 74 |
+
بایسکل,دوچرخه,bicycle
|
| 75 |
+
موتر,ماشین,car
|
| 76 |
+
موتر سایکل,موتور سیکلت,motorcycle
|
| 77 |
+
سرویس,اتوبوس,bus
|
| 78 |
+
لاری,کامیون,truck
|
| 79 |
+
کمپیوتر,رایانه,computer
|
| 80 |
+
سافتویر,نرم افزار,software
|
| 81 |
+
هاردویر,سخت افزار,hardware
|
| 82 |
+
ویندوز,پنجره های رایانه,windows OS
|
| 83 |
+
پروسیسر,پردازنده,processor
|
| 84 |
+
موبایل,تلفن همراه,mobile phone
|
| 85 |
+
ایمیل,پست الکترونیکی,email
|
| 86 |
+
دانلود,بارگیری,download
|
| 87 |
+
آپلود,بارگذاری,upload
|
| 88 |
+
فایل,پرونده,file
|
| 89 |
+
فولدر,پوشه,folder
|
| 90 |
+
پرینتر,چاپگر,printer
|
| 91 |
+
اسکنر,پویشگر,scanner
|
| 92 |
+
کیبورد,صفحه کلید,keyboard
|
| 93 |
+
ماوس,موشواره,mouse
|
| 94 |
+
مانیتور,نمایشگر,monitor
|
| 95 |
+
چارجر,شارژر,charger
|
| 96 |
+
کامره,دوربین,camera
|
| 97 |
+
یو اس بی,حافظه فلش,USB
|
| 98 |
+
پروگرام,برنامه,program/software
|
| 99 |
+
چارج,شارژ,charge (as in battery)
|
| 100 |
+
تلویزیونک,تلویزیون,small television
|
| 101 |
+
مخابره,ارتباط بیسیم,radio/communication
|
| 102 |
+
داکتر,دکتر,doctor
|
| 103 |
+
شفاخانه,بیمارستان,hospital
|
| 104 |
+
کلینیک,درمانگاه,clinic
|
| 105 |
+
پچکاری,تزریق,injection
|
| 106 |
+
اکسری,عکس رادیولوژی,x-ray
|
| 107 |
+
جراحی,عمل جراحی,operation
|
| 108 |
+
دوا,دارو,medicine
|
| 109 |
+
مریز,بیمار,sick/patient
|
| 110 |
+
تو,تب,fever
|
| 111 |
+
خنک,سرماخوردگی,cold
|
| 112 |
+
چپن,قبای بلند,long coat/chapan
|
| 113 |
+
پتلون,شلوار,trousers
|
| 114 |
+
پرهن,لباس,dress
|
| 115 |
+
لنگی,لنگوتی,waistcloth
|
| 116 |
+
چپلس,دمپایی,slippers
|
| 117 |
+
بوتا,کفش,shoes
|
| 118 |
+
چادر,روسری,headscarf / shawl
|
| 119 |
+
تکه,پارچه,cloth / fabric
|
| 120 |
+
واسکت,جلیقه,vest
|
| 121 |
+
والی,فرماندار,governor
|
| 122 |
+
ملا,آخوند,cleric
|
| 123 |
+
مولوی,عالم دینی,religious scholar
|
| 124 |
+
حاجی,زائر,pilgrim
|
| 125 |
+
خان,آقا,lord/sir
|
| 126 |
+
رئیس,بزرگ,chief
|
| 127 |
+
میر,رئیس قوم,tribal chief
|
| 128 |
+
عسکر,سرباز,soldier
|
| 129 |
+
سرحد,مرز,border
|
| 130 |
+
ولسوالی,بخش,district
|
| 131 |
+
قریه,ده,village
|
| 132 |
+
دکان,مغازه,shop
|
| 133 |
+
کاروان سرای,مسافرخانه,caravanserai/inn
|
| 134 |
+
هوتل,هتل,hotel
|
| 135 |
+
رستورانت,رستوران,restaurant
|
| 136 |
+
میدانحوایی,فرودگاه,airport
|
| 137 |
+
پاسپورت,گذرنامه,passport
|
| 138 |
+
ویزه,روادید,visa
|
| 139 |
+
تاپه,مهر,seal/stamp
|
| 140 |
+
دهقان,کشاورز,farmer
|
| 141 |
+
موچی,کفاش,cobbler
|
| 142 |
+
قالینباف,قالیباف,carpet weaver
|
| 143 |
+
جولاها,بافنده,weaver
|
| 144 |
+
رنگرز,رنگساز,dyer
|
| 145 |
+
سراچه,مسگری,coppersmith
|
| 146 |
+
آهنګر,آهنگر,blacksmith
|
| 147 |
+
زرګر,زرگر,goldsmith
|
| 148 |
+
درایور,راننده,driver
|
| 149 |
+
استاد,معلم,teacher/master
|
| 150 |
+
ملک,مالک,owner
|
| 151 |
+
سوداگر,تاجر,trader
|
| 152 |
+
صحن,حیاط,courtyard
|
| 153 |
+
دالان,راهرو,corridor
|
| 154 |
+
دروازه,در بزرگ,gate
|
| 155 |
+
لنگر,لنگه در,door leaf
|
| 156 |
+
تاقچه,قفسه,shelf
|
| 157 |
+
تکیه,خانقاه,sufi lodge
|
| 158 |
+
زیارت,امامزاده,shrine
|
| 159 |
+
مزار,آرامگاه,tomb
|
| 160 |
+
کلکین,پنجره,window
|
| 161 |
+
دهلیز,راهرو,hallway / corridor
|
| 162 |
+
کاریز,قنات,underground canal
|
| 163 |
+
جوی,جویبار,irrigation channel
|
| 164 |
+
کشتزار,زمین کشاورزی,farmland
|
| 165 |
+
بوستان,باغ میوه,orchard
|
| 166 |
+
گلزار,باغ گل,flower garden
|
| 167 |
+
خرمن,کلوخ,threshing floor
|
| 168 |
+
سرگین,کود,manure
|
| 169 |
+
خوساک,فضولات حیوان,animal dung
|
| 170 |
+
ریسمان,طناب,rope
|
| 171 |
+
چوبک,چوب کوچک,small stick
|
| 172 |
+
صحرا,بیابان,desert
|
| 173 |
+
رود,رودخانه,river
|
| 174 |
+
دریا,رود بزرگ,large river
|
| 175 |
+
چمچمه,چشمه کوچک,small spring
|
| 176 |
+
گل,لجن,mud (sticky)
|
| 177 |
+
جوی,رودخانه,river/stream (small)
|
| 178 |
+
چالاک,زیرک,clever
|
| 179 |
+
خنک,سرد,cool
|
| 180 |
+
کلان,بزرگ,big/great
|
| 181 |
+
زیات,زیاد,many/much
|
| 182 |
+
غریب,فقیر,poor
|
| 183 |
+
پریشان,نگران,worried/upset
|
| 184 |
+
تر,خیس,wet
|
| 185 |
+
سُست,ضعیف,soft/weak
|
| 186 |
+
زُود,سریع,quick
|
| 187 |
+
بیخی,کاملاً,completely
|
| 188 |
+
چُرت,خوابآلود,sleepy / drowsy
|
| 189 |
+
بچگانه,کودکانه,childish / juvenile
|
| 190 |
+
مویه,گریه,crying
|
| 191 |
+
خندا,خنده,laughter
|
| 192 |
+
خنده,لبخند,smile
|
| 193 |
+
حالا,الان,now
|
| 194 |
+
پس,بعد,after/then
|
| 195 |
+
پشت,عقب,behind/back
|
| 196 |
+
روی,بالای,on/on top of
|
| 197 |
+
نزد,پیش,near/at (someone's place)
|
| 198 |
+
شاید,ممکن است,maybe/it is possible
|
| 199 |
+
از قبیل,مثل,such as/like
|
| 200 |
+
چاشت,ظهر,noon/lunch time
|
| 201 |
+
غرمه,عصر,afternoon
|
| 202 |
+
خزان,پاییز,autumn
|
| 203 |
+
کله,سر,head
|
| 204 |
+
مینه,عشق,love
|
| 205 |
+
بدی,کینه,hatred
|
| 206 |
+
پیسې,پول,money
|
| 207 |
+
قیمت,هزینه,cost
|
| 208 |
+
زیان,ضرر,loss
|
| 209 |
+
قرز,بدهی,debt
|
| 210 |
+
سیر,کیلو,unit of weight (7kg)
|
| 211 |
+
جریب,هکتار,unit of land area
|
| 212 |
+
چور,غارت,plunder
|