Open Source · Text-to-SQL

Our Contribution
to Open-Source AI

Privacy-focused, fine-tuned open-source models that convert plain English into precise SQL. Run locally with Ollama or integrate via HuggingFace - no cloud required.

50K+

HuggingFace downloads

Hrida T2SQL 3B V0.1

6K+

Ollama downloads

hrida-t2sql · hrida-t2sql-128k

3B Parameters128k ContextApache 2.0Self-hostedOllamaHuggingFace

Our Models

A smarter way
to query data.

Three open-source models, each fine-tuned for progressively complex SQL generation from natural language.

Capabilities

Built for real deployments.

Fine-tuned for accuracy. Designed to run anywhere - from your laptop to your production infra.

Privacy-first

Run entirely on-premise. Your data never leaves your environment.

Self-hosted

Deploy via Ollama on any machine in minutes. No cloud account needed.

3B parameters

Compact enough for consumer hardware, powerful enough for production SQL.

HuggingFace native

Integrate with the transformers library in a single pipeline call.

SELECT with complex JOINs
Aggregations & GROUP BY
Subqueries & CTEs
Date & time filtering
Multi-table schemas
LIMIT, ORDER BY, HAVING
PostgreSQL & MySQL dialects
Schema-aware generation
128k context for large schemas

Quick Start

Running in
under a minute.

Two ways to get started - pull via Ollama for instant local use, or integrate with the HuggingFace transformers library for production.

3

Models published

3B

Parameters each

128k

Max context

Free

Open weights

via Ollama

Local deployment

# Pull and run the model
ollama run HridaAI/hrida-t2sql

# Ask a question
>>> Show top customers by revenue

via HuggingFace

Python integration

from transformers import pipeline
pipe = pipeline(
"text2text-generation",
model="HridaAI/Hrida-T2SQL-3B-V0.2"
)
result = pipe("Show top customers")
print(result[0]["generated_text"])

Start with open source.
Scale with Hrida AI.

Use our open models for free, or talk to us about custom fine-tuning on your own schema and data.