AI That Quacks: Introducing DuckDB-NSQL-7B, A LLM for DuckDB
We put a LLM in SQL and also show you the power of SLMs (small language models) in the MotherDuck data warehouse.
https://t.co/8PXYXjBhSG
MotherDuckx.comModel Description
NSQL is a family of autoregressive open-source large foundation models (FMs) designed specifically for SQL generation tasks.
In this repository we are introducing a new member of NSQL, NSQL-Llama-2-7B. It's based on Meta's original Llama-2 7B model and further pre-trained on a dataset of general SQL queries and then fine-tuned on a... See more
NSQL is a family of autoregressive open-source large foundation models (FMs) designed specifically for SQL generation tasks.
In this repository we are introducing a new member of NSQL, NSQL-Llama-2-7B. It's based on Meta's original Llama-2 7B model and further pre-trained on a dataset of general SQL queries and then fine-tuned on a... See more
NumbersStation/nsql-llama-2-7B · Hugging Face
t on LLMs and SQL highlighting why they don’t consistently work :
- “LLMs can write SQL, but they are often prone to making up tables, making up field”
- “LLMs have some context window which limits the amount of text they can operate over”
- “The SQL it writes may be incorrect for whatever reason, or it could be correct but just return an unexpected