Sqlcoder GPTQ by TheBloke

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

  4-bit   Autotrain compatible   Base model:defog/sqlcoder Base model:quantized:defog/sql...   Code   Codegen   En   Finetuned   Gpt bigcode   Gptq   Quantized   Region:us   Safetensors
Model Card on HF ๐Ÿค—: https://huggingface.co/TheBloke/sqlcoder-GPTQ 

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 (TheBloke/sqlcoder-GPTQ)

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 Size2.7b
Required VRAM9.2 GB
Updated2025-02-22
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 GB3111
Starcoder Gptq0K / 9.2 GB23370
Octocoder GPTQ0K / 9.2 GB477
Redmond Hermes Coder GPTQ0K / 9.2 GB2210
Starcoder Gptq Testing0K / 9.2 GB80
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? 43508 in total.

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