Downloads · 30 days
308
3% of all-time downloads
duyntnet/sqlcoder-7b-2-imatrix-GGUF
sqlcoder-7b-2-imatrix-GGUF is a text generation model from duyntnet. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
Quantizations of https://huggingface.co/defog/sqlcoder-7b-2
Downloads · 30 days
308
3% of all-time downloads
All-time downloads
9.1K
Public
Repo size
93.1 GB
Likes
1
Public
Click a slice to open those files.
.gguf93.1 GB · 100%
From the Hugging Face model README
Quantizations of https://huggingface.co/defog/sqlcoder-7b-2
This model is intended to be used by non-technical users to understand data inside their SQL databases. It is meant as an analytics tool, and not as a database admin tool.
This model has not been trained to reject malicious requests from users with write access to databases, and should only be used by users with read-only access.
Use the code here to get started with the model.
Please use the following prompt for optimal results. Please remember to use do_sample=False and num_beams=4 for optimal results.
### Task
Generate a SQL query to answer [QUESTION]{user_question}[/QUESTION]
### Database Schema
The query will run on a database with the following schema:
{table_metadata_string_DDL_statements}
### Answer
Given the database schema, here is the SQL query that [QUESTION]{user_question}[/QUESTION]
[SQL]