Llama 2 Coder 7B GPTQ by TheBloke

 ยป  All LLMs  ยป  TheBloke  ยป  Llama 2 Coder 7B GPTQ   URL Share it on

  4-bit   Autotrain compatible 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 Benchmarks

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

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
Updated2024-12-22
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 GB71
...a 7B Instruct GPTQ Calib Ja 1K16K / 3.9 GB360
CodeLlama 7B Instruct GPTQ16K / 3.9 GB55046
CodeLlama 7B Python GPTQ16K / 3.9 GB21023
CodeLlama 7B GPTQ16K / 3.9 GB7814
Codegen Int4 GPTQ Python Code4K / 3.9 GB120
CodeLlama 7B Java 16bit16K / 13.5 GB170
Codellama 7B Bnb 4bit16K / 3.9 GB33162
...lama 7B Tofuagent Contpretrain16K / 13.5 GB280
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB140
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/Llama-2-Coder-7B-GPTQ.

Rank the Llama 2 Coder 7B 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? 40066 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241217