• bitcoinBitcoin(BTC)$84,310.000.92%
  • ethereumEthereum(ETH)$2,734.701.72%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$765.25-0.55%
  • rippleXRP(XRP)$1.551.74%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$120.630.49%
  • tronTRON(TRX)$0.3351680.05%
  • zcashZcash(ZEC)$1,440.04-9.58%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.000.20%
  • HyperliquidHyperliquid(HYPE)$88.25-2.26%
  • dogecoinDogecoin(DOGE)$0.0959491.50%
  • chainlinkChainlink(LINK)$15.253.63%
  • moneroMonero(XMR)$544.772.13%
  • whitebitWhiteBIT Coin(WBT)$84.351.00%
  • USDSUSDS(USDS)$1.000.02%
  • cardanoCardano(ADA)$0.2526090.08%
  • RainRain(RAIN)$0.012472-0.63%
  • leo-tokenLEO Token(LEO)$8.99-0.50%
  • stellarStellar(XLM)$0.2324922.20%
  • nearNEAR Protocol(NEAR)$4.86-6.52%
  • bitcoin-cashBitcoin Cash(BCH)$312.38-0.71%
  • uniswapUniswap(UNI)$9.060.00%
  • litecoinLitecoin(LTC)$68.67-3.15%
  • avalanche-2Avalanche(AVAX)$11.6910.72%
  • CantonCanton(CC)$0.130276-2.14%
  • hedera-hashgraphHedera(HBAR)$0.114237-5.41%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • suiSui(SUI)$1.18-1.22%
  • daiDai(DAI)$1.000.01%
  • USD1USD1(USD1)$1.000.01%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.56-6.21%
  • quant-networkQuant(QNT)$253.417.73%
  • BittensorBittensor(TAO)$314.272.05%
  • BitwayBitway(BTW)$1.310.93%
  • crypto-com-chainCronos(CRO)$0.0706832.32%
  • shiba-inuShiba Inu(SHIB)$0.0000062.00%
  • tether-goldTether Gold(XAUT)$4,155.69-0.05%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • Pump.funPump.fun(PUMP)$0.0057578.68%
  • aaveAave(AAVE)$173.2915.21%
  • EthenaEthena(ENA)$0.254698-5.53%
  • okbOKB(OKB)$121.392.57%
  • OndoOndo(ONDO)$0.52-2.66%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • MemeCoreMemeCore(M)$1.06-9.27%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.09%
  • 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

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

Why Wi-Fi Extenders Simply Aren’t Worth Buying In 2026

Nothing’s Flagship $399 Headphone 1 Pro Actually Have Some Professional Features

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

Why Wi-Fi Extenders Simply Aren’t Worth Buying In 2026
AI & Technology

Why Wi-Fi Extenders Simply Aren’t Worth Buying In 2026

September 29, 2026
Nothing’s Flagship 9 Headphone 1 Pro Actually Have Some Professional Features
AI & Technology

Nothing’s Flagship $399 Headphone 1 Pro Actually Have Some Professional Features

September 29, 2026
Google Research Open-Sources RRSI: AI Agents That Improve Their Own Harness Without Overfitting
AI & Technology

Google Research Open-Sources RRSI: AI Agents That Improve Their Own Harness Without Overfitting

September 29, 2026
OpenAI Reportedly Cancels GPT-6.1 Astra’s Release Over Deceptive Behavior
AI & Technology

OpenAI Reportedly Cancels GPT-6.1 Astra’s Release Over Deceptive Behavior

September 29, 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
JEPQ: Hedging AI Infrastructure Growth With Monthly Cash Flow (NASDAQ:JEPQ)

JEPQ: Hedging AI Infrastructure Growth With Monthly Cash Flow (NASDAQ:JEPQ)

September 23, 2026
The Pros And Cons Of Using A Password Manager Over An Authenticator App

The Pros And Cons Of Using A Password Manager Over An Authenticator App

September 23, 2026
Lindsay Clancy’s lawyer scolds witness for smiling

Lindsay Clancy’s lawyer scolds witness for smiling

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