LLM EXPLORER 60,645 MODELS INDEXED

Code Llama 2 13B Instruct Text2sql by bugdaryan

By bugdaryan · 8 downloads

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 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-07-21
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 GB105472
CodeLlama 13B Instruct Hf16K / 26 GB2469160
CodeLlama 13B MORepair16K / 26 GB92
CodeLlama 13B Instruct Hf16K / 26 GB36929
TableLLM 13B16K / 26 GB9834
NexusRaven 13B16K / 26 GB37106
Panda Coder 13B16K / 26 GB1114
Gen Sim16K / 0.3 GB43
CodeLlama 13B Instruct Fp1616K / 26 GB13728
...Llama 13B Instruct Hf 4bit MLX16K / 7.8 GB1133
Note: green Score (e.g. "73.2") means that the model is better than bugdaryan/Code-Llama-2-13B-instruct-text2sql.