• bitcoinBitcoin(BTC)$78,447.00-0.59%
  • ethereumEthereum(ETH)$2,482.240.19%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$749.251.33%
  • rippleXRP(XRP)$1.412.01%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$103.44-0.38%
  • tronTRON(TRX)$0.3390091.47%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.00%
  • zcashZcash(ZEC)$1,174.511.54%
  • HyperliquidHyperliquid(HYPE)$83.57-1.95%
  • dogecoinDogecoin(DOGE)$0.0900650.68%
  • RainRain(RAIN)$0.0166461.95%
  • USDSUSDS(USDS)$1.000.00%
  • chainlinkChainlink(LINK)$12.61-2.33%
  • whitebitWhiteBIT Coin(WBT)$79.789.61%
  • moneroMonero(XMR)$499.26-6.52%
  • cardanoCardano(ADA)$0.2295745.13%
  • leo-tokenLEO Token(LEO)$9.200.54%
  • stellarStellar(XLM)$0.1904800.41%
  • bitcoin-cashBitcoin Cash(BCH)$256.93-1.22%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • litecoinLitecoin(LTC)$55.02-1.24%
  • uniswapUniswap(UNI)$6.84-0.25%
  • USD1USD1(USD1)$1.00-0.02%
  • CantonCanton(CC)$0.105447-0.62%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.40-0.52%
  • hedera-hashgraphHedera(HBAR)$0.080369-1.28%
  • avalanche-2Avalanche(AVAX)$8.050.07%
  • suiSui(SUI)$0.821.36%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • shiba-inuShiba Inu(SHIB)$0.0000051.10%
  • nearNEAR Protocol(NEAR)$2.423.79%
  • crypto-com-chainCronos(CRO)$0.0602425.62%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,396.96-0.29%
  • MemeCoreMemeCore(M)$1.185.58%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$259.631.21%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • okbOKB(OKB)$114.12-0.51%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.18%
  • mantleMantle(MNT)$0.62-1.35%
  • AsterAster(ASTER)$0.76-1.27%
  • aaveAave(AAVE)$129.76-1.16%
  • polkadotPolkadot(DOT)$1.188.88%
  • pax-goldPAX Gold(PAXG)$4,400.02-0.27%
  • OndoOndo(ONDO)$0.380289-1.54%
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

Meet LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models

October 25, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models
ShareShareShareShareShare

The introduction of Pre-trained Language Models (PLMs) has signified a transformative shift in the field of Natural Language Processing. They have demonstrated exceptional proficiency in performing a wide range of language tasks, including Natural Language Understanding (NLU) and Natural Language Generation (NLG). These models typically incorporate millions or even billions of parameters, leading to substantial computational and memory requirements. However, the considerable computational and memory needs of these models present significant challenges, as acknowledged by the research community.

In this paper, the authors introduce a novel quantization framework known as LoRA-Fine-Tuning-aware Quantization (LoftQ). This framework is specifically tailored for pre-trained models that necessitate quantization and LoRA fine-tuning. The framework actively combines low-rank approximation, working in conjunction with quantization to jointly approximate the original high-precision pre-trained weights.

The above image demonstrates QLoRA performance with different bits. Left: QLoRA initialization of LLAMA-2-13b on WikiText-2. Right: Apply QLoRA to LLAMA-2-13b on WikiText-2 language modelling task. Smaller perplexity indicates better performance. 

Quantization Methods. We apply two quantization methods to demonstrate LoftQ is compatible with different quantization functions:

• Uniform quantization is a classic quantization method. It uniformly divides a continuous interval into 2N categories and stores a local maximum absolute value for dequantization.

• NF4 and its 2-bit variant NF2 are quantization methods used in QLoRA. They assume that the high-precision values are drawn from a Gaussian distribution and map these values to discrete slots that have equal probability.

We perform 2-bit and 4-bit quantization on all models, achieving compression ratios of 25-30% and 15-20% at the 4-bit and 2-bit levels, respectively. All the experiments are conducted on NVIDIA A100 GPUs.

The evaluation of their quantization framework is carried out through extensive experiments on various downstream tasks, including NLU, question answering, summarization, and NLG. The results of these experiments demonstrate that LoftQ consistently surpasses QLoRA across all precision levels. For example, with 4-bit quantization, they attain a 1.1 and 0.8 improvement in Rouge-1 for XSum and CNN/DailyMail, respectively. As the field of NLP continues to advance, it is expected that further innovations and optimizations will help bridge the gap between the immense potential of PLMs and their practical deployment, benefiting a wide range of applications and users.


Check out the Paper. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 31k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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

We are also on WhatsApp. Join our AI Channel on Whatsapp..


YOU MAY ALSO LIKE

Your Largest Bottleneck May Be Your Most Self-Assured AI Champion – Unite.AI

What Is Considered Good Speed For Home Internet And How Can You Test It?

Janhavi Lande, is an Engineering Physics graduate from IIT Guwahati, class of 2023. She is an upcoming data scientist and has been working in the world of ml/ai research for the past two years. She is most fascinated by this ever changing world and its constant demand of humans to keep up with it. In her pastime she enjoys traveling, reading and writing poems.


▶️ Now Watch AI Research Updates On Our Youtube Channel [Watch Now]

Credit: Source link

ShareTweetSendSharePin

Related Posts

Your Largest Bottleneck May Be Your Most Self-Assured AI Champion – Unite.AI
AI & Technology

Your Largest Bottleneck May Be Your Most Self-Assured AI Champion – Unite.AI

September 8, 2026
What Is Considered Good Speed For Home Internet And How Can You Test It?
AI & Technology

What Is Considered Good Speed For Home Internet And How Can You Test It?

September 8, 2026
What Is The Anker ‘Smart Display Charger’ And What Does That Screen Even Do?
AI & Technology

What Is The Anker ‘Smart Display Charger’ And What Does That Screen Even Do?

September 8, 2026
What Is Retrieval-Augmented Generation (RAG)? How AI Answers with External Knowledge – Unite.AI
AI & Technology

What Is Retrieval-Augmented Generation (RAG)? How AI Answers with External Knowledge – Unite.AI

September 8, 2026
Next Post
What Does Fair Look Like In Relationships? – WTW

What Does Fair Look Like In Relationships? - WTW

Leave a Reply Cancel reply

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

Search

No Result
View All Result
New video helps Louisiana man walk free from death row nearly three decades after murder trial

New video helps Louisiana man walk free from death row nearly three decades after murder trial

September 4, 2026
Bryan Kohberger seeks to withdraw guilty plea

Bryan Kohberger seeks to withdraw guilty plea

September 4, 2026
Apple Kicks Off Ternus Era With Record Product Pipeline

Apple Kicks Off Ternus Era With Record Product Pipeline

September 7, 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!