While small language models (SLMs) show promises for mobile deployment, their real-world performance and applications on smartphones remains underexplored. We present SlimLM, a series of SLMs optimized for document assistance tasks on mobile devices. Through extensive experiments on a Samsung Galaxy S24, we identify the optimal trade-offs between model size (ranging from 125M to 7B parameters), context length, and inference time for efficient on-device processing. SlimLM is pre-trained on SlimPajama-627B and fine-tuned on DocAssist, our constructed dataset for summarization, question answering and suggestion tasks. Our smallest model demonstrates efficient performance on S24, while larger variants offer enhanced capabilities within mobile constraints. We evaluate SlimLM against existing SLMs, showing comparable or superior performance and offering a benchmark for future research in on-device language models. We also provide an Android application, offering practical insights into SLM deployment. Our findings provide valuable insights and illuminate the capabilities of running advanced language models on high-end smartphones, potentially reducing server costs and enhancing privacy through on-device processing.
The impact of responding to patient messages with large language model assistance
Mass General Brigham(马萨诸塞综合医院布里格姆医疗系统);Harvard Medical School(哈佛医学院);Brigham and Women’s Hospital(布莱根妇女医院);Dana-Farber Cancer Institute(达纳-法伯癌症研究所);Boston Children’s Hospital(波士顿儿童医院);Maastricht University(马斯特里赫特大学);Yale School of Medicine(耶鲁医学院);University of Wisconsin School of Medicine and Public Health(威斯康星大学医学与公共卫生学院)
Findings of the Third Workshop on Neural Generation and Translation
Carnegie Mellon University(卡内基梅隆大学);Google Brain(谷歌大脑);University of Edinburgh(爱丁堡大学);Heriot-Watt University(赫瑞瓦特大学);Apple(苹果公司);Nara Institute of Science and Technology(奈良先端科学技术大学院大学)
Using Large Language Models to Generate Authentic Multi-agent Knowledge Work Datasets
German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);University of Kaiserslautern-Landau (RPTU)(凯泽斯劳滕-兰道大学);RheinMain University of Applied Sciences(莱茵美因应用科学大学)
A specialized reasoning large language model for accelerating rare disease diagnosis: a randomized AI physician assistance trial
Tsinghua Medicine, Tsinghua University(清华大学医学部,清华大学);Department of Ophthalmology, Peking Union Medical College Hospital, Chinese Academy of Medical Sciences & Peking Union Medical College(北京大学人民医院眼科,中国医学科学院 & 北京大学医学部);Department of Statistics and Data Science, Tsinghua University(清华大学统计与数据科学系);Department of Rheumatology and Clinical Immunology, Peking Union Medical College Hospital, Chinese Academy of Medical Sciences & Peking Union Medical College(北京大学人民医院风湿免疫科,中国医学科学院 & 北京大学医学部);Department of Rare Diseases, Peking Union Medical College Hospital, Chinese Academy of Medical Sciences & Peking Union Medical College(北京大学人民医院罕见病科,中国医学科学院 & 北京大学医学部);Department of Dermatology, Xijing Hospital, Air Force Medical University(西安空军军医大学西京医院皮肤科);School of Computer Science and Technology, East China Normal University (ECNU)(东华大学计算机科学与技术学院);Department of Neurosurgery, Xuanwu Hospital, Capital Medical University(首都医科大学宣武医院神经外科);Department of Ophthalmology, National University of Singapore(新加坡国立大学眼科);Singapore Eye Research Institute, Singapore National Eye Centre(新加坡眼科学研究所,新加坡国家眼科中心);Ophthalmology and Visual Science Academic Clinical Program, Duke-NUS Medical School(杜克-国立新加坡大学医学学校眼科与视觉科学学术临床项目);Department of Pediatrics, The First Hospital of Tsinghua University(清华大学第一医院儿科);College of Future Technology, Peking University(北京大学未来技术学院);School of Health and Wellbeing, University of Glasgow(格拉斯哥大学健康与福祉学院)