Categories: Technology

Phi-3 Mini: Microsoft’s Small Language Model for Smartphone Use

Microsoft has introduced a new small language model called Phi-3 mini, which is designed to run on modern smartphones and offers performance similar to OpenAI’s GPT-3.5. This new iteration of Microsoft’s lighter language model has been trained with 3.3 billion tokens from “larger and more advanced” data sets compared to its predecessor model, Phi-2, which was trained with 1.4 billion tokens. Phi-3 mini consists of 3.8 billion parameters, making it suitable for use in modern smartphones as it only occupies around 1.8GB of memory and can be quantified to 4 bits, according to a text published on Arxiv.org.

Researchers tested Phi-3 mini on an iPhone 14 with an A16 Bionic chip and found that it runs natively and completely offline, achieving more than 12 tokens per second. The overall performance of this model “rivals” that of larger models like Mixtral 8x7B and GPT-3.5. The model utilizes a transformer decoder architecture that supports a 4K text length and is based on a block structure similar to Meta’s Llama 2, benefiting the open-source community and supporting all packages developed for Llama 2. Phi-3 mini supports a conversational chat format and aligns with Microsoft’s robustness and security values.

In addition to Phi-3 mini, Microsoft has also trained two other models from the same family: Phi-3 medium with 14 billion parameters and Phi-3 small with 7 billion parameters, both trained with 4.8 billion tokens. The technology company’s emphasis on innovation and performance in the field of language models is evident in their latest offerings.

Share
Published by

Recent Posts

Kim Zimmer of ‘Guiding Light’ Reveals Significant Health Diagnosis

During a recent cancer benefit event, Kim Zimmer from 'Guiding Light' shared a surprising health…

8 mins ago

LPGA keeps close watch on health concerns as 10 players withdraw from Mizuho Americas Open

LPGA officials at the Mizuho Americas Open in Jersey City, N.J., are expressing concerns about…

13 mins ago

Apple vows to alleviate motion sickness during travel

Our sense of position and balance is determined by signals transmitted to the brain through…

15 mins ago

SWISS Upgrades Entire 777-300ER Fleet with AeroSHARK Technology to Reduce Drag

A new technology developed by Lufthansa Technik and coatings manufacturer BASF has been successfully applied…

17 mins ago

Free skin cancer screenings hosted by UMass Memorial Health

A recent event in Worcester offered community members the opportunity to receive free screenings for…

22 mins ago

Yakima Health District Introduces “Talk. They Listen” Campaign

The Yakima Health District (YHD) has recently launched a campaign called "Talk. They Hear You."…

28 mins ago