• bitcoinBitcoin(BTC)$79,260.000.98%
  • ethereumEthereum(ETH)$2,447.371.20%
  • tetherTether(USDT)$1.000.04%
  • binancecoinBNB(BNB)$714.310.35%
  • rippleXRP(XRP)$1.411.27%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$101.530.00%
  • tronTRON(TRX)$0.3288470.27%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.031.91%
  • HyperliquidHyperliquid(HYPE)$85.353.18%
  • zcashZcash(ZEC)$982.4816.00%
  • dogecoinDogecoin(DOGE)$0.0847771.65%
  • RainRain(RAIN)$0.0166130.15%
  • moneroMonero(XMR)$529.863.72%
  • USDSUSDS(USDS)$1.000.02%
  • chainlinkChainlink(LINK)$11.601.85%
  • whitebitWhiteBIT Coin(WBT)$72.811.45%
  • leo-tokenLEO Token(LEO)$9.23-1.03%
  • cardanoCardano(ADA)$0.2140322.54%
  • stellarStellar(XLM)$0.1801170.48%
  • bitcoin-cashBitcoin Cash(BCH)$250.71-0.08%
  • daiDai(DAI)$1.000.00%
  • CantonCanton(CC)$0.108958-1.62%
  • Ethena USDeEthena USDe(USDE)$1.000.04%
  • USD1USD1(USD1)$1.000.04%
  • litecoinLitecoin(LTC)$50.35-1.07%
  • uniswapUniswap(UNI)$6.14-1.93%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.361.64%
  • hedera-hashgraphHedera(HBAR)$0.077301-0.28%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • avalanche-2Avalanche(AVAX)$7.350.68%
  • suiSui(SUI)$0.75-2.16%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.20%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0559641.81%
  • Circle USYCCircle USYC(USYC)$1.140.04%
  • tether-goldTether Gold(XAUT)$4,385.18-2.04%
  • nearNEAR Protocol(NEAR)$1.941.80%
  • MemeCoreMemeCore(M)$1.091.29%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$107.660.21%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.01%
  • BittensorBittensor(TAO)$222.420.26%
  • aaveAave(AAVE)$131.490.34%
  • AsterAster(ASTER)$0.73-0.86%
  • mantleMantle(MNT)$0.582.73%
  • pax-goldPAX Gold(PAXG)$4,390.26-2.19%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0569801.13%
  • OndoOndo(ONDO)$0.355279-0.18%
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 LongLLaMA: A Large Language Model Capable of Handling Long Contexts of 256k Tokens

July 10, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet LongLLaMA: A Large Language Model Capable of Handling Long Contexts of 256k Tokens
ShareShareShareShareShare

Researchers have made significant advancements in various fields using language models. However, effectively incorporating extensive new knowledge into these models remains a challenge. Fine-tuning, the common practice, is resource-intensive and complex to manage, and it only sometimes provides a straightforward method for incorporating new knowledge. Researchers propose a promising alternative called Focused Transformer (FOT) to address this.

The FOT technique aims to overcome the challenge of limited context length in language models. As the number of documents increases, the ratio of relevant to irrelevant tokens diminishes, leading to overlaps between keys related to irrelevant and relevant values. This issue is referred to as the distraction issue. The FOT allows a subset of attention layers to access an external memory of (key, value) pairs using the k-nearest neighbors (kNN) algorithm. This mechanism effectively extends the context length and helps address the distraction issue.

The training procedure of the Focused Transformer draws from contrastive learning. During training, the memory attention layers are exposed to both relevant and irrelevant keys, resembling negative samples from unrelated documents. This approach encourages the model to differentiate between keys connected to semantically diverse values, enhancing their structure.

[Sponsored] 🔥 Build your personal brand with Taplio  🚀 The 1st all-in-one AI-powered tool to grow on LinkedIn. Create better LinkedIn content 10x faster, schedule, analyze your stats & engage. Try it for free!

The researchers introduce LONGLLAMAs, which are fine-tuned OpenLLaMA models with FOT. This method demonstrates that it does not require long context during training and can be applied to existing models. LONGLLAMAs significantly improve tasks requiring long-context modeling, such as passkey retrieval.

The research contributions include identifying the distraction issue as a significant challenge to scaling up context length in Transformer models, developing the Focused Transformer (FOT) to address this issue, and providing a simple implementation method that allows existing models to be augmented with memory without modifying their architecture. The resulting models, LONGLLAMAs, exhibit enhancements in tasks that benefit from increasing the number of few-shot demonstrations in the extended context. The FOT’s capabilities are further analyzed across various datasets and model sizes, demonstrating improvements in perplexity over baselines in long-context language modeling tasks.

In summary, the Focused Transformer (FOT) technique addresses the distraction issue and allows context length extension in language models. Training the model to differentiate between relevant and irrelevant keys enhances the structure and significantly improves tasks requiring long-context modeling. The FOT method can be applied to existing models without architectural modifications, making it a cost-effective solution for augmenting models with memory.


Check out the Paper and GitHub link. Don’t forget to join our 26k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

A Worthy Android Ereader, With Some Tradeoffs

Insurance Spent Years Talking About AI. This Year It Actually Used It – Unite.AI

Niharika is a Technical consulting intern at Marktechpost. She is a third year undergraduate, currently pursuing her B.Tech from Indian Institute of Technology(IIT), Kharagpur. She is a highly enthusiastic individual with a keen interest in Machine learning, Data science and AI and an avid reader of the latest developments in these fields.


🔥 StoryBird.ai just dropped some amazing features. Generate an illustrated story from a prompt. Check it out here. (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

A Worthy Android Ereader, With Some Tradeoffs
AI & Technology

A Worthy Android Ereader, With Some Tradeoffs

September 4, 2026
Insurance Spent Years Talking About AI. This Year It Actually Used It – Unite.AI
AI & Technology

Insurance Spent Years Talking About AI. This Year It Actually Used It – Unite.AI

September 4, 2026
Sam Altman Apologizes as GPT-6 Astra Staged Launch Denies Paid Access – Unite.AI
AI & Technology

Sam Altman Apologizes as GPT-6 Astra Staged Launch Denies Paid Access – Unite.AI

September 4, 2026
This Rugged Smartphone’s Camera Is A Removable Action Cam
AI & Technology

This Rugged Smartphone’s Camera Is A Removable Action Cam

September 4, 2026
Next Post
Shopify Wants to Help SMBs to Survive the Covid Crisis, CEO Says

Shopify Wants to Help SMBs to Survive the Covid Crisis, CEO Says

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Anthropic Brings Claude for Teachers to Schools and Districts – Unite.AI

Anthropic Brings Claude for Teachers to Schools and Districts – Unite.AI

August 28, 2026
Current with Christine Romans – Aug. 5 | NBC News NOW

Current with Christine Romans – Aug. 5 | NBC News NOW

August 29, 2026
Good News: Teen returns to field cancer-free after first pitch

Good News: Teen returns to field cancer-free after first pitch

August 31, 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!