Sqlcoder GPTQ by TheBloke

 »  All LLMs  »  TheBloke  »  Sqlcoder GPTQ   URL Share it on

Sqlcoder GPTQ is an open-source language model by TheBloke. Features: 15.8b LLM, VRAM: 9.2GB, License: other, Quantized, Fine-Tuned, Code Generating, LLM Explorer Score: 0.09.

  4-bit   Base model:defog/sqlcoder Base model:quantized:defog/sql...   Code   Codegen   En   Finetuned   Gpt bigcode   Gptq   Quantized   Region:us   Safetensors

Sqlcoder GPTQ Benchmarks

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

Sqlcoder GPTQ Parameters and Internals

Model Type 
starcoder, text-generation
Additional Notes 
Model is a specialized tool for generating SQL queries from natural language prompts, with varying quantization options for different hardware configurations
Training Details 
Data Sources:
Human-curated questions based on 10 different schemas
Data Volume:
10,537 questions
Methodology:
Training done in phases based on difficulty, fine-tuning on 'hard' and 'extra hard' questions resulted in performance increase
Model Architecture:
Fine-tuned on a base StarCoder model
Input Output 
Input Format:
{prompt}
Output Format:
Text
Performance Tips:
Choosing quantization parameters based on hardware and VRAM availability improves usability
LLM NameSqlcoder GPTQ
Repository 🤗https://huggingface.co/TheBloke/sqlcoder-GPTQ 
Model NameSqlcoder
Model CreatorDefog.ai
Base Model(s)  Sqlcoder   defog/sqlcoder
Model Size15.8b
Required VRAM9.2 GB
Updated2026-05-26
MaintainerTheBloke
Model Typegpt_bigcode
Model Files  9.2 GB
Supported Languagesen
GPTQ QuantizationYes
Quantization Typegptq
Generates CodeYes
Model ArchitectureGPTBigCodeForCausalLM
Licenseother
Transformers Version4.31.0
Tokenizer ClassGPT2Tokenizer
Vocabulary Size49152
Torch Data Typebfloat16
Activation Functiongelu

Best Alternatives to Sqlcoder GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
Sqlcoder2 GPTQ0K / 9.2 GB2111
Octocoder GPTQ0K / 9.2 GB318
Redmond Hermes Coder GPTQ0K / 9.2 GB2910
Starchat Beta GPTQ0K / 8.9 GB7627
Starcoderplus GPTQ0K / 8.9 GB1625
Starcoder GPTQ0K / 8.9 GB613
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/sqlcoder-GPTQ.

Rank the Sqlcoder GPTQ 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? 53972 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