Text2SQL using Hugging Face Dataset Viewer API and Motherduck DuckDB-NSQL-7B
Open-source Text2SQL just got faster. Hugging Face + Motherduck ship NSQL-7B for real-time database queries without the enterprise price tag.

Why it matters
A new open-source model and API integration reduce friction for developers building SQL-generation features into apps. This democratizes database querying—a capability previously locked behind expensive proprietary tools—and enables broader adoption of AI-powered data access layers.
The key facts
10 to knowHugging Face Dataset Viewer API integration
Motherduck DuckDB-NSQL-7B model release
Text2SQL capability (natural language to SQL conversion)
Open-source approach vs. proprietary alternatives
Published Apr 04, 2024
Motherduck DuckDB-NSQL-7B model for Text2SQL
Integration with Hugging Face Dataset Viewer API
Open-source model architecture enabling natural language database queries
Published April 4, 2024
Reduces need for SQL expertise in data workflows
Go to the source
Hugging Face Bloghuggingface.co