LLM EXPLORER 60,702 MODELS INDEXED

Sqlcoder 7B 2 by defog

By defog · 26624 downloads

Sqlcoder 7B 2 is an open-source language model by defog. Features: 7b LLM, VRAM: 13.5GB, Context: 16K, License: cc-by-sa-4.0, Quantized, Instruction-Based, LLM Explorer Score: 0.17.

  Deploy:azure   Endpoints compatible   Gguf   Instruct   Llama   Q5   Quantized   Region:us   Safetensors   Sharded   Tensorflow
Model Card on HF πŸ€—: https://huggingface.co/defog/sqlcoder-7b-2 

Sqlcoder 7B 2 Parameters and Internals

Model Type 
Text to SQL
Use Cases 
Primary Use Cases:
an analytics tool for non-technical users to understand data inside their SQL databases
Limitations:
not trained to reject malicious requests from users with write access, should only be used by users with read-only access
Additional Notes 
This model card was automatically generated.
Release Notes 
Date:
Feb 7, 2024
Notes:
The model weights were updated at 7 AM UTC, leading to a much more performant model, particularly for joins.
LLM NameSqlcoder 7B 2
Repository πŸ€—https://huggingface.co/defog/sqlcoder-7b-2 
Base Model(s)  Sqlcoder 7B 2 MLX   ucalyptus/sqlcoder-7b-2-MLX
Model Size7b
Required VRAM13.5 GB
Updated2026-06-09
Maintainerdefog
Model Typellama
Instruction-BasedYes
Model Files  4.9 GB: 1-of-3   5.0 GB: 2-of-3   3.6 GB: 3-of-3   4.8 GB   0.0 GB
GGUF QuantizationYes
Quantization Typeq5|gguf|q5_k
Model ArchitectureLlamaForCausalLM
Licensecc-by-sa-4.0
Context Length16384
Model Max Length16384
Transformers Version4.37.2
Tokenizer ClassCodeLlamaTokenizer
Vocabulary Size32016
Torch Data Typefloat16

Quantized Models of the Sqlcoder 7B 2

Model
Likes
Downloads
VRAM
Sqlcoder 7B 2 GGUF122352 GB

Best Alternatives to Sqlcoder 7B 2

Best Alternatives
Context / RAM
Downloads
Likes
Lucie 7B Instruct31K / 13.4 GB411520
Lucie 7B Instruct Human Data31K / 13.4 GB3717
Lucie 7B Instruct Gguf31K / 4.1 GB15684
...pseek Coder 6.7B Instruct GGUF16K / 2.5 GB23708
Sql Code Gguf16K / 4.8 GB250
... 7B Instruct Preview Reasoning4K / 14 GB1043
Bailong Orpo 7B4K / 14 GB285
Latxa 7B Instruct4K / 13.5 GB80
...lumiX 32K Instruct Q4 K M GGUF32K / 4.1 GB893
...p 0.05 Max Grad1.0 Grad Accu3232K / 14.4 GB90
Note: green Score (e.g. "73.2") means that the model is better than defog/sqlcoder-7b-2.