CodeLlama 7B GPTQ by TheBloke

 Β»  All LLMs  Β»  TheBloke  Β»  CodeLlama 7B GPTQ   URL Share it on

  Arxiv:2308.12950   4-bit   Autotrain compatible Base model:codellama/codellama... Base model:quantized:codellama...   Code   Codegen   Custom code   Gptq   Llama   Llama2   Quantized   Region:us   Safetensors

CodeLlama 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").
CodeLlama 7B GPTQ (TheBloke/CodeLlama-7B-GPTQ)

CodeLlama 7B GPTQ Parameters and Internals

Model Type 
text generation, code synthesis
Use Cases 
Areas:
Commercial use, Research use, Code synthesis
Applications:
Code assistant and generation, Python programming handling
Primary Use Cases:
Code generation, Code completion
Considerations:
Safety testing is advised before deployment
Additional Notes 
Variants exist for different parameter sizes and purposes.
Supported Languages 
English (Proficient), Python (Highly proficient)
Training Details 
Data Sources:
Similar data as Llama 2
Data Volume:
Not specified
Methodology:
Optimized transformer architecture
Training Time:
Between January 2023 and July 2023
Hardware Used:
Meta’s Research Super Cluster
Model Architecture:
Auto-regressive language model
Safety Evaluation 
Ethical Considerations:
Testing conducted in English; outputs cannot be predicted in advance.
Responsible Ai Considerations 
Fairness:
Not specified
Transparency:
Please see the Responsible Use Guide available online
Accountability:
Developers are advised to perform safety testing and tuning
Mitigation Strategies:
Developers are advised to adapt the model for specific applications
Input Output 
Input Format:
Text input
Accepted Modalities:
text
Output Format:
Text output
LLM NameCodeLlama 7B GPTQ
Repository πŸ€—https://huggingface.co/TheBloke/CodeLlama-7B-GPTQ 
Model NameCodeLlama 7B
Model CreatorMeta
Base Model(s)  CodeLlama 7B Hf   codellama/CodeLlama-7b-hf
Model Size7b
Required VRAM3.9 GB
Updated2025-02-05
MaintainerTheBloke
Model Typellama
Model Files  3.9 GB
Supported Languagescode
GPTQ QuantizationYes
Quantization Typegptq
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.32.0
Tokenizer ClassLlamaTokenizer
Beginning of Sentence Token<s>
End of Sentence Token</s>
Unk Token<unk>
Vocabulary Size32016
Torch Data Typefloat16

Best Alternatives to CodeLlama 7B GPTQ

Best Alternatives
Context / RAM
Downloads
Likes
Codebear 7B 4bit16K / 3.9 GB61
...a 7B Instruct GPTQ Calib Ja 1K16K / 3.9 GB90
CodeLlama 7B Instruct GPTQ16K / 3.9 GB32446
CodeLlama 7B Python GPTQ16K / 3.9 GB5923
Codegen Int4 GPTQ Python Code4K / 3.9 GB50
Llama 2 Coder 7B GPTQ4K / 3.9 GB510
CodeLlama 7B Java 16bit16K / 13.5 GB50
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB770
Codellama 7B Bnb 4bit16K / 3.9 GB31963
...lama 7B Tofuagent Contpretrain16K / 13.5 GB50
Note: green Score (e.g. "73.2") means that the model is better than TheBloke/CodeLlama-7B-GPTQ.

Rank the CodeLlama 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? 42577 in total.

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