Article complete

Apple Releases Four Open Source LLMs with OpenELM Series of Models

The models come in 270M, 450M, 1.1B, and 3B parameters, both pre-trained and fine-tuned according to instructions.

A stylized robot holding a mirror, reflecting an image, with an Apple logo in the background on a blue surface.

Key takeaways

  • Apple open sources OpenELM, a series of Efficient Language Models with varying parameter sizes.
  • Models include 270M, 450M, 1.1B, and 3B parameters, both pre-trained and fine-tuned.
  • OpenELM achieves improved accuracy with a layer-wise scaling approach for parameter distribution.
  • Benchmarking shows OpenELM surpasses OLMo by 2.36% accuracy with fewer pre-training tokens.
  • Utilize datasets like RefinedWeb and PILE while adhering to licensing agreements for model training.

Takeaways drafted with AI from the article text.

OpenELM models were pre-trained using the CoreNet library. The models come in 270M, 450M, 1.1B, and 3B parameters, both pre-trained and fine-tuned according to instructions.

The pre-training dataset consists of RefinedWeb, deduplicated PILE, a subset of RedPajama, and a subset of Dolma v1.6, totaling approximately 1.8 trillion tokens. Please review the licence agreements and terms of use for these datasets before utilising them.

https://twitter.com/ClementDelangue/status/1783107571294900300

For instance, with a parameter budget of around one billion parameters, OpenELM demonstrates a remarkable 2.36% increase in accuracy compared to OLMo, while requiring only half the pre-training tokens.

In benchmarking, modern, consumer-grade hardware was used, with BFloat16 as the data type. CUDA benchmarks were conducted on a workstation equipped with an Intel i9-13900KF CPU, 64 GB of DDR5-4000 DRAM, and an NVIDIA RTX 4090 GPU with 24 GB of VRAM, running Ubuntu 22.04.

To benchmark OpenELM models on Apple silicon, an Apple MacBook Pro with an M2 Max system-on-chip and 64GiB of RAM, running macOS 14.4.1, was employed.

Token throughput was measured in terms of tokens processed per second, including prompt processing (pre-fill) and token generation. All models were benchmarked sequentially, with a full "dry run" generating 1024 tokens for the first model to significantly increase the throughput of generation for subsequent models.

The entire framework, including training logs, multiple checkpoints, pre-training configurations, and MLX inference code, has been made open-source, aiming to empower and strengthen the open research community, facilitating future research efforts.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

More in this story

LLMs · 5 stories
  1. Open Source AI Has a New Champion
  2. Prompt Engineering is Different for Open Source LLMs
  3. You are here: Apple Releases Four Open Source LLMs with OpenELM Series of Models
  4. OpenAI Offers Publishers a Mere $1 Million for News Licensing
  5. NVIDIA Commercialises Its Autonomous Driving AI Model
About the author

Journalist

Mohit writes about AI in simple, explainable, and often funny words. He's especially passionate about chatting with those building AI for Bharat, with the occasional detour into AGI.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.