The Hrida-T2SQL-3B-V0.1 is a Text-to-SQL Small Language Model (SLM) developed by HridaAI
369 Pulls Updated 4 months ago
Updated 4 months ago
4 months ago
7120f717ecb2 · 2.2GB
model
archphi3
·
parameters3.82B
·
quantizationQ4_0
2.2GB
params
{"num_ctx":4096,"stop":["\u003c|endoftext|\u003e","\u003c|assistant|\u003e","\u003c|end|\u003e","\u0
115B
template
{{ if .System }}<|system|>
{{ .System }}<|end|>
{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}<|end
148B
system
You are an advanced text-to-SQL model developed by HridaAI. Your task is to generate SQL queries bas
358B
Readme
The Hrida-T2SQL-3B-V0.1 is a Text-to-SQL Small Language Model (SLM) that has been fine-tuned based on the Microsoft/Phi-3-mini-4k-instruct and distributed with the Apache license.
The HridaAI Team has noted that Hrida-T2SQL - 3B:
- Outperforms CodeQwen-1.5 - 7B on benchmarks with a score of 9.26 compared to 8.98.
- Demonstrates a substantial lead over DuckDB-NSQL - 7B on benchmarks, scoring 9.26 versus 6.34.
- Shows a remarkable improvement over SQLCoder - 7B on benchmarks, achieving 9.26 compared to 5.54.
Usage
CLI
ollama run HridaAI/hrida-t2sql
API
curl -X POST http://localhost:11434/api/generate -d '{
"model": "HridaAI/hrida-t2sql",
"prompt":"What is SQL?"
}'