Code Llama 2 13B Instruct Text2sql by bugdaryan

 »  All LLMs  »  bugdaryan  »  Code Llama 2 13B Instruct Text2sql   URL Share it on

Code Llama 2 13B Instruct Text2sql is an open-source language model by bugdaryan. Features: 13b LLM, VRAM: 26GB, Context: 16K, License: llama2, Instruction-Based, Code Generating, LLM Explorer Score: 0.09.

  Codegen Dataset:bugdaryan/sql-create-c...   En   Endpoints compatible   Instruct   Llama   Pytorch   Region:us   Safetensors   Sharded   Tensorflow

Code Llama 2 13B Instruct Text2sql Benchmarks

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

Code Llama 2 13B Instruct Text2sql Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
commercial, research
Primary Use Cases:
text-to-SQL tasks
Limitations:
Inaccuracy or objectionable content possible
Additional Notes 
Training all Code Llama models required 400K GPU hours on A100-80GB hardware with emissions offset by Meta's sustainability program.
Supported Languages 
en (proficient)
Training Details 
Data Sources:
bugdaryan/sql-create-context-instruction
Training Time:
Approximately 4 hours on 2 V100 32GB GPUs
Hardware Used:
2 V100 32GB GPUs
Model Architecture:
auto-regressive transformer
Safety Evaluation 
Ethical Considerations:
It may produce inaccurate or objectionable responses. Safety testing and tuning recommended before deploying.
LLM NameCode Llama 2 13B Instruct Text2sql
Repository 🤗https://huggingface.co/bugdaryan/Code-Llama-2-13B-instruct-text2sql 
Model Size13b
Required VRAM26 GB
Updated2026-04-10
Maintainerbugdaryan
Model Typellama
Instruction-BasedYes
Model Files  9.9 GB: 1-of-3   9.9 GB: 2-of-3   6.2 GB: 3-of-3   9.9 GB: 1-of-3   9.9 GB: 2-of-3   6.2 GB: 3-of-3
Supported Languagesen
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.34.0.dev0
Tokenizer ClassCodeLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32016
Torch Data Typefloat16

Best Alternatives to Code Llama 2 13B Instruct Text2sql

Best Alternatives
Context / RAM
Downloads
Likes
NexusRaven V2 13B16K / 26 GB80470
CodeLlama 13B Instruct Hf16K / 26 GB5282159
CodeLlama 13B MORepair16K / 26 GB122
CodeLlama 13B Instruct Hf16K / 26 GB23427
TableLLM 13B16K / 26 GB30632
NexusRaven 13B16K / 26 GB17105
Panda Coder 13B16K / 26 GB2014
Gen Sim16K / 0.3 GB83
CodeLlama 13B Instruct Fp1616K / 26 GB90328
...Llama 13B Instruct Hf 4bit MLX16K / 7.8 GB3463
Note: green Score (e.g. "73.2") means that the model is better than bugdaryan/Code-Llama-2-13B-instruct-text2sql.

Rank the Code Llama 2 13B Instruct Text2sql 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? 53205 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