Downloads · 30 days
358
6% of all-time downloads
hishab/titulm-llama-3.2-1b-v1.1
titulm-llama-3.2-1b-v1.1 is a text generation model from hishab. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.2.
This model is a continually pre-trained version of the meta-llama/Llama-3.2-1B architecture, fine-tuned on extensive Bangla datasets. The primary goal of the continual pretraining was to enhance the model's ability to…
Downloads · 30 days
358
6% of all-time downloads
All-time downloads
6.3K
Public
Parameters
1.2B
19.8 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors2.5 GB · 100%
From the Hugging Face model README
This model is a continually pre-trained version of the meta-llama/Llama-3.2-1B architecture, fine-tuned on extensive Bangla datasets. The primary goal of the continual pretraining was to enhance the model's ability to generate high-quality Bangla text. By extending the pretraining process specifically on Bangla data, the model has demonstrated superior performance in Bangla language understanding evaluation benchmarks and text generation tasks.
Model Architecture: Llama 3.2 is an auto-regressive language model with optimized transformer architecture.
| Training Data | Params | Input modalities | Output modalities | Context Length | GQA | Shared Embeddings | Token count | Knowledge cutoff | |
|---|---|---|---|---|---|---|---|---|---|
| Llama 3.2 (text only) | Hishab curated Bangla text corpus | 1B (1.23B) | Monolingual Text(Bangla) | Monolingual Text(Bangla) | 4096 | Yes | Yes | 8.5B tokens |
Supported Languages: Bengali (primary) and English (secondary)
Llama 3.2 Model Family: Token counts refer to pretraining data only. All model versions use Grouped-Query Attention (GQA) for improved inference scalability.
Model Release Date: October 24, 2024
Status: This is a static model trained on an offline dataset. Future versions may be released to improve model capabilities.
License: We are using a similar license to Llama 3.2. Use of Llama 3.2 is governed by the Llama 3.2 Community License (a custom, commercial license agreement).
More information can be found in the paper TituLLMs: A Family of Bangla LLMs with Comprehensive Benchmarking and on the project page.
Starting with transformers >= 4.43.0 onward, you can run conversational inference using the Transformers pipeline abstraction or by leveraging the Auto classes with the generate() function.
Make sure to update your transformers installation via pip install --upgrade transformers.
import torch
from transformers import pipeline
model_id = "hishab/titulm-llama-3.2-1b-v1.1"
pipe = pipeline(
"text-generation",
model=model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
pipe("আমাদের দেশের নাম")
Training Factors: We used llama-factory training library, Cloud GPU cluster, and production infrastructure for pretraining. Fine-tuning, annotation, and evaluation were also performed on cloud infrastructure.
Overview: We have collected a large Bangla raw dataset of text data from various sources. Our collected data so far includes a mix of web documents, books, translated text, transliterated text, transcribe text, code-mixed text, conversations, and open sources raw data. The dataset is cleaned and filtered by different filtering criteria to ensure the quality of the data. Our collected data size is roughly around 268 GB. We separated 33GB data from that using a ratio of the data actual data size. Total trained tokens are 8.5B tokens.
Data sources summary:
In this section, we report the results for titulm-llama-3.2-1b-v1.1 models on standard automatic benchmarks. For all these evaluations, we used lm-evaluation-harness evaluations library.
We evaluated our pre-trained models on both Bangla and English benchmark datasets. Although the model is trained on Bangla data, its English capability is also evaluated on English benchmark datasets. The evaluation datasets are as follows:
We evaluated the models on the following datasets:
| Model | Shots | Bangla MMLU | BoolQ BN | Commonsense QA BN | OpenBook QA BN | PIQA BN |
|---|---|---|---|---|---|---|
| llama-3.2-1b | 0-shot | 0.29 | 0.55 | 0.22 | 0.33 | 0.53 |
| 5-shot | 0.28 | - | 0.23 | 0.31 | 0.54 | |
| hishab/titulm-llama-3.2-1b-v1.1 | 0-shot | 0.28 | 0.54 | 0.28 | 0.31 | 0.56 |
| 5-shot | 0.28 | - | 0.31 | 0.34 | 0.57 |
| Model | Shots | MMLU | BoolQ | Commonsense QA | OpenBook QA | PIQA |
|---|---|---|---|---|---|---|
| llama-3.2-1b | 0-shot | 0.38 | 0.64 | 0.47 | 0.37 | 0.75 |
| 5-shot | 0.309 | 0.662 | 0.317 | 0.396 | 0.759 | |
| titulm-llama-3.2-1b-v1.1 | 0-shot | 0.26 | 0.62 | 0.34 | 0.35 | 0.73 |
| 5-shot | 0.26 | 0.62 | 0.25 | 0.39 | 0.74 |
@misc{nahin2025titullmsfamilybanglallms,
title={TituLLMs: A Family of Bangla LLMs with Comprehensive Benchmarking},
author={Shahriar Kabir Nahin and Rabindra Nath Nandi and Sagor Sarker and Quazi Sarwar Muhtaseem and Md Kowsher and Apu Chandraw Shill and Md Ibrahim and Mehadi Hasan Menon and Tareq Al Muntasir and Firoj Alam},
year={2025},
eprint={2502.11187},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2502.11187},
}