Microsoft Open Sources Phi-4 Small Language Model, Available For Download on Hugging Face

The recently released Phi-4 open-source AI model is available with the MIT licence.

Advertisement
Written by Akash Dutta, Edited by Siddharth Suvarna | Updated: 9 January 2025 18:08 IST
Highlights
  • Microsoft has made the model weights and details available
  • Microsoft’s Phi-4 AI model has 14 billion parameters
  • Microsoft released Phi-3.5 in August

Microsoft said the Phi-4 AI model improves its performance in complex reasoning

Photo Credit: Reuters

Microsoft open-sourced its Phi-4 small language model on Wednesday. The latest artificial intelligence (AI) model in the Phi series was released last month, however, at the time it was only available via the company's Azure AI Foundry. At the time, the Redmond-based tech giant said that it would soon make the source code of the AI model available in the public domain. Now, interested individuals can access the reasoning-focused AI model via Hugging Face. Microsoft is also letting the model be used for both academic and commercial use cases.

Microsoft Open-Sources Phi-4 AI Model

Shital Shah, a member of the technical staff at Microsoft AI, took to X (formerly known as Twitter) to announce the availability of the Phi-4 AI model's weights on Hugging Face. The AI model is available with the MIT licence for academic and commercial usage. Interested individuals can access the model listing here.

Launched eight months after the release of the Phi-3 AI model, the SLM is said to offer significant improvements in solving complex reasoning-based queries in areas such as mathematics. The Phi-4 has a context window of 16,000 tokens and was trained on a dataset of 9.8 trillion tokens.

Advertisement

Citing the source of the training data, the Hugging Face listing highlights the dataset comprises publicly available high-quality educational data and code, synthetic data across a wide range of subjects, acquired academic books and Q&A datasets, as well as chat format supervised data.

Advertisement

Notably, it is a text-only model which means it only accepts text as both input and output. The AI model comes with 14 billion parameters. Microsoft states that the AI model was built on a dense decoder-only Transformer architecture.

At the time of release, Microsoft also shared benchmark scores of the AI model. Based on them, the company claimed that the latest iteration of the Phi SLM outperforms the Gemini 1.5 Pro model on the math competition problems benchmark.

Advertisement

The Phi-4 AI model can also be accessed via Microsoft's Azure AI Foundry. The platform also offers to help developers and enterprises manage AI risks. It also comes with features such as prompt shields, groundedness detection and content filters. These safety capabilities can also be exported to an application using the company's application programming interface (API).

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement

Related Stories

Popular Mobile Brands
  1. Nothing Phone 3a Lite Reported to Launch in Early November: Expected Price, Specifications
  2. Lazarus Now Streaming on Amazon Prime Video: What You Need to Know
  3. HMD Fusion 2 Key Features, Specifications Leaked Online
  4. Gemini October Feature Drop Brings New Features to Veo 3.1, Canva, and More
  5. Baramulla OTT Release Date: When and Where to Watch it Online?
  1. Semi-Transparent Solar Cells Break Records, Promise Energy-Generating Windows and Facades
  2. Chang’e-6 Lunar Samples Reveal Water-Rich Asteroid Fragments
  3. James Webb Telescope Uncovers the Turbulent Birth of the First Galaxies
  4. Troll 2 OTT Release Date: When and Where to Watch it Online?
  5. Baramulla OTT Release Date: When and Where to Watch Gripping Thriller Set in the Heart of Kashmir Online?
  6. Lazarus Now Streaming on Amazon Prime Video: What You Need to Know
  7. Gemini October Feature Drop Brings New Features to Veo 3.1, Gemini 2.5 Flash, Canvas, and More
  8. Nothing Phone 3a Lite Reported to Launch in Early November: Expected Price, Specifications
  9. HMD Fusion 2 Key Features, Specifications Leaked Online: Snapdragon 6s Gen 4, New Smart Outfits, and More
  10. Google Says Its Willow Chip Hit Major Quantum Computing Milestone, Solves Algorithm 13,000X Faster
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.