Skip to content

phi 2

microsoft/phi-2
Open Source · chat · open-weights
Open Alert me on changes
Context
Max output
Weights
Open
API $/1M
Modalities
text
Released
13 Dec 2023
License: mit · microsoft/phi-2
Download image Share on X Share on LinkedIn
AI summary
● machine-written

Microsoft Phi-2: 2.7B parameters, MIT-licensed, text generation

Phi-2 is a 2.7 billion parameter transformer model from Microsoft designed for text generation tasks. It was trained using data sources from Phi-1.5 augmented with synthetic NLP texts and filtered websites. The model is available as open-weights under MIT license and can be deployed via multiple inference providers and frameworks.

What's new
  • 2.7B parameter transformer architecture
  • MIT license for open-weights distribution
  • Available via featherless-ai and other inference providers
  • Compatible with vLLM, SGLang, and Transformers libraries
  • Supports quantization variants for resource-constrained deployments
Best for
Text generation tasksCode-related NLP applicationsOpen-source deployment scenariosEnglish language processing
Sources

Source: https://huggingface.co/microsoft/phi-2