• bitcoinBitcoin(BTC)$83,368.00-0.08%
  • ethereumEthereum(ETH)$2,677.96-0.13%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$756.07-0.85%
  • rippleXRP(XRP)$1.49-0.15%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$118.620.26%
  • tronTRON(TRX)$0.334845-0.31%
  • zcashZcash(ZEC)$1,396.70-3.85%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-4.61%
  • HyperliquidHyperliquid(HYPE)$85.75-1.74%
  • dogecoinDogecoin(DOGE)$0.0937780.15%
  • chainlinkChainlink(LINK)$14.64-4.20%
  • moneroMonero(XMR)$543.600.47%
  • USDSUSDS(USDS)$1.00-0.03%
  • whitebitWhiteBIT Coin(WBT)$83.37-0.07%
  • cardanoCardano(ADA)$0.243651-0.61%
  • RainRain(RAIN)$0.0126821.58%
  • leo-tokenLEO Token(LEO)$9.050.49%
  • stellarStellar(XLM)$0.222624-1.90%
  • nearNEAR Protocol(NEAR)$4.923.82%
  • bitcoin-cashBitcoin Cash(BCH)$307.91-0.02%
  • uniswapUniswap(UNI)$8.932.35%
  • litecoinLitecoin(LTC)$67.23-2.61%
  • avalanche-2Avalanche(AVAX)$11.398.86%
  • CantonCanton(CC)$0.125906-3.04%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • suiSui(SUI)$1.15-0.43%
  • daiDai(DAI)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.103699-16.39%
  • USD1USD1(USD1)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.50-4.92%
  • quant-networkQuant(QNT)$267.938.99%
  • BitwayBitway(BTW)$1.3830.31%
  • crypto-com-chainCronos(CRO)$0.068725-0.90%
  • BittensorBittensor(TAO)$300.94-1.35%
  • shiba-inuShiba Inu(SHIB)$0.0000061.59%
  • tether-goldTether Gold(XAUT)$4,176.361.23%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • Pump.funPump.fun(PUMP)$0.00581016.73%
  • aaveAave(AAVE)$165.7712.89%
  • okbOKB(OKB)$120.692.22%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • EthenaEthena(ENA)$0.249408-3.70%
  • OndoOndo(ONDO)$0.51-1.60%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.04-11.28%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
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

Codenames Party Is The Latest Addition To Netflix Games

Xbox Just Unveiled Mythic Achievements, Which Are Basically PlayStation Platinum Trophies

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

Codenames Party Is The Latest Addition To Netflix Games
AI & Technology

Codenames Party Is The Latest Addition To Netflix Games

September 29, 2026
Xbox Just Unveiled Mythic Achievements, Which Are Basically PlayStation Platinum Trophies
AI & Technology

Xbox Just Unveiled Mythic Achievements, Which Are Basically PlayStation Platinum Trophies

September 29, 2026
OpenAI Launches dots: Always-On GPT-6 Astra Agents That Work From Their Own Cloud Computers
AI & Technology

OpenAI Launches dots: Always-On GPT-6 Astra Agents That Work From Their Own Cloud Computers

September 29, 2026
Nebius Opens 2026 Physical AI Awards: Five 0K Compute Credit Prizes
AI & Technology

Nebius Opens 2026 Physical AI Awards: Five $150K Compute Credit Prizes

September 29, 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
Amazon’s steering wheel-free robotaxi expands to more cities

Amazon’s steering wheel-free robotaxi expands to more cities

September 24, 2026
Dutch Bros Stock: A 3M Liability That Doesn’t Show Up In Leverage (NYSE:BROS)

Dutch Bros Stock: A $973M Liability That Doesn’t Show Up In Leverage (NYSE:BROS)

September 25, 2026
CIA director makes an unannounced trip to Moscow for talks, source says

CIA director makes an unannounced trip to Moscow for talks, source says

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