• bitcoinBitcoin(BTC)$79,623.00-0.12%
  • ethereumEthereum(ETH)$2,478.070.81%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$744.08-2.91%
  • rippleXRP(XRP)$1.41-0.29%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$105.752.93%
  • tronTRON(TRX)$0.3351310.48%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.061.85%
  • HyperliquidHyperliquid(HYPE)$88.914.51%
  • zcashZcash(ZEC)$1,163.3914.49%
  • dogecoinDogecoin(DOGE)$0.0886461.13%
  • RainRain(RAIN)$0.0168102.41%
  • moneroMonero(XMR)$527.00-2.73%
  • USDSUSDS(USDS)$1.000.02%
  • chainlinkChainlink(LINK)$12.182.23%
  • whitebitWhiteBIT Coin(WBT)$73.320.10%
  • leo-tokenLEO Token(LEO)$9.330.65%
  • cardanoCardano(ADA)$0.2176920.05%
  • stellarStellar(XLM)$0.183540-1.04%
  • bitcoin-cashBitcoin Cash(BCH)$254.641.92%
  • daiDai(DAI)$1.00-0.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • uniswapUniswap(UNI)$6.9510.12%
  • CantonCanton(CC)$0.1093780.06%
  • USD1USD1(USD1)$1.000.00%
  • litecoinLitecoin(LTC)$54.400.94%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.41-0.69%
  • hedera-hashgraphHedera(HBAR)$0.080417-0.23%
  • avalanche-2Avalanche(AVAX)$7.600.80%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • suiSui(SUI)$0.79-1.06%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.23%
  • nearNEAR Protocol(NEAR)$2.378.35%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0572741.70%
  • tether-goldTether Gold(XAUT)$4,421.05-0.09%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.120.00%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$112.89-0.57%
  • BittensorBittensor(TAO)$242.992.81%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.26%
  • aaveAave(AAVE)$133.791.77%
  • AsterAster(ASTER)$0.76-6.81%
  • mantleMantle(MNT)$0.602.95%
  • pax-goldPAX Gold(PAXG)$4,426.57-0.14%
  • OndoOndo(ONDO)$0.3732591.12%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056557-0.65%
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

How To Check Your PC’s Hard-Drive Health

Don’t Get Rid Of Your Old Phone, Turn It Into A Security Camera

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

How To Check Your PC’s Hard-Drive Health
AI & Technology

How To Check Your PC’s Hard-Drive Health

September 6, 2026
Don’t Get Rid Of Your Old Phone, Turn It Into A Security Camera
AI & Technology

Don’t Get Rid Of Your Old Phone, Turn It Into A Security Camera

September 6, 2026
What Is Model Routing? How AI Systems Choose the Right Model for Every Request – Unite.AI
AI & Technology

What Is Model Routing? How AI Systems Choose the Right Model for Every Request – Unite.AI

September 6, 2026
UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents
AI & Technology

UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents

September 6, 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
Home camera captures panic as Japan earthquake strikes

Home camera captures panic as Japan earthquake strikes

September 3, 2026
CRASH WARNING: The Bond Market Just Turned Against Us — This Is Serious

CRASH WARNING: The Bond Market Just Turned Against Us — This Is Serious

September 3, 2026
The Starlink Mini X Kit Comes With An Extra Router, But Do You Really Need It?

The Starlink Mini X Kit Comes With An Extra Router, But Do You Really Need It?

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!