NSQL Models by NumbersStation
Last refreshed 2026-05-19. Next refresh: weekly.
Details
About
The NSQL family comprises a series of open-source large language models (LLMs) tailored for generating SQL queries. These autoregressive models excel in predicting the next word in a sequence, transforming natural language instructions into precise SQL code. Available in varied sizes (350M, 2B, and 6B parameters), they cater to diverse hardware and privacy requirements. Their creator, Numbers Station, highlights their open-source design, facilitating commercial use and customization to infuse specific business needs. Notably, NSQL models surpass current open-source models in execution accuracy, with the NSQL-Llama-2-7B model, leveraging Meta's Llama 2 architecture, marking substantial performance improvements 126.
Decision facts
Current Variants
Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.
| Model | Use when | Released | Signals | Status |
|---|---|---|---|---|
| NSQL 6B | Use when the workload needs 6B parameters. | 2024-02 | 6B parameters | Current |
| NSQL 2B | Use when the workload needs 2B parameters. | 2024-02 | 2B parameters | Current |
| NSQL 350M | Use when the workload needs 350M parameters. | 2024-02 | 350M parameters | Current |
| NSQL Llama 2 7B | Use when the workload needs 7B parameters. | 2024-02 | 7B parameters | Current |
Release Timeline
1 release groupSpecifications(4 models)
| Model | Released | Parameters |
|---|---|---|
| NSQL 6B | 2024-02 | 6B |
| NSQL 2B | 2024-02 | 2B |
| NSQL 350M | 2024-02 | 350M |
| NSQL Llama 2 7B | 2024-02 | 7B |
