Seeing strength in numbers, Apple has made a strategic move in the competitive artificial intelligence marketplace by making eight small AI models available. Collectively called OpenELM, the compact tools are designed to run on devices and offline—perfect for smartphones.
Published on the open-source AI community Hugging Face, the models are offered in 270 million, 450 million, 1.1 billion, and 3 billion parameter versions. Users can also download Apple’s OpenELM in either pre-trained or instruction-tuned versions.
The pre-trained models provide a base atop which users can fine tune and develop. The instruction-tuned models are already programmed to respond to instructions, making them more suitable for conversations and interactions with end users.
While Apple hasn’t suggested specific use cases for these models, they could be applied to run assistants that can parse emails and texts, or provide intelligent suggestions based on the data. This is an approach similar to one taken by Google, which deployed its Gemini AI model on its Pixel smartphone lineup.
The models were trained on publicly available datasets, and Apple is sharing both the code for CoreNet (the library used to train OpenELM) and the “recipes” for its models. In other words, users can inspect how Apple built them.
The Apple release comes shortly after Microsoft announced Phi-3, a family of small language models capable of running locally. Phi-3 Mini, a 3.8 billion parameter model trained on 3.3 trillion tokens, is still capable of handling 128K tokens of context, making it comparable to GPT-4 and beating Llama-3 and Mistral Large in terms of token capacity.
Being open source and lightweight, Phi-3 Mini could potentially replace traditional assistants like Apple’s Siri or Google’s Gemini for some tasks, and Microsoft has already tested Phi-3 on an iPhone and reported satisfactory results and fast token generations.
While Apple has not yet integrated these new AI language model capabilities into its consumer devices, the upcoming iOS 18 update is rumored to include new AI features that use on-device processing to ensure user privacy.
Apple hardware offers advantages for local AI use, notably its ability to merge device RAM with GPU video RAM or VRAM. This means that a Mac with 32 GB of RAM (a common configuration in a PC) can utilize that RAM as it would GPU VRAM to run AI models, making it a more efficient option for local AI processing.
Windows devices face a disadvantage in this regard, as device RAM and GPU VRAM are separated. Users usually need to purchase a powerful 32GB GPU to augment the RAM to run AI models.
However, Apple lags behind Windows/Linux in the area of AI development. Most AI applications revolve around hardware designed and built by Nvidia, which Apple phased out in support of its own chips. This means that there is relatively little Apple-native AI development, and as a result, using AI on Apple products requires translation layers or other complex procedures.
Stay on top of crypto news, get daily updates in your inbox.
Source: https://decrypt.co/228325/apple-small-ai-models-openelm-microsoft-phi-mini