Article complete

Microsoft Releases Phi-2, Outperforms Gemini Nano, Mistral 7B, and Llama 2 Models

Phi-2 matches or outperforms the recently-announced Google Gemini Nano 2, despite being smaller in size.

A man in a suit gestures while speaking against a colorful abstract background.

Key takeaways

  • Microsoft's Phi-2 model outperforms larger competitors like Llama-2 and Gemini Nano 2.
  • Phi-2 features 2.7 billion parameters, showcasing exceptional reasoning and language understanding.
  • The model was trained on 1.4 trillion tokens using advanced GPU resources over 14 days.
  • Phi-2 excels in multi-step reasoning tasks, surpassing models with significantly more parameters.
  • Microsoft subtly critiques Google's Gemini demo video amidst its Phi-2 announcement.

Takeaways drafted with AI from the article text.

Phi-2, a Transformer-based model with a next-word prediction objective, underwent training on 1.4T tokens from a mix of Synthetic and Web datasets for NLP and coding. The training process, conducted over 14 days using 96 A100 GPUs, resulted in Phi-2, a base model without alignment through reinforcement learning from human feedback (RLHF) or fine-tuning instructions.

Despite its modest 2.7 billion parameters, Phi-2 outperforms Mistral and Llama-2 models, both at 7B and 13B parameters, across various aggregated benchmarks. Particularly noteworthy is its superior performance compared to the significantly larger 70B-parameter Llama-2 model in multi-step reasoning tasks, such as coding and math.

Furthermore, Phi-2 matches or outperforms the recently-announced Google Gemini Nano 2, despite being smaller in size.

Interestingly, Microsoft highlighted that despite Phi-2 likely being a fraction of the size of Gemini Ultra, it demonstrated the ability to provide accurate answers and correct students using similar prompts.

Published Updated

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

About the author

Tech Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

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