• bitcoinBitcoin(BTC)$79,744.000.01%
  • ethereumEthereum(ETH)$2,477.090.99%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$770.747.28%
  • rippleXRP(XRP)$1.411.05%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$103.291.46%
  • tronTRON(TRX)$0.3345450.90%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.01-2.67%
  • HyperliquidHyperliquid(HYPE)$85.241.02%
  • zcashZcash(ZEC)$1,009.90-1.66%
  • dogecoinDogecoin(DOGE)$0.0907147.02%
  • RainRain(RAIN)$0.0170022.62%
  • moneroMonero(XMR)$545.491.84%
  • USDSUSDS(USDS)$1.00-0.03%
  • chainlinkChainlink(LINK)$12.022.86%
  • whitebitWhiteBIT Coin(WBT)$73.390.24%
  • leo-tokenLEO Token(LEO)$9.24-0.99%
  • cardanoCardano(ADA)$0.2193663.09%
  • stellarStellar(XLM)$0.1840612.57%
  • bitcoin-cashBitcoin Cash(BCH)$255.370.98%
  • daiDai(DAI)$1.000.03%
  • uniswapUniswap(UNI)$7.1615.30%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • CantonCanton(CC)$0.1089072.50%
  • USD1USD1(USD1)$1.00-0.01%
  • litecoinLitecoin(LTC)$53.865.98%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.432.68%
  • hedera-hashgraphHedera(HBAR)$0.0808833.48%
  • avalanche-2Avalanche(AVAX)$7.582.63%
  • suiSui(SUI)$0.805.43%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • shiba-inuShiba Inu(SHIB)$0.0000054.75%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • nearNEAR Protocol(NEAR)$2.183.08%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0563230.74%
  • tether-goldTether Gold(XAUT)$4,425.83-0.03%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.120.28%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$112.954.60%
  • BittensorBittensor(TAO)$233.203.81%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.07%
  • AsterAster(ASTER)$0.785.99%
  • aaveAave(AAVE)$134.323.16%
  • mantleMantle(MNT)$0.582.41%
  • pax-goldPAX Gold(PAXG)$4,432.530.00%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0571641.25%
  • OndoOndo(ONDO)$0.3698633.45%
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 SQLCoder: An New Open-Sourced and State of the Art Model for Converting Natural Language Questions to SQL Queries

August 22, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet SQLCoder: An New Open-Sourced and State of the Art Model for Converting Natural Language Questions to SQL Queries
ShareShareShareShareShare

Defog.ai has released SQLCoder, a cutting-edge model for translating inquiries in natural language into database queries. Regarding generic SQL schemas in Postgres, SQLCoder greatly beats all major open-source models. When optimized for a specific database schema, it performs better than gpt-4.

The model’s size is such that it may be executed in 16-bit floats on a single A100-40GB or an 8-bit quantized high-end consumer GPU (such as an RTX 3090/4090). The evaluation mechanism for LLM-generated SQL is likewise being made open-source. Evaluating SQL code can be difficult. Researchers want to conduct extensive, public, and reproducible testing to push the limits of open-source text-to-SQL systems.

The model weights are licensed under CC BY-SA 4.0. The model is free for both personal and commercial use. If you change the consequences (by fine-tuning, for instance), you must release those changes as open source under the same license.

SQLCoder is an optimized version of StarCoder that uses 15B parameters. SQLCoder has been fine-tuned on progressively challenging SQL queries created by hand. Database schema-specific tuning allows it to achieve or exceed the performance of GPT-4.

Researchers have used SQLCoder with enterprise customers in the healthcare, financial services, and government sectors in the past three months. Self-hosted models are the sole option for customers who do not want sensitive data to leave their servers when employing LLMs.

The model was refined in two phases by the research team. They honed StarCoder’s foundational model using only our mild to moderate queries. The resulting defog-easy model was then fine-tuned on difficult and extremely difficult questions to produce SQLcoder. Defog In our benchmarking, the SQLCoder outperforms nearly every popular model except GPT-4. In particular, it outperforms models more than ten times its size, such as the gpt-3.5-turbo and the text-da-vinci-003. These outcomes only represent the performance of SQLCoder on general SQL databases and not on specific database schemas. When SQLCoder is optimized for particular database schemas, it can outperform OpenAI’s GPT-4 while incurring less latency.

An open-source version of SQLCoder can be found at https://github.com/defog-ai/sqlcoder. It has many potential applications, such as:

  • Putting it through its paces on a home turf
  • Putting it in the cloud
  • Having it work with other programs

SQLCoder is a robust program that may streamline and automate data processing operations. Query the database easily using SQLCoder, which translates the natural language questions into SQL queries.

Using SQLCoder can help you in a variety of ways.

  • SQLCoder’s accuracy is such that it can construct correct and efficient SQL queries.
  • SQLCoder is efficient in that it can produce SQL queries rapidly and effortlessly.
  • SQLCoder produces queries that are idiomatic or written by the rules of SQL.
  • SQLCoder’s adaptability means that it can be modified to suit the requirements of your program.

Check out the Portal and Github. 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, please follow us on Twitter

We are open-sourcing SQLCoder, state of the art model for converting natural language questions to SQL queries! https://t.co/421Xf3Vld9

SQLCoder outperforms OpenAI’s gpt-3.5-turbo, and significantly outperforms all major open-source models for generic SQL schemas in Postgres.… pic.twitter.com/W3MvdeQkzH

— Defog.ai (YC W23) (@defogdata) August 21, 2023


YOU MAY ALSO LIKE

The Reasons Rugged Laptops Are Rarely Bought By Consumers

You’re Probably Wasting These Keys On Your Keyboard — Here’s How To Remap Them

Dhanshree Shenwai is a Computer Science Engineer and has a good experience in FinTech companies covering Financial, Cards & Payments and Banking domain with keen interest in applications of AI. She is enthusiastic about exploring new technologies and advancements in today’s evolving world making everyone’s life easy.


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


Credit: Source link

ShareTweetSendSharePin

Related Posts

The Reasons Rugged Laptops Are Rarely Bought By Consumers
AI & Technology

The Reasons Rugged Laptops Are Rarely Bought By Consumers

September 5, 2026
You’re Probably Wasting These Keys On Your Keyboard — Here’s How To Remap Them
AI & Technology

You’re Probably Wasting These Keys On Your Keyboard — Here’s How To Remap Them

September 5, 2026
New Twitter Rebrands To Tweet.app After Court’s Double-Edged Ruling
AI & Technology

New Twitter Rebrands To Tweet.app After Court’s Double-Edged Ruling

September 5, 2026
Regulate AI’s Dangers, Don’t Ban Its Promise – Unite.AI
AI & Technology

Regulate AI’s Dangers, Don’t Ban Its Promise – Unite.AI

September 5, 2026
Next Post
Stocks Start Slow After Mixed Retail Results

Stocks Start Slow After Mixed Retail Results

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Beyerdynamic’s New Aventho Y Headphones Last Up To 90 Hours Per Charge

Beyerdynamic’s New Aventho Y Headphones Last Up To 90 Hours Per Charge

September 3, 2026
Questions grow about Gaza’s future after Trump announces deal to disarm Hamas

Questions grow about Gaza’s future after Trump announces deal to disarm Hamas

August 31, 2026
LeBron James announces he will join the Philadelphia 76ers

LeBron James announces he will join the Philadelphia 76ers

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