There are 2.2 billion active 
text
There are 2.2 billion active 
@Apple
mention
Apple
 devices 🍏 and all of them just got smarter thanks to Apple Intelligence (AI) 🧠
text
 devices 🍏 and all of them just got smarter thanks to Apple Intelligence (AI) 🧠
new_line
new_line
Well, almost all devices... 🤔
text
Well, almost all devices... 🤔
new_line
new_line
Your device needs:
text
Your device needs:
new_line
- A17 Pro chip or later if it's an iPhone 📱,
text
- A17 Pro chip or later if it's an iPhone 📱,
new_line
- M1 chip or later if iPad 📱,
text
- M1 chip or later if iPad 📱,
new_line
- M1 chip or later if Mac 💻.
text
- M1 chip or later if Mac 💻.
new_line
new_line
All this aside, this is probably the largest deployment of on-device LLMs 🌍.
text
All this aside, this is probably the largest deployment of on-device LLMs 🌍.
new_line
new_line
Here is the technical goodness:
text
Here is the technical goodness:
new_line
- AI will run ~3B LLM on device (Mac, iPhone, iPad) with grouped-query-attention, activation, and embedding quantization (Talaria bit rate selection) running on the neural engine 🚀.
text
- AI will run ~3B LLM on device (Mac, iPhone, iPad) with grouped-query-attention, activation, and embedding quantization (Talaria bit rate selection) running on the neural engine 🚀.
new_line
- Will be using fine-tuned LoRA Adapters for different tasks, claiming to outperform other 7B and 3B LLMs! 🥇
text
- Will be using fine-tuned LoRA Adapters for different tasks, claiming to outperform other 7B and 3B LLMs! 🥇
new_line
- iPhone 15 Pro 0.6 ms time-to-first-token with 30 tokens/second latency ⏱.
text
- iPhone 15 Pro 0.6 ms time-to-first-token with 30 tokens/second latency ⏱.
new_line
- No server model size or details 🤐.
text
- No server model size or details 🤐.
new_line
- Will be dynamically loading, caching, and swapping LoRA adapters (think LoRA Land) 🔄.
text
- Will be dynamically loading, caching, and swapping LoRA adapters (think LoRA Land) 🔄.
new_line
- On-device model has 49K vocab size, while the server model goes 100K 📚.
text
- On-device model has 49K vocab size, while the server model goes 100K 📚.
new_line
- Using rejection sampling fine-tuning and RLHF in post-processing 📈.
text
- Using rejection sampling fine-tuning and RLHF in post-processing 📈.
new_line
- A rejection sampling fine-tuning algorithm with teacher committee 🎓.
text
- A rejection sampling fine-tuning algorithm with teacher committee 🎓.
new_line
- And reinforcement learning from human feedback (RLHF) algorithm with mirror descent policy optimization and a leave-one-out advantage estimator 🧮.
text
- And reinforcement learning from human feedback (RLHF) algorithm with mirror descent policy optimization and a leave-one-out advantage estimator 🧮.
new_line
- Used synthetic data generation (from bigger models, does not mention which) for tasks like summaries 📝.
text
- Used synthetic data generation (from bigger models, does not mention which) for tasks like summaries 📝.
new_line
- 750 evaluation samples for each production use case to evaluate summarization (dataset not released) 📊.
text
- 750 evaluation samples for each production use case to evaluate summarization (dataset not released) 📊.
new_line
- No mention of multilingual support 🌐.
text
- No mention of multilingual support 🌐.
new_line
- Used Apple's AXLearn framework (JAX) and FSP to train on TPUs and GPUs 💪.
text
- Used Apple's AXLearn framework (JAX) and FSP to train on TPUs and GPUs 💪.
new_line
- 3B + Adapter outperforms Phi-3 mini, Gemma 7B, Mistral 7B on summarization 🏆.
text
- 3B + Adapter outperforms Phi-3 mini, Gemma 7B, Mistral 7B on summarization 🏆.
new_line
- 3B + Adapter achieves 78.7% on IFEval beating Phi-3 mini, Gemma 7B, Mistral 7B; Server Model matches GPT-4-Turbo and beats Mixtral 8x22B and GPT-3.5-turbo ✨.
text
- 3B + Adapter achieves 78.7% on IFEval beating Phi-3 mini, Gemma 7B, Mistral 7B; Server Model matches GPT-4-Turbo and beats Mixtral 8x22B and GPT-3.5-turbo ✨.
new_line
new_line
LoRA for the win! 🎉
text
LoRA for the win! 🎉
new_line
new_line
Blog: 
text
Blog: 
https://machinelearning.apple.com/research/introducing-apple-foundation-models
https://machinelearning.apple.com/research/introducing-apple-foundation-models
link
There are 2.2 billion active @Apple devices 🍏 and all of them just got smarter thanks to Apple Intelligence (AI) 🧠

Well, almost all devices... 🤔

Your device needs:
- A17 Pro chip or later if it's an iPhone 📱,
- M1 chip or later if iPad 📱,
- M1 chip or later if Mac 💻.

All this aside, this is probably the largest deployment of on-device LLMs 🌍.

Here is the technical goodness:
- AI will run ~3B LLM on device (Mac, iPhone, iPad) with grouped-query-attention, activation, and embedding quantization (Talaria bit rate selection) running on the neural engine 🚀.
- Will be using fine-tuned LoRA Adapters for different tasks, claiming to outperform other 7B and 3B LLMs! 🥇
- iPhone 15 Pro 0.6 ms time-to-first-token with 30 tokens/second latency ⏱.
- No server model size or details 🤐.
- Will be dynamically loading, caching, and swapping LoRA adapters (think LoRA Land) 🔄.
- On-device model has 49K vocab size, while the server model goes 100K 📚.
- Using rejection sampling fine-tuning and RLHF in post-processing 📈.
- A rejection sampling fine-tuning algorithm with teacher committee 🎓.
- And reinforcement learning from human feedback (RLHF) algorithm with mirror descent policy optimization and a leave-one-out advantage estimator 🧮.
- Used synthetic data generation (from bigger models, does not mention which) for tasks like summaries 📝.
- 750 evaluation samples for each production use case to evaluate summarization (dataset not released) 📊.
- No mention of multilingual support 🌐.
- Used Apple's AXLearn framework (JAX) and FSP to train on TPUs and GPUs 💪.
- 3B + Adapter outperforms Phi-3 mini, Gemma 7B, Mistral 7B on summarization 🏆.
- 3B + Adapter achieves 78.7% on IFEval beating Phi-3 mini, Gemma 7B, Mistral 7B; Server Model matches GPT-4-Turbo and beats Mixtral 8x22B and GPT-3.5-turbo ✨.

LoRA for the win! 🎉

Blog: https://machinelearning.apple.com/research/introducing-apple-foundation-models
🤝
louisbrulenaudet zzffss SamChaTICE thethinkmachine
6646428e923866048f3e13e0
/avatars/54483699273ac58a4a6fe1fa4aab65fe.svg
Robert Sinclair
ZeroWw
user