NSQL icon

NSQL

NSQL is an open-source family of SQL-specialized language models from NumbersStation, fine-tuned from foundation models including Llama and CodeLlama.

Visit Website Text-to-SQL Open Source
NSQL NumbersStation SQL open source SQL model NSQL-Llama text to SQL model

NSQL is an open-source family of SQL-specialized language models from NumbersStation, fine-tuned from foundation models including Llama and CodeLlama. The NSQL-Llama-2-7B model provides a lightweight option for teams with limited GPU resources while maintaining competitive accuracy on standard benchmarks. Training combines the Spider dataset with proprietary enterprise SQL examples. The models support multiple SQL dialects and handle complex queries including nested subqueries, window functions, and CTEs. Available through Hugging Face for self-hosted deployment. NumbersStation also offers an enterprise platform with additional features including semantic layer integration and query optimization. Page should cover: model variants comparison, hardware requirements, inference setup guide, accuracy benchmarks, dialect support, and comparison with SQLCoder and other open-source SQL models.