LLM EXPLORER 63,407 MODELS INDEXED

Llama 2 Coder 7B GPTQ by TheBloke

By TheBloke · 33 downloads

Llama 2 Coder 7B GPTQ is an open-source language model by TheBloke. Features: 7b LLM, VRAM: 3.9GB, Context: 4K, License: apache-2.0, Quantized, Code Generating, LLM Explorer Score: 0.08.

  4-bit Base model:mrm8488/llama-2-cod... Base model:quantized:mrm8488/l...   Code   Codegen   Coding Dataset:huggingfaceh4/codealpa...   Generated from trainer   Gptq   Llama   Quantized   Region:us   Safetensors

Llama 2 Coder 7B GPTQ Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
coding, text generation
Additional Notes 
Model uses quantization process with GPTQ to reduce size and improve inference speed.
Training Details 
Data Sources:
CodeAlpaca_20K
Methodology:
fine-tuned using the method QLoRA with PEFT library
Input Output 
Input Format:
You are a coding assistant that will help the user to resolve the following instruction: ### Instruction: {prompt} ### Solution:
Accepted Modalities:
text
LLM NameLlama 2 Coder 7B GPTQ
Repository πŸ€—https://huggingface.co/TheBloke/Llama-2-Coder-7B-GPTQ 
Model Creatormrm8488
Base Model(s)  Llama 2 Coder 7B   mrm8488/llama-2-coder-7b
Model Size7b
Required VRAM3.9 GB
Updated2026-08-08
MaintainerTheBloke
Model Typellama
Model Files  3.9 GB
Supported Languagescode
GPTQ QuantizationYes
Quantization Typegptq
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length4096
Model Max Length4096
Transformers Version4.31.0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32000
Torch Data Typebfloat16

Best Alternatives to Llama 2 Coder 7B GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
Codebear 7B 4bit16K / 3.9 GB41
...a 7B Instruct GPTQ Calib Ja 1K16K / 3.9 GB60
CodeLlama 7B Instruct GPTQ16K / 3.9 GB49946
CodeLlama 7B Python GPTQ16K / 3.9 GB4624
CodeLlama 7B GPTQ16K / 3.9 GB6314
Codegen Int4 GPTQ Python Code4K / 3.9 GB70
CodeLlama 7B Java 16bit16K / 13.5 GB100
Codellama 7B Bnb 4bit16K / 3.9 GB36959
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB60
...lama 7B Tofuagent Contpretrain16K / 13.5 GB60
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/Llama-2-Coder-7B-GPTQ.