Sqlcoder2 GPTQ by TheBloke

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

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

Sqlcoder2 GPTQ Benchmarks

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

Sqlcoder2 GPTQ Parameters and Internals

Model Type 
text-generation, natural language to SQL conversion
Use Cases 
Areas:
Research, Commercial applications
Primary Use Cases:
Natural language to SQL generation tasks
Limitations:
Requires tuning on specific schemas for optimal performance.
Additional Notes 
Fine-tuning on a given schema enhances performance.
Supported Languages 
en (Primary language for model tasks)
Training Details 
Data Sources:
20,000 human-curated questions based on 10 different schemas
Methodology:
Fine-tuned on a base StarCoder model
Hardware Used:
Tested on an A100 40GB GPU with bfloat16 weights
Input Output 
Input Format:
Formatted prompt with task and database schema.
Accepted Modalities:
text
Output Format:
SQL query
Performance Tips:
Using specific schema tuning enhances model performance.
LLM NameSqlcoder2 GPTQ
Repository ๐Ÿค—https://huggingface.co/TheBloke/sqlcoder2-GPTQ 
Model NameSqlcoder2
Model CreatorDefog.ai
Base Model(s)  Sqlcoder2   defog/sqlcoder2
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.34.0
Tokenizer ClassGPT2Tokenizer
Vocabulary Size49152
Torch Data Typefloat16
Activation Functiongelu

Best Alternatives to Sqlcoder2 GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
Sqlcoder GPTQ0K / 9.2 GB929
Starcoder Gptq0K / 9.2 GB23370
Octocoder GPTQ0K / 9.2 GB477
Redmond Hermes Coder GPTQ0K / 9.2 GB2210
Starcoder Gptq Testing0K / 9.2 GB80

Rank the Sqlcoder2 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