Diagram Raymond Raymond

Text to SQL using duckdb-nsql model via ollama

event 2024-03-24 visibility 66 comment 0
more_vert

DuckDB-NSQL is a text-to-SQL model with 7 billion parameters, specifically created for generating SQL queries. It builds upon Meta’s original Llama-2 7B model, undergoing additional pre-training using a dataset of general SQL queries. Subsequently, it is fine-tuned on a dataset containing DuckDB text-to-SQL pairs.


This diagram shows you how to use ollama Python client library to call REST APIs to convert text to SQL.

comment Comments
No comments yet.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

tag Tags
info Info
Image URL
SVG URL