Revolutionizing Mobile Interaction: Enabling a 3 Billion Parameter GPT LLM on Mobile

Samuel Carreira, Tomás Marques, José Ribeiro, Carlos Grilo
9/29/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

The field of Artificial Intelligence has witnessed remarkable progress in recent years, especially with the emergence of powerful large language models (LLMs) based on the transformer architecture. Cloud-based LLMs, such as OpenAI's ChatGPT, offer impressive capabilities but come with concerns regarding latency and privacy due to network dependencies. This article presents an innovative approach to LLM inference, envisioning a future where LLMs with billions of parameters can be executed directly on mobile devices without network connectivity. The article showcases a fine-tuned GPT LLM with 3 billion parameters that can operate smoothly on devices with as low as 4GB of memory. Through the integration of native code and model quantization techniques, the application not only serves as a general-purpose assistant but also facilitates seamless mobile interactions with text-to-actions features. The article provides insights into the training pipeline, implementation details, test results, and future directions of on-device LLM inference. This breakthrough technology opens up possibilities for empowering users with sophisticated AI capabilities while preserving their privacy and eliminating latency concerns.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carreira2023revolutionizing,
  title  = {Revolutionizing Mobile Interaction: Enabling a 3 Billion Parameter GPT LLM on Mobile},
  author = {Samuel Carreira and Tomás Marques and José Ribeiro and Carlos Grilo},
  year   = {2023},
  eprint = {2310.01434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.01434v1}
}

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/2310.01434.svg)](https://codeofpaper.com/paper/2310.01434)

Discussion