• bitcoinBitcoin(BTC)$81,113.000.34%
  • Midas Fasanara Global EuroMidas Fasanara Global Euro(MGLOEURO)$111,813.00-0.36%
  • ethereumEthereum(ETH)$2,354.750.31%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$755.141.42%
  • rippleXRP(XRP)$1.330.25%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$102.221.03%
  • tronTRON(TRX)$0.329429-0.57%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.68%
  • zcashZcash(ZEC)$1,303.60-0.06%
  • HyperliquidHyperliquid(HYPE)$80.99-0.24%
  • dogecoinDogecoin(DOGE)$0.0797911.63%
  • moneroMonero(XMR)$599.38-0.71%
  • USDSUSDS(USDS)$1.000.01%
  • whitebitWhiteBIT Coin(WBT)$77.880.32%
  • chainlinkChainlink(LINK)$11.802.43%
  • leo-tokenLEO Token(LEO)$9.434.24%
  • cardanoCardano(ADA)$0.2055690.20%
  • nearNEAR Protocol(NEAR)$4.720.72%
  • stellarStellar(XLM)$0.1727251.53%
  • bitcoin-cashBitcoin Cash(BCH)$289.54-0.58%
  • RainRain(RAIN)$0.006949-3.27%
  • litecoinLitecoin(LTC)$59.434.42%
  • Ethena USDeEthena USDe(USDE)$1.000.02%
  • daiDai(DAI)$1.000.00%
  • uniswapUniswap(UNI)$7.242.48%
  • CantonCanton(CC)$0.1004861.78%
  • avalanche-2Avalanche(AVAX)$9.000.84%
  • USD1USD1(USD1)$1.000.04%
  • suiSui(SUI)$0.941.85%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.241.44%
  • hedera-hashgraphHedera(HBAR)$0.075106-1.43%
  • tether-goldTether Gold(XAUT)$4,049.51-0.15%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • BittensorBittensor(TAO)$257.051.21%
  • shiba-inuShiba Inu(SHIB)$0.0000051.92%
  • quant-networkQuant(QNT)$199.970.25%
  • EthenaEthena(ENA)$0.2095390.56%
  • crypto-com-chainCronos(CRO)$0.053275-0.16%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • BitwayBitway(BTW)$1.72-3.62%
  • MemeCoreMemeCore(M)$1.04-3.07%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.09%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$111.171.56%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.00000511.20%
  • Pump.funPump.fun(PUMP)$0.0045324.68%
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

Apple’s PROLED XDR Display Has A Cringy Name But Incredible Specs

Meta Weighs Delaying ‘Alarming’ New Business Terms As Backlash Grows

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

Apple’s PROLED XDR Display Has A Cringy Name But Incredible Specs
AI & Technology

Apple’s PROLED XDR Display Has A Cringy Name But Incredible Specs

October 28, 2026
Meta Weighs Delaying ‘Alarming’ New Business Terms As Backlash Grows
AI & Technology

Meta Weighs Delaying ‘Alarming’ New Business Terms As Backlash Grows

October 28, 2026
Google DeepMind Introduces Gemini 4 Carbon, Its Top Model for Cyber Defense and Coding
AI & Technology

Google DeepMind Introduces Gemini 4 Carbon, Its Top Model for Cyber Defense and Coding

October 28, 2026
Apple’s First Touchscreen MacBook Pro Feels Both Familiar And Radically Improved
AI & Technology

Apple’s First Touchscreen MacBook Pro Feels Both Familiar And Radically Improved

October 28, 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
FF EAI Robotics Closes Purchase of Faraday Future’s Robotics Unit – Unite.AI

FF EAI Robotics Closes Purchase of Faraday Future’s Robotics Unit – Unite.AI

October 26, 2026
Warnock says Democrats are ‘missing a real opportunity’ to win in the South: Full interview

Warnock says Democrats are ‘missing a real opportunity’ to win in the South: Full interview

October 23, 2026
SK Hynix after earnings Opportunity or trap? Apple near all-time highs: Opportunity or trap?

SK Hynix after earnings Opportunity or trap? Apple near all-time highs: Opportunity or trap?

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!