• bitcoinBitcoin(BTC)$76,067.00-5.62%
  • ethereumEthereum(ETH)$2,238.15-7.90%
  • tetherTether(USDT)$1.00-0.04%
  • binancecoinBNB(BNB)$694.34-3.08%
  • rippleXRP(XRP)$1.22-6.93%
  • usd-coinUSDC(USDC)$1.00-0.02%
  • solanaSolana(SOL)$90.15-6.43%
  • tronTRON(TRX)$0.318427-0.43%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.04-1.02%
  • zcashZcash(ZEC)$1,309.94-0.53%
  • HyperliquidHyperliquid(HYPE)$77.93-7.74%
  • moneroMonero(XMR)$618.00-2.95%
  • dogecoinDogecoin(DOGE)$0.072138-6.53%
  • USDSUSDS(USDS)$1.000.01%
  • whitebitWhiteBIT Coin(WBT)$73.10-6.30%
  • leo-tokenLEO Token(LEO)$9.350.05%
  • chainlinkChainlink(LINK)$10.86-5.36%
  • cardanoCardano(ADA)$0.184918-6.81%
  • bitcoin-cashBitcoin Cash(BCH)$275.18-2.35%
  • stellarStellar(XLM)$0.155514-7.81%
  • nearNEAR Protocol(NEAR)$3.72-8.33%
  • Ethena USDeEthena USDe(USDE)$1.00-0.07%
  • daiDai(DAI)$1.000.02%
  • RainRain(RAIN)$0.0061382.47%
  • uniswapUniswap(UNI)$6.97-9.01%
  • litecoinLitecoin(LTC)$52.39-6.82%
  • CantonCanton(CC)$0.096989-3.56%
  • avalanche-2Avalanche(AVAX)$8.30-5.83%
  • USD1USD1(USD1)$1.00-0.08%
  • suiSui(SUI)$0.86-7.22%
  • tether-goldTether Gold(XAUT)$4,043.43-1.70%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.11-5.54%
  • hedera-hashgraphHedera(HBAR)$0.068562-6.14%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • quant-networkQuant(QNT)$190.21-6.65%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.11%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • Ripple USDRipple USD(RLUSD)$1.000.03%
  • BittensorBittensor(TAO)$220.19-6.84%
  • crypto-com-chainCronos(CRO)$0.049082-5.94%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.17%
  • okbOKB(OKB)$106.33-5.67%
  • EthenaEthena(ENA)$0.163632-10.64%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • pepePepe(PEPE)$0.000005-3.09%
  • aaveAave(AAVE)$130.61-1.60%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.14-0.37%
  • MemeCoreMemeCore(M)$0.82-1.86%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • OndoOndo(ONDO)$0.375723-8.80%
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

This AI Paper Presents a Direct Experimental Comparison between 8B-Parameter Mamba, Mamba-2, Mamba-2-Hybrid, and Transformer Models Trained on Upto 3.5T Tokens

June 19, 2024
in AI & Technology
Reading Time: 4 mins read
A A
This AI Paper Presents a Direct Experimental Comparison between 8B-Parameter Mamba, Mamba-2, Mamba-2-Hybrid, and Transformer Models Trained on Upto 3.5T Tokens
ShareShareShareShareShare

Transformer-based Large Language Models (LLMs) have emerged as the backbone of Natural Language Processing (NLP). These models have shown remarkable performance over a variety of NLP tasks. The creative self-attention mechanism that enables effective all-to-all communication between tokens in a sequence is primarily responsible for their success. Transformers have become a leading NLP research tool because of this approach and its capacity to expand both model and dataset sizes.

However, self-attention layers are not without restrictions, especially when working with lengthy sequences. The self-attention computational load grows quadratically with the sequence length during training. A large key-value cache is required to hold the state since the memory demand at inference time increases linearly with the number of previous tokens. Numerous attempts have been made to optimize self-attention layers in response to these efficiency difficulties. Still, these attempts are not up to the language modeling power of conventional self-attention.

YOU MAY ALSO LIKE

Perplexity Cuts Agent API Research Costs and Adds Ultra Effort – Unite.AI

Blue Origin’s New Glenn Launch Delay Will Continue Into 2027

Selective state-space models (SSMs) such as Mamba solve some of the fundamental limitations associated with Transformers. Because of the key-value cache, transformers have quadratic computational complexity in relation to sequence length and high memory requirements during inference. SSMs provide a better, more effective solution by reducing these problems. Recent studies have shown that SSMs can compete with Transformers, if not outperform them, in language modeling tasks, making them a reasonable alternative.

Previous studies comparing SSMs and Transformers have mostly focused on small-scale trials using models with less than 3 billion parameters and training on datasets smaller than 1 trillion tokens, despite the good results. A team of researchers has recently performed a thorough comparison using 8-billion-parameter models of Mamba, Mamba-2, and Transformers, all trained on datasets up to 3.5 trillion tokens, in order to properly comprehend the performance of these architectures at greater sizes. 

The team has also incorporated an 8-billion-parameter hybrid model, called Mamba-2-Hybrid that consists of 50% MLP layers, 7% self-attention, and 43% Mamba-2. To find out if Mamba models could compete with Transformer models when given more training resources, the team evaluated them across a wide range of natural language tasks. The results showed that on several tasks, pure SSM models, including Mamba and Mamba-2, either matched or outperformed Transformers. 

However, these models failed on tasks that required considerable long-context reasoning and tasks that required strong copying or in-context learning, like the five-shot MMLU and Phonebook Lookup tasks. On all 12 assessed standard tasks, the 8-billion-parameter Mamba-2-Hybrid model outperformed the 8-billion-parameter Transformer, with an average improvement of 2.65 points. During inference, the hybrid model demonstrated the capacity to generate tokens up to eight times faster.

The team has expanded their studies to incorporate versions of the Mamba-2-Hybrid and Transformer models that allow sequence lengths of 16K, 32K, and 128K in order to evaluate long-context capabilities further. The hybrid model continued to perform on par with or better than the Transformer on average across 23 additional long-context tasks.  As part of NVIDIA’s Megatron-LM project, the team has released code.


Check out the Paper and Code. 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 and LinkedIn Group.

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

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


Tanya Malhotra is a final year undergrad from the University of Petroleum & Energy Studies, Dehradun, pursuing BTech in Computer Science Engineering with a specialization in Artificial Intelligence and Machine Learning.
She is a Data Science enthusiast with good analytical and critical thinking, along with an ardent interest in acquiring new skills, leading groups, and managing work in an organized manner.

🐝 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

Perplexity Cuts Agent API Research Costs and Adds Ultra Effort – Unite.AI
AI & Technology

Perplexity Cuts Agent API Research Costs and Adds Ultra Effort – Unite.AI

November 5, 2026
Blue Origin’s New Glenn Launch Delay Will Continue Into 2027
AI & Technology

Blue Origin’s New Glenn Launch Delay Will Continue Into 2027

November 5, 2026
Five9 Agrees to Buy Level AI and Broaden CX AI Distribution – Unite.AI
AI & Technology

Five9 Agrees to Buy Level AI and Broaden CX AI Distribution – Unite.AI

November 5, 2026
Bose Recalls S1 Pro Battery Packs Due To Fire And Overheating Risks
AI & Technology

Bose Recalls S1 Pro Battery Packs Due To Fire And Overheating Risks

November 5, 2026
Next Post
Meet the Press NOW — Dec. 5

Meet the Press NOW — Dec. 5

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Tony Romo parts ways with CBS Sports after drunk driving arrest

Tony Romo parts ways with CBS Sports after drunk driving arrest

November 2, 2026
When a humanoid and a drone become besties

When a humanoid and a drone become besties

October 30, 2026
She Lost Child Support And Can’t Pay Her Bills Now

She Lost Child Support And Can’t Pay Her Bills Now

November 3, 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!