Llama 2 Coder 7B AWQ by TheBloke

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

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

Llama 2 Coder 7B AWQ 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 AWQ (TheBloke/Llama-2-Coder-7B-AWQ)

Llama 2 Coder 7B AWQ Parameters and Internals

Model Type 
text-generation, code-generation
Use Cases 
Areas:
code generation, coding assistance
Applications:
software development, educational coding tools
Primary Use Cases:
coding assistant for instruction-based code generation
Additional Notes 
The model includes optimizations for performance through quantization methods like AWQ, and is compatible with systems like vLLM for managing concurrent inference workloads.
Training Details 
Data Sources:
HuggingFaceH4/CodeAlpaca_20K
Data Volume:
20k entries
Methodology:
Fine-tuning using QLoRA with PEFT library
Model Architecture:
Transformer-based architecture
Input Output 
Input Format:
Instruction-based prompt template
Accepted Modalities:
text
Output Format:
Text-based code generation
LLM NameLlama 2 Coder 7B AWQ
Repository ๐Ÿค—https://huggingface.co/TheBloke/Llama-2-Coder-7B-AWQ 
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
AWQ QuantizationYes
Quantization Typeawq
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 AWQ

Best Alternatives
Context / RAM
Downloads
Likes
...Llama 7B Python Hf W4 G128 AWQ16K / 3.9 GB23590
CodeLlama 7B Instruct AWQ16K / 3.9 GB1764
CodeLlama 7B AWQ16K / 3.9 GB345
CodeLlama 7B Python AWQ16K / 3.9 GB224
...ama 7B Instruct Hf W4 G128 AWQ16K / 3.9 GB220
...eepseek Coder 7B Base V1.5 AWQ4K / 4.8 GB00
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-AWQ.

Rank the Llama 2 Coder 7B AWQ 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