• bitcoinBitcoin(BTC)$64,869.00-0.11%
  • ethereumEthereum(ETH)$1,821.820.28%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$595.460.93%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • rippleXRP(XRP)$0.993.54%
  • solanaSolana(SOL)$74.995.42%
  • tronTRON(TRX)$0.3077930.91%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.01-3.69%
  • HyperliquidHyperliquid(HYPE)$69.840.00%
  • zcashZcash(ZEC)$963.716.76%
  • moneroMonero(XMR)$510.323.63%
  • dogecoinDogecoin(DOGE)$0.0600002.29%
  • leo-tokenLEO Token(LEO)$9.361.72%
  • USDSUSDS(USDS)$1.000.01%
  • whitebitWhiteBIT Coin(WBT)$62.68-0.10%
  • chainlinkChainlink(LINK)$9.312.47%
  • cardanoCardano(ADA)$0.1552562.07%
  • stellarStellar(XLM)$0.1410203.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • daiDai(DAI)$1.000.01%
  • nearNEAR Protocol(NEAR)$3.377.21%
  • bitcoin-cashBitcoin Cash(BCH)$212.041.84%
  • litecoinLitecoin(LTC)$45.242.22%
  • RainRain(RAIN)$0.004620-21.64%
  • CantonCanton(CC)$0.0821260.21%
  • avalanche-2Avalanche(AVAX)$7.272.94%
  • uniswapUniswap(UNI)$5.303.38%
  • tether-goldTether Gold(XAUT)$3,838.30-0.01%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.082.45%
  • suiSui(SUI)$0.742.96%
  • USD1USD1(USD1)$1.000.03%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.0581241.80%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.07%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BittensorBittensor(TAO)$197.353.14%
  • crypto-com-chainCronos(CRO)$0.0441622.19%
  • shiba-inuShiba Inu(SHIB)$0.0000041.29%
  • quant-networkQuant(QNT)$156.371.99%
  • MemeCoreMemeCore(M)$0.895.07%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.02%
  • okbOKB(OKB)$86.581.20%
  • aaveAave(AAVE)$112.684.42%
  • pax-goldPAX Gold(PAXG)$3,841.510.01%
  • Falcon USDFalcon USD(USDF)$1.000.09%
  • United StablesUnited Stables(U)$1.00-0.01%
  • pepePepe(PEPE)$0.000004-1.24%
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

Researchers at Stanford Introduce DSPy: An Artificial Intelligence AI Framework for Solving Advanced Tasks with Language Models (LMs) and Retrieval Models (RMs)

August 29, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Researchers at Stanford Introduce DSPy: An Artificial Intelligence AI Framework for Solving Advanced Tasks with Language Models (LMs) and Retrieval Models (RMs)
ShareShareShareShareShare

Various complex tasks can be easily solved using Language Models and Retrieval models. Language models, like GPT-3, are designed to generate human-like text based on the input they receive. On the other hand, retrieval models are used to retrieve relevant information from a database or collection of documents. Clearly defining the task you want to solve determines whether it requires generating new text or retrieving data from existing sources.

With GPT-3 or similar models, one needs to provide a prompt describing the task and let the model generate text based on it. It requires experimenting with the prompt wording and structure to get the desired output. It involves combining generated text from language models with information retrieved from databases. This could include generating summaries or insights based on retrieved information. 

Researchers at Stanford build a framework for solving advanced tasks with language models(LMs) and retrieval models(RMs). They call it as DSPy. DSPy consists of various techniques for prompting and finetuning the LMs and improving their reasoning and retrieval augmentation. DSPy is based on Pythonic syntax to provide composable and declarative modules for instructing LMs.

DSPy also has an automatic compiler that trains the LM to run the declarative steps in your program. This compiler can finetune finetune from minimal data without manual intermediate-stage labels. It uses systematic space of modular and trainable pieces instead of string manipulation. 

DSPy uses two simple concepts called “Signatures” and “Teleprompters” to compile any program you write. A signature is a declarative specification of the input/output behavior of a DSPy module. In contrast, teleprompters are powerful optimizers (included in DSPy) that can learn to bootstrap and select effective prompts for the modules of any program. 

The signature consists of a minimal description of the sub-task and one or more input questions that will be asked to the LM. It also explains the question’s answer that we expect from the LM. The teleprompters are automated prompting at a distance. They say that compared to others, DSPy requires very minimal labeling. It will bootstrap any intermediate labels required to support the user’s pipeline, which involves multiple complex steps. 

As the DSPy framework differs significantly from other libraries, it is quite easy to justify when to use it based on our use case. Researchers say that this unified framework comes in handy to an NLP/ AI researcher or someone who is exploring new pipelines or new tasks to solve advanced and complex problems. To make it accessible to everyone, they have released an installation user manual. They also say that various introductory tutorials and demos with reference material will be released in the future. 


Check out the GitHub link. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 29k+ 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..

🚨Announcing 𝗗𝗦𝗣𝘆, the framework for solving advanced tasks w/ LMs.

Express *any* pipeline as clean, Pythonic control flow.

Just ask DSPy to 𝗰𝗼𝗺𝗽𝗶𝗹𝗲 your modular code into auto-tuned chains of prompts or finetunes for GPT, Llama, and/or T5.🧵https://t.co/QColxp8atV pic.twitter.com/PbwRPrctSp

— Omar Khattab (@lateinteraction) August 24, 2023


YOU MAY ALSO LIKE

CFTC Tells Kalshi To Stop Letting People Bet On Trump’s Speeches

Calif Uses AI to Find Java4Shell as OpenJDK and Oracle Ship Fixes – Unite.AI

Arshad is an intern at MarktechPost. He is currently pursuing his Int. MSc Physics from the Indian Institute of Technology Kharagpur. Understanding things to the fundamental level leads to new discoveries which lead to advancement in technology. He is passionate about understanding the nature fundamentally with the help of tools like mathematical models, ML models and AI.


🚀 CodiumAI enables busy developers to generate meaningful tests (Sponsored)


Credit: Source link

ShareTweetSendSharePin

Related Posts

CFTC Tells Kalshi To Stop Letting People Bet On Trump’s Speeches
AI & Technology

CFTC Tells Kalshi To Stop Letting People Bet On Trump’s Speeches

November 17, 2026
Calif Uses AI to Find Java4Shell as OpenJDK and Oracle Ship Fixes – Unite.AI
AI & Technology

Calif Uses AI to Find Java4Shell as OpenJDK and Oracle Ship Fixes – Unite.AI

November 17, 2026
Google Wallet Is Launching On iOS
AI & Technology

Google Wallet Is Launching On iOS

November 17, 2026
Cerebras Puts Disaggregated Inference Into Production With GPUs – Unite.AI
AI & Technology

Cerebras Puts Disaggregated Inference Into Production With GPUs – Unite.AI

November 17, 2026
Next Post
Braves’ Acuna confronted by two fans in seventh inning of win

Braves' Acuna confronted by two fans in seventh inning of win

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Two planes collide on taxiway at Miami airport one day after national grounding – The Guardian

Two planes collide on taxiway at Miami airport one day after national grounding – The Guardian

November 15, 2026
Apple Bets on Siri AI Apps as the Main Draw for Its Smart Glasses – Bloomberg.com

Apple Bets on Siri AI Apps as the Main Draw for Its Smart Glasses – Bloomberg.com

November 16, 2026
Baron Global Opportunity Fund Q3 2026 Commentary (BGAFX)

Baron Global Opportunity Fund Q3 2026 Commentary (BGAFX)

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