HomeModelsText Generationmicrosoft/phi-2
P

microsoft/phi-2

Text Generation·microsoft· 769.1K· 3.5K
transformers mit Text Generation 2.8B params license:mitdeploy:azureregion:us

Phi-2 is a Transformer with 2.7 billion parameters. It was trained using the same data sources as Phi-1.5, augmented with a new data source that consists of various NLP synthetic texts and filtered websites (for safety and educational value). When assessed against benchmarks testing common sense, language understanding, and logical reasoning, Phi-2 showcased a nearly state-of-the-art performance a

Open in MLForge Sign up free Desktop app Source ↗
# pull & run locally
pip install mlforge-sdk && mlforge pull microsoft/phi-2

Model details

Task
Text Generation
Provider
microsoft
Framework
transformers
Parameters
2.8B
Size
10 GB
License
mit
Downloads
769.1K
Likes
3.5K
Updated
2025-12-08

About microsoft/phi-2

Phi-2 is a Transformer with 2.7 billion parameters. It was trained using the same data sources as Phi-1.5, augmented with a new data source that consists of various NLP synthetic texts and filtered websites (for safety and educational value). When assessed against benchmarks testing common sense, language understanding, and logical reasoning, Phi-2 showcased a nearly state-of-the-art performance among models with less than 13 billion parameters.

Related Text Generation

Q Qwen/Qwen3-0.6B Text Generation ·751.6M params 27.8M 1.4K 🤗 HF G openai-community/gpt2 Text Generation ·137.0M params 13.3M 3.3K 🤗 HF Q Qwen/Qwen3-8B Text Generation ·8.2B params 13.0M 1.2K 🤗 HF Q Qwen/Qwen2.5-7B-Instruct Text Generation ·7.6B params 12.8M 1.4K 🤗 HF O facebook/opt-125m Text Generation 12.3M 267 🤗 HF Q Qwen/Qwen2.5-1.5B-Instruct Text Generation ·1.5B params 11.3M 748 🤗 HF

Browse all Text Generation models →