TensorX
返回文献探索

Paper · arXiv 2404.14619

OpenELM: An Efficient Language Model Family with Open-source Training and Inference Framework

Sachin Mehta, Mohammad Hossein Sekhavat, Qingqing Cao, Maxwell Horton, Yanzi Jin, Chenfan Sun, Iman Mirzadeh, Mahyar Najibi, Dmitry Belenko, Peter Zatloukal, Mohammad Rastegari

126 upvotesApril 22, 2024arXiv 预印本
AI 摘要

OpenELM, an open language model, uses layer-wise scaling to enhance accuracy and is released with comprehensive training and evaluation frameworks, enabling transparent and reproducible research.

layer-wise scalingtransformer modelOpenELMOLMopre-training tokenstraining logscheckpointspre-training configurationsMLX library

Abstract

The reproducibility and transparency of large language models are crucial for advancing open research, ensuring the trustworthiness of results, and enabling investigations into data and model biases, as well as potential risks. To this end, we release OpenELM, a state-of-the-art open language model. OpenELM uses a layer-wise scaling strategy to efficiently allocate parameters within each layer of the transformer model, leading to enhanced accuracy. For example, with a parameter budget of approximately one billion parameters, OpenELM exhibits a 2.36% improvement in accuracy compared to OLMo while requiring 2times fewer pre-training tokens. Diverging from prior practices that only provide model weights and inference code, and pre-train on private datasets, our release includes the complete framework for training and evaluation of the language model on publicly available datasets, including training logs, multiple checkpoints, and pre-training configurations. We also release code to convert models to MLX library for inference and fine-tuning on Apple devices. This comprehensive release aims to empower and strengthen the open research community, paving the way for future open research endeavors. Our source code along with pre-trained model weights and training recipes is available at https://github.com/apple/corenet. Additionally, \model models can be found on HuggingFace at: https://huggingface.co/apple/OpenELM.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
OpenELM: An Efficient Language Model Family with Open-source Training and Inference Framework | TensorX