Sqlcoder 7B GPTQ by TheBloke

 ยป  All LLMs  ยป  TheBloke  ยป  Sqlcoder 7B GPTQ   URL Share it on

  4-bit   Autotrain compatible   Base model:defog/sqlcoder-7b Base model:quantized:defog/sql...   Code   En   Gptq   Mistral   Quantized   Region:us   Safetensors

Sqlcoder 7B 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 7B GPTQ (TheBloke/sqlcoder-7B-GPTQ)
๐ŸŒŸ Advertise your project ๐Ÿš€

Sqlcoder 7B GPTQ Parameters and Internals

Model Type 
text-generation, SQL generation
Use Cases 
Areas:
SQL generation from natural language
Primary Use Cases:
Generate SQL queries from natural language questions
Additional Notes 
SQLCoder is designed for converting natural language questions into SQL queries, with a focus on outperforming implemented models like gpt-3.5-turbo and delivering effective results when adapted to specific database schemas.
Supported Languages 
en (full)
Training Details 
Data Sources:
human-curated questions based on 10 different schemas
Data Volume:
20,000+ questions
Safety Evaluation 
Methodologies:
evaluation framework for novel datasets
Input Output 
Input Format:
Natural language questions to be converted into SQL queries, fitting given prompt templates.
Accepted Modalities:
text
Output Format:
SQL query
LLM NameSqlcoder 7B GPTQ
Repository ๐Ÿค—https://huggingface.co/TheBloke/sqlcoder-7B-GPTQ 
Model NameSQLCoder 7B
Model CreatorDefog.ai
Base Model(s)  Sqlcoder 7B   defog/sqlcoder-7b
Model Size7b
Required VRAM4.2 GB
Updated2025-09-23
MaintainerTheBloke
Model Typemistral
Model Files  4.2 GB
Supported Languagesen
GPTQ QuantizationYes
Quantization Typegptq
Model ArchitectureMistralForCausalLM
Licensecc-by-sa-4.0
Context Length32768
Model Max Length32768
Transformers Version4.35.0
Tokenizer ClassLlamaTokenizer
Vocabulary Size32000
Torch Data Typebfloat16

Best Alternatives to Sqlcoder 7B GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
...enHermes 2.5 Mistral 7B Marlin32K / 4.1 GB5842
Zephyr 7B Beta Marlin32K / 4.1 GB1020
...ral 7B Instruct V0.3 GPTQ 4bit32K / 4.2 GB523222
...ral 7B Instruct V0.3 GPTQ 4bit32K / 4.2 GB294618
...ephyr 7B Beta Channelwise Gptq32K / 4 GB64690
Mistral 7B Instruct V0.3 GPTQ32K / 4.2 GB3831
...istral 7B Pruned50 GPTQ Marlin32K / 4 GB60
Mistral 7B Unsloth Gptq 8bit32K / 7.7 GB70
...phyr 7B Beta Assistant V1 Gptq32K / 4.2 GB61
Mistral 7B Instruct V0.2 GPTQ32K / 4.2 GB599854
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/sqlcoder-7B-GPTQ.

Rank the Sqlcoder 7B 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? 51534 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241124