MBZUAI / MobiLlama-05B

huggingface.co
Total runs: 916
24-hour runs: 0
7-day runs: 86
30-day runs: 242
Model's Last Updated: February 28 2024
text-generation

Introduction of MobiLlama-05B

Model Details of MobiLlama-05B

MobiLlama-05B

mobillama logo

MobiLlama-05B is a Small Language Model with 0.5 billion parameters. It was trained using the Amber data sources Amber-Dataset .

Model Summary

"Bigger the better" has been the predominant trend in recent Large Language Models (LLMs) development. However, LLMs do not suit well for scenarios that require on-device processing, energy efficiency, low memory footprint, and response efficiency. These requisites are crucial for privacy, security, and sustainable deployment. This paper explores the ‘less is more’ paradigm by addressing the challenge of designing accurate yet efficient Small Language Models (SLMs) for resource-constrained devices. Our primary contribution is the introduction of an accurate and fully transparent open-source 0.5 billion (0.5B) parameter SLM, named MobiLlama, catering to the specific needs of resource-constrained computing with an emphasis on enhanced performance with reduced resource demands. MobiLlama is a SLM design that initiates from a larger model and applies a careful parameter sharing scheme to reduce both the pre-training and the deployment cost. Our work strives to not only bridge the gap in open-source SLMs but also ensures full transparency, where complete training data pipeline, training code, model weights, and over 300 checkpoints along with evaluation codes are available on our Github .

Arxiv Paper Link

Model Description
How to Use
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("MBZUAI/MobiLlama-05B", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("MBZUAI/MobiLlama-05B", trust_remote_code=True)

model.to('cuda')
text = "I was walking towards the river when "
input_ids = tokenizer(text, return_tensors="pt").to('cuda').input_ids
outputs = model.generate(input_ids, max_length=1000, repetition_penalty=1.2, pad_token_id=tokenizer.eos_token_id)
print(tokenizer.batch_decode(outputs[:, input_ids.shape[1]:-1])[0].strip())
Training DataMix
Subset Tokens (Billion)
Arxiv 30.00
Book 28.86
C4 197.67
Refined-Web 665.01
StarCoder 291.92
StackExchange 21.75
Wikipedia 23.90
Total 1259.13
Hyperparameters
Hyperparameter Value
Total Parameters 0.52B
Hidden Size 2048
Intermediate Size (MLPs) 5632
Number of Attention Heads 32
Number of Hidden Lyaers 22
RMSNorm ɛ 1e^-5
Max Seq Length 2048
Vocab Size 32000
Evaluation
Evaluation Benchmark MobiLlama-0.5B MobiLlama-0.8B MobiLlama-1.2B
HellaSwag 52.52 54.09 62.99
MMLU 26.45 26.92 24.23
Arc Challenge 29.52 30.20 34.55
TruthfulQA 38.05 38.48 35.57
CrowsPairs 64.03 64.82 68.12
PIQA 72.03 73.17 75.29
Race 33.68 33.37 35.31
SIQA 40.22 41.60 41.96
Winogrande 57.53 57.45 61.08
Citation

BibTeX:

@misc{thawakar2024mobillama,
      title={MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT}, 
      author={Omkar Thawakar and Ashmal Vayani and Salman Khan and Hisham Cholakkal and Rao Muhammad Anwer and Michael Felsberg and Timothy Baldwin and Eric P. Xing and Fahad Shahbaz Khan},
      year={2024},
      eprint={2402.16840},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
} 

Runs of MBZUAI MobiLlama-05B on huggingface.co

916
Total runs
0
24-hour runs
20
3-day runs
86
7-day runs
242
30-day runs

More Information About MobiLlama-05B huggingface.co Model

More MobiLlama-05B license Visit here:

https://choosealicense.com/licenses/mit

MobiLlama-05B huggingface.co

MobiLlama-05B huggingface.co is an AI model on huggingface.co that provides MobiLlama-05B's model effect (), which can be used instantly with this MBZUAI MobiLlama-05B model. huggingface.co supports a free trial of the MobiLlama-05B model, and also provides paid use of the MobiLlama-05B. Support call MobiLlama-05B model through api, including Node.js, Python, http.

MobiLlama-05B huggingface.co Url

https://huggingface.co/MBZUAI/MobiLlama-05B

MBZUAI MobiLlama-05B online free

MobiLlama-05B huggingface.co is an online trial and call api platform, which integrates MobiLlama-05B's modeling effects, including api services, and provides a free online trial of MobiLlama-05B, you can try MobiLlama-05B online for free by clicking the link below.

MBZUAI MobiLlama-05B online free url in huggingface.co:

https://huggingface.co/MBZUAI/MobiLlama-05B

MobiLlama-05B install

MobiLlama-05B is an open source model from GitHub that offers a free installation service, and any user can find MobiLlama-05B on GitHub to install. At the same time, huggingface.co provides the effect of MobiLlama-05B install, users can directly use MobiLlama-05B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

MobiLlama-05B install url in huggingface.co:

https://huggingface.co/MBZUAI/MobiLlama-05B

Url of MobiLlama-05B

MobiLlama-05B huggingface.co Url

Provider of MobiLlama-05B huggingface.co

MBZUAI
ORGANIZATIONS

Other API from MBZUAI

huggingface.co

Total runs: 76.6K
Run Growth: 1.1K
Growth Rate: 1.49%
Updated:February 20 2025
huggingface.co

Total runs: 5.5K
Run Growth: 4.4K
Growth Rate: 80.18%
Updated:March 01 2024
huggingface.co

Total runs: 5.3K
Run Growth: -1.2K
Growth Rate: -23.60%
Updated:April 08 2026
huggingface.co

Total runs: 4.6K
Run Growth: -1.3K
Growth Rate: -27.43%
Updated:April 08 2026
huggingface.co

Total runs: 3.0K
Run Growth: -1.0K
Growth Rate: -35.01%
Updated:April 08 2026
huggingface.co

Total runs: 2.5K
Run Growth: -424
Growth Rate: -17.00%
Updated:April 08 2026
huggingface.co

Total runs: 1.2K
Run Growth: -1.2K
Growth Rate: -99.49%
Updated:April 28 2023
huggingface.co

Total runs: 1.1K
Run Growth: -1.2K
Growth Rate: -110.15%
Updated:April 28 2023
huggingface.co

Total runs: 935
Run Growth: -1.2K
Growth Rate: -125.13%
Updated:April 28 2023
huggingface.co

Total runs: 922
Run Growth: -856
Growth Rate: -92.84%
Updated:March 13 2025
huggingface.co

Total runs: 732
Run Growth: 689
Growth Rate: 94.13%
Updated:March 25 2024
huggingface.co

Total runs: 406
Run Growth: 0
Growth Rate: 0.00%
Updated:December 26 2024
huggingface.co

Total runs: 262
Run Growth: 78
Growth Rate: 29.77%
Updated:February 27 2026
huggingface.co

Total runs: 156
Run Growth: -1.6K
Growth Rate: -1019.87%
Updated:December 27 2023
huggingface.co

Total runs: 137
Run Growth: 31
Growth Rate: 22.63%
Updated:February 28 2024
huggingface.co

Total runs: 117
Run Growth: 103
Growth Rate: 88.03%
Updated:December 16 2024
huggingface.co

Total runs: 116
Run Growth: -179
Growth Rate: -154.31%
Updated:February 27 2026
huggingface.co

Total runs: 93
Run Growth: -112
Growth Rate: -120.43%
Updated:February 27 2026
huggingface.co

Total runs: 80
Run Growth: 42
Growth Rate: 52.50%
Updated:December 18 2024
huggingface.co

Total runs: 67
Run Growth: 31
Growth Rate: 46.27%
Updated:September 10 2025
huggingface.co

Total runs: 57
Run Growth: 51
Growth Rate: 89.47%
Updated:January 20 2026
huggingface.co

Total runs: 29
Run Growth: -5
Growth Rate: -17.24%
Updated:September 10 2025
huggingface.co

Total runs: 29
Run Growth: 0
Growth Rate: 0.00%
Updated:July 11 2026
huggingface.co

Total runs: 25
Run Growth: 17
Growth Rate: 68.00%
Updated:March 16 2025
huggingface.co

Total runs: 25
Run Growth: 11
Growth Rate: 45.83%
Updated:December 27 2023
huggingface.co

Total runs: 23
Run Growth: 8
Growth Rate: 34.78%
Updated:December 16 2024
huggingface.co

Total runs: 22
Run Growth: -28
Growth Rate: -127.27%
Updated:September 10 2025
huggingface.co

Total runs: 21
Run Growth: 2
Growth Rate: 9.52%
Updated:December 16 2024
huggingface.co

Total runs: 20
Run Growth: 13
Growth Rate: 65.00%
Updated:February 28 2024
huggingface.co

Total runs: 14
Run Growth: 14
Growth Rate: 100.00%
Updated:November 28 2025
huggingface.co

Total runs: 13
Run Growth: 9
Growth Rate: 69.23%
Updated:June 12 2025
huggingface.co

Total runs: 9
Run Growth: -3
Growth Rate: -33.33%
Updated:March 25 2024
huggingface.co

Total runs: 8
Run Growth: 1
Growth Rate: 12.50%
Updated:April 13 2026
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:January 19 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 05 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2025