Fill-Mask
Transformers
Safetensors
Bengali
distilbert
bengali
bangla
BnLM-F
bnlm
bangla-model
small-bangla-model
bengali-nlp
bnlp
low-resource
masked-language-modeling
pretrained
language-model
Instructions to use nahid-hub/BnLM-F-135m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nahid-hub/BnLM-F-135m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nahid-hub/BnLM-F-135m")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nahid-hub/BnLM-F-135m") model = AutoModelForMaskedLM.from_pretrained("nahid-hub/BnLM-F-135m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -27,7 +27,7 @@ model-index:
|
|
| 27 |
|
| 28 |
# BnLM-F: Bangla Language Model (135M)
|
| 29 |
|
| 30 |
-
**BnLM-F** is a 135M-parameter Bangla-specific pretrained language model, one of three models in the **BnLM** suite (**B**e**n**gali **L**anguage **M**odel) introduced alongside the **BLUGE** benchmark and **B-CORE** pretraining corpus. BnLM models are pretrained from scratch on Bangla text using the Masked Language Modeling (MLM) objective, and are designed for efficient, low-resource NLP without relying on large multilingual models.
|
| 31 |
|
| 32 |
> **This is a base (pretrained) model.** It has been trained only with the MLM objective and has **not** been fine-tuned for any downstream task. It works out of the box for masked-language-modeling and feature extraction. For classification, NER, and similar tasks, you must **fine-tune it first** — see [Fine-tuning](#fine-tuning-for-downstream-tasks) below.
|
| 33 |
|
|
|
|
| 27 |
|
| 28 |
# BnLM-F: Bangla Language Model (135M)
|
| 29 |
|
| 30 |
+
**BnLM-F** is a 135M-parameter Bangla-specific pretrained language model, one of three models in the **BnLM** suite (**B**e**n**gali **L**anguage **M**odel) introduced alongside the **BLUGE** benchmark and **B-CORE** pretraining corpus. BnLM-F is among the smallest Bangla language models available, while ranking among the most accurate and computationally efficient — delivering state-of-the-art results at a fraction of the size and compute of multilingual alternatives. BnLM models are pretrained from scratch on Bangla text using the Masked Language Modeling (MLM) objective, and are designed for efficient, low-resource NLP without relying on large multilingual models.
|
| 31 |
|
| 32 |
> **This is a base (pretrained) model.** It has been trained only with the MLM objective and has **not** been fine-tuned for any downstream task. It works out of the box for masked-language-modeling and feature extraction. For classification, NER, and similar tasks, you must **fine-tune it first** — see [Fine-tuning](#fine-tuning-for-downstream-tasks) below.
|
| 33 |
|