arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.01434cs.CLcs.AIcs.LG
收藏

革新移动交互:在移动设备上实现30亿参数的GPT大语言模型

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

IPLeiria(莱里亚理工学院)

Samuel Carreira, Tomás Marques, José Ribeiro, Carlos Grilo

AI总结:

针对云端大语言模型的延迟与隐私问题,提出创新推理方法,通过原生代码与模型量化,让30亿参数微调GPT大语言模型可在4GB内存移动设备端侧运行,兼具通用助手与文本转动作功能,为隐私友好的移动AI应用开辟可能。

摘要:

近年来,人工智能领域取得了显著进展,尤其是基于Transformer架构的强大大语言模型(LLM)的出现。基于云端的大语言模型,例如OpenAI的ChatGPT,具备出色的能力,但由于依赖网络,存在延迟和隐私方面的顾虑。本文提出了一种创新的大语言模型推理方法,构想了无需网络连接、数十亿参数的大语言模型可直接在移动设备上运行的未来。本文展示了一个经过微调的30亿参数GPT大语言模型,它能在内存低至4GB的设备上流畅运行。通过整合原生代码与模型量化技术,该应用不仅可作为通用助手,还能通过文本转动作功能实现流畅的移动交互。本文阐述了端侧大语言模型推理的训练流程、实现细节、测试结果及未来方向。这一突破性技术为在保护用户隐私、消除延迟顾虑的同时为用户提供强大AI能力开辟了可能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑