Sqlcoder2 GGUF by TheBloke

 »  All LLMs  »  TheBloke  »  Sqlcoder2 GGUF   URL Share it on

Sqlcoder2 GGUF is an open-source language model by TheBloke. Features: LLM, VRAM: 6.7GB, License: other, Quantized, LLM Explorer Score: 0.1.

  Base model:defog/sqlcoder2 Base model:quantized:defog/sql...   Code   En   Gguf   Quantized   Region:us   Starcoder

Sqlcoder2 GGUF Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

Sqlcoder2 GGUF Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
Research, Commercial applications
Applications:
Natural language to SQL query conversion
Primary Use Cases:
Generate SQL queries from natural language questions.
Limitations:
Potential untested or unexplored schemas.
Considerations:
Fine-tuning on specific schemas enhances performance.
Additional Notes 
The model's performance benefits from training on diverse schemas, and there are plans to enhance it with advanced training techniques.
Supported Languages 
English (High proficiency)
Training Details 
Data Sources:
20,000 human-curated questions based on 10 different schemas
Data Volume:
20,000 questions
Methodology:
Fine-tuned from StarCoder.
Input Output 
Input Format:
Natural language questions
Accepted Modalities:
text
Output Format:
SQL queries
Performance Tips:
Fine-tuning on a specific database schema can improve accuracy.
LLM NameSqlcoder2 GGUF
Repository 🤗https://huggingface.co/TheBloke/sqlcoder2-GGUF 
Model NameSqlcoder2
Model CreatorDefog.ai
Base Model(s)  Sqlcoder2   defog/sqlcoder2
Required VRAM6.7 GB
Updated2026-05-20
MaintainerTheBloke
Model Typestarcoder
Model Files  6.7 GB   9.1 GB   8.2 GB   6.9 GB   9.0 GB   10.0 GB   9.1 GB   10.9 GB   11.5 GB   10.9 GB   13.0 GB   16.8 GB
Supported Languagesen
GGUF QuantizationYes
Quantization Typegguf
Model ArchitectureAutoModel
Licenseother

Best Alternatives to Sqlcoder2 GGUF

Best Alternatives
Context / RAM
Downloads
Likes
ComicBot V.2 Gguf32K / 5 GB920
Qwen3 Medical GRPO GGUF0K / 1.7 GB1866
Gemma2 WizardLM0K / 5.2 GB100
...ixtral 8x7B Instruct V0.1 GGUF0K / 15.6 GB18053655
Dolphin 2.5 Mixtral 8x7b GGUF0K / 15.6 GB20494308
Marco O1 GGUF0K / 3 GB1396
Phi 2 GGUF0K / 1.2 GB24549232
Mixtral 8x7B V0.1 GGUF0K / 15.6 GB6209437
Dolphin 2.7 Mixtral 8x7b GGUF0K / 15.6 GB10801171
GOAT Llama3.1 V0.10K / 0.2 GB143
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/sqlcoder2-GGUF.

Rank the Sqlcoder2 GGUF Capabilities

🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 53999 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a