MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT

Omkar Thawakar, Ashmal Vayani, Salman Khan, Hisham Cholakal, Rao M. Anwer +4 more
2/26/2024
cs.CL

Official code: mbzuai-oryx/MobiLlama (667 stars, Apache-2.0, last commit 2025-05-10).

Abstract

"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 is available at : https://github.com/mbzuai-oryx/MobiLlama.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICLR-2025-SLLM Spotlight 🔥]MobiLlama : Small Language Model tailored for edge devices

66751Shell, PythonFeb 23, 20241 years agoApache-2.0
efficient-llmllmmobile-llmslmtiny-llm

Similar Papers

Cite this paper

@article{thawakar2024mobillama,
  title  = {MobiLlama: Towards Accurate and Lightweight Fully Transparent GPT},
  author = {Omkar Thawakar and Ashmal Vayani and Salman Khan and Hisham Cholakal and Rao M. Anwer and Michael Felsberg and Tim Baldwin and Eric P. Xing and Fahad Shahbaz Khan},
  year   = {2024},
  eprint = {2402.16840},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.16840v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.16840.svg)](https://codeofpaper.com/paper/2402.16840)

Discussion