• bitcoinBitcoin(BTC)$77,666.00-4.60%
  • ethereumEthereum(ETH)$2,250.89-4.44%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$703.63-6.26%
  • rippleXRP(XRP)$1.25-4.08%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$95.28-6.59%
  • tronTRON(TRX)$0.3351571.18%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.45%
  • HyperliquidHyperliquid(HYPE)$92.77-1.19%
  • zcashZcash(ZEC)$1,255.24-4.57%
  • dogecoinDogecoin(DOGE)$0.076300-4.56%
  • moneroMonero(XMR)$599.17-0.22%
  • USDSUSDS(USDS)$1.000.09%
  • whitebitWhiteBIT Coin(WBT)$74.56-4.51%
  • leo-tokenLEO Token(LEO)$9.400.01%
  • chainlinkChainlink(LINK)$11.22-5.51%
  • cardanoCardano(ADA)$0.193615-5.40%
  • stellarStellar(XLM)$0.169353-1.62%
  • bitcoin-cashBitcoin Cash(BCH)$294.694.08%
  • nearNEAR Protocol(NEAR)$4.38-3.87%
  • RainRain(RAIN)$0.0064770.84%
  • daiDai(DAI)$1.000.06%
  • Ethena USDeEthena USDe(USDE)$1.00-0.09%
  • uniswapUniswap(UNI)$7.11-3.22%
  • litecoinLitecoin(LTC)$55.83-4.26%
  • USD1USD1(USD1)$1.00-0.12%
  • CantonCanton(CC)$0.096764-6.22%
  • avalanche-2Avalanche(AVAX)$8.37-6.43%
  • suiSui(SUI)$0.90-5.09%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.16-5.26%
  • hedera-hashgraphHedera(HBAR)$0.072132-3.60%
  • tether-goldTether Gold(XAUT)$3,900.55-2.93%
  • Global DollarGlobal Dollar(USDG)$1.000.04%
  • paypal-usdPayPal USD(PYUSD)$1.000.06%
  • quant-networkQuant(QNT)$195.62-1.27%
  • shiba-inuShiba Inu(SHIB)$0.000005-4.04%
  • BittensorBittensor(TAO)$234.89-8.35%
  • EthenaEthena(ENA)$0.195731-6.88%
  • crypto-com-chainCronos(CRO)$0.051259-4.78%
  • Ripple USDRipple USD(RLUSD)$1.000.04%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.08%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • okbOKB(OKB)$111.38-1.73%
  • pepePepe(PEPE)$0.0000053.95%
  • MemeCoreMemeCore(M)$0.96-11.20%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$127.23-6.27%
  • OndoOndo(ONDO)$0.401357-5.69%
  • Pump.funPump.fun(PUMP)$0.004112-7.69%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Microsoft AI Releases Phi-3 Family of Models: A 3.8B Parameter Language Model Trained on 3.3T Tokens Locally on Your Phone

April 24, 2024
in AI & Technology
Reading Time: 5 mins read
A A
Microsoft AI Releases Phi-3 Family of Models: A 3.8B Parameter Language Model Trained on 3.3T Tokens Locally on Your Phone
ShareShareShareShareShare

LLMs have grown remarkably over the past few years, largely driven by global initiatives to scale up both model sizes and datasets. From just one billion parameters five years ago, exemplified by GPT-2 with 1.5 billion parameters, LLMs now boast trillion-parameter architectures. This push stems from the perceived benefits of training larger models, as indicated by scaling laws. However, these laws traditionally presuppose a static data source, a notion challenged by the emergence of cutting-edge LLMs, enabling novel interactions with data.

Previous research on the phi models demonstrated that combining LLM-based web data filtering with LLM-generated synthetic data yields performance levels typically associated with much larger models. For instance, phi-2, with 2.7 billion parameters, matched the performance of models 25 times its size trained on conventional data. 

Microsoft researchers introduced phi-3-mini, a new model with 3.8 billion parameters, trained on enhanced datasets exceeding 3.3 trillion tokens. Despite its smaller size, the phi-3-mini facilitates local inference on contemporary smartphones.  The model adopts a transformer decoder architecture with a default context length of 4K, while its long context variant, phi-3-mini-128K, extends this to 128K using LongRope. Utilising the structure of Llama-2, it shares a similar block configuration and tokeniser with a vocabulary size of 320,641, enabling seamless adaptation of Llama-2 packages. With 3,072 hidden dimensions, 32 heads, and 32 layers, the model is trained on 3.3 trillion tokens using bfloat16. Optimised for mobile devices, the phi-3-mini can be quantised to 4 bits, occupying approximately 1.8GB of memory and achieving over 12 tokens per second on an iPhone 14 with the A16 Bionic chip. 

The training methodology builds upon prior works, focusing on high-quality training data to enhance small language model performance. Unlike previous approaches, it emphasizes data quality over computational efficiency or overtraining, filtering web data to align with the model’s educational and reasoning goals. The model’s performance is compared to Llama-2 models, illustrating its efficacy near the “Data Optimal Regime.” Also, a larger model, phi-3-medium, with 14B parameters, is trained using similar methods but shows less improvement, suggesting ongoing refinement of the data mixture. Post-training involves supervised instruction fine-tuning and preference tuning with DPO, enhancing the model’s chat capabilities, robustness, and safety.

The researchers extended their investigation by training phi-3-medium, a model with 14B parameters, using the same tokenizer and architecture as phi-3-mini. Trained on the same data for slightly longer epochs (4.8T tokens in total, akin to phi-3-small), phi-3-medium features 40 heads, 40 layers, and an embedding dimension 5120. Interestingly, they noted that while certain benchmarks exhibited significant improvement from 3.8B to 7B parameters, the progress was less pronounced from 7B to 14B parameters. This observation suggests that further refinement of the data mixture is necessary to achieve the “data optimal regime” for the 14B parameters model. Ongoing investigation into these benchmarks, including regression on HumanEval, indicates that the reported metrics for phi-3-medium should be viewed as a preliminary assessment.

While the phi-3-mini achieves commendable language understanding and reasoning akin to larger models, its size limits its storage of extensive factual knowledge, leading to lower performance on tasks like TriviaQA. Augmentation with a search engine could address this. Also, its predominantly English focus highlights the need to explore multilingual capabilities, showing initial promise in phi-3-small with added multilingual data.

In conclusion, this research introduces the phi-3-mini model, which showcases the potential for smaller models to achieve comparable performance to larger counterparts but with inherent limitations. Further exploration into multilingual capabilities and augmentation with search engines could enhance the effectiveness of smaller LLMs in addressing diverse language tasks.


Check out the Paper and HF Page. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 40k+ ML SubReddit


YOU MAY ALSO LIKE

The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut

CXMT Q3 Revenue Rises 613% as DRAM Shortage Swings It to Profit – Unite.AI

Asjad is an intern consultant at Marktechpost. He is persuing B.Tech in mechanical engineering at the Indian Institute of Technology, Kharagpur. Asjad is a Machine learning and deep learning enthusiast who is always researching the applications of machine learning in healthcare.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut
AI & Technology

The Death Stranding Anime’s First Teaser Trailer Arrives Ahead Of Its Disney+ Debut

October 30, 2026
CXMT Q3 Revenue Rises 613% as DRAM Shortage Swings It to Profit – Unite.AI
AI & Technology

CXMT Q3 Revenue Rises 613% as DRAM Shortage Swings It to Profit – Unite.AI

October 30, 2026
Meta Quietly Launches An AI Fashion App For Virtually Trying On Clothes
AI & Technology

Meta Quietly Launches An AI Fashion App For Virtually Trying On Clothes

October 30, 2026
Waymo And Toyota Will Soon Start Testing Their Robotaxis In Japan
AI & Technology

Waymo And Toyota Will Soon Start Testing Their Robotaxis In Japan

October 30, 2026
Next Post
Nvidia CEO Jensen Huang personally delivers first DGX H200 to OpenAI

Nvidia CEO Jensen Huang personally delivers first DGX H200 to OpenAI

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Republicans ‘clearly threatened’ by Democratic ‘momentum’ in Texas, says House candidate

Republicans ‘clearly threatened’ by Democratic ‘momentum’ in Texas, says House candidate

October 26, 2026
Judge halts tree removal, imposes new limits on Trump’s golf project – The Washington Post

Judge halts tree removal, imposes new limits on Trump’s golf project – The Washington Post

October 27, 2026
Congressional candidate knocked to ground during ICE protest

Congressional candidate knocked to ground during ICE protest

October 28, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!