A 1.3 bn SQL model that outperforms most SQL expert models and chatgpt on popular benchmarks.
This is a distilled model built on the deepseek base model.
Please refer to
https://huggingface.co/PipableAI/pip-library-etl-1.3b
for our state of the art model.
How we built it?
We used softmax cross entropy and a modified form of policy grad along with Q loss, optimized in an EM set up.
Loss behaviour in the set up mentioned above -
Benchmarking :
For benchmarking purposes we are using Semantic Evaluation for Text-to-SQL with
Distilled Test Suites, an officially accepted evaluation framework for Spider, SParC, and CoSQL which was proposed by a research team of Yale and Berkeley.
The benchmark contains 2200 test data points
Here is the link to run the evaluation:
What are the email address, town and county of the customers who are of the least common gender?
SELECT email_address , town_city , county FROM customers GROUPBY gender_code ORDERBYcount(*) ASC LIMIT 1
What are the product price and the product size of the products whose price is above average?
SELECT product_price , product_size FROM products WHERE product_price > (SELECTavg(product_price) FROM products)
Which customers did not make any orders? List the first name, middle initial and last name.
SELECT T1.customer_first_name , T1.customer_middle_initial , T1.customer_last_name FROM Customers AS T1 WHERE T1.customer_id NOTIN (SELECT T2.customer_id FROM Orders AS T2)
pip-sql-1.3b-GGUF huggingface.co is an AI model on huggingface.co that provides pip-sql-1.3b-GGUF's model effect (), which can be used instantly with this afrideva pip-sql-1.3b-GGUF model. huggingface.co supports a free trial of the pip-sql-1.3b-GGUF model, and also provides paid use of the pip-sql-1.3b-GGUF. Support call pip-sql-1.3b-GGUF model through api, including Node.js, Python, http.
pip-sql-1.3b-GGUF huggingface.co is an online trial and call api platform, which integrates pip-sql-1.3b-GGUF's modeling effects, including api services, and provides a free online trial of pip-sql-1.3b-GGUF, you can try pip-sql-1.3b-GGUF online for free by clicking the link below.
afrideva pip-sql-1.3b-GGUF online free url in huggingface.co:
pip-sql-1.3b-GGUF is an open source model from GitHub that offers a free installation service, and any user can find pip-sql-1.3b-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of pip-sql-1.3b-GGUF install, users can directly use pip-sql-1.3b-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.