Jump to content
  • Microsoft unveils Phi-2, a small language model that packs power

    aum

    • 282 views
    • 3 minutes
     Share


    • 282 views
    • 3 minutes

    Even though Google's Gemini Nano has only been out for a week, it already has some competition.

     

    When you think of language models in relation to generative artificial intelligence (AI), the first term that probably comes to mind is large language model (LLM). These LLMs power most popular chatbots, such as ChatGPT, Bard, and Copilot. However, Microsoft's new language model is here to show that small language models (SLMs) have great promise in the generative AI space, too. 

     

    On Wednesday, Microsoft released Phi-2, a small language model capable of common-sense reasoning and language understanding, and it's now available in the Azure AI Studio model catalog. 

     

    Don't let the word small fool you, though. Phi-2 packs 2.7 billion parameters in its model, which is a big jump from Phi-1.5, which had 1.3 billion parameters. 

     

    Despite its compactness, Phi-2 showcased "state-of-the-art performance" among language models with less than 13 billion parameters, and it even outperformed models up to 25 times larger on complex benchmarks, according to Microsoft. 

     

    Phi-2 outperformed models -- including Meta's Llama-2, Mistral, and even Google's Gemini Nano 2, which is the smallest version of Google's most capable LLM, Gemini -- on several different benchmarks, as seen below. 

     

    screenshot-2023-12-13-at-7-42-02pm.png?a

    Microsoft

     

    Phi-2's performance results are congruent with Microsoft's goal with Phi of developing an SLM with emergent capabilities and performance comparable to models on a much larger scale. 

     

    "A question remains whether such emergent abilities can be achieved at a smaller scale using strategic choices for training, e.g., data selection," said Microsoft. 

     

    "Our line of work with the Phi models aims to answer this question by training SLMs that achieve performance on par with models of much larger scale (yet still far from the frontier models)."

     

    When training Phi-2, Microsoft was very selective about the data used. The company first used what it calls "text-book quality" data. Microsoft then augmented the language model database by adding carefully selected web data, which was filtered on educational value and content quality. 

     

    So, why is Microsoft focused on SLMs? 

     

    SLMs are a cost-effective alternative to LLMs. Smaller models are also useful when they are being used for for a task that isn't demanding enough to require the power of an LLM. 

     

    Furthermore, the computational power required to run SLMs is much less than LLMs. This reduced requirement means users don't necessarily have to invest in expensive GPUs to power their data-processing requirements.

     

    Source


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...